Motorola A1200 USB storage

Hans-Joachim Baader <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Hi,

I have a Motorola A1200 smartphone now. It doesn't have a MicroSD
card yet, only internal memory. I thought it should be possible
to mount this internal storage but no luck so far:

usb 1-2.4: new full speed USB device using ehci_hcd and address 11
usb 1-2.4: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 11
usb-storage: waiting for device to settle before scanning
  Vendor: Motorola  Model: Phone             Rev:
  Type:   Direct-Access                      ANSI SCSI revision: 04
SCSI device sda: 4294967295 512-byte hdwr sectors (2199023 MB)
sda: Write Protect is off
sda: Mode Sense: 10 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 4294967295 512-byte hdwr sectors (2199023 MB)
sda: Write Protect is off
sda: Mode Sense: 10 00 00 00
sda: assuming drive cache: write through
 sda:<6>sd 0:0:0:0: SCSI error: return code = 0x08000002
sda: Current: sense key: Medium Error
    Additional sense: No additional sense information
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
Buffer I/O error on device sda, logical block 1
Buffer I/O error on device sda, logical block 2
Buffer I/O error on device sda, logical block 3
Buffer I/O error on device sda, logical block 4
Buffer I/O error on device sda, logical block 5
Buffer I/O error on device sda, logical block 6
Buffer I/O error on device sda, logical block 7
sd 0:0:0:0: SCSI error: return code = 0x08000002
sda: Current: sense key: Medium Error
    Additional sense: No additional sense information
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
Buffer I/O error on device sda, logical block 1
 unable to read partition table
sd 0:0:0:0: Attached scsi disk sda
usb-storage: device scan complete


I recompiled usb-storage with debug information and got:


usb 1-2.4: new full speed USB device using ehci_hcd and address 21
usb 1-2.4: configuration #1 chosen from 1 choice
USB Mass Storage device detected
-- associate_dev
Vendor: 0x22b8, Product: 0x608d, Revision: 0x0001
Interface Subclass: 0x06, Protocol: 0x50
Transport: Bulk
Protocol: Transparent SCSI
scsi3 : SCSI emulation for USB Mass Storage devices
*** thread sleeping.
device found at 21
waiting for device to settle before scanning
usb_stor_control_msg: rq=fe rqtype=a1 value=0000 index=00 len=1
GetMaxLUN command result is 1, data is 0
queuecommand called
*** thread awakened.
Command INQUIRY (6 bytes)
 12 00 00 00 24 00
Bulk Command S 0x43425355 T 0x1 L 36 F 128 Trg 0 LUN 0 CL 6
usb_stor_bulk_transfer_buf: xfer 31 bytes
Status code 0; transferred 31/31
-- transfer complete
Bulk command transfer result=0
usb_stor_bulk_transfer_sglist: xfer 36 bytes, 1 entries
Status code 0; transferred 36/36
-- transfer complete
Bulk data transfer result 0x0
Attempting to get CSW...
usb_stor_bulk_transfer_buf: xfer 13 bytes
Status code 0; transferred 13/13
-- transfer complete
Bulk status result = 0
Bulk Status S 0x53425355 T 0x1 R 0 Stat 0x0
scsi cmd done, result=0x0
*** thread sleeping.
 Vendor: Motorola  Model: Phone             Rev:
 Type:   Direct-Access                      ANSI SCSI revision: 04
queuecommand called
*** thread awakened.
Command TEST_UNIT_READY (6 bytes)
 00 00 00 00 00 00
Bulk Command S 0x43425355 T 0x2 L 0 F 0 Trg 0 LUN 0 CL 6
usb_stor_bulk_transfer_buf: xfer 31 bytes
Status code 0; transferred 31/31
-- transfer complete
Bulk command transfer result=0
Attempting to get CSW...
usb_stor_bulk_transfer_buf: xfer 13 bytes
Status code 0; transferred 13/13
-- transfer complete
Bulk status result = 0
Bulk Status S 0x53425355 T 0x2 R 0 Stat 0x0
scsi cmd done, result=0x0
*** thread sleeping.
queuecommand called
*** thread awakened.
Command READ_CAPACITY (10 bytes)
 25 00 00 00 00 00 00 00 00 00
Bulk Command S 0x43425355 T 0x3 L 8 F 128 Trg 0 LUN 0 CL 10
usb_stor_bulk_transfer_buf: xfer 31 bytes
Status code 0; transferred 31/31
-- transfer complete
Bulk command transfer result=0
usb_stor_bulk_transfer_sglist: xfer 8 bytes, 1 entries
Status code 0; transferred 8/8
-- transfer complete
Bulk data transfer result 0x0
Attempting to get CSW...
usb_stor_bulk_transfer_buf: xfer 13 bytes
Status code 0; transferred 13/13
-- transfer complete
Bulk status result = 0
Bulk Status S 0x53425355 T 0x3 R 0 Stat 0x0
scsi cmd done, result=0x0
*** thread sleeping.
SCSI device sda: 4294967295 512-byte hdwr sectors (2199023 MB)
queuecommand called
*** thread awakened.
Command MODE_SENSE (6 bytes)
 1a 00 3f 00 c0 00
Bulk Command S 0x43425355 T 0x4 L 192 F 128 Trg 0 LUN 0 CL 6
usb_stor_bulk_transfer_buf: xfer 31 bytes
Status code 0; transferred 31/31
-- transfer complete
Bulk command transfer result=0
usb_stor_bulk_transfer_sglist: xfer 192 bytes, 1 entries
Status code -121; transferred 17/192
-- short read transfer
Bulk data transfer result 0x1
Attempting to get CSW...
usb_stor_bulk_transfer_buf: xfer 13 bytes
Status code 0; transferred 13/13
-- transfer complete
Bulk status result = 0
Bulk Status S 0x53425355 T 0x4 R 175 Stat 0x0
scsi cmd done, result=0x0
*** thread sleeping.
sda: Write Protect is off
sda: Mode Sense: 10 00 00 00
sda: assuming drive cache: write through
queuecommand called
*** thread awakened.
Command TEST_UNIT_READY (6 bytes)
 00 00 00 00 00 00
Bulk Command S 0x43425355 T 0x5 L 0 F 0 Trg 0 LUN 0 CL 6
usb_stor_bulk_transfer_buf: xfer 31 bytes
Status code 0; transferred 31/31
-- transfer complete
Bulk command transfer result=0
Attempting to get CSW...
usb_stor_bulk_transfer_buf: xfer 13 bytes
Status code 0; transferred 13/13
-- transfer complete
Bulk status result = 0
Bulk Status S 0x53425355 T 0x5 R 0 Stat 0x0
scsi cmd done, result=0x0
*** thread sleeping.
queuecommand called
*** thread awakened.
Command READ_CAPACITY (10 bytes)
 25 00 00 00 00 00 00 00 00 00
Bulk Command S 0x43425355 T 0x6 L 8 F 128 Trg 0 LUN 0 CL 10
usb_stor_bulk_transfer_buf: xfer 31 bytes
Status code 0; transferred 31/31
-- transfer complete
Bulk command transfer result=0
usb_stor_bulk_transfer_sglist: xfer 8 bytes, 1 entries
Status code 0; transferred 8/8
-- transfer complete
Bulk data transfer result 0x0
Attempting to get CSW...
usb_stor_bulk_transfer_buf: xfer 13 bytes
Status code 0; transferred 13/13
-- transfer complete
Bulk status result = 0
Bulk Status S 0x53425355 T 0x6 R 0 Stat 0x0
scsi cmd done, result=0x0
*** thread sleeping.
SCSI device sda: 4294967295 512-byte hdwr sectors (2199023 MB)
queuecommand called
*** thread awakened.
Command MODE_SENSE (6 bytes)
 1a 00 3f 00 c0 00
Bulk Command S 0x43425355 T 0x7 L 192 F 128 Trg 0 LUN 0 CL 6
usb_stor_bulk_transfer_buf: xfer 31 bytes
Status code 0; transferred 31/31
-- transfer complete
Bulk command transfer result=0
usb_stor_bulk_transfer_sglist: xfer 192 bytes, 1 entries
Status code -121; transferred 17/192
-- short read transfer
Bulk data transfer result 0x1
Attempting to get CSW...
usb_stor_bulk_transfer_buf: xfer 13 bytes
Status code 0; transferred 13/13
-- transfer complete
Bulk status result = 0
Bulk Status S 0x53425355 T 0x7 R 175 Stat 0x0
scsi cmd done, result=0x0
*** thread sleeping.
otect is off
se: 10 00 00 00
 drive cache: write through
torage: queuecommand called
*** thread awakened.
Command READ_10 (10 bytes)
 28 00 00 00 00 00 00 00 08 00
Bulk Command S 0x43425355 T 0x8 L 4096 F 128 Trg 0 LUN 0 CL 10
usb_stor_bulk_transfer_buf: xfer 31 bytes
Status code 0; transferred 31/31
-- transfer complete
Bulk command transfer result=0
usb_stor_bulk_transfer_sglist: xfer 4096 bytes, 1 entries
Status code -121; transferred 0/4096
-- short read transfer
Bulk data transfer result 0x1
Attempting to get CSW...
usb_stor_bulk_transfer_buf: xfer 13 bytes
Status code 0; transferred 13/13
-- transfer complete
Bulk status result = 0
Bulk Status S 0x53425355 T 0x8 R 4096 Stat 0x1
-- transport indicates command failure
-- unexpectedly short transfer
Issuing auto-REQUEST_SENSE
Bulk Command S 0x43425355 T 0x9 L 18 F 128 Trg 0 LUN 0 CL 6
usb_stor_bulk_transfer_buf: xfer 31 bytes
Status code 0; transferred 31/31
-- transfer complete
Bulk command transfer result=0
usb_stor_bulk_transfer_buf: xfer 18 bytes
Status code 0; transferred 13/18
-- short transfer
Bulk data transfer result 0x1
Attempting to get CSW...
usb_stor_bulk_transfer_buf: xfer 13 bytes
Status code 0; transferred 13/13
-- transfer complete
Bulk status result = 0
Bulk Status S 0x53425355 T 0x9 R 5 Stat 0x0
-- Result from auto-sense is 0
-- code: 0x70, key: 0x3, ASC: 0x0, ASCQ: 0x2e
Medium Error: (unknown ASC/ASCQ)
scsi cmd done, result=0x2


The last few lines are suspicious, but the wrong capacity also.
Can someone help?

Thanks,
hjb
-- 
Pro-Linux - Germany's largest volunteer Linux support site
http://www.pro-linux.de/          Public Key ID 0x3DDBDDEA

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFF6HDGLbySPj3b3eoRAlA0AJ9NGOemaZlaxtrlxi7T22qMT5dgzACgmkjr
Xj6Q8IkUjs29mKc3eSpwXlI=
=i+Gq
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.