Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75610 - To use udev one needs to remove /dev/.devfsd
Summary: To use udev one needs to remove /dev/.devfsd
Status: RESOLVED NEEDINFO
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/udev-gui...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-25 02:28 UTC by Sven Vermeulen (RETIRED)
Modified: 2005-01-11 09:35 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Vermeulen (RETIRED) gentoo-dev 2004-12-25 02:28:38 UTC
E-mail sent to www@gentoo.org by Richard Birch

"""
I've recently had a show stopping problem of which the solution is not in the
udev or 2.6 migration guides. I basically had to delete /dev/.devfsd manually.
Before doing this i kept getting a message during bootup saying that neight
devfs or udev were supported on my system, even though i had followed all the
steps required for udev. After deleting /dev/.devfsd the problem disappeared. I
got the solution from someone else on the gentoo forums who'd experienced the
same problem (http://forums.gentoo.org/viewtopic.php?t=270223).

I don't know why some of us have had this problem while most people haven't but
it seems to be an issue that will stop some from being able to use udev.
"""
Comment 1 SpanKY gentoo-dev 2004-12-25 07:41:29 UTC
a little more info is in order ... like what version of baselayout were they using ?
Comment 2 Mårten Svantesson 2005-01-07 05:41:19 UTC
I have this problem now. Well, actually a variety. Since I still have devfs installed /sbin/rc reverts to that. As for baselayout I use 1.11.6-r1.

In http://webpages.charter.net/decibelshelp/LinuxHelp_UDEVPrimer.html there is a snippet from an /sbin/rc with the following rows 

# Fix weird bug where there is a /dev/.devfsd in a unmounted /dev
mymounts="$(awk '($3 == "devfs") { print "yes"; exit 0 }' /proc/mounts)"
if [ -e "/dev/.devfsd" -a "${mymounts}" != "yes" ]
then
        rm -f /dev/.devfsd
fi



I'll try these and see what happens...
Comment 3 Mårten Svantesson 2005-01-07 05:54:21 UTC
Nope didn't work for me. 
That is I still get the message about the system falling back to devfs.

(Sorry for the bugspam, but I dont want to make other people try this in vain.)
Comment 4 SpanKY gentoo-dev 2005-01-07 14:57:31 UTC
that little snippet has been in baselayout for a long time, but i dont think it ever worked

problem being that, at that time in the boot process, / is readonly, so i dont think the rm ever works ;)

i could change it to dump an error message ... the other problem is that not many users can handle screwing around with the underlying filesystem when /dev is mounted ...

trick would have to be:
mkdir /mnt/blah
mount --bind / /mnt/blah
rm -f /mnt/blah/dev/.devfsd
umount /mnt/blah
Comment 5 Mårten Svantesson 2005-01-07 19:57:53 UTC
Oops, I just realized my problem had nothing to do with this bug. (I had forgot to install the new kernel after reconfiguring it for udev. So devfs were already mounted by the kernel.)
Comment 6 Sven Vermeulen (RETIRED) gentoo-dev 2005-01-11 09:35:14 UTC
Waiting for more info that doesn't come...