Re: 2.6.23-rc1: USB hard disk broken

From: Tino Keitel
Date: Sun Aug 05 2007 - 07:09:54 EST


On Thu, Jul 26, 2007 at 10:06:40 +0200, Oliver Neukum wrote:
> Am Mittwoch 25 Juli 2007 schrieb Tino Keitel:
> > On Wed, Jul 25, 2007 at 10:24:36 +0200, Oliver Neukum wrote:
> > > Am Mittwoch 25 Juli 2007 schrieb Tino Keitel:
> > > > Hi,
> > > >
> > > > I just tried 2.6.23-rc1 and shortly after the boot my external USB hard
> > > > disk went mad.
> >
> > [...]
> >
> > > Please recompile with CONFIG_USB_DEBUG set.
> > >
> > > Regards
> > > Oliver
> >
> > I tried, but it didn't happen again.
>
> Did you try with the old kernel again? This bug may be related to timing.

I tried again -rc1 without USB_DEBUG, and was able to reproduce the
bug 2 times. At the second time, the kernel log shows this:

2007-08-05_10:30:27.75572 kern.err: ehci_hcd 0000:00:1d.7: dev 6 ep1in scatterli
st error 0/-121
2007-08-05_10:30:27.86576 kern.info: usb 1-6: reset high speed USB device using ehci_hcd and address 5
2007-08-05_10:30:55.95293 kern.info: usb 1-6: USB disconnect, address 5
2007-08-05_10:30:55.95300 kern.err: ehci_hcd 0000:00:1d.7: dev 6 ep1in scatterlist error -108/-108
2007-08-05_10:30:55.95310 kern.info: sd 4:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00
2007-08-05_10:30:55.95314 kern.warn: end_request: I/O error, dev sdb, sector 594818327
2007-08-05_10:30:55.95321 kern.info: sd 4:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00
2007-08-05_10:30:55.95325 kern.warn: end_request: I/O error, dev sdb, sector 594818567
2007-08-05_10:30:55.95331 kern.info: sd 4:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00
2007-08-05_10:30:55.95335 kern.warn: end_request: I/O error, dev sdb, sector 594818583
2007-08-05_10:30:55.95342 kern.info: sd 4:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00
2007-08-05_10:30:55.95352 kern.warn: end_request: I/O error, dev sdb, sector 594818823
2007-08-05_10:30:55.95356 kern.info: sd 4:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00
2007-08-05_10:30:55.95360 kern.warn: end_request: I/O error, dev sdb, sector 594818327
2007-08-05_10:30:55.95455 kern.info: sd 4:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00
2007-08-05_10:30:55.95461 kern.warn: end_request: I/O error, dev sdb, sector 594818327
2007-08-05_10:30:55.96972 kern.err: scsi 4:0:0:0: rejecting I/O to dead device
2007-08-05_10:30:55.96977 kern.err: scsi 4:0:0:0: rejecting I/O to dead device

The "scatterlist" line wasn't there in the other cases. I'll try again
with the latest git.

Regards,
Tino
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/