On Thu, 28 Dec 2006, Vermont wrote:

> Below is the output with USB_DEBUG enabled.
> 
> To trigger the disconnect, I run
> 
> dd if=/dev/sda bs=4096 count=276072 | cat | wc -c

Just out of curiosity, why do you include the "cat" in this pipeline?  Not 
that it's wrong, but it doesn't seem to add anything either.

> Can anyone else reproduce this? Typical i/o is probably not intensive 
> enough to make the problem evident unless you try dd. I usually get 
> the disconnect before 400M is transfered, and it seems to take longer 
> with smaller block sizes. Slower USB1 over uhci hasn't triggered the 
> disconnect yet, after about 4G.
> 
> Once the disconnect occurs, dd hangs in state D, as do attempts to 
> lsusb, though I suppose this is to be expected.

No it isn't.  You're seeing a second bug, this time in the VIA USB 
controller in your computer.  Under certain circumstances it loses 
interrupts.

> Dec 28 20:45:31 eggnog kernel: hub 4-0:1.0: state 7 ports 6 chg 0000 evt 0008
> Dec 28 20:45:31 eggnog kernel: ehci_hcd 0000:00:10.3: GetStatus port 3 status 
> 00180b POWER sig=j PEC CSC CONNECT
> Dec 28 20:45:31 eggnog kernel: hub 4-0:1.0: port 3, status 0501, change 0003, 
> 480 Mb/s
> Dec 28 20:45:31 eggnog kernel: usb 4-3: USB disconnect, address 3
> Dec 28 20:45:31 eggnog kernel: usb 4-3: unregistering device
> Dec 28 20:45:31 eggnog kernel: usb 4-3: usb_disable_device nuking all URBs
> Dec 28 20:45:31 eggnog kernel: ehci_hcd 0000:00:10.3: shutdown urb ec906360 
> pipe c0008380 ep1in-bulk
> Dec 28 20:46:01 eggnog kernel: usb 4-3: usb_sg_cancel, unlink --> -19

As Pete said, the disconnect was genuine -- caused by the iPod for no 
apparent reason.  Without knowing the cause, I don't see how we can 
prevent it.  The recovery should be smoother, though...  That VIA bug has 
caused difficulties for many people.

Alan Stern


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to