1 |
gentuxx wrote: |
2 |
|
3 |
>-----BEGIN PGP SIGNED MESSAGE----- |
4 |
>Hash: SHA1 |
5 |
> |
6 |
>Richard Fish wrote: |
7 |
> |
8 |
> |
9 |
> |
10 |
>>gentuxx wrote: |
11 |
>> |
12 |
>> |
13 |
>> |
14 |
>>>-----BEGIN PGP SIGNED MESSAGE----- |
15 |
>>>Hash: SHA1 |
16 |
>>> |
17 |
>>>Hi all, |
18 |
>>> |
19 |
>>>I went to do my routine "emerge -Duptv world" and it came back with |
20 |
>>>devfsd blocking gentoo-sources-2.6.13-r3. I'm not sure whether I'm |
21 |
>>>using udev now or not. I remember compiling into the kernel last time |
22 |
>>>I did a kernel compile. Naturally, when I did the "emerge -Cpv |
23 |
>>>devfsd" it complained that I was unemerging something in the system |
24 |
>>>profile, and that it could damage my system. So I just thought I |
25 |
>>>would check here before hurting anything. ;-) |
26 |
>>> |
27 |
>>> |
28 |
>>> |
29 |
>>> |
30 |
>>Take a look at the RC_DEVICES setting in /etc/conf.d/rc. If that |
31 |
>>says "auto" or "udev", then you are using udev and can safely remove |
32 |
>>devfs. Another way to check is to look at the output of "mount | |
33 |
>>grep /dev". Here is what it says for me: |
34 |
>> |
35 |
>>udev on /dev type tmpfs (rw,nosuid) |
36 |
>> |
37 |
>>If you are still using devfs, this will probably say "type devfs". |
38 |
>> |
39 |
>>-Richard |
40 |
>> |
41 |
>> |
42 |
>> |
43 |
>No devfs. I guess I was thinking that udev WAS devfs. I also found |
44 |
>this: http://www.gentoo.org/doc/en/devfs-guide.xml, which was a |
45 |
>help. ;-) |
46 |
> |
47 |
>Thanks. |
48 |
> |
49 |
>- -- |
50 |
>gentux |
51 |
>echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge' |
52 |
> |
53 |
>gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A |
54 |
>6996 0993 |
55 |
>-----BEGIN PGP SIGNATURE----- |
56 |
>Version: GnuPG v1.4.1 (GNU/Linux) |
57 |
> |
58 |
>iD8DBQFDRfGVLYGSSmmWCZMRAsZ3AKDFZXbuCAdvDoKUCqbYMpIeihGr/gCgj13N |
59 |
>UbMw2lSMTNYZW7fCmWdo8LU= |
60 |
>=2zQ2 |
61 |
>-----END PGP SIGNATURE----- |
62 |
> |
63 |
> |
64 |
> |
65 |
Three times in the past months I've tried to get udev up and |
66 |
running without luck. With the new kernel forcing the removal |
67 |
of devfs, I'm trying the fourth time. |
68 |
|
69 |
Current kernel is 2.6.12-r10. |
70 |
|
71 |
Removed devfs automount but left it built into the kernel |
72 |
(as described in Gentoo udev Guide). |
73 |
|
74 |
Here's my grub.conf: |
75 |
|
76 |
# /boot/grub/grub.conf: |
77 |
timeout 30 |
78 |
default 0 |
79 |
splashimage=(hd0,0)/grub/splash.xpm.gz |
80 |
|
81 |
# For booting Linux |
82 |
title Gentoo Latest |
83 |
root (hd0,0) |
84 |
kernel (hd0,0)/boot/vmlinuz root=/dev/sda3 |
85 |
|
86 |
# For booting Linux with udev |
87 |
title Gentoo Latest with udev |
88 |
root (hd0,0) |
89 |
kernel (hd0,0)/boot/vmlinuz root=/dev/sda3 udev gentoo=nodevfs |
90 |
|
91 |
# abridged other boot items... |
92 |
|
93 |
|
94 |
I believe (according to the Gentoo udev Guide) that "Gentoo Latest" |
95 |
ought to boot with udev. It doesn't. Instead it boots with devfs. |
96 |
Note, both udevd and devfsd are running: |
97 |
|
98 |
royw-gentoo tmp # ps -e | grep udev |
99 |
949 ? 00:00:00 udevd |
100 |
royw-gentoo tmp # ps -e | grep devfs |
101 |
1127 ? 00:00:00 devfsd |
102 |
|
103 |
|
104 |
The second item, "Gentoo Latest with udev", tries to force udev. |
105 |
What happens is the kernel can't find either udev or devfs, gives |
106 |
a 15 second warning, then continues to boot with nothing mounted |
107 |
on /dev. |
108 |
|
109 |
Here's my rc config file: |
110 |
|
111 |
# /etc/conf.d/rc: Global config file for the Gentoo RC System |
112 |
RC_TTY_NUMBER=11 |
113 |
RC_PARALLEL_STARTUP="no" |
114 |
RC_NET_STRICT_CHECKING="no" |
115 |
RC_VOLUME_ORDER="raid evms lvm dm" |
116 |
RC_USE_FSTAB="no" |
117 |
RC_USE_CONFIG_PROFILE="yes" |
118 |
RC_FORCE_AUTO="no" |
119 |
RC_DEVICES="auto" |
120 |
RC_DEVICE_TARBALL="no" |
121 |
RC_RETRY_KILL="yes" |
122 |
RC_RETRY_TIMEOUT=1 |
123 |
RC_RETRY_COUNT=5 |
124 |
RC_FAIL_ON_ZOMBIE="no" |
125 |
svcdir="/var/lib/init.d" |
126 |
svcmount="no" |
127 |
svcfstype="tmpfs" |
128 |
svcsize=2048 |
129 |
|
130 |
|
131 |
Not sure if any other config files are used. |
132 |
|
133 |
Any ideas? |
134 |
|
135 |
TIA, |
136 |
Roy |
137 |
-- |
138 |
gentoo-user@g.o mailing list |