On Thu, 6 Jul 2006, Andrew Morton wrote: > Begin forwarded message: > > Date: Thu, 06 Jul 2006 19:25:06 +0200 > From: Cedric Augonnet <[EMAIL PROTECTED]> > To: Linus Torvalds <[EMAIL PROTECTED]> > Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org> > Subject: Kernel crash with ehci when plugging my USB hard drive > > > Hi Linus, > > I get following panic when hot plugging my USB hard drive to my Thinkpad T43 > (or > booting with the HD plugged). I works fine on 2.6.17 but crashes on > 2.6.18-rc1. > My .config is attached, and lscpi and dmesg before the panic in case it > matters. > > regards, > Cédric > > ______________________________________________________________________________ > Call Trace: > [<c011222e>] complete+0x1f/0x28 > [<e0861b42>] usb_hcd_giveback_urb+0x2d/0x5d [usbcore] > [<e08a0a5c>] ehci_urb_done+0x5b/Ox62 [ehci_hcd] > [<e08a1bfb>] qh_completions+0x27c/0x2f7 [ehci_hcd] > [<e08a1cbe>] end_unlink_async+0x48/0xd2 [ehci_hcd] > [<e08a03ec>] qh_destroy+0x0/0x4a [ehci_hcd] > [<e08a1f52>] ehci_work+0x24/0x595 [ehci_hcd] > [<c011c9b7>] do_timer+0x6d5/0x81b > [<c0112eaf>] scheduler_tick+0xe/0x28a > [<e08a2877>] ehci_irq+0x116/0x122 [ehci_hcd] > [<e086192e>] usb_hcd_irq+0x26/0x54 [usbcore] > [<c012f1e4>] handle_IRQ_event+0x21/0x49 > [<c012f264>] __do_IRQ+0x58/0x9e > [<c0104b95>] do_IRQ+0x43/0x52 > [<c0103452>] common_interrupt+0x1a/0x20 > [<c01019c8>] default_idle+0x31/0x59 > [<c0101a2e>] cpu_idle+0x3e/0x56 > [<c03b8606>] start_kernel+0x267/0x269 > > Code: 3e c0 11 0d 4c f0 3e c0 eb 0c 01 1d 58 f0 3e c0 11 0d 5c f0 3e c0 5b 5d > c3 > 55 89 e5 57 56 89 ce 53 57 57 89 45 f0 89 55 ec 8b 10 <8b> 1a eb 26 8b 7a f4 > 8d > 42 f4 ff 75 0c ff 75 08 ff 75 ec 50 ffEIP: [<c0112017>] > __wake_up_common+0x12/0x49 SS:ESP 0068:c03b7e38 > <0>Kernel panic - not syncing: Fatal exception in interrupt
Try the patch below. Alan Stern Index: usb-2.6/drivers/usb/storage/transport.c =================================================================== --- usb-2.6.orig/drivers/usb/storage/transport.c +++ usb-2.6/drivers/usb/storage/transport.c @@ -180,7 +180,7 @@ static int usb_stor_msg_common(struct us if (timeleft <= 0) { US_DEBUGP("%s -- cancelling URB\n", timeleft == 0 ? "Timeout" : "Signal"); - usb_unlink_urb(us->current_urb); + usb_kill_urb(us->current_urb); } /* return the URB status */ Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel