View previous topic :: View next topic |
Author |
Message |
davecs Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/97782776741c0d0947aaaa.jpg)
Joined: 08 Nov 2003 Posts: 436 Location: Dagenham, GB
|
Posted: Fri Jun 25, 2004 9:16 pm Post subject: Error: Failed to mount USB device filesystem |
|
|
When I start Gentoo, I get the above error. I don't know if it is related, but when I plug in a USB storage device (I have two, one is a bog-standard 32Mb USB key, the other is a Compact Flash card reader, uses a SiiG driver in Windoze 98SE) the device is set up adhoc, and so I cannot mount it as user, only as root, and even if I mount it as root, I cannot read it as user. I do not have the same problem with my DVD-RW which I can mount / unmount using a KDE desktop icon with no trouble whatsoever.
Does anyone know what setup error I have to produce the above error? Do I need to add a module into /etc/modules.autoload.d/kernel-2.6 as hotplug is clearly picking it up further down the line... _________________ Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a ) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Maedhros Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8825449514782674ca8d88.gif)
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Fri Jun 25, 2004 9:25 pm Post subject: |
|
|
What are the options for the USB key in /etc/fstab? For my mass-storage digital camera I have these: noauto,umask=022,user. user so I can mount it as a normal user, and the umask line sets up the permissions as 755. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Deathwing00 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1140581890451d29047ad41.jpg)
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Fri Jun 25, 2004 10:45 pm Post subject: |
|
|
Moved from Installing Gentoo. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
davecs Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/97782776741c0d0947aaaa.jpg)
Joined: 08 Nov 2003 Posts: 436 Location: Dagenham, GB
|
Posted: Sat Jun 26, 2004 12:38 am Post subject: |
|
|
Thanks!
That's one problem solved. I clearly did not understand the umask entry in fstab, as soon as I corrected it, all was fine.
OK, there is another problem here. When I plug in either USB storage device, it defaults to /dev/sda1, and if I then plug in the other whilst the first is still in, it becomes /dev/sda2. I want one of them to be /dev/sda1 and the other /dev/sda2 no matter what. They do have manufacturer numbers and device codes which I can get from KDE Info Centre. Is there a way of doing this?
Finally does anyone know how I can get rid of the error message at startup? _________________ Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a ) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Maedhros Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8825449514782674ca8d88.gif)
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Sat Jun 26, 2004 7:17 am Post subject: |
|
|
To get rid of the error message at startup, I removed the /proc/bus/usb line from my /etc/fstab... the Gentoo startup scripts seem to mount it anyway, so it then tries to mount it twice, which doesn't really work!
As for the other, I think it can be done with UDEV. Have a look here for a start: Decibel's UDEV Primer. There's also a great Gentoo tutorial about it, but for no apparent reason my computer can't connect to the main site at the moment, so I can't provide a link.
Edit: Found it: http://www.gentoo.org/doc/en/udev-guide.xml _________________ No-one's more important than the earthworm. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
davecs Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/97782776741c0d0947aaaa.jpg)
Joined: 08 Nov 2003 Posts: 436 Location: Dagenham, GB
|
Posted: Sat Jun 26, 2004 1:48 pm Post subject: |
|
|
Maedhros wrote: | To get rid of the error message at startup, I removed the /proc/bus/usb line from my /etc/fstab... the Gentoo startup scripts seem to mount it anyway, so it then tries to mount it twice, which doesn't really work! |
Spot on!
Now to let you into my little secret: I actually loaded Gentoo initially by making a small partition, loading Mandrake into it, then setting up a chrooted environment to load Gentoo. When I couldn't work out how to set up a configuration file, I simply copied over the Mandrake one, then tried to edit it if it didn't work.
This was OK for XF86Config, but fstab seems to be slightly different!
I might try the udev thing to set up my USB storage devices, but I am wondering whether it is too much like hard work, I really wanted two separate icons to mount/unmount for tidiness, but I cannot imagine ever needing them at the same time in practice... _________________ Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a ) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
davecs Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/97782776741c0d0947aaaa.jpg)
Joined: 08 Nov 2003 Posts: 436 Location: Dagenham, GB
|
Posted: Sun Jun 27, 2004 1:13 am Post subject: |
|
|
Tried UDEV, could not start nvidia graphics and sound was buggered as well. Read documentation as Chuck Berry said "Too Much Monkey Business for me to get involved in".
I'll wait until UDEV is fully developed in the meantime I'll put up with DEVFS shortcomings!
Actually thought I'd b0rked my computer at one stage ... _________________ Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a ) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Decibels Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11158278024af5f41017fbf.jpg)
Joined: 16 Aug 2002 Posts: 1630 Location: U.S.A.
|
Posted: Sun Jun 27, 2004 2:55 am Post subject: |
|
|
If you have the correct nvidia-kernel and nvidia-glx versions they will create the devices, but you might find yourself with a timing problem. Have it on mine, no answer yet as to why.
If you boot up and don't get X, check if you have nvidia devices in your /dev folder. Try 'startx' after you log in. If have the devices and startx works, then probably just the timing problem. Add a sleep to your /etc/conf.d/local.start file. Your time may very a bit, but mine is set to '3'
_________________ Support bacteria – they’re the only culture some people have.”
– Steven Wright |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|