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