Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net.ifnames=0 not working with 6.6.67 kernel?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Darknight
Guru
Guru


Joined: 26 Jan 2004
Posts: 485
Location: Italy

PostPosted: Tue Jan 07, 2025 1:33 pm    Post subject: net.ifnames=0 not working with 6.6.67 kernel? Reply with quote

I've been using net.ifnames=0 as a built-in kernel command line parameter for years, today I upgraded to 6.6.67 and to my dismay I had to boot into a usb stick to go back to the previous kernel, the box was not completing init because of missing eth0. The other built-in paramenter (ROOT=PARTUUID...) works, so I assume the problem is related only to net.ifnames=0 and not the built-in parameters as a whole.
I also discovered that only the first menu entry marked for boot in efibootmgr shows in the bios boot menu. :?
Have I missed important announcements regarding predictable network interface names?
If so, how can I tell which name is being given to the interface if I cannot rely on eth0 and boot won't complete?
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22949

PostPosted: Tue Jan 07, 2025 1:37 pm    Post subject: Reply with quote

Technically, net.ifnames has no effect on the kernel. It has an effect on systemd-udevd to tell it not to mangle your network interface names. Therefore, my first candidate would be to suspect that in the "bad" kernel, this parameter is not visible to systemd-udevd. What is the output of xxd /proc/cmdline in the bad kernel versus in the good one?
Back to top
View user's profile Send private message
Darknight
Guru
Guru


Joined: 26 Jan 2004
Posts: 485
Location: Italy

PostPosted: Wed Jan 08, 2025 8:11 am    Post subject: Reply with quote

It seems /proc/cmdline is fine, something's wrong with network interfaces instead. On the surface it seems that they are detected in a different way and this impacts udev rules that rename 2 of the interfaces (now the wrong ones including eth0!).
Thank you for the tip, it helped me find the right direction.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum