Hi All, I am having problems writig data to a 64 MB direct access device (LEXAR make). I use SG_IO ioctl provided by SCSI Generic (sg) to access the USB Mass Storage device. After issuing WRITE_10 command the SCSI genric driver freezes. The linux kernel version is 2.4.20. On the other hand SCSI READ_10 commands succeed using the same ioctl. Traces.......... usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command WRITE_10 (10 bytes) usb-storage: 2a 00 00 00 00 00 00 00 08 00 00 00 usb-storage: Bulk command S 0x43425355 T 0x86 Trg 0 LUN 0 L 512 F 0 CL 10 usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_transfer_partial(): xfer 512 bytes usb-storage: usb_stor_bulk_msg() returned 0 xferred 512/512 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.
Thank you in advance for your help, Phani __________________________________ 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