Comment 662 for bug 88746

Revision history for this message
In , vkweb (vkweb-linux-kernel-bugs) wrote :

(In reply to comment #61)
> I applied your patch on debian lenny kernel 2.6.26-1-686 and I turn on usb
> debugging and with testing command
>
> for f in `seq 100`; do dd if=/dev/zero of=test bs=64k count=6000; done
>
> it works ok, but if I do
>
> rsync -av --delete --progress /mnt/local_disk/ /mnt/external_disk/
>
> and if I stop this process with Ctrl+Z in gnome-terminal, take it in this
> state
> for about 2 minutes and then fg this process external hdd freezes after about
> 10 seconds and dmesg says:
>
> [ 2320.736733] ehci_hcd 0000:00:13.5: port 1 high speed
> [ 2320.736743] ehci_hcd 0000:00:13.5: GetStatus port 1 status 001005 POWER
> sig=se0 PE CONNECT
> [ 2320.792730] usb 1-1: reset high speed USB device using ehci_hcd and
> address
> 2
> [ 2325.793089] usb 1-1: usb-storage timed out on ep0in len=0/64
> [ 2330.793390] usb 1-1: usb-storage timed out on ep0in len=0/64
> [ 2335.793668] usb 1-1: usb-storage timed out on ep0in len=0/64
> [ 2335.849613] ehci_hcd 0000:00:13.5: port 1 high speed
> [ 2335.849622] ehci_hcd 0000:00:13.5: GetStatus port 1 status 001005 POWER
> sig=se0 PE CONNECT
> [ 2335.905595] usb 1-1: device descriptor read/64, error -110
>
> while I disconect external HDD. Now I don't need to reload ehci-hcd module,
> because after reconnecting of HDD it works OK.
>

I also tested this procedure on Debian Lenny with vanilla kernel 2.6.28.3 without any patch and I transfered about 160GB to/from external HDD without any errors (there was no ehci-hcd error like on 2.6.26-1-686 kernel). So it seems to be OK with this the newest kernel version for me.