Hi, I got some problems with a Sandisk Compact Flash Reader ImageMate SSDR 31.
I'm using 2.4.10 kernel + ext3 0.9.10 (also tested with 2.4.12-ac1). # lsmod | grep usb usb-storage 51516 1 usb-uhci 21156 0 (unused) usbcore 48320 0 [usb-storage usb-uhci] scsi_mod 78952 4 [usb-storage st ncr53c8xx sd_mod] The problem is very frequent hangs when accessing the CF Reader. When modprobing usb-storage, sometimes, the command hangs. Here is the output of dmesg (it is long, sorry) : Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage usb-storage: act_altsettting is 0 usb-storage: id_index calculated to be: 32 usb-storage: Array length appears to be: 59 usb-storage: Vendor: Sandisk usb-storage: Product: ImageMate SDDR-31 usb-storage: USB Mass Storage device detected usb-storage: Endpoints: In: 0xc9d0e780 Out: 0xc9d0e794 Int: 0x00000000 (Period 0) usb-storage: New GUID 078100020000000000000000 usb-uhci.c: interrupt, status 2, frame# 164 usb-storage: GetMaxLUN command result is 0, data is 0 usb-storage: Transport: Bulk usb-storage: Protocol: Transparent SCSI usb-storage: *** thread sleeping. scsi1 : SCSI emulation for USB Mass Storage devices usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command INQUIRY (6 bytes) usb-storage: 12 00 00 00 ff 00 13 d9 00 00 00 00 usb-storage: Bulk command S 0x43425355 T 0x1b Trg 0 LUN 0 L 255 F 128 CL 6 usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_transfer_partial(): xfer 255 bytes usb-storage: usb_stor_bulk_msg() returned 0 xferred 56/255 usb-storage: Bulk data transfer result 0x1 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x1b R 199 Stat 0x0 usb-storage: Fixing INQUIRY data to show SCSI rev 2 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. Vendor: SanDisk Model: ImageMate II Rev: 1.30 Type: Direct-Access ANSI SCSI revision: 02 usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad target number (1/0) usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad target number (2/0) usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad target number (3/0) usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad target number (4/0) usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad target number (5/0) usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad target number (6/0) usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad target number (7/0) usb-storage: *** thread sleeping. Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0 usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command TEST_UNIT_READY (6 bytes) usb-storage: 00 00 00 00 00 00 00 00 00 00 00 00 usb-storage: Bulk command S 0x43425355 T 0x23 Trg 0 LUN 0 L 0 F 128 CL 6 usb-storage: Bulk command transfer result=0 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x23 R 0 Stat 0x1 usb-storage: -- transport indicates command failure usb-storage: Issuing auto-REQUEST_SENSE usb-storage: Bulk command S 0x43425355 T 0x23 Trg 0 LUN 0 L 18 F 128 CL 6 usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_transfer_partial(): xfer 18 bytes usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18 usb-storage: usb_stor_transfer_partial(): transfer complete usb-storage: Bulk data transfer result 0x0 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x23 R 0 Stat 0x0 usb-storage: -- Result from auto-sense is 0 usb-storage: -- code: 0x70, key: 0x6, ASC: 0x28, ASCQ: 0x0 usb-storage: Unit Attention: not ready to ready transition usb-storage: scsi cmd done, result=0x2 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command TEST_UNIT_READY (6 bytes) usb-storage: 00 00 00 00 00 00 00 00 00 00 00 00 usb-storage: Bulk command S 0x43425355 T 0x24 Trg 0 LUN 0 L 0 F 128 CL 6 usb-storage: Bulk command transfer result=0 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x24 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_CAPACITY (10 bytes) usb-storage: 25 00 00 00 00 00 00 00 00 00 00 00 usb-storage: Bulk command S 0x43425355 T 0x25 Trg 0 LUN 0 L 8 F 128 CL 10 usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_transfer_partial(): xfer 8 bytes usb-storage: usb_stor_bulk_msg() returned -32 xferred 0/8 usb-storage: clearing endpoint halt for pipe 0xc0010280 usb_control/bulk_msg: timeout usb-storage: usb_stor_transfer_partial(): unknown error usb-storage: Bulk data transfer result 0x2 usb-storage: Attempting to get CSW... usb-storage: clearing endpoint halt for pipe 0xc0010280 usb_control/bulk_msg: timeout usb-storage: Attempting to get CSW (2nd try)... usb-storage: clearing halt for pipe 0xc0010280 usb_control/bulk_msg: timeout usb-storage: Bulk reset requested usb_control/bulk_msg: timeout usb-storage: Bulk soft reset failed -110 usb-storage: -- transport indicates transport failure usb-storage: scsi cmd done, result=0x70000 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_CAPACITY (10 bytes) usb-storage: 25 00 00 00 00 00 00 00 00 00 00 00 usb-storage: Bulk command S 0x43425355 T 0x26 Trg 0 LUN 0 L 8 F 128 CL 10 usb-storage: command_abort() called It also hangs almost always when reading data from the card : ... 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-uhci.c: interrupt, status 3, frame# 1827 usb-storage: clearing endpoint halt for pipe 0xc0010280 usb_control/bulk_msg: timeout usb-storage: Attempting to get CSW (2nd try)... usb-storage: clearing halt for pipe 0xc0010280 usb_control/bulk_msg: timeout usb-storage: Bulk reset requested usb_control/bulk_msg: timeout usb-storage: Bulk soft reset failed -110 usb-storage: -- transport indicates transport failure usb-storage: scsi cmd done, result=0x70000 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 00 00 00 00 4d 00 00 01 00 00 00 usb-storage: Bulk command S 0x43425355 T 0x10d Trg 0 LUN 0 L 512 F 128 CL 10 usb-storage: command_abort() called When connecting a Nikon Coolpix 995 on the USB bus with the same CF card in it, everything works perfectly an quite fast (800 Kbyte/s). Does anybody knows where the problem is ? -- mailto:[EMAIL PROTECTED] Le Web de l'histoire de l'informatique de -3000 ā 1986 : http://histoire.info.online.fr/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users