Page MenuHomeVyOS Platform

Missing modules in initrd.img for PXE boot
Closed, ResolvedPublicBUG


We have few modules like intel igb, i40e, ixgbe built from sources, and this modules does not exist in /boot/initrd.img

vyos@vyos:~#sudo lsinitramfs /boot/initrd.img | grep igb.ko
vyos@vyos:~#sudo lsinitramfs /boot/initrd.img | grep ixgbe.ko
vyos@vyos:~#sudo lsinitramfs /boot/initrd.img | grep i40e.ko

I think this happened, because this modules have installed path /lib/modules/4.19.91-amd64-vyos/updates/... and does not exist in /lib/modules/4.19.91-amd64-vyos/kernel/...
For confirmation this thing I was change 17-gen_initramfs.chroot and add copy modules from /lib/modules/$kernel/updates/ to /lib/modules/$kernel/kernel/ and this works.
I propose add to drivers build process INSTALL_MOD_DIR for changing path

INSTALL_MOD_DIR     - Use module directory other than updates/drivers/net/ethernet/intel/${DRIVER}'


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

Unknown Object (User) created this task.Jan 19 2020, 6:01 PM
Unknown Object (User) added a project: VyOS 1.3 Equuleus.
c-po changed the task status from Open to In progress.Feb 23 2020, 7:37 PM
c-po claimed this task.

A fix for this is available in the latest rolling release

c-po changed the task status from In progress to Backport pending.Feb 23 2020, 7:37 PM
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.
c-po moved this task from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.5) board.
c-po removed a project: Ready for Crux (1.2.x).