Alan Stern wrote : > > The device claims not to have any media present. I don't have any idea > why it does this when plugged in after booting but not when plugged in > before booting. > > Anyway, you need to force the device to be revalidated. I'm not sure > when this happens automatically, but you can try forcing it to happen: > > echo >/sys/block/sdb/device/rescan > > Post a usb-storage debugging showing what happens when you do that. >
Here it is : Jul 27 19:24:54 corborant usb-storage: queuecommand called Jul 27 19:24:54 corborant usb-storage: *** thread awakened. Jul 27 19:24:54 corborant usb-storage: Command TEST_UNIT_READY (6 bytes) Jul 27 19:24:54 corborant usb-storage: 00 00 00 00 00 00 Jul 27 19:24:54 corborant usb-storage: Bulk Command S 0x43425355 T 0x4 L 0 F 0 Trg 0 LUN 0 CL 6 Jul 27 19:24:54 corborant usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes Jul 27 19:24:54 corborant usb-storage: Status code 0; transferred 31/31 Jul 27 19:24:54 corborant usb-storage: -- transfer complete Jul 27 19:24:54 corborant usb-storage: Bulk command transfer result=0 Jul 27 19:24:54 corborant usb-storage: Attempting to get CSW... Jul 27 19:24:54 corborant usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes Jul 27 19:24:54 corborant usb-storage: Status code 0; transferred 13/13 Jul 27 19:24:54 corborant usb-storage: -- transfer complete Jul 27 19:24:54 corborant usb-storage: Bulk status result = 0 Jul 27 19:24:54 corborant usb-storage: Bulk Status S 0x53425355 T 0x4 R 0 Stat 0x1 Jul 27 19:24:54 corborant usb-storage: -- transport indicates command failure Jul 27 19:24:54 corborant usb-storage: Issuing auto-REQUEST_SENSE Jul 27 19:24:54 corborant usb-storage: Bulk Command S 0x43425355 T 0x5 L 18 F 128 Trg 0 LUN 0 CL 6 Jul 27 19:24:54 corborant usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes Jul 27 19:24:54 corborant usb-storage: Status code 0; transferred 31/31 Jul 27 19:24:54 corborant usb-storage: -- transfer complete Jul 27 19:24:54 corborant usb-storage: Bulk command transfer result=0 Jul 27 19:24:54 corborant usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes Jul 27 19:24:54 corborant usb-storage: Status code 0; transferred 14/18 Jul 27 19:24:54 corborant usb-storage: -- short transfer Jul 27 19:24:54 corborant usb-storage: Bulk data transfer result 0x1 Jul 27 19:24:54 corborant usb-storage: Attempting to get CSW... Jul 27 19:24:54 corborant usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes Jul 27 19:24:54 corborant usb-storage: Status code 0; transferred 13/13 Jul 27 19:24:54 corborant usb-storage: -- transfer complete Jul 27 19:24:54 corborant usb-storage: Bulk status result = 0 Jul 27 19:24:54 corborant usb-storage: Bulk Status S 0x53425355 T 0x5 R 4 Stat 0x0 Jul 27 19:24:54 corborant usb-storage: -- Result from auto-sense is 0 Jul 27 19:24:54 corborant usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0 Jul 27 19:24:54 corborant usb-storage: (Unknown Key): (unknown ASC/ASCQ) Jul 27 19:24:54 corborant usb-storage: scsi cmd done, result=0x2 Jul 27 19:24:54 corborant usb-storage: *** thread sleeping. Best regards, Jean-Claude ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users