mount_msdosfs oddity

From: Lars Engels <lars.engels_at_0x20.net>
Date: Sun, 4 Mar 2007 23:06:02 +0100
Hello,

my Sony Ericsson W810i cell phone comes with a USB cable and presents
the internal memory and the memory stick as two umass devices (da0,
da1). When I try to mount one of them (mount -t msdosfs), I am getting
the error message:
(41) lars_at_ttyp6 # mount -t msdosfs /dev/da0 mnt/usb
mount_msdosfs: /dev/da0: Invalid argument
Which is okay because it's not possible to mount da0 directly.
But after that a new device da0s1 shows up, which returns the same
error message when I try to mount it.

=== fdisk ===

(43) lars_at_ttyp6 # fdisk /dev/da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=26 heads=64 sectors/track=32 (2048 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=26 heads=64 sectors/track=32 (2048 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 4 (0x04),(Primary DOS with 16 bit FAT (< 32MB))
    start 3, size 38509 (18 Meg), flag 80 (active)
        beg: cyl 0/ head 0/ sector 4;
        end: cyl 89/ head 2/ sector 18
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>


=== file ===

(44) lars_at_ttyp6 # file -s /dev/da0s1
/dev/da0s1: x86 boot sector

This does not look like an msdosfs partition...


=== dmesg ===

umass0: <Sony Ericsson Sony Ericsson W810, class 0/0, rev 2.00/0.00,
addr 2> on uhub0
umass1: <Sony Ericsson Sony Ericsson W810, class 0/0, rev 2.00/0.00,
addr 2> on uhub0
(probe0:umass-sim0:0:0:0): Uninitialized Transport 5:26?
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <SEMC Int.Memory 0000> Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(probe0:umass-sim1:1:0:0): Uninitialized Transport 5:26?
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 -> 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 -> 6
da1 at umass-sim1 bus 1 target 0 lun 0
da1: <SEMC Mem-Stick 0000> Removable Direct Access SCSI-0 device
da1: 1.000MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 -> 6
(da1:umass-sim1:1:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da1:umass-sim1:1:0:0): CAM Status: SCSI Status Error
(da1:umass-sim1:1:0:0): SCSI Status: Check Condition
(da1:umass-sim1:1:0:0): NOT READY asc:3a,0
(da1:umass-sim1:1:0:0): Medium not present
(da1:umass-sim1:1:0:0): Unretryable error
Opened disk da1 -> 6
(da1:umass-sim1:1:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da1:umass-sim1:1:0:0): CAM Status: SCSI Status Error
(da1:umass-sim1:1:0:0): SCSI Status: Check Condition
(da1:umass-sim1:1:0:0): NOT READY asc:3a,0
(da1:umass-sim1:1:0:0): Medium not present
(da1:umass-sim1:1:0:0): Unretryable error
Opened disk da1 -> 6
(da1:umass-sim1:1:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da1:umass-sim1:1:0:0): CAM Status: SCSI Status Error
(da1:umass-sim1:1:0:0): SCSI Status: Check Condition
(da1:umass-sim1:1:0:0): NOT READY asc:3a,0
(da1:umass-sim1:1:0:0): Medium not present
(da1:umass-sim1:1:0:0): Unretryable error
Opened disk da1 -> 6


I assume that mount_msdosfs is lacking some way to mount these
partitions. Goggle told me that mounting it works on FreeBSD.
Not to mention that I can also mount it with Windows XP...

I also did not have any success with the mtools.

Lars

-- 
Lars Engels
E-Mail: lars.engels_at_0x20.net 	

Received on Sun Mar 04 2007 - 21:33:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:06 UTC