On 2019-11-26 19:58, Sean Darcy wrote:
On boot: kernel: asix 2-3:1.0 eth0: register 'asix' at usb-0000:00:14.0-3, ASIX AX88772 USB 2.0 Ethernet, 00:0e:c6:dc:01:aa kernel: usbcore: registered new interface driver asix kernel: asix 2-3:1.0 enp0s20u3: renamed from eth0 then I unplug and plug: kernel: asix 2-3:1.0 internal: renamed from enp0s20u3 kernel: asix 2-3:1.0 internal: link up, 100Mbps, full-duplex, lpa 0x45E1 That does not happen if I plug and unplug external, an ethernet cable. BUT, what's really odd. I'm booting the Fc31 kernel: kernel-5.3.11-300.fc31.x86_64 if I boot the same kernel, but FC30: kernel-5.3.11-200.fc30.x86_64 IT WORKS !! Any help appreciated.
I've seen the same issue some time ago (but on Centos 7). The basic problem is that interface renaming must happen correctly in the initramfs, where you have to be sure the network configuration is fine; that explains why a successive unplug/replug works. In my case there was no NetworkManager involved, just the old "service network start" things, with configs in /etc/sysconfig/network-scripts/ifcfg* No idea what can have happened between those two kernels, apart from indeed having different intiramfs content. You should try extracting the two initramfs and doing a comparison. Something like: [root@router boot]# cat z_decompress.sh #!/bin/bash set -e initramfs=$1 /usr/lib/dracut/skipcpio $initramfs >z_decomp_$initramfs.cpio.gz rm -Rf z_dir_$initramfs mkdir z_dir_$initramfs cd z_dir_$initramfs gunzip <../z_decomp_$initramfs.cpio.gz | cpio -i Best regards. -- Roberto Ragusa mail at robertoragusa.it _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx