> It wouldn't be surprising if the file that cp hung on was the same one 
> that generated those usb_bulk/control_msg timeouts in the previous set of 

I'll try to reproduce that behaviour in a moment, but first I have
some more news: I borrowed an NEC-based USB 2.0 PCI card today, and
the USB HDD works without any problems with 2.4.21 with ehci24-0613
applied (haven't tried without). That is, I could read the contents of
the entire drive (28GB), write another 2GB onto it, and it didn't
crash or hang or anything.

Now the bad news -- the same card doesn't work with 2.5.70-bk9 with
ehci-0613. It does very much the same as the EHCI on the motherboard
(VIA), except that the sysfs files can all be copied at all
times. Here is the end of the log, in case it helps, and I've attached
a tarball with the sysfs files.

> Jun 16 22:30:03 ventus kernel: usb-storage: *** thread awakened.
> Jun 16 22:30:03 ventus kernel: usb-storage: Command READ_10 (10 bytes)
> Jun 16 22:30:03 ventus kernel: usb-storage:  28 00 02 dc 0b b0 00 00 80 00
> Jun 16 22:30:03 ventus kernel: usb-storage: Bulk command S 0x43425355 T 0x11a Trg 0 
> LUN 0 L 65536 F 128 CL 10
> Jun 16 22:30:03 ventus kernel: usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
> Jun 16 22:30:03 ventus kernel: usb-storage: Status code 0; transferred 31/31
> Jun 16 22:30:03 ventus kernel: usb-storage: -- transfer complete
> Jun 16 22:30:03 ventus kernel: usb-storage: Bulk command transfer result=0
> Jun 16 22:30:03 ventus kernel: usb-storage: usb_stor_bulk_transfer_sglist: xfer 
> 65536 bytes, 16 entries
> Jun 16 22:30:03 ventus kernel: usb-storage: Status code 0; transferred 65536/65536
> Jun 16 22:30:03 ventus kernel: usb-storage: -- transfer complete
> Jun 16 22:30:03 ventus kernel: usb-storage: Bulk data transfer result 0x0
> Jun 16 22:30:03 ventus kernel: usb-storage: Attempting to get CSW...
> Jun 16 22:30:03 ventus kernel: usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
> Jun 16 22:30:03 ventus kernel: usb-storage: Status code 0; transferred 13/13
> Jun 16 22:30:03 ventus kernel: usb-storage: -- transfer complete
> Jun 16 22:30:03 ventus kernel: usb-storage: Bulk status result = 0
> Jun 16 22:30:03 ventus kernel: usb-storage: Bulk status Sig 0x53425355 T 0x11a R 0 
> Stat 0x0
> Jun 16 22:30:03 ventus kernel: usb-storage: scsi cmd done, result=0x0
> Jun 16 22:30:03 ventus kernel: usb-storage: *** thread sleeping.
> Jun 16 22:30:03 ventus kernel: usb-storage: queuecommand() called
> Jun 16 22:30:03 ventus kernel: usb-storage: *** thread awakened.
> Jun 16 22:30:03 ventus kernel: usb-storage: Command READ_10 (10 bytes)
> Jun 16 22:30:03 ventus kernel: usb-storage:  28 00 02 dc 0c 30 00 00 90 00
> Jun 16 22:30:03 ventus kernel: usb-storage: Bulk command S 0x43425355 T 0x11b Trg 0 
> LUN 0 L 73728 F 128 CL 10
> Jun 16 22:30:03 ventus kernel: usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
> Jun 16 22:30:03 ventus kernel: usb-storage: Status code 0; transferred 31/31
> Jun 16 22:30:03 ventus kernel: usb-storage: -- transfer complete
> Jun 16 22:30:03 ventus kernel: usb-storage: Bulk command transfer result=0
> Jun 16 22:30:03 ventus kernel: usb-storage: usb_stor_bulk_transfer_sglist: xfer 
> 73728 bytes, 18 entries
> Jun 16 22:30:03 ventus kernel: usb-storage: Status code 0; transferred 73728/73728
> Jun 16 22:30:03 ventus kernel: usb-storage: -- transfer complete
> Jun 16 22:30:03 ventus kernel: usb-storage: Bulk data transfer result 0x0
> Jun 16 22:30:03 ventus kernel: usb-storage: Attempting to get CSW...
> Jun 16 22:30:03 ventus kernel: usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
> Jun 16 22:30:03 ventus kernel: usb-storage: Status code 0; transferred 13/13
> Jun 16 22:30:03 ventus kernel: usb-storage: -- transfer complete
> Jun 16 22:30:03 ventus kernel: usb-storage: Bulk status result = 0
> Jun 16 22:30:03 ventus kernel: usb-storage: Bulk status Sig 0x53425355 T 0x11b R 0 
> Stat 0x0
> Jun 16 22:30:03 ventus kernel: usb-storage: scsi cmd done, result=0x0
> Jun 16 22:30:03 ventus kernel: usb-storage: *** thread sleeping.
> Jun 16 22:30:03 ventus kernel: usb-storage: queuecommand() called
> Jun 16 22:30:03 ventus kernel: usb-storage: *** thread awakened.
> Jun 16 22:30:03 ventus kernel: usb-storage: Command READ_10 (10 bytes)
> Jun 16 22:30:03 ventus kernel: usb-storage:  28 00 02 dc 0c c0 00 01 00 00
> Jun 16 22:30:03 ventus kernel: usb-storage: Bulk command S 0x43425355 T 0x11c Trg 0 
> LUN 0 L 131072 F 128 CL 10
> Jun 16 22:30:03 ventus kernel: usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
> Jun 16 22:30:03 ventus kernel: usb-storage: Status code 0; transferred 31/31
> Jun 16 22:30:03 ventus kernel: usb-storage: -- transfer complete
> Jun 16 22:30:03 ventus kernel: usb-storage: Bulk command transfer result=0
> Jun 16 22:30:03 ventus kernel: usb-storage: usb_stor_bulk_transfer_sglist: xfer 
> 131072 bytes, 32 entries
> Jun 16 22:30:03 ventus kernel: usb-storage: Status code 0; transferred 131072/131072
> Jun 16 22:30:03 ventus kernel: usb-storage: -- transfer complete
> Jun 16 22:30:03 ventus kernel: usb-storage: Bulk data transfer result 0x0
> Jun 16 22:30:03 ventus kernel: usb-storage: Attempting to get CSW...
> Jun 16 22:30:03 ventus kernel: usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
> Jun 16 22:30:33 ventus kernel: usb-storage: usb_storage_command_abort called
> Jun 16 22:30:33 ventus kernel: usb-storage: usb_stor_stop_transport called
> Jun 16 22:30:33 ventus kernel: usb-storage: -- cancelling URB

Hope this makes sense,

  Andras

===========================================================================
Major Andras
    e-mail: [EMAIL PROTECTED]
    www:    http://andras.webhop.org/
===========================================================================


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to