Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2007 23:06:02 +0100
From:      Lars Engels <lars.engels@0x20.net>
To:        current@freebsd.org
Subject:   mount_msdosfs oddity
Message-ID:  <20070304220602.GI21974@e.0x20.net>

next in thread | raw e-mail | index | archive | help

--pZs/OQEoSSbxGlYw
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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@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.

=3D=3D=3D fdisk =3D=3D=3D

(43) lars@ttyp6 # fdisk /dev/da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=3D26 heads=3D64 sectors/track=3D32 (2048 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=3D26 heads=3D64 sectors/track=3D32 (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>


=3D=3D=3D file =3D=3D=3D

(44) lars@ttyp6 # file -s /dev/da0s1
/dev/da0s1: x86 boot sector

This does not look like an msdosfs partition...


=3D=3D=3D dmesg =3D=3D=3D

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

--=20
Lars Engels
E-Mail: lars.engels@0x20.net =09

--pZs/OQEoSSbxGlYw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFF60LKKc512sD3afgRAsPkAJ9BA/DTae64TYDyKVJ95M9roOE3RwCcCLbV
b/YbZBxZN1fyuiATF0UAQ7c=
=Cgw+
-----END PGP SIGNATURE-----

--pZs/OQEoSSbxGlYw--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070304220602.GI21974>