Bernhard Walle
c2c88f109e
[PATCH] Initialise SAK member for each virtual console to prevent oops
Initialise the SAK member of the vc_cons variable on all virtual terminals,
not only the first one. This prevents an oops when trying Sysrq-C on e.g.
the second virtual terminal:
kernel BUG at kernel/workqueue.c:212!
invalid opcode: 0000 [1] SMP
CPU 0
Modules linked in: i915 drm deflate zlib_deflate twofish twofish_common serpent blowfish des ce
Pid: 0, comm: swapper Not tainted 2.6.21-rc3-default #15
RIP: 0010:[<ffffffff8028c955>] [<ffffffff8028c955>] queue_work+0x32/0x51
RSP: 0018:ffffffff805fada8 EFLAGS: 00010013
RAX: ffffffff80683f38 RBX: ffffffff804ae700 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff80683f30 RDI: ffff81000134a840
RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000002
R10: ffffffff805990e0 R11: ffff810037f4c0f0 R12: 000000000000006b
R13: ffff81007aa23000 R14: 0000000000000001 R15: 0000000000000096
FS: 0000000000000000(0000) GS:ffffffff804d8000(0000) knlGS:0000000000000000
CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 00002b72026e9000 CR3: 0000000079175000 CR4: 00000000000006e0
Process swapper (pid: 0, threadinfo ffffffff8059e000, task ffffffff80490840)
Stack: 0000000000000096 ffffffff803635db ffffffff805fadf8 0000000000000001
ffff8100013c2e40 0000000000000025 ffff81007c931c00 ffff81007aa23000
0000000000000001 ffffffff8035e3ee 0000000000000092 ffff810037cc8000
Call Trace:
<IRQ> [<ffffffff803635db>] __handle_sysrq+0x98/0x129
[<ffffffff8035e3ee>] kbd_event+0x32e/0x56a
[<ffffffff8037d502>] input_event+0x422/0x44a
[<ffffffff80381d71>] atkbd_interrupt+0x449/0x503
[<ffffffff8037a42d>] serio_interrupt+0x37/0x6f
[<ffffffff8037affb>] i8042_interrupt+0x1f4/0x20a
[<ffffffff8026bd20>] smp_send_timer_broadcast_ipi+0x2d/0x4e
[<ffffffff8020eee5>] handle_IRQ_event+0x25/0x53
[<ffffffff802a924c>] handle_edge_irq+0xe4/0x128
[<ffffffff802562ac>] call_softirq+0x1c/0x28
[<ffffffff802632eb>] do_IRQ+0x6c/0xd3
[<ffffffff8024f4e7>] mwait_idle+0x0/0x45
[<ffffffff80255631>] ret_from_intr+0x0/0xa
<EOI> [<ffffffff80248a4d>] datagram_poll+0x0/0xc8
[<ffffffff8024f529>] mwait_idle+0x42/0x45
[<ffffffff80242c05>] cpu_idle+0x8b/0xae
[<ffffffff805a8779>] start_kernel+0x2b9/0x2c5
[<ffffffff805a815e>] _sinittext+0x15e/0x162
Code: 0f 0b eb fe 48 8b 07 48 63 d2 48 f7 d0 48 8b 3c d0 e8 13 ff
RIP [<ffffffff8028c955>] queue_work+0x32/0x51
RSP <ffffffff805fada8>
Kernel panic - not syncing: Aiee, killing interrupt handler!
Signed-off-by: Bernhard Walle <bwalle@suse.de>
Acked-by: Eric Biederman <ebiederm@xmission.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-16 19:25:06 -07:00
..
2007-02-27 00:36:00 -05:00
2007-02-14 08:09:54 -08:00
2007-02-12 09:48:27 -08:00
2007-02-21 11:18:26 -08:00
2007-03-05 07:57:53 -08:00
2007-02-20 17:10:14 -08:00
2007-03-06 18:01:04 -08:00
2007-02-17 18:57:09 +01:00
2007-02-14 08:09:54 -08:00
2007-03-14 15:28:31 -07:00
2006-10-03 17:59:17 +01:00
2007-02-11 11:18:07 -08:00
2007-02-09 17:08:57 +00:00
2006-10-05 15:10:12 +01:00
2007-02-14 08:09:54 -08:00
2006-12-13 09:05:58 -08:00
2006-12-08 08:28:44 -08:00
2007-03-05 07:57:50 -08:00
2006-12-07 08:39:41 -08:00
2005-09-07 16:57:20 -07:00
2005-09-07 16:57:20 -07:00
2007-03-08 01:10:30 +00:00
2007-02-12 09:48:30 -08:00
2007-02-14 08:09:54 -08:00
2007-02-14 08:09:54 -08:00
2007-02-12 09:48:30 -08:00
2006-10-05 15:10:12 +01:00
2006-07-03 15:26:59 -07:00
2007-03-05 07:57:53 -08:00
2006-10-04 07:55:13 -07:00
2006-12-08 08:28:57 -08:00
2007-02-12 09:48:45 -08:00
2007-02-11 10:51:26 -08:00
2006-11-22 14:57:56 +00:00
2007-02-16 08:14:00 -08:00
2007-02-14 08:09:59 -08:00
2007-02-07 14:03:21 +11:00
2007-02-26 12:58:33 -08:00
2006-07-13 18:53:32 +10:00
2006-10-04 15:02:27 +10:00
2006-07-13 18:53:32 +10:00
2006-09-25 13:30:51 +10:00
2006-12-08 08:28:57 -08:00
2007-02-14 08:09:54 -08:00
2006-07-03 15:26:59 -07:00
2006-07-03 15:26:59 -07:00
2007-02-11 10:51:26 -08:00
2007-02-11 10:51:26 -08:00
2007-03-06 18:02:22 -08:00
2007-02-13 16:07:36 -08:00
2007-02-20 17:11:55 +00:00
2007-02-20 17:11:55 +00:00
2006-12-13 09:05:58 -08:00
2007-02-09 17:08:57 +00:00
2007-02-12 09:48:45 -08:00
2007-01-22 08:53:24 -08:00
2006-12-07 08:39:35 -08:00
2006-12-07 08:39:35 -08:00
2007-02-11 10:51:30 -08:00
2007-02-12 09:48:45 -08:00
2007-02-11 10:51:29 -08:00
2007-02-11 10:51:29 -08:00
2007-02-11 11:18:06 -08:00
2007-02-11 10:51:25 -08:00
2006-06-30 19:25:36 +02:00
2007-02-12 09:48:30 -08:00
2007-02-12 09:48:32 -08:00
2006-12-08 08:28:44 -08:00
2007-02-14 08:09:54 -08:00
2007-02-12 09:48:30 -08:00
2006-10-05 15:10:12 +01:00
2007-02-14 08:09:54 -08:00
2006-09-29 09:18:05 -07:00
2006-12-08 08:28:44 -08:00
2007-02-14 08:09:54 -08:00
2007-02-12 09:48:45 -08:00
2007-02-11 10:51:34 -08:00
2007-02-11 10:51:26 -08:00
2007-02-12 09:48:30 -08:00
2007-02-14 08:09:59 -08:00
2006-01-12 09:09:00 -08:00
2006-09-29 09:18:06 -07:00
2006-09-29 09:18:12 -07:00
2007-02-14 08:09:54 -08:00
2007-02-11 10:51:28 -08:00
2006-10-05 15:10:12 +01:00
2006-10-05 15:10:12 +01:00
2006-01-26 13:32:26 -08:00
2007-02-14 08:09:54 -08:00
2007-02-12 09:48:30 -08:00
2006-12-08 08:28:59 -08:00
2006-12-13 09:05:49 -08:00
2006-12-08 08:28:59 -08:00
2007-02-12 09:48:30 -08:00
2007-02-12 09:48:30 -08:00
2007-02-12 09:48:30 -08:00
2007-02-16 08:13:59 -08:00
2006-12-08 08:28:44 -08:00
2006-12-08 08:28:44 -08:00
2007-02-14 08:09:54 -08:00
2007-02-14 08:09:54 -08:00
2007-03-01 14:53:39 -08:00
2007-02-11 10:51:32 -08:00
2007-02-14 08:09:54 -08:00
2006-12-20 16:37:48 +11:00
2007-02-12 09:48:45 -08:00
2007-02-14 08:09:54 -08:00
2007-01-23 18:26:47 +00:00
2007-03-16 19:25:05 -07:00
2007-03-16 19:25:06 -07:00