Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2005 14:57:10 -0600
From:      Eric Anderson <anderson@centtech.com>
To:        Xavier Maillard <zedek@gnu-rox.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: umass doesn't work here
Message-ID:  <42374C26.60602@centtech.com>
In-Reply-To: <plop851xagfxgm.fsf@gnu-rox.org>
References:  <plop85fyyz8763.fsf@gnu-rox.org> <200503132332.aa59556@salmon.maths.tcd.ie> <plop851xagfxgm.fsf@gnu-rox.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Xavier Maillard wrote:
> On 14 Mar 2005, Ian Dowse wrote:
> 
> 
>>In message <plop85fyyz8763.fsf@gnu-rox.org>, 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.
------------------------------------------------------------------------



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