gentuxx wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Richard Fish wrote:
gentuxx wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I went to do my routine "emerge -Duptv world" and it came back with
devfsd blocking gentoo-sources-2.6.13-r3. I'm not sure whether I'm
using udev now or not. I remember compiling into the kernel last time
I did a kernel compile. Naturally, when I did the "emerge -Cpv
devfsd" it complained that I was unemerging something in the system
profile, and that it could damage my system. So I just thought I
would check here before hurting anything. ;-)
Take a look at the RC_DEVICES setting in /etc/conf.d/rc. If that
says "auto" or "udev", then you are using udev and can safely remove
devfs. Another way to check is to look at the output of "mount |
grep /dev". Here is what it says for me:
udev on /dev type tmpfs (rw,nosuid)
If you are still using devfs, this will probably say "type devfs".
-Richard
No devfs. I guess I was thinking that udev WAS devfs. I also found
this: http://www.gentoo.org/doc/en/devfs-guide.xml, which was a
help. ;-)
Thanks.
- --
gentux
echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'
gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A
6996 0993
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDRfGVLYGSSmmWCZMRAsZ3AKDFZXbuCAdvDoKUCqbYMpIeihGr/gCgj13N
UbMw2lSMTNYZW7fCmWdo8LU=
=2zQ2
-----END PGP SIGNATURE-----
Three times in the past months I've tried to get udev up and
running without luck. With the new kernel forcing the removal
of devfs, I'm trying the fourth time.
Current kernel is 2.6.12-r10.
Removed devfs automount but left it built into the kernel
(as described in Gentoo udev Guide).
Here's my grub.conf:
# /boot/grub/grub.conf:
timeout 30
default 0
splashimage=(hd0,0)/grub/splash.xpm.gz
# For booting Linux
title Gentoo Latest
root (hd0,0)
kernel (hd0,0)/boot/vmlinuz root=/dev/sda3
# For booting Linux with udev
title Gentoo Latest with udev
root (hd0,0)
kernel (hd0,0)/boot/vmlinuz root=/dev/sda3 udev gentoo=nodevfs
# abridged other boot items...
I believe (according to the Gentoo udev Guide) that "Gentoo Latest"
ought to boot with udev. It doesn't. Instead it boots with devfs.
Note, both udevd and devfsd are running:
royw-gentoo tmp # ps -e | grep udev
949 ? 00:00:00 udevd
royw-gentoo tmp # ps -e | grep devfs
1127 ? 00:00:00 devfsd
The second item, "Gentoo Latest with udev", tries to force udev.
What happens is the kernel can't find either udev or devfs, gives
a 15 second warning, then continues to boot with nothing mounted
on /dev.
Here's my rc config file:
# /etc/conf.d/rc: Global config file for the Gentoo RC System
RC_TTY_NUMBER=11
RC_PARALLEL_STARTUP="no"
RC_NET_STRICT_CHECKING="no"
RC_VOLUME_ORDER="raid evms lvm dm"
RC_USE_FSTAB="no"
RC_USE_CONFIG_PROFILE="yes"
RC_FORCE_AUTO="no"
RC_DEVICES="auto"
RC_DEVICE_TARBALL="no"
RC_RETRY_KILL="yes"
RC_RETRY_TIMEOUT=1
RC_RETRY_COUNT=5
RC_FAIL_ON_ZOMBIE="no"
svcdir="/var/lib/init.d"
svcmount="no"
svcfstype="tmpfs"
svcsize=2048
Not sure if any other config files are used.
Any ideas?
TIA,
Roy
--
gentoo-user@gentoo.org mailing list