** Description changed:

  [ 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 ]
  
+  * Compare the initrd size before and after the update to verify that
+ the size grew only insignificantly.
+ 
   * Build an initramfs with initramfs-tools updated and check that
- drivers/usb/host/xhci-pci-renesas.ko.zst has been included
+ drivers/usb/host/xhci-pci-renesas.ko.zst has been included:
+ 
+ ```
+ lsinitramfs /boot/initrd.img | grep xhci-pci-renesas
+ ```
  
  Proposed validation plan
  [Ubuntu Server OS 24.04.5 HWE Kernel Installation Test Plan]
  
  [Pre-installation process]
  1. Prepare a USB storage device with capacity size larger than 8 GB
  2. Download Ubuntu Server OS 24.04.5
  3. Make this USB storage device an OS bootable/installable device with OS 
image from Ubuntu Server OS 24.04.5
  4. Inseart this USB to a USB port of a server to be installed with Ubuntu 
Server OS 24.04.5
  
  [Installation process]
  1: Boot 24.04.5 ISO from this USB storage device
  2: select INstall with HWE from the ISO image boot menu
  3: choose default English as Default Language and select done on the keyboard 
layout selection to proceed
  5: Choose default Ubuntu Server on the installation type and select Done to 
proceed
  6: verify device (enp1s0 on mine) has an address via DCHP and select Done to 
proceed
  7: Select Done on Proxy configuration to set the default of No Proxy
  8: Select Done on Archive Mirror configuration
  9: Select Use and entire disk and leave it at default config (LVM) for Guided 
storage configuration, and select Done
  10: Verify layout and select Done on Storage Configuration screen and then 
select Continue on Confirm destructive Action popup to proceed
  11: Enter user name, server name, and password on Profile Configuration and 
select Done to proceed
  12: Select Skip for now on Ubutnu Pro screen, select Done to proceed
  13: Select Install OpenSSH server on the SSH COnfiguration screen and and 
configure / import SSH keys from my launchpad account, then select Done to 
proceed after SSH keys are retrieved
  14: Select Done on Featured server snaps and do not install any new things to 
proceed
  15: Observe progress on the Updating system screen until install is complete
  16: Select Reboot now to proceed
  17: Remove ISO image and hit enter when prompted
  18: log in once system rebooted.
  
  [Expected result]
  1. The 24.04.5 ISO on USB storage HWE kernel installation needs to be 
successfully completed and able to reboot to OS.
  
  [ Where problems could occur ]
  
-  * Increase slightly size of the initramfs.
+  * Increase slightly size of the initramfs. This can cause boot assets
+ to no longer fit on the boot partition of certain devices, leading to
+ failure to boot on those devices.
  
  [ 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

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

Title:
  [SRU] Missing usb/host/xhci-pci-renesas kernel module in the initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2126559/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to