Gentoo Archives: gentoo-user

From: nunojsilva@×××××××.pt
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: udev-197: what to do -- S0LVED
Date: Fri, 15 Feb 2013 17:42:20
Message-Id: 87fw0x5vah.fsf@ist.utl.pt
In Reply to: Re: [gentoo-user] udev-197: what to do -- S0LVED by "Stefan G. Weichinger"
1 On 2013-02-15, Stefan G. Weichinger wrote:
2
3 > Am 28.01.2013 00:00, schrieb Allan Gottlieb:
4 >
5 >> Thanks for all the suggestions. I did the following, which worked.
6 >>
7 >> 1. Built and installed kernel with CONFIG_DEVTMPFS=y
8 >>
9 >> 2. Moved udev-postmount back to /etc/init.d (I had moved it to /tmp).
10 >> rc-update add udev-postmount default.
11 >> 3. Reboot with new kernel (udev unchanged). Success.
12 >>
13 >> 4. Changed NAME=eth0 to NAME=net0 in 70-persistent-net.rules and
14 >> eliminated clauses so have only (on one line)
15 >> SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:1e:c9:48:f9:a0",
16 >> NAME="net0"
17 >> Corresponding changes to /etc/init.d /etc/runlevels/default
18 >>
19 >> 5. Emerge update world to get new udev (just -1 udev has blocks)
20 >>
21 >> 6. Change kernel configs as per udisks emerge output
22 >>
23 >> 7. /usr/lib/udev already empty (due to make world?) so nothing to do
24 >>
25 >> 8. Reboot with new kernel. Success
26 >
27 > As I prepare/consider to upgrade a remote gentoo server later this
28 > evening I prefer to ask twice:
29 >
30 > the running kernel 3.5.7 does not have CONFIG_DEVTMPFS=y
31 >
32 > I built a new kernel (upgrading it to 3.6.11 btw) with CONFIG_DEVTMPFS=y
33 > and plan to reboot the server at first.
34 >
35 > After a hopefully correct reboot (can't access that server physically) I
36 > plan to upgrade udev ... (I won't enable the new networking naming, btw).
37
38 If you depend in the network device order in any way, and you used names
39 like the ones the kernel uses, you *have* to do something about the
40 network device naming.
41
42 For example, if you have eth0 and eth1 and you rely on eth0 being A and
43 eth1 B, you can't do that anymore with plain udev, even if the rules
44 are still in place. eth0 may become B and eth1 A.
45
46 > Right now I upgrade lvm2 in advance as it doesn't pull in udev yet.
47 >
48 > Pls comment or correct my plans ;-) thanks, Stefan
49 >
50 >
51 >
52
53 --
54 Nuno Silva (aka njsg)
55 http://njsg.sdf-eu.org/

Replies

Subject Author
Re: [gentoo-user] Re: udev-197: what to do -- S0LVED "Stefan G. Weichinger" <lists@×××××.at>
Re: [gentoo-user] Re: udev-197: what to do -- S0LVED "Stefan G. Weichinger" <lists@×××××.at>