Re: Assessing USB Mass Storage devices - Debugging Info
Mark C <[email protected]>
| Newsgroups | gmane.linux.redhat.release.limbo |
|---|---|
| Message-ID | <[email protected]> |
Hi (again) I have now compiled linux-2.4.19-ac2 with USB Mass Storage degugging Information. If anyone can make some sence of this, I would be very gratefull for any more assistance :-) Please find the output of dmesg -n 9, when I plugged the camera in. I still cannot access it by any method I have tried or been advised to try on this list. Below is the stderror output to my terminal on plugging in the camera. I have now noticed that it prints sda1 up, where as last time it never. I have tried to access sda1, but every time keep getting: mount: /dev/sda1 is not a valid block device [root@stimpy mark]# usb.c: USB device 2 (vend/prod 0x733/0x1310) is not claimed by any active driver. Vendor: Model: 1.3M DigitalCAM Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02 Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0 SCSI device sda: 16384 512-byte hdwr sectors (8 MB) sda: test WP failed, assume Write Enabled sda1 Sorry for the long list in advance ---------------------- cut ----------------------------- hub.c: USB new device connect on bus1/1, assigned device number 2 usb.c: USB device 2 (vend/prod 0x733/0x1310) is not claimed by any active driver. 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: 85 usb-storage: Array length appears to be: 87 usb-storage: USB Mass Storage device detected usb-storage: Endpoints: In: 0xdb6b0b20 Out: 0xdb6b0b34 Int: 0xdb6b0b48 (Period 1) usb-storage: New GUID 07331310000ffffffffff700 usb-storage: GetMaxLUN command result is 1, 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 4f da d4 33 4f da usb-storage: Bulk command S 0x43425355 T 0x8 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 36/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 0x8 R 219 Stat 0x0 usb-storage: Fixing INQUIRY data to show SCSI rev 2 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. Vendor: Model: 1.3M DigitalCAM Rev: 1.00 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 30 da usb-storage: Bulk command S 0x43425355 T 0x10 Trg 0 LUN 0 L 0 F 0 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 0x10 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 30 da usb-storage: Bulk command S 0x43425355 T 0x11 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 0 xferred 8/8 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 0x11 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. SCSI device sda: 16384 512-byte hdwr sectors (8 MB) usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command MODE_SENSE (6 bytes) usb-storage: 1a 00 3f 00 ff 00 00 00 00 00 30 da usb-storage: Bulk command S 0x43425355 T 0x12 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 -32 xferred 0/255 usb-storage: clearing endpoint halt for pipe 0xc0038280 usb-storage: usb_stor_clear_halt: result=0 usb-storage: usb_stor_transfer_partial(): unknown error usb-storage: Bulk data transfer result 0x2 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x12 R 255 Stat 0x1 usb-storage: -- transport indicates command failure usb-storage: Issuing auto-REQUEST_SENSE usb-storage: Bulk command S 0x43425355 T 0x12 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 0x12 R 0 Stat 0x0 usb-storage: -- Result from auto-sense is 0 usb-storage: -- code: 0x70, key: 0x5, ASC: 0x24, ASCQ: 0x0 usb-storage: Illegal Request: invalid field in CDB usb-storage: scsi cmd done, result=0x2 usb-storage: *** thread sleeping. sda: test WP failed, assume Write Enabled sda:<7>usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 00 00 00 00 00 00 00 08 00 30 da usb-storage: Bulk command S 0x43425355 T 0x13 Trg 0 LUN 0 L 4096 F 128 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: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x13 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. sda1 WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 2 USB Mass Storage support registered. Attached scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0 sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray cdrom: This disc doesn't have any tracks I recognize! ---------------------- cut ----------------------------- I will be doing some more searching on some of the information for dmesg, but to be honest most of it baffles me, as its kernel debugging output. I will be posting this to both then usb and kernel mailing lists to try to get some more information. Mark -- --- To steal ideas from one person is plagiarism; to steal from many is research.