From owner-freebsd-stable@FreeBSD.ORG Wed Feb 8 15:05:06 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A3C516A420 for ; Wed, 8 Feb 2006 15:05:06 +0000 (GMT) (envelope-from freebsd-stable-local@be-well.ilk.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECC2E43D45 for ; Wed, 8 Feb 2006 15:05:05 +0000 (GMT) (envelope-from freebsd-stable-local@be-well.ilk.org) Received: (qmail 4566 invoked from network); 8 Feb 2006 15:05:05 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 8 Feb 2006 15:05:05 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 9EBD928439; Wed, 8 Feb 2006 10:05:04 -0500 (EST) Sender: lowell@be-well.ilk.org To: Rob References: <200602082240.04690.rbyrnes@mailshack.com> From: Lowell Gilbert Date: 08 Feb 2006 10:05:04 -0500 In-Reply-To: <200602082240.04690.rbyrnes@mailshack.com> Message-ID: <4464npvqlb.fsf@be-well.ilk.org> Lines: 45 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: stable@freebsd.org Subject: Re: Trouble with mounting USB stick as user X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2006 15:05:06 -0000 Rob writes: > Got a small problem thats just driving me nuts. I have an MP3 player that > appears as a memory stick - from dmesg: > > umass0: iRiver Limited. iRiver Internet Audio Player IFP-700, rev 2.00/0.01, > addr 2 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: 1.000MB/s transfers > da0: 500MB (1024001 512 byte sectors: 64H 32S/T 500C) > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x10, scsi status > == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x10, scsi status > == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x10, scsi status > == 0x0 > > The mount-point is owned by root:operator, and my user is a member of the > operator group. I have vfs.usermount=1 in sysctl.conf. I have a devfs.rules > file: > > [riff_usb=10] > # Make USB drives readable to those in the "operator" group > add path 'da*' mode 0660 group operator > > and it is referenced in rc.conf. > > But .. > > loop@riff ~ % mount /flash > mount_msdosfs: /dev/da0: Operation not permitted > loop@riff ~ % ls -la /dev/da0 > crw-rw---- 1 root operator 0, 122 Feb 8 22:24 /dev/da0 > > Can anyone shed some light on what is happening here? Hard to say. Can you make the mount as root? [If not, maybe you're using the wrong device; these kinds of gadgets are generally sliced. Or maybe the failing SCSI commands are a problem.] If you can make the mount as root, check the sysctl and user's groups from the command line to make sure that the settings are being done properly.