Hi Alan,

> That could be another hardware problem.  Are you using the ALI controller
> connected through an external hub?  A number of other people have found
> they needed to that in order to fix a clock jitter problem in the ALI
> hardware.

I tried it with hub and without. Both times lots of resets. With the hub I get
resets right from the start. Without the hub there are very few resets at the
beginning but after some time (like 30 min or so) they are coming in shorter 
cycles.

With the hub I've seen these 3 types of errors:

usb-storage: Command READ_10 (10 bytes)
usb-storage:  28 00 00 0d 39 3f 00 00 80 00
usb-storage: Bulk Command S 0x43425355 T 0x60bf L 65536 F 128 Trg 0 LUN 0 CL 10
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_sglist: xfer 65536 bytes, 6 entries
usb-storage: Status code -121; transferred 53248/65536
usb-storage: -- short read transfer
usb-storage: Bulk data transfer result 0x1
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code -75; transferred 0/13
usb-storage: -- babble
usb-storage: Bulk status result = 3
usb-storage: -- transport indicates error, resetting
usb 1-4.4: reset high speed USB device using ehci_hcd and address 3
hub 1-4:1.0: state 5 ports 4 chg 0000 evt 0010
usb-storage: usb_reset_device returns 0
usb-storage: scsi cmd done, result=0x70000
usb-storage: *** thread sleeping.


usb-storage: Command READ_10 (10 bytes)
usb-storage:  28 00 00 14 06 bf 00 00 80 00
usb-storage: Bulk Command S 0x43425355 T 0x6e7f L 65536 F 128 Trg 0 LUN 0 CL 10
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_sglist: xfer 65536 bytes, 3 entries
usb-storage: Status code 0; transferred 65536/65536
usb-storage: -- transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x43425355 T 0x6e7f R 65536 Stat 0x80
usb-storage: Bulk logical error
usb-storage: -- transport indicates error, resetting
usb 1-4.4: reset high speed USB device using ehci_hcd and address 3
usb-storage: usb_reset_device returns 0
usb-storage: scsi cmd done, result=0x70000
usb-storage: *** thread sleeping.


usb-storage: Command READ_10 (10 bytes)
usb-storage:  28 00 00 18 24 bf 00 00 80 00
usb-storage: Bulk Command S 0x43425355 T 0x76cc L 65536 F 128 Trg 0 LUN 0 CL 10
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_sglist: xfer 65536 bytes, 5 entries
usb-storage: Status code 0; transferred 65536/65536
usb-storage: -- transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 0/13
usb-storage: -- short transfer
usb-storage: Received 0-length CSW; retrying...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: command_abort called
usb-storage: usb_stor_stop_transport called
usb-storage: -- cancelling URB
usb-storage: Status code -104; transferred 0/13
usb-storage: -- transfer cancelled
usb-storage: Bulk status result = 4
usb-storage: -- command was aborted
usb 1-4.4: reset high speed USB device using ehci_hcd and address 3
usb-storage: usb_reset_device returns 0
usb-storage: scsi command aborted
usb-storage: *** thread sleeping.

> > and the second one:
> >
> > usb-storage: Command WRITE_10 (10 bytes)
> > usb-storage:  2a 00 0e 80 00 6f 00 00 08 00
> > usb-storage: Bulk Command S 0x43425355 T 0x2d65 L 4096 F 0 Trg 0 LUN 0 CL
> > 10 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
> > usb-storage: Status code 0; transferred 31/31
> > usb-storage:  00 06 fc 02 27 00 00 08 00
> > usb-storage: Bulk Command S 0x43425355 T 0x2dc0 L 4096 F 128 Trg 0 LUN 0
> > CL 10
>
> This looks suspicious right here.  Part of the log is missing.  Did you
> take this from dmesg output or did it come from a file written by syslogd?

This is from messages written by syslog. It seems like usb-storage is filling 
the
kernel log buffer faster that syslogd can read. Syslogd constantly uses about
10% cpu on the machine and I still often see garbled log entries. This must
be one of those. Here is a log snippet thats looking better:

usb-storage: *** thread awakened.
usb-storage: Command READ_10 (10 bytes)
usb-storage:  28 00 00 00 02 3f 00 00 80 00
usb-storage: Bulk Command S 0x43425355 T 0xcbe6 L 65536 F 128 Trg 0 LUN 0 CL 10
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_sglist: xfer 65536 bytes, 16 entries
usb-storage: Status code -121; transferred 20480/65536
usb-storage: -- short read transfer
usb-storage: Bulk data transfer result 0x1
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code -75; transferred 0/13
usb-storage: -- babble
usb-storage: Bulk status result = 3
usb-storage: -- transport indicates error, resetting
ehci_hcd 0000:00:08.3: port 4 high speed
ehci_hcd 0000:00:08.3: GetStatus port 4 status 001005 POWER sig=se0  PE CONNECT
usb 1-4: reset high speed USB device using ehci_hcd and address 6
ehci_hcd 0000:00:08.3: port 4 high speed
ehci_hcd 0000:00:08.3: GetStatus port 4 status 001005 POWER sig=se0  PE CONNECT
usb-storage: usb_reset_device returns 0
usb-storage: scsi cmd done, result=0x70000
usb-storage: *** thread sleeping.

Kind regards,

Gerd


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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