From owner-freebsd-current@FreeBSD.ORG Tue Mar 15 20:57:20 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AE4F16A4CE for ; Tue, 15 Mar 2005 20:57:20 +0000 (GMT) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AB3843D41 for ; Tue, 15 Mar 2005 20:57:19 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id j2FKvIsi061303; Tue, 15 Mar 2005 14:57:18 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <42374C26.60602@centtech.com> Date: Tue, 15 Mar 2005 14:57:10 -0600 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Xavier Maillard References: <200503132332.aa59556@salmon.maths.tcd.ie> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: umass doesn't work here X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 15 Mar 2005 20:57:20 -0000 Xavier Maillard wrote: > On 14 Mar 2005, Ian Dowse wrote: > > >>In message , Xavier Maillard >>writes: >> >>>When I plug my USB key, I should see something in my >>>/var/log/messages as stated into my >>>/usr/local/etc/devd/umass.conf file: >> >>... >> >>>But nothing happens. >> >>Two things you could try are: >> >>o Add `device ehci' to your kernel config > > > This seems to be *the* trick. I added it and now I can see > umass/da messages in my logs. > > Now my new problem is that, the key can't be mounted at all. > > I added vfs.usermount sysctl: > > ,----[ sysctl -a | grep vfs.usermount ] > | vfs.usermount: 1 > `---- > > Rights on my da* devices should be correct: > > ,----[ ls -al /dev/da* ] > | crw-rw-rw- 1 root operator 10, 106 Mar 15 21:21 /dev/da0 > | crw-rw-rw- 1 root operator 10, 105 Mar 15 21:21 /dev/da0s1 > `---- > > And here is how I am trying to mount the key (error enclosed): > > ,----[ mount -t msdos /dev/da0 /home/zedek/sys/mnt/usbkey/ ] > | msdosfs: /dev/da0: Invalid argument > `---- Don't you mean: mount -t msdos /dev/da0s1 /home/zedek/sys/mnt/usbkey/ ? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology I have seen the future and it is just like the present, only longer. ------------------------------------------------------------------------