1 |
It's been awhile since I've done this, but I remember needing to emerge |
2 |
coldplug as well as hotplug for the change. |
3 |
|
4 |
HTH! GL! |
5 |
|
6 |
R2 |
7 |
|
8 |
-----Original Message----- |
9 |
From: Karl Zander [mailto:gentoolist@××××××××××××.com] |
10 |
Sent: Wednesday, February 08, 2006 2:34 PM |
11 |
To: gentoo-server@l.g.o |
12 |
Subject: [gentoo-server] Problems switching to udev and 2.6.x kernel |
13 |
|
14 |
|
15 |
I finally got around to switching our samba box to the 2.6.x kernel. I |
16 |
followed the kernel migration guide posted on-line. Upon reboot with |
17 |
the |
18 |
2.6.14-hardened-r3 kernel it failed because it could not find any |
19 |
devices. After poking around a bit on the forum I did see posts about |
20 |
altering fstab to use different device names like |
21 |
|
22 |
/dev/discs/disc0/part2 /boot ext3 |
23 |
/dev/discs/disc0/part3 none swap |
24 |
etc |
25 |
|
26 |
in place of |
27 |
/dev/sda2 /boot ext3 |
28 |
/dev/sda3 none swap |
29 |
etc |
30 |
|
31 |
Those changes allowed me to at least boot up. |
32 |
|
33 |
|
34 |
I did remove devfs after installing udev. I see now the migration guide |
35 |
is |
36 |
silent about removing devfs. Was removing it incorrect? |
37 |
The server was up to date before I tried the migration. Both system and |
38 |
|
39 |
world were updated. |
40 |
|
41 |
Other forum postings indicated to be sure HOT_PLUGGING was enabled in |
42 |
the |
43 |
kernel. It was. In the 2.6.14 kernels it seems to be set to Y |
44 |
automatically and you can not set it to N. |
45 |
|
46 |
in /etc/conf.d/rc RC_DEVICES="auto" |
47 |
|
48 |
After spending most of Saturday working on this I finally reverted to |
49 |
2.4.32-hardened-r2 and emerged devfs again. My "regular" device names |
50 |
reappeared again. |
51 |
|
52 |
So what's the secret to udev? |
53 |
|
54 |
--Karl |
55 |
|
56 |
-- |
57 |
gentoo-server@g.o mailing list |
58 |
|
59 |
-- |
60 |
gentoo-server@g.o mailing list |