Hi Alan,

I will repeat the test first with another controller
and then with another device and if nothin works i
will go for 2.6 kernel.

The timeout is large, its 20 seconds.

/*
 * TIMEOUT OF 20 SECONDS
 */
io_hdr.timeout             = 20000;

Thanks,
Phani

--- Alan Stern <[EMAIL PROTECTED]> wrote:

> On Sat, 11 Sep 2004, Phani Babu G. wrote:
> 
> > Hi Alan,
> > 
> > Now, I write 8 Blocks i.e, 4096 bytes of data
> still
> > SCSI WRITE_10 fails. Below listed are the traces.
> Do
> > you see anything suspicious here.
> > 
> > usb-storage: queuecommand() called
> > usb-storage: *** thread awakened.
> > usb-storage: Command WRITE_10 (10 bytes)
> > usb-storage: 2a 00 00 00 00 21 00 00 08 00 00 00
> > usb-storage: Bulk command S 0x43425355 T 0x7c Trg
> 0
> > LUN 0 L 4096 F 0 CL 10
> > usb-storage: Bulk command transfer result=0
> > usb-storage: usb_stor_transfer_partial(): xfer
> 4096
> > bytes
> > usb-storage: usb_stor_bulk_msg() returned 0
> xferred
> > 4096/4096
> > usb-storage: usb_stor_transfer_partial(): transfer
> > complete
> > usb-storage: Bulk data transfer result 0x0
> > usb-storage: Attempting to get CSW...
> > usb-storage: command_abort() called
> > usb-storage: Bulk status result = -104
> > usb-storage: -- transport indicates error,
> resetting
> > usb-storage: Bulk reset requested
> > uhci.c: uhci_submit_urb: urb not available to
> submit
> > (status = -104)
> > usb-storage: usb_stor_clear_halt: result=-22
> > uhci.c: uhci_submit_urb: urb not available to
> submit
> > (status = -104)
> > usb-storage: usb_stor_clear_halt: result=-22
> > usb-storage: Bulk soft reset completed
> > usb-storage: scsi cmd done, result=0x70000
> > usb-storage: *** thread sleeping.
> 
> This looks better, in the sense that you're doing
> everything right.
> 
> I don't know why it still fails.  Are you using a
> reasonably long value 
> for the timeout?  If you are then there must be an
> error either in the 
> device itself or in the USB controller driver.
> 
> You might try running this under 2.6.8.1 instead of
> 2.4.  The drivers for 
> 2.6 are much more robust.
> 
> Alan Stern
> 
> 
> 
>
-------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE.
> Be one of 170
> Project Admins to receive an Apple iPod Mini FREE
> for your judgement on
> who ports your project to Linux PPC the best.
> Sponsored by IBM. 
> Deadline: Sept. 13. Go here:
> http://sf.net/ppc_contest.php
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
>
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
> 



                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to