public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* WARNING at: drivers/char/tty_ldisc.c
@ 2009-08-02 12:01 Sergey Senozhatsky
  2009-08-02 16:05 ` Greg KH
  2009-08-02 17:16 ` Linus Torvalds
  0 siblings, 2 replies; 39+ messages in thread
From: Sergey Senozhatsky @ 2009-08-02 12:01 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: OGAWA Hirofumi, linux-kernel

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

Hello Linus, Ogawa,
Looks like we have one more bug in tty code:
'shutdown -r now' in 'single' user mode gives following trace:

WARNING at: drivers/char/tty_ldisc.c:209 tty_ldisc_put+0x95/0xa0
---
?printk+0x23/0x36
warn_slowpath_common+0x78/0xa0
?tty_ldisc_put+0x95/0xa0
?tty_ldisc_put+0x95/0xa0
warn_slowpath_null+0x21/0x40
tty_ldisc_put+0x95/0xa0
tty_ldisc_hangup+0xfc/0x1f0
do_tty_hangup+0x131/0x380
disassociate_ctty+0x50/0x210
do_exit+0x6b8/0x700
?put_lock_stats+0x18/0x50
?lock_release_holdtime+0xb2/0x190
?_spin_unlock_irq+0x30/0x70
?trace_hardirqs_on_caller+0x14c/0x1a0
do_group_exit+0x45/0xb0
get_signal_to_deliver+0x226/0x410
do_notify_resume+0xc1+0xa90
?trace_hardirqs_on+0x19/0x40
?_spin_unlock_irqrestore+0x47/0x90
?remove_wait_queue+0x47/0x70
?do_wait+0x19d/0x310
?defult_wake_function+0x0/0x40
?sys_wait4+0xa1/0x100
work_notifysig+0x13/0x19

//There is no trace in syslog, so given one is 'copy-paste' from the paper.

	Sergey

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 315 bytes --]

^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2009-08-04 16:03 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-02 12:01 WARNING at: drivers/char/tty_ldisc.c Sergey Senozhatsky
2009-08-02 16:05 ` Greg KH
2009-08-02 17:01   ` Sergey Senozhatsky
2009-08-02 17:07   ` Sergey Senozhatsky
2009-08-02 17:16 ` Linus Torvalds
2009-08-02 19:05   ` Sergey Senozhatsky
2009-08-02 20:20     ` Linus Torvalds
2009-08-02 21:17       ` OGAWA Hirofumi
2009-08-02 21:33         ` Linus Torvalds
2009-08-02 22:46           ` Sergey Senozhatsky
2009-08-02 22:48           ` Alan Cox
2009-08-03  0:40             ` Linus Torvalds
2009-08-03  1:44               ` Linus Torvalds
2009-08-03  9:37               ` Alan Cox
2009-08-03 16:26                 ` OGAWA Hirofumi
2009-08-03 16:59                   ` Alan Cox
2009-08-03 17:55               ` [PATCH 0/2] proper tty-ldisc refcounting (was Re: WARNING at: drivers/char/tty_ldisc.c) Linus Torvalds
2009-08-03 17:58                 ` [PATCH 1/2] tty-ldisc: make refcount be atomic_t 'users' count Linus Torvalds
2009-08-03 18:11                   ` [PATCH 2/2] tty-ldisc: turn ldisc user count into a proper refcount Linus Torvalds
2009-08-03 18:39                     ` Alan Cox
2009-08-03 20:00                     ` OGAWA Hirofumi
2009-08-03 18:18                 ` [PATCH 0/2] proper tty-ldisc refcounting (was Re: WARNING at: drivers/char/tty_ldisc.c) Greg KH
2009-08-03 18:53                   ` Linus Torvalds
2009-08-03 22:16                   ` Sergey Senozhatsky
2009-08-03 22:25                     ` Linus Torvalds
2009-08-03 22:58                       ` [PATCH 3/2] tty-ldisc: be more careful in 'put_ldisc' locking Linus Torvalds
2009-08-03 23:00                         ` [PATCH 4/2] tty-ldisc: make /proc/tty/ldiscs use ldisc_ops instead of ldiscs Linus Torvalds
2009-08-03 23:01                           ` [PATCH 5/2] tty-ldisc: get rid of tty_ldisc_try_get() helper function Linus Torvalds
2009-08-04  0:30                   ` proper tty-ldisc refcounting (was Re: WARNING at: drivers/char/tty_ldisc.c) Sergey Senozhatsky
2009-08-04  0:56                     ` Linus Torvalds
2009-08-04  3:53                       ` Greg KH
2009-08-04  4:08                         ` Greg KH
2009-08-04  6:19                           ` Linus Torvalds
2009-08-04  7:23                             ` Greg KH
2009-08-04  9:12                               ` Sergey Senozhatsky
2009-08-04 14:53                                 ` Greg KH
2009-08-04 15:40                               ` Linus Torvalds
2009-08-04 16:00                                 ` Greg KH
2009-08-02 22:15       ` WARNING at: drivers/char/tty_ldisc.c Sergey Senozhatsky

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