FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 06-01-2008, 06:49 PM
Allan Gottlieb
 
Default udev problem with USB disk

I am having trouble with my external USB disk.
I have the following entry in fstab:
/dev/usbhd1 /mnt/b ext3 defaults 0 0
I have written /etc/udev/rules.d/10-local.rules
DRIVERS=="usb", ATTRS{serial}=="335144304641374D", ATTRS{product}=="ST94811U2-RK", ATTRS{manufacturer}=="Seagate", SYMLINK+="usbhd%n"

When I boot into single user mode I see the following near the end of
the messages

Mounting local filesystems ...
/dev/bus/usb/001/002 is not a block device
Some local filesystem failed to mount.
Mounting USB filesystem (usbfs)

At this point ls -l /dev/bus/usb/001/002 yields
crw-rw-r--
ls /mnt/b shows that the mount did not occur.
But if I now manually type umount -a
all is well (/mnt/b has the expected files)

As a work-around I added mount -a to local.start.
I am a beginner with udev, but it looks like usbfs
is being mounted too late.

thanks for any help.
allan
--
gentoo-user@lists.gentoo.org mailing list
 
Old 06-01-2008, 07:13 PM
»Q«
 
Default udev problem with USB disk

In <yu9bq2lourm.fsf@nyu.edu>,
Allan Gottlieb <gottlieb@nyu.edu> wrote:

> I am having trouble with my external USB disk.
> I have the following entry in fstab:
> /dev/usbhd1 /mnt/b ext3 defaults 0 0
> I have written /etc/udev/rules.d/10-local.rules
> DRIVERS=="usb", ATTRS{serial}=="335144304641374D",
> ATTRS{product}=="ST94811U2-RK", ATTRS{manufacturer}=="Seagate",
> SYMLINK+="usbhd%n"
>
> When I boot into single user mode I see the following near the end of
> the messages
>
> Mounting local filesystems ...
> /dev/bus/usb/001/002 is not a block device
> Some local filesystem failed to mount.
> Mounting USB filesystem (usbfs)
>
> At this point ls -l /dev/bus/usb/001/002 yields
> crw-rw-r--
> ls /mnt/b shows that the mount did not occur.
> But if I now manually type umount -a
> all is well (/mnt/b has the expected files)
>
> As a work-around I added mount -a to local.start.
> I am a beginner with udev, but it looks like usbfs
> is being mounted too late.
>
> thanks for any help.

I had very similar trouble. I "solved" it, but I don't really
understand why the solution works.

<http://groups.google.com/group/alt.os.linux.slackware/msg/cf76ba8d39bcaea6>

--
»Q«
Kleeneness is next to Gödelness.


--
gentoo-user@lists.gentoo.org mailing list
 
Old 06-01-2008, 07:14 PM
Alan McKinnon
 
Default udev problem with USB disk

On Sunday 01 June 2008, Allan Gottlieb wrote:
> As a work-around I added mount -a to local.start.
> I am a beginner with udev, but it looks like usbfs
> is being mounted too late.

On the contrary, I'd say you are trying to create a device far too
early. The normal storage nodes are only created in files named
50-<something>, yet you are trying to use 10-<something>.

Try moving your custom rules file later in the sequence

--
Alan McKinnon
alan dot mckinnon at gmail dot com

--
gentoo-user@lists.gentoo.org mailing list
 

Thread Tools




All times are GMT. The time now is 09:46 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org