From owner-freebsd-current@FreeBSD.ORG Sun Mar 4 22:33:24 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 40CB316A403 for ; Sun, 4 Mar 2007 22:33:24 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.freebsd.org (Postfix) with ESMTP id DB92F13C47E for ; Sun, 4 Mar 2007 22:33:23 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: by mail.0x20.net (Postfix, from userid 1002) id 3FEBD385A4; Sun, 4 Mar 2007 23:06:02 +0100 (CET) Date: Sun, 4 Mar 2007 23:06:02 +0100 From: Lars Engels To: current@freebsd.org Message-ID: <20070304220602.GI21974@e.0x20.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pZs/OQEoSSbxGlYw" Content-Disposition: inline X-Editor: VIM - Vi IMproved 7.0 X-Operation-System: FreeBSD 5.5-RELEASE User-Agent: Mutt/1.5.11 Cc: Subject: mount_msdosfs oddity X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 22:33:24 -0000 --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: The data for partition 3 is: The data for partition 4 is: =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: on uhub0 umass1: on uhub0 (probe0:umass-sim0:0:0:0): Uninitialized Transport 5:26? da0 at umass-sim0 bus 0 target 0 lun 0 da0: 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: 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--