Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2009 14:23:38 +0000
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-sparc64@freebsd.org
Subject:   Re: usb mount error: g_vfs_done():da0s1[READ(offset=512, length=8192)]error = 5
Message-ID:  <20091228142338.GA7058@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <20091228135607.GA6907@mech-cluster241.men.bris.ac.uk>
References:  <20091228135607.GA6907@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 28, 2009 at 01:56:07PM +0000, Anton Shterenlikht wrote:
> I need to mount a usb device (digital camera in this case).
> On i386 9.0-current all is well.
> On sparc 9.0-current I get
> on the console:
> 
> 	mount_msdosfs: /dev/da0s1: Input/output error
> 
> and in dmesg:
> 	
> 	g_vfs_done():da0s1[READ(offset=512, length=8192)]error = 5
> 
> On both systems dmesg gives:
> 
> ugen0.2: <OLYMPUS> at usbus0
> umass0: <OLYMPUS C4100Z/C4000Z, class 0/0, rev 1.10/1.00, addr 2> on usbus0
> umass0:  SCSI over Bulk-Only; quirks = 0x0100
> umass0:2:0:-1: Attached to scbus2
> da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
> da0: <OLYMPUS C4100Z/C4000Z 1.00> Removable Direct Access SCSI-2 device
> da0: 1.000MB/s transfers
> da0: 125MB (256000 512 byte sectors: 64H 32S/T 125C)
> GEOM: da0: partition 1 does not start on a track boundary.
> GEOM: da0: partition 1 does not end on a track boundary.
> 
> On both systems I have in /etc/fstab 
> 
> # Device                Mountpoint      FStype  Options         Dump    Pass#
> 
> /dev/da0s1              /mnt            msdosfs rw,noauto

Is it safe to run fsck_msdosfs on a usb digital camera?
I don't mind loosing the data, but worry that
some config information could be on the card as well, the loss
of which will make is unusable by the camera?

many thanks


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423



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