1 |
This switch is NOT bringing in systemd. It is just switching which |
2 |
package is now providing udev as extracted from systemd. The news item |
3 |
actually gives a bit more detail. |
4 |
|
5 |
The network name switch (which I had thought was mentioned in the new |
6 |
item, but apparently is not, so I don't remember where I read it) is not |
7 |
directly due to eudev vs. udev, but to the "new" (years old at this |
8 |
point) switch to consistent naming (or something like that) so your |
9 |
network is probably something like enp20s2, reflecting which slot your |
10 |
network card is physically in. I'm pretty sure there is a kernel boot |
11 |
parameter which forces the old way, but can't find it now, as I switched |
12 |
to the new naming with eudev, so switching to udev didn't break anything |
13 |
for me. |
14 |
|
15 |
Looking through the dmesg output should tell you what it is currently |
16 |
using but you'll have to hunt (or someone else will hopefully remember) |
17 |
how to make the system revert to the old network interface naming. |
18 |
|
19 |
On 11/28/21 11:35, Dale wrote: |
20 |
> Howdy all, |
21 |
> |
22 |
> First, if anyone is planning to switch a remote machine, you may want to |
23 |
> delay that. |
24 |
> |
25 |
> As some, most, know eudev is being removed. I can't say how much I |
26 |
> dislike that but it seems to be happening despite some are saying it is |
27 |
> still being maintained upstream. During my weekly update today, eudev |
28 |
> was masked and the virtual wanted systemd, which I do not want at all, |
29 |
> so I knew it was time to switch. I do my updates in a chroot so that I |
30 |
> can just install binaries on my main system. Everything went well in |
31 |
> the chroot. No problems there. However, when I switched in the real |
32 |
> system, no network. Everything else seems to work but when I try to |
33 |
> bring up net.eth0, it pukes on my keyboard about a missing driver. Keep |
34 |
> in mind, I was using the same kernel as before. The only difference, |
35 |
> switching to udev. Also, I switched to udev not systemd as a whole. I |
36 |
> unmerged eudev, emerged udev with some little friends. |
37 |
> |
38 |
> I suspect there is some sort of name change, config change or something |
39 |
> required that everyone else did ages ago. I'm still using as you might |
40 |
> have noticed, net.eth0 for the name. Thing is, it's all I have here. |
41 |
> By the way, switching back to eudev got me connected with no problems. |
42 |
> Some info. |
43 |
> |
44 |
> |
45 |
> root@fireball / # ifconfig eth0 |
46 |
> eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 |
47 |
> inet 192.168.0.100 netmask 255.255.255.0 broadcast 192.168.0.255 |
48 |
> inet6 secret stuff prefixlen 64 scopeid 0x20<link> |
49 |
> ether secret stuff txqueuelen 1000 (Ethernet) |
50 |
> RX packets 7841 bytes 9076941 (8.6 MiB) |
51 |
> RX errors 0 dropped 0 overruns 0 frame 0 |
52 |
> TX packets 7436 bytes 748477 (730.9 KiB) |
53 |
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 |
54 |
> device interrupt 34 memory 0xfe3c0000-fe3e0000 |
55 |
> |
56 |
> root@fireball / # ls -al /etc/init.d/net* |
57 |
> lrwxrwxrwx 1 root root 6 Mar 1 2012 /etc/init.d/net.eth0 -> net.lo |
58 |
> lrwxrwxrwx 1 root root 18 Oct 12 2013 /etc/init.d/net.eth1 -> |
59 |
> /etc/init.d/net.lo |
60 |
> -rwxr-xr-x 1 root root 19861 Nov 18 20:38 /etc/init.d/net.lo |
61 |
> -rwxr-xr-x 1 root root 2071 Nov 19 06:38 /etc/init.d/netmount |
62 |
> -rwxr-xr-x 1 root root 2278 Nov 19 06:38 /etc/init.d/net-online |
63 |
> root@fireball / # |
64 |
> |
65 |
> |
66 |
> Of course that is with eudev not udev. Hard to post udev when it isn't |
67 |
> working. ;-) This is the emerge logs. |
68 |
> |
69 |
> |
70 |
> 1638112926: Started emerge on: Nov 28, 2021 09:22:06 |
71 |
> 1638112926: *** emerge --oneshot --unordered-display --ask |
72 |
> --backtrack=100 --jobs=5 --keep-going --with-bdeps=y --quiet-build=n |
73 |
> --regex-search-auto=y --usepkg --verbose udev |
74 |
> 1638112961: >>> emerge (1 of 9) acct-group/kmem-0-r1 to / |
75 |
> 1638112961: >>> emerge (2 of 9) acct-group/tty-0-r1 to / |
76 |
> 1638112961: >>> emerge (3 of 9) acct-group/audio-0-r1 to / |
77 |
> 1638112961: >>> emerge (4 of 9) acct-group/cdrom-0-r1 to / |
78 |
> 1638112961: >>> emerge (5 of 9) acct-group/dialout-0-r1 to / |
79 |
> 1638112962: === (1 of 9) Merging Binary |
80 |
> (acct-group/kmem-0-r1::/var/cache/portage/packages/acct-group/kmem-0-r1.tbz2) |
81 |
> 1638112963: === (2 of 9) Merging Binary |
82 |
> (acct-group/tty-0-r1::/var/cache/portage/packages/acct-group/tty-0-r1.tbz2) |
83 |
> 1638112965: === (4 of 9) Merging Binary |
84 |
> (acct-group/cdrom-0-r1::/var/cache/portage/packages/acct-group/cdrom-0-r1.tbz2) |
85 |
> 1638112965: === (5 of 9) Merging Binary |
86 |
> (acct-group/dialout-0-r1::/var/cache/portage/packages/acct-group/dialout-0-r1.tbz2) |
87 |
> 1638112965: === (3 of 9) Merging Binary |
88 |
> (acct-group/audio-0-r1::/var/cache/portage/packages/acct-group/audio-0-r1.tbz2) |
89 |
> 1638112966: >>> emerge (6 of 9) acct-group/disk-0-r1 to / |
90 |
> 1638112967: === (6 of 9) Merging Binary |
91 |
> (acct-group/disk-0-r1::/var/cache/portage/packages/acct-group/disk-0-r1.tbz2) |
92 |
> 1638112977: >>> emerge (7 of 9) acct-group/tape-0-r1 to / |
93 |
> 1638112978: === (7 of 9) Merging Binary |
94 |
> (acct-group/tape-0-r1::/var/cache/portage/packages/acct-group/tape-0-r1.tbz2) |
95 |
> 1638112980: >>> AUTOCLEAN: acct-group/kmem:0 |
96 |
> 1638112982: >>> AUTOCLEAN: acct-group/cdrom:0 |
97 |
> 1638112991: === (1 of 9) Post-Build Cleaning |
98 |
> (acct-group/kmem-0-r1::/var/cache/portage/packages/acct-group/kmem-0-r1.tbz2) |
99 |
> 1638112991: ::: completed emerge (1 of 9) acct-group/kmem-0-r1 to / |
100 |
> 1638112991: === (4 of 9) Post-Build Cleaning |
101 |
> (acct-group/cdrom-0-r1::/var/cache/portage/packages/acct-group/cdrom-0-r1.tbz2) |
102 |
> 1638112991: ::: completed emerge (4 of 9) acct-group/cdrom-0-r1 to / |
103 |
> 1638113005: >>> AUTOCLEAN: acct-group/tty:0 |
104 |
> 1638113009: >>> AUTOCLEAN: acct-group/audio:0 |
105 |
> 1638113018: === (2 of 9) Post-Build Cleaning |
106 |
> (acct-group/tty-0-r1::/var/cache/portage/packages/acct-group/tty-0-r1.tbz2) |
107 |
> 1638113018: ::: completed emerge (2 of 9) acct-group/tty-0-r1 to / |
108 |
> 1638113018: === (3 of 9) Post-Build Cleaning |
109 |
> (acct-group/audio-0-r1::/var/cache/portage/packages/acct-group/audio-0-r1.tbz2) |
110 |
> 1638113018: ::: completed emerge (3 of 9) acct-group/audio-0-r1 to / |
111 |
> 1638113032: >>> AUTOCLEAN: acct-group/dialout:0 |
112 |
> 1638113035: >>> AUTOCLEAN: acct-group/disk:0 |
113 |
> 1638113043: === (5 of 9) Post-Build Cleaning |
114 |
> (acct-group/dialout-0-r1::/var/cache/portage/packages/acct-group/dialout-0-r1.tbz2) |
115 |
> 1638113043: ::: completed emerge (5 of 9) acct-group/dialout-0-r1 to / |
116 |
> 1638113043: === (6 of 9) Post-Build Cleaning |
117 |
> (acct-group/disk-0-r1::/var/cache/portage/packages/acct-group/disk-0-r1.tbz2) |
118 |
> 1638113043: ::: completed emerge (6 of 9) acct-group/disk-0-r1 to / |
119 |
> 1638113049: >>> AUTOCLEAN: acct-group/tape:0 |
120 |
> 1638113055: === (7 of 9) Post-Build Cleaning |
121 |
> (acct-group/tape-0-r1::/var/cache/portage/packages/acct-group/tape-0-r1.tbz2) |
122 |
> 1638113055: ::: completed emerge (7 of 9) acct-group/tape-0-r1 to / |
123 |
> 1638113055: >>> emerge (8 of 9) sys-fs/udev-249-r3 to / |
124 |
> 1638113056: === (8 of 9) Merging Binary |
125 |
> (sys-fs/udev-249-r3::/var/cache/portage/packages/sys-fs/udev-249-r3.tbz2) |
126 |
> 1638113063: >>> AUTOCLEAN: sys-fs/udev:0 |
127 |
> 1638113072: === (8 of 9) Post-Build Cleaning |
128 |
> (sys-fs/udev-249-r3::/var/cache/portage/packages/sys-fs/udev-249-r3.tbz2) |
129 |
> 1638113072: ::: completed emerge (8 of 9) sys-fs/udev-249-r3 to / |
130 |
> 1638113072: >>> emerge (9 of 9) virtual/udev-217-r3 to / |
131 |
> 1638113073: === (9 of 9) Merging Binary |
132 |
> (virtual/udev-217-r3::/var/cache/portage/packages/virtual/udev-217-r3.tbz2) |
133 |
> 1638113081: >>> AUTOCLEAN: virtual/udev:0 |
134 |
> 1638113081: === Unmerging... (virtual/udev-217-r3) |
135 |
> 1638113087: >>> unmerge success: virtual/udev-217-r3 |
136 |
> 1638113093: === (9 of 9) Post-Build Cleaning |
137 |
> (virtual/udev-217-r3::/var/cache/portage/packages/virtual/udev-217-r3.tbz2) |
138 |
> 1638113093: ::: completed emerge (9 of 9) virtual/udev-217-r3 to / |
139 |
> 1638113093: *** Finished. Cleaning up... |
140 |
> 1638113098: *** exiting successfully. |
141 |
> 1638113098: *** terminating. |
142 |
> |
143 |
> |
144 |
> This is the network part of lspci -k and I'm using the top one: |
145 |
> |
146 |
> |
147 |
> 03:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network |
148 |
> Connection |
149 |
> Subsystem: Intel Corporation Gigabit CT Desktop Adapter |
150 |
> Kernel driver in use: e1000e |
151 |
> 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. |
152 |
> RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06) |
153 |
> Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet |
154 |
> Kernel driver in use: r8169 |
155 |
> |
156 |
> |
157 |
> |
158 |
> This is the USE flags for both packages. I don't see anything obvious. |
159 |
> |
160 |
> |
161 |
> [ebuild N ] sys-fs/udev-249-r3::gentoo USE="kmod (split-usr) -acl |
162 |
> (-selinux) -test" ABI_X86="32 (64) (-x32)" 0 KiB |
163 |
> [uninstall ] sys-fs/eudev-3.2.10-r1::gentoo USE="hwdb introspection |
164 |
> kmod -rule-generator (-selinux) -static-libs -test" ABI_X86="32 (64) (-x32)" |
165 |
> |
166 |
> |
167 |
> In case it matters, I also have these udev rules. |
168 |
> |
169 |
> |
170 |
> root@fireball / # ls -al /etc/udev/rules.d/* |
171 |
> -rw-r--r-- 1 root root 2064 Apr 27 2021 /etc/udev/rules.d/69-libmtp.rules |
172 |
> -rw-r--r-- 1 root root 1903 Apr 4 2012 |
173 |
> /etc/udev/rules.d/70-persistent-cd.rules |
174 |
> -rw-r--r-- 1 root root 814 Jan 1 2008 |
175 |
> /etc/udev/rules.d/70-persistent-net.rules |
176 |
> -rw-r--r-- 1 root root 0 Mar 22 2015 |
177 |
> /etc/udev/rules.d/80-net-name-slot.rules |
178 |
> root@fireball / # |
179 |
> |
180 |
> |
181 |
> Anyone have any ideas? Are the network interfaces called something else |
182 |
> now? Some config file not correct? |
183 |
> |
184 |
> Thanks. |
185 |
> |
186 |
> Dale |
187 |
> |
188 |
> :-) :-) |
189 |
> |