debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #09254
[Bug 2126559] Re: Missing usb/host/xhci-pci-renesas kernel module in the initramfs
Tested on noble with package updated deployed at ppa:thibf/initramfs-tools :
ubuntu@test-noble:~$ sudo lsinitramfs /boot/initrd.img | grep renesas
ubuntu@test-noble:~$ sudo apt install initramfs-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
initramfs-tools-bin initramfs-tools-core
The following packages will be upgraded:
initramfs-tools initramfs-tools-bin initramfs-tools-core
3 upgraded, 0 newly installed, 0 to remove and 154 not upgraded.
Need to get 114 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 https://ppa.launchpadcontent.net/thibf/initramfs-tools/ubuntu noble/main amd64 initramfs-tools all 0.142ubuntu25.6 [25.4 kB]
Get:2 https://ppa.launchpadcontent.net/thibf/initramfs-tools/ubuntu noble/main amd64 initramfs-tools-core all 0.142ubuntu25.6 [67.0 kB]
Get:3 https://ppa.launchpadcontent.net/thibf/initramfs-tools/ubuntu noble/main amd64 initramfs-tools-bin amd64 0.142ubuntu25.6 [21.6 kB]
Fetched 114 kB in 0s (723 kB/s)
(Reading database ... 120444 files and directories currently installed.)
Preparing to unpack .../initramfs-tools_0.142ubuntu25.6_all.deb ...
Unpacking initramfs-tools (0.142ubuntu25.6) over (0.142ubuntu25.5) ...
Preparing to unpack .../initramfs-tools-core_0.142ubuntu25.6_all.deb ...
Unpacking initramfs-tools-core (0.142ubuntu25.6) over (0.142ubuntu25.5) ...
Preparing to unpack .../initramfs-tools-bin_0.142ubuntu25.6_amd64.deb ...
Unpacking initramfs-tools-bin (0.142ubuntu25.6) over (0.142ubuntu25.5) ...
Setting up initramfs-tools-bin (0.142ubuntu25.6) ...
Setting up initramfs-tools-core (0.142ubuntu25.6) ...
Setting up initramfs-tools (0.142ubuntu25.6) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for initramfs-tools (0.142ubuntu25.6) ...
update-initramfs: Generating /boot/initrd.img-6.14.0-33-generic
Scanning processes...
Scanning linux images...
Pending kernel upgrade!
Running kernel version:
6.8.0-59-generic
Diagnostics:
The currently running kernel version is not the expected kernel version 6.14.0-33-generic.
Restarting the system to load the new kernel will not be handled
automatically, so you should consider rebooting.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
ubuntu@test-noble:~$ sudo lsinitramfs /boot/initrd.img | grep renesas
usr/lib/modules/6.14.0-33-generic/kernel/drivers/usb/host/xhci-pci-renesas.ko.zst
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/2126559
Title:
Missing usb/host/xhci-pci-renesas kernel module in the initramfs
Status in initramfs-tools package in Ubuntu:
Fix Released
Status in initramfs-tools source package in Noble:
In Progress
Status in initramfs-tools source package in Plucky:
In Progress
Status in initramfs-tools source package in Questing:
Fix Released
Bug description:
[ Impact ]
* Unable to boot from usb for specific intel hardware (GNR)
* Especially an issue for ubuntu ISO.
[ Fix ]
* As done for questing, whitelist the missing module to be included in the initramfs.
* This is a similar fix that what was done by dracut [1].
[ Test Plan ]
* Build an initramfs with initramfs-tools updated and check that
drivers/usb/host/xhci-pci-renesas.ko.zst has been included
[ Where problems could occur ]
* Increase slightly size of the initramfs.
[ Other info ]
* Checked for other missing usb drivers in dracut code, nothing is
coming up.
1: https://github.com/dracut-ng/dracut-ng/commit/20cc20d2ac9c2908da6735b04dba49c1cb1b0bab
__________
On specific intel hardware (GNR), the Ubuntu ISO 24.04.3 doesn't boot when selecting the hwe kernel.
After looking at the initrd generated, the hwe-initrd is missing kernel/drivers/usb/host/xhci-pci-renesas.ko.zst:
$ lsinitramfs casper/initrd | grep kernel/drivers/usb/host/
usr/lib/modules/6.8.0-71-generic/kernel/drivers/usb/host/xhci-pci-renesas.ko.zst
usr/lib/modules/6.8.0-71-generic/kernel/drivers/usb/host/xhci-pci.ko.zst
usr/lib/modules/6.8.0-71-generic/kernel/drivers/usb/host/xhci-plat-hcd.ko.zst
$ lsinitramfs casper/hwe-initrd | grep kernel/drivers/usb/host/
usr/lib/modules/6.14.0-27-generic/kernel/drivers/usb/host/xhci-plat-hcd.ko.zst
xhci-pci module is also not there as it's in 6.14 a builtin.
As depmod is used to find dependencies across modules, I guess it is
missing dependencies for builtins.
In 6.8.0 we can find in the associated modules.dep:
kernel/drivers/usb/host/xhci-pci.ko.zst: kernel/drivers/usb/host/xhci-pci-renesas.ko.zst
But it's not the case in 6.14.0.
Related bug:
- https://bugs.launchpad.net/cisco-ucs-server/+bug/2121594
- https://bugs.launchpad.net/ubuntu/+bug/2124218
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2126559/+subscriptions
References