[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#697756: linux-image-2.6.32-5-amd64: kernel error during runlevel change



Control: tag -1 upstream fixed-upstream

This is a known problem.  During a runlevel change, the line disciplines
for the virtual consoles are replaced.  This requires that all tty
readers go away, and the warning appears if they have not done so after
5 seconds.  It was introduced in 2.6.32.43 by:

commit 9bb7bdfbc6e0699e6daeda46b245ca7964c8bfd4
Author: Jiri Slaby <jslaby@suse.cz>
Date:   Sun Jun 5 14:16:16 2011 +0200

    TTY: ldisc, do not close until there are readers
    
    commit 92f6fa09bd453ffe3351fa1f1377a1b7cfa911e6 upstream.

but the underlying problem existed before then.

These upstream commits changed to an indefinite wait with no warning:

df92d0561de3 TTY: ldisc, allow waiting for ldisc arbitrarily long
300420722e07 TTY: ldisc, move wait idle to caller
0c73c08ec73d TTY: ldisc, wait for ldisc infinitely in hangup

The first two apply cleanly aside from file renaming
(drivers/char/tty_ldisc.c vs drivers/tty/tty_ldisc.c).  The last depends
on:

60af22d2ed49 tty: reorder ldisc locking

and that depends on others... so I'm not sure we're going to be able to
fix this.

Ben.

-- 
Ben Hutchings
If you seem to know what you are doing, you'll be given more to do.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: