Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750868AbVLKUif (ORCPT ); Sun, 11 Dec 2005 15:38:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750872AbVLKUif (ORCPT ); Sun, 11 Dec 2005 15:38:35 -0500 Received: from smtp.osdl.org ([65.172.181.4]:54946 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1750868AbVLKUie (ORCPT ); Sun, 11 Dec 2005 15:38:34 -0500 Date: Sun, 11 Dec 2005 12:38:08 -0800 From: Andrew Morton To: "Rafael J. Wysocki" Cc: linux-kernel@vger.kernel.org, linux-usb-devel@lists.sourceforge.net Subject: Re: 2.6.15-rc5-mm2: ehci_hcd crashes on load sometimes Message-Id: <20051211123808.2609f5e7.akpm@osdl.org> In-Reply-To: <200512111706.42867.rjw@sisk.pl> References: <20051211041308.7bb19454.akpm@osdl.org> <200512111647.31202.rjw@sisk.pl> <200512111706.42867.rjw@sisk.pl> X-Mailer: Sylpheed version 1.0.4 (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: 3657 Lines: 63 "Rafael J. Wysocki" wrote: > > The ehci_hcd driver causes problems like this: > > ehci_hcd 0000:00:02.2: EHCI Host Controller > ehci_hcd 0000:00:02.2: debug port 1 > ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 3 > ehci_hcd 0000:00:02.2: irq 5, io mem 0xfebfdc00 > usb 2-2: Product: USB Receiver > usb 2-2: Manufacturer: Logitech > usb 2-2: configuration #1 chosen from 1 choice > ehci_hcd 0000:00:02.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 > Unable to handle kernel NULL pointer dereference at 00000000000002a4 RIP: > {:ehci_hcd:ehci_irq+224} Can you poke around in gdb, see which line it's dying at? > PGD 2dba6067 PUD 2d477067 PMD 0 > Oops: 0000 [1] PREEMPT > CPU 0 > Modules linked in: ehci_hcd ohci_hcd sk98lin sd_mod scsi_mod ide_cd cdrom dm_mod parport_pc lp parport > Pid: 1336, comm: modprobe Not tainted 2.6.15-rc5-mm2 #2 > RIP: 0010:[] {:ehci_hcd:ehci_irq+224} > RSP: 0018:ffffffff80481e08 EFLAGS: 00010202 > RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000000000 > RDX: ffffc2000007ac20 RSI: 00000000ffffffff RDI: ffff81002c5d3c78 > RBP: ffffffff80481ee8 R08: 0000000000010000 R09: 0000000000000000 > R10: 0000000000000000 R11: 0000000000000246 R12: ffff81002c5d3c78 > R13: ffff81002c5d3c58 R14: ffff81002c5d3b08 R15: 0000000000000000 > FS: 00002aaaaade8b00(0000) GS:ffffffff8050f000(0000) knlGS:0000000000000000 > CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b > CR2: 00000000000002a4 CR3: 000000002cc54000 CR4: 00000000000006e0 > Process modprobe (pid: 1336, threadinfo ffff81002dac6000, task ffff81002fdf2790) > Stack: ffffffff80481e38 ffff81002dac7b88 ffffffff801819e0 ffff810001c365c0 > ffff81002fdf32f0 ffff81002fdf3000 ffffffff80481e78 ffffffff8017b5f5 > ffffffff80481e58 ffff810001c365c0 > Call Trace: {filp_dtor+0} {cache_free_debugcheck+597} > {file_free_rcu+22} {usb_hcd_irq+52} > {handle_IRQ_event+51} {__do_IRQ+162} > {do_IRQ+55} {ret_from_intr+0} > {sysfs_add_file+1} {sysfs_create_file+61} > {class_device_create_file+23} {:ehci_hcd:ehci_run+377} > {usb_alloc_dev+262} {usb_add_hcd+1007} > {usb_hcd_pci_probe+691} {pci_device_probe+106} > {driver_probe_device+89} {__driver_attach+0} > {__driver_attach+97} {bus_for_each_dev+79} > {driver_attach+28} {bus_add_driver+136} > {driver_register+121} {__pci_register_driver+206} > {:ehci_hcd:ehci_hcd_pci_init+80} {sys_init_module+253} > {system_call+126} > > Code: 0f b6 80 a4 02 00 00 83 e0 03 3c 03 0f 85 9e 00 00 00 45 8b > RIP {:ehci_hcd:ehci_irq+224} RSP > CR2: 00000000000002a4 > <0>Kernel panic - not syncing: Aiee, killing interrupt handler! > > to appear from time to time when it's being loaded (20% of times or so). > If it loads successfully, it seems to work fine. - 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/