Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261822AbVAYFod (ORCPT ); Tue, 25 Jan 2005 00:44:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261823AbVAYFod (ORCPT ); Tue, 25 Jan 2005 00:44:33 -0500 Received: from fw.osdl.org ([65.172.181.6]:34258 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S261822AbVAYFoa (ORCPT ); Tue, 25 Jan 2005 00:44:30 -0500 Date: Mon, 24 Jan 2005 21:43:56 -0800 From: Andrew Morton To: Zwane Mwaikambo Cc: linux-kernel@vger.kernel.org, Roman Zippel Subject: Re: 2.6.11-rc2-mm1 kernel BUG at kernel/workqueue.c:104 Message-Id: <20050124214356.6bed35ac.akpm@osdl.org> In-Reply-To: References: X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2119 Lines: 52 Zwane Mwaikambo wrote: > > I pressed a key on a VT during boot and got the following; > > usb-storage: device scan complete > ------------[ cut here ]------------ > kernel BUG at kernel/workqueue.c:104! > invalid operand: 0000 [#1] > PREEMPT SMP DEBUG_PAGEALLOC > Modules linked in: > CPU: 0 > EIP: 0060:[] Not tainted VLI > EFLAGS: 00010017 (2.6.11-rc2-mm1) > EIP is at queue_work+0x8f/0xa0 > eax: f5ebe0e4 ebx: f5ebe0e0 ecx: 00000001 edx: 00000000 > esi: c19adef8 edi: 00000000 ebp: f5e4fe14 esp: f5e4fe08 > ds: 007b es: 007b ss: 0068 > Process udev.hotplug (pid: 1351, threadinfo=f5e4e000 task=f5817ac0) > Stack: c1815000 0000001c 00000001 f5e4fe20 c0388d3d c1815000 f5e4fe2c c03890c1 > 00000002 f5e4fe64 c0389be1 f5e4ffc4 c011a7b8 00000000 00000002 00000086 > 00000001 00000020 c1815000 f5e4ffc4 00000001 f7b09674 0000001c f5e4fe80 > Call Trace: > [] show_stack+0x7a/0x90 > [] show_registers+0x156/0x1c0 > [] die+0x100/0x190 > [] do_invalid_op+0xa9/0xc0 > [] error_code+0x2b/0x30 > [] fn_enter+0x1d/0x60 > [] k_spec+0x31/0x50 > [] kbd_keycode+0x1a1/0x300 > [] kbd_event+0x93/0xf0 > [] input_event+0xd3/0x3b0 > [] atkbd_report_key+0x2f/0x70 > [] atkbd_interrupt+0x1ee/0x510 > [] serio_interrupt+0x43/0x74 > [] i8042_interrupt+0x17d/0x270 > [] handle_IRQ_event+0x2a/0x60 I can't reproduce it from a quick test here. I'd assume that the keystroke came in before the vt's workqueue is initialised. fn_enter() calls put_queue() calls con_schedule_flip() calls schedule_work() which goes BUG: BUG_ON(!list_empty(&work->entry)); I bet the list_head pointers are null. Roman might have a theory? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/