← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2126559] Re: Missing usb/host/xhci-pci-renesas kernel module in the initramfs

 

Tested on plucky with package updated deployed at ppa:thibf/initramfs-tools :
ubuntu@test-plucky:~$ sudo lsinitramfs /boot/initrd.img | grep renesas
ubuntu@test-plucky:~$ sudo apt install initramfs-tools
Upgrading:                      
  initramfs-tools  initramfs-tools-bin  initramfs-tools-core

Summary:
  Upgrading: 3, Installing: 0, Removing: 0, Not Upgrading: 69
  Download size: 131 kB
  Space needed: 0 B / 101 GB available

Continue? [Y/n] Y
Get:1 https://ppa.launchpadcontent.net/thibf/initramfs-tools/ubuntu plucky/main amd64 initramfs-tools all 0.147ubuntu1.2 [30.0 kB]
Get:2 https://ppa.launchpadcontent.net/thibf/initramfs-tools/ubuntu plucky/main amd64 initramfs-tools-core all 0.147ubuntu1.2 [74.4 kB]
Get:3 https://ppa.launchpadcontent.net/thibf/initramfs-tools/ubuntu plucky/main amd64 initramfs-tools-bin amd64 0.147ubuntu1.2 [27.0 kB]
Fetched 131 kB in 0s (1130 kB/s)               
(Reading database ... 77664 files and directories currently installed.)
Preparing to unpack .../initramfs-tools_0.147ubuntu1.2_all.deb ...
Unpacking initramfs-tools (0.147ubuntu1.2) over (0.147ubuntu1.1) ...
Preparing to unpack .../initramfs-tools-core_0.147ubuntu1.2_all.deb ...
Unpacking initramfs-tools-core (0.147ubuntu1.2) over (0.147ubuntu1.1) ...
Preparing to unpack .../initramfs-tools-bin_0.147ubuntu1.2_amd64.deb ...
Unpacking initramfs-tools-bin (0.147ubuntu1.2) over (0.147ubuntu1.1) ...
Setting up initramfs-tools-bin (0.147ubuntu1.2) ...
Setting up initramfs-tools-core (0.147ubuntu1.2) ...
Setting up initramfs-tools (0.147ubuntu1.2) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for man-db (2.13.0-1) ...
Processing triggers for initramfs-tools (0.147ubuntu1.2) ...
update-initramfs: Generating /boot/initrd.img-6.14.0-27-generic
Scanning processes...                                                                                                          
Scanning linux images...                                                                                                       

Running kernel seems to be up-to-date.

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-plucky:~$ sudo lsinitramfs /boot/initrd.img | grep renesas
usr/lib/modules/6.14.0-27-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