Re: 2.6.23-rc1: USB hard disk broken

From: Dan Zwell
Date: Thu Aug 09 2007 - 13:04:22 EST


Oliver Neukum wrote:
Am Sonntag 05 August 2007 schrieb Tino Keitel:
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.

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

David, does this error say anything to you?

Regards
Oliver

Hi,

I just completed a git bisect, and commit 8dfe4b14869fd185ca25ee88b02ada58a3005eaf was the commit that introduced this problem. This is "usb-storage: implement autosuspend". I don't think there have been many changes in drivers/usb since I last verified this problem, so I'm pretty sure this is still happening in the latest kernel.

The first thing I am going to do is pull the latest sources, attempt to revert this patch, and see whether the kernel compiles and works properly with my USB hard drive. Please let me know of anything I can do to help.

Dan
-
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/