mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* WARNING in tty_ldisc_reinit
       [not found]     ` <CAFdVUFme+kwFaMmVThhry91L5V-hfwvd3R8EZhV2k0B5kCPMvA@mail.gmail.com>
@ 2011-10-18  1:36       ` Ben Hutchings
  0 siblings, 0 replies; only message in thread
From: Ben Hutchings @ 2011-10-18  1:36 UTC (permalink / raw)
  To: Дмитрий
	Матросов,
	Jiri Slaby
  Cc: 645071, LKML

[-- Attachment #1: Type: text/plain, Size: 1798 bytes --]

Дмитрий Матросов wrote:
> I try to compile with printk() instead of printk_ratelimited() in your
> patch, and it's succeeded. Then i install it with

Sorry, I didn't notice that would need to be changed.  Thanks for fixing
that yourself!

> # dpkg -i   ./linux-image-2.6.32-5-686-bigmem_2.6.32-38a~test_i386.deb
> # dpkg --configure --force-depends-version  linux-image-2.6.32-5-686-bigmem
> 
> and then try to reproduce this bug. Here is the result:
> 
> [   65.162361] apm: BIOS not found.
> [   65.276280] [drm] nouveau 0000:01:00.0: nouveau_channel_free: freeing fifo 2
> [   84.368180] tty_ldisc_reinit: refcount of  is still 2
[...]
> I suppose, that result of previous attempt is not very useful, because
> something is missed in the output (after "of" word). So, i rewrite
> your patch a little:
> [..]
> +               printk(KERN_DEBUG "%s: refcount of %p (%s, num=%d, mag=%d,
> flags=%d) is still %d\n",
> +                               __func__,
> +                               tty->ldisc->ops, tty->ldisc->ops->name, tty->ldisc->ops->num,
> tty->ldisc->ops->magic, tty->ldisc->ops->flags,
> +                               atomic_read(&tty->ldisc->users));
> [..]

"%ps" should have resulted in printing the symbol name for the structure
that the argument points to.  I don't know why that didn't work.

Anyway, Jiri, this should be the information you wanted way back in
<http://article.gmane.org/gmane.linux.kernel/1176604>:

> [   83.736104] tty_ldisc_reinit: refcount of c13c7878 (n_tty, num=0, mag=21507, flags=0) is still 2

You can find more explanation of when this happens in the bug log at
<http://bugs.debian.org/645071>.

Ben.

-- 
Ben Hutchings
No political challenge can be met by shopping. - George Monbiot

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-10-18  1:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20111012100544.3554.54216.reportbug@shilvana.local>
     [not found] ` <1318475974.4024.222.camel@deadeye>
     [not found]   ` <CAFdVUFmAN=HmHa4BWO7PUkDyp3=_oeom3Y+AFbvdV3HvYoRS7w@mail.gmail.com>
     [not found]     ` <CAFdVUFme+kwFaMmVThhry91L5V-hfwvd3R8EZhV2k0B5kCPMvA@mail.gmail.com>
2011-10-18  1:36       ` WARNING in tty_ldisc_reinit Ben Hutchings

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®