Page MenuHomeVyOS Platform

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

Description

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}'

Details

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

Event Timeline

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).