From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 28 14:23:43 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3AFA1065670 for ; Mon, 28 Dec 2009 14:23:43 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 815D38FC12 for ; Mon, 28 Dec 2009 14:23:43 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NPGVX-0006pC-SC; Mon, 28 Dec 2009 14:23:42 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NPGVX-0001p9-5Q; Mon, 28 Dec 2009 14:23:39 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nBSENc2X007082; Mon, 28 Dec 2009 14:23:38 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nBSENcPk007081; Mon, 28 Dec 2009 14:23:38 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 28 Dec 2009 14:23:38 +0000 From: Anton Shterenlikht To: Anton Shterenlikht Message-ID: <20091228142338.GA7058@mech-cluster241.men.bris.ac.uk> References: <20091228135607.GA6907@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091228135607.GA6907@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -2.1 X-Spam-Level: -- Cc: freebsd-sparc64@freebsd.org Subject: Re: usb mount error: g_vfs_done():da0s1[READ(offset=512, length=8192)]error = 5 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2009 14:23:43 -0000 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: at usbus0 > umass0: 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: 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