Public bug reported:

Distributor ID: Ubuntu
Description:    Ubuntu 24.04.2 LTS
Release:        24.04
Codename:       noble

6.8.0-60-generic

ii  dracut-install                       060+5-1ubuntu3.3           
ii  initramfs-tools                      0.142ubuntu25.5            
ii  initramfs-tools-bin                  0.142ubuntu25.5            
ii  initramfs-tools-core                 0.142ubuntu25.5            

Recently update-initramfs seems to use dracut-install as a backend and
the logic for selecting modules for installation has apparently changed.

I'm using dkms version of i40e instead of kernel in-tree module.
Both files exist in /lib/modules/version directory
# find /lib/modules/6.8.0-60-generic -name i40e.ko.zst
./updates/dkms/i40e.ko.zst
./kernel/drivers/net/ethernet/intel/i40e/i40e.ko.zst
but until dracut-install, only the new one was copied to initramfs (I think 
previous logic involved parsing modules.dep)

dracut-install prefers the old one:
# update-initramfs -u -k $(uname -r) -v 2>&1 | grep i40e
dracut-install: mkdir 
'/var/tmp/mkinitramfs_yQoej6/lib/modules/6.8.0-60-generic/kernel/drivers/net/ethernet/intel/i40e'
dracut-install: cp 
'/lib/modules/6.8.0-60-generic/kernel/drivers/net/ethernet/intel/i40e/i40e.ko.zst'
 
'/var/tmp/mkinitramfs_yQoej6/lib/modules/6.8.0-60-generic/kernel/drivers/net/ethernet/intel/i40e/i40e.ko.zst'

** Affects: dracut (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2114503

Title:
  dracut-install called from update-initramfs prefers non-dkms module
  version

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2114503/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to