On Wed, 14 Jan 2004, jjluza wrote:

> I just try a new test :
> I try with the kernel 2.6.1-bk2 with .max_sectors = 16
> and it does the same thing.
> 
> For the moment, I haven't found any solution, so I'm a bit disapointed.

I just looked back at your original problem report, and I saw this in your 
log file:

Jan  9 06:34:05 client kernel: usb-storage: Command WRITE_10 (10 bytes)
Jan  9 06:34:05 client kernel: usb-storage:  2a 00 00 4f 09 57 00 00 80 00
Jan  9 06:34:05 client kernel: usb-storage: Bulk Command S 0x43425355 T 0x14ea L 65536 
F 0 Trg 0 LUN 0 CL 10
Jan  9 06:34:05 client kernel: usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
Jan  9 06:34:05 client kernel: usb-storage: Status code 0; transferred 31/31
Jan  9 06:34:05 client kernel: usb-storage: -- transfer complete
Jan  9 06:34:05 client kernel: usb-storage: Bulk command transfer result=0
Jan  9 06:34:05 client kernel: usb-storage: usb_stor_bulk_transfer_sglist: xfer 65536 
bytes, 16 entries
Jan  9 06:34:30 client kernel: usb 1-3: control timeout on ep0in
Jan  9 06:34:35 client kernel: usb 1-3: control timeout on ep0in

What on earth are these messages doing here?  1-3 is the usb-storage 
device in question.  There shouldn't be any control transfers going on at 
this point, only the bulk-out transfer.  This looks very strange...

Jan  9 06:34:35 client kernel: usb-storage: command_abort called
Jan  9 06:34:35 client kernel: usb-storage: usb_stor_stop_transport called
Jan  9 06:34:35 client kernel: usb-storage: -- cancelling sg request
Jan  9 06:34:35 client kernel: usb-storage: Status code -104; transferred 1536/65536
Jan  9 06:34:35 client kernel: usb-storage: -- transfer cancelled
Jan  9 06:34:35 client kernel: usb-storage: Bulk data transfer result 0x4
Jan  9 06:34:35 client kernel: usb-storage: -- command was aborted
Jan  9 06:34:35 client kernel: usb-storage: usb_stor_Bulk_reset called
Jan  9 06:34:35 client kernel: usb-storage: usb_stor_control_msg: rq=ff rqtype=21 
value=0000 index=00 len=0
Jan  9 06:34:55 client kernel: usb-storage: Timeout -- cancelling URB
Jan  9 06:34:55 client kernel: usb-storage: Soft reset failed: -104
Jan  9 06:34:55 client kernel: usb-storage: scsi command aborted

The bulk transfer failed, and after that no further communication worked 
at all.

Do you see this same sort of thing in the log with max_sectors set to 16?

Just for kicks, see what happens when you set max_sectors to 2. (!)

Also, I can't remember if you've already posted this information.  Could 
you send the output from lsusb, or else the contents of 
/proc/bus/usb/devices, with your drive plugged in?

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to