Description of problem: some after update kernel to kernel-2.6.31.6-157.fc12.x86_64 udev(or something other) rename eth0 to Auto_Ethernet and my network don`t work switch to old kernel maybe this fix(I am not sure becouse I not try envokes this) Version-Release number of selected component (if applicable): kernel-2.6.31.6-157.fc12.x86_64 udev-145-14.fc12.x86_64 Steps to Reproduce: 1.sorry this I don`t know 2. 3. Actual results: network dont work becouse change name for eth0 Expected results: avert to spontaneously rename eth* Additional info:
lspci 00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a1) ---eth0 04:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) --eth1
now change name to eht0 on new kernel eht0 Link encap:Ethernet HWadr 00:E0:7D:8A:01:6C inet adr:10.0.6.207 Všesměr:10.0.6.255 Maska:255.255.255.0 inet6-adr: fe80::2e0:7dff:fe8a:16c/64 Rozsah:Linka AKTIVOVÁNO VŠESMĚROVÉ_VYSÍLÁNÍ BĚŽÍ MULTICAST MTU:1500 Metrika:1 RX packets:40610 errors:0 dropped:0 overruns:0 frame:0 TX packets:32176 errors:0 dropped:0 overruns:0 carrier:0 kolizí:0 délka odchozí fronty:1000 RX bytes:38917095 (37.1 MiB) TX bytes:5656554 (5.3 MiB) Přerušení:18 Vstupně/Výstupní port:0x6000
and now sometimes udev want change name in boot but fail and system not start
lsdev: e100 bc00-bc1f eth1 18 eth2 23 lspci: 04:07.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 01) 04:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a1) [namar@doma ~]$ ip l 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000 link/ether 00:15:58:18:cb:d2 brd ff:ff:ff:ff:ff:ff 3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 00:a0:c9:0f:a7:8f brd ff:ff:ff:ff:ff:ff 4: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000 link/ether 00:e0:7d:8a:01:6c brd ff:ff:ff:ff:ff:ff
Created attachment 380235 [details] dmesg.old
Created attachment 380237 [details] dmesg
fail message on the start(it what I remember,becouse boot.log clean every start): udev: udevd-work [341]: error changing netif name eth2 to _rename: File exist
how I can log what udev doing?so that log is save after new start OS (udev.log.old etc)
You might want to check and edit /etc/udev/rules.d/70-persistent-net.rules
[root@doma ~]# cat /etc/udev/rules.d/70-persistent-net.rules2 # This file was automatically generated by the /lib/udev/write_net_rules # program run by the persistent-net-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single line. # nVidia Corporation MCP51 Ethernet Controller (rule written by anaconda) # Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rule written by anaconda) # Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rule written by anaconda) [root@doma ~]# this is deufalt by the install
simular bug https://bugs.launchpad.net/ubuntu/+source/udev/+bug/329106 https://bugs.launchpad.net/ubuntu/+source/udev/+bug/145382 https://bugzilla.redhat.com/show_bug.cgi?id=493995
Created attachment 385429 [details] dmesg with udev ignore 70-persistent-net.rules udev ignored my 70-persistent-net.rules udev: renamed network interface eth2 to eth3 udev: renamed network interface eth1 to eth4 udev: renamed network interface eth0 to eth5 [namar@doma ~]$ cat /etc/udev/rules.d/70-persistent-net.rules # This file was automatically generated by the /lib/udev/write_net_rules # program run by the persistent-net-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single line. # nVidia Corporation MCP51 Ethernet Controller (rule written by anaconda) SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:15:58:18:cb:d2", NAME="eth0" # Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rule written by anaconda) SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:e0:7d:8a:01:6c", NAME="eth2" # Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rule written by anaconda) SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:a0:c9:0f:a7:8f", NAME="eth1" [namar@doma ~]$
Created attachment 385437 [details] boot.log I enable udev debug
Created attachment 385438 [details] messages.txt udev_log="debug"
it`s probably that I am wrong udev rules?
also check your /etc/sysconfig/network-scripts/ifcfg-eth* files.
ifcfg-eth* files is ok
udev makeself rules and works # PCI device 0x8086:0x1229 (e100) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:a0:c9:0f:a7:8f", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" # PCI device 0x10de:0x0269 (forcedeth) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:58:18:cb:d2", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1" # PCI device 0x10ec:0x8139 (8139too) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:7d:8a:01:6c", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
*** This bug has been marked as a duplicate of bug 557771 ***
This is the reason /etc/udev/rules.d/70-persistent-net.rules exists..