Re: udev and NIC devices



Thank you for the reply

WAG: The kernel assigns the hardware when it sees it, apparently in
somewhat random order. Devices using different kernel modules may
also be loaded in arbitrary order.
I have found that, using an initramfs I can put the modules to be loaded in
the correct order (and the kernel respects that order) in the file
/etc/initramfs-tools/modules
but inside the initram there is also the udev with the generation rules.
So when you create an initramfs you have also to check the
z25_persistent-net.rules generated in /etc/udev/rules.d/ before creating
the initram, because that file will be used during the boot and that's
where my NICs were renamed!

I have removed that file from the initramfs and now udev is respecting the
kernel name.

Thanks again
Maurizio
.



Relevant Pages

  • Dynamic major/minor numbers (or dropping them completely)
    ... udev can be started from the initramfs to create the required entries in /dev. ... I'm asking: is there any reason why new char/block drivers shouldn't use dynamic major/minor numbers? ... Is there any reason against converting the whole kernel to dynamic major/minor numbers? ...
    (Linux-Kernel)
  • Re: klibc and whats the next step?
    ... Well, we already have an initramfs, and it can do quite some stuff the ... current kernel doesn't do. ... Latest suse doesn't use klibc any more. ... After adding the "fsck rootfs" feature we had glibc ...
    (Linux-Kernel)
  • Re: swsusp: allow resume from initramfs
    ... swap device depends on a module that is loaded from initramfs, ... This patch (or the version in the kernel i am running right now at ... PCI Interrupt Link enabled at IRQ 11 ... Probing IDE interface ide0... ...
    (Linux-Kernel)
  • Re: ipw2200 [was Re: RFC: Starting a stable kernel series off the 2.6 kernel]
    ... >> the initramfs initialization earlier in the boot sequence), ... building modular kernel for a test is not *that* much work. ... contains an initramfs that contains binary only firmware. ... As separate files in the same tarball, ...
    (Linux-Kernel)
  • Re: [PATCH] driver-core: devtmpfs - driver core maintained /dev tmpfs
    ... populated tmpfs is mounted at /dev. ... want the kernel to mess with the initial namespace in such a major way. ... do you really object to moving the "mount dev -t ... sure I can boot an old initramfs with this option enabled. ...
    (Linux-Kernel)