Some modules not found, dropping to dracut shell

Thomas Lange lange at informatik.uni-koeln.de
Mon Feb 4 11:27:02 CET 2019


>>>>> On Mon, 4 Feb 2019 10:26:02 +0100, Rémy Dernat <remy.d1 at gmail.com> said:

    > I have some difficulties to setup a working nfsroot environement; The initrd image does not seem to contain all the necessary modules :

    >     chroot /srv/fai/nfsroot
   
    >     find /lib/modules/4.9.0-8-amd64/ -name "*bnx2*"
    >     /lib/modules/4.9.0-8-amd64/kernel/drivers/scsi/bnx2i
    >     /lib/modules/4.9.0-8-amd64/kernel/drivers/scsi/bnx2i/bnx2i.ko
    >     /lib/modules/4.9.0-8-amd64/kernel/drivers/scsi/bnx2fc
    >     /lib/modules/4.9.0-8-amd64/kernel/drivers/scsi/bnx2fc/bnx2fc.ko
    >     /lib/modules/4.9.0-8-amd64/kernel/drivers/net/ethernet/broadcom/bnx2.ko
    >     /lib/modules/4.9.0-8-amd64/kernel/drivers/net/ethernet/broadcom/bnx2x
    >     /lib/modules/4.9.0-8-amd64/kernel/drivers/net/ethernet/broadcom/bnx2x/bnx2x.ko
    >     exit

    >     lib/firmware/bnx2
    >     lib/firmware/bnx2/bnx2-mips-06-6.2.3.fw
    >     lib/firmware/bnx2/bnx2-mips-09-6.2.1b.fw
    >     lib/firmware/bnx2/bnx2-rv2p-06-6.0.15.fw



    >     # package list for creating the NFSROOT

    >     # some network cards needs firmware
    >     PACKAGES install-norec NONFREE
    >     firmware-bnx2 firmware-bnx2x firmware-realtek
    >     firmware-misc-nonfree


    > You could see that there are both linux-image-* and firmware-bnx2*.
Yes, but the firmware packages are not used for your nfsroot.
In FAI 5.5 there was the new option -N added to fai-make-nfsroot. You
have to use this option, in order to get the packages listed in
/etc/fai/NFSROOT in the section NONFREE added to the nfsroot. See man
fai-make-nfsroot(8).

-- 
regards Thomas


More information about the linux-fai mailing list