General > Users

biosdevname causes issues during diskless boot.

(1/2) > >>

tschak909:
A ticket for this is here: https://git.linuxmce.org/linuxmce/linuxmce/issues/2733

When linuxmce is installed via trusty-i386 server, biosdevname is installed, which is a set of initrd scripts that attempt to name various devices, including ethernet devices, by their relative hardware position as reported by the bios:
The facility is described here:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/sec-Consistent_Network_Device_Naming_Using_biosdevname.html
In our case, any embedded (LOM) ethernet devices get called emX instead of ethX, which blows up our initrd, and causes a kernel panic shortly after IP-Config successfully completes.

What I suggest, is a two pronged approach to fixing our initrd:

(1) remove biosdevname during lmce install, with a corresponding initrd update. for the short term
(2) do more testing and auditing of biosdevname to see how consistent the naming is, and adapt our scripts accordingly, for the long term.

phenigma:
How does this 'blow' up the init rd?  Some more details would be helpful, many scripts have already been updated.  Please provide specific instructions to recreate whatever issue you are having.  Thanks.

Sent from my Nexus 5 using Tapatalk

tschak909:
This is espeically relevant for installs done via Ubuntu Server (in my case trusty i386)

If you read the page I linked, it shows how the ethernet device names are changed, depending on how they are located in the box.

LOM (Lan-on-Motherboard, devices built onto the motherboard) devices get a device name like emX.
PCI devices get a device name like ethX. (other distributions actually go much further than this, and mix in manufacturer specific names a la BSD).

If you have a LOM device, like I have, on a few machines, then the ethernet device is em1 (not em0), and somewhere in the initrd, a kernel panic happens. (You see this after the IP-Config messages).

removing the biosdevname package, and rebuilding the initrd solves the problem.

-Thom

Marie.O:
Interestingly, biosdevname seems really only be installed on the server version of Ubuntu. None of my trusty installs have it installed.

tschak909:
Yup. That seems to line up...

-Thom

Navigation

[0] Message Index

[#] Next page

Sitemap 
Go to full version