[SRU] ucsi drivers missing in initramfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Fix Released
|
Medium
|
Loïc Minier | ||
Jammy |
Fix Released
|
Medium
|
Loïc Minier | ||
Lunar |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Some systems rely on a USB type-C UCSI connection; without the corresponding driver in the initramfs, USB storage might not be accessible. This is notably affecting NVIDIA Tegra systems such as Jetson AGX or the IGX and prevents completing USB boot for installation purposes.
The initramfs-tools package has a list of relevant USB drivers to include for the default MODULES=most configuration, but didn't list the recently introduced ucsi one.
[ Test Plan ]
The -generic kernel and probably all kernel flavors contain the ucsi driver. On jammy system, you can verify the current initrd doesn't contain typec_ucsi.ko by decompressing the initramfs and listing its files:
$ lsinitramfs /boot/initrd.
After installing the updated initramfs-tools package, your current initramfs should be automatically rebuilt and pick up typec_ucsi.ko:
$ lsinitramfs /boot/initrd.
usr/lib/
[ Where problems could occur ]
This is making the initramfs slightly bigger. In my testing, typec_ucsi.ko was 99913B and /boot/initrd.
description: | updated |
Changed in initramfs-tools (Ubuntu): | |
status: | Fix Released → Fix Committed |
I uploaded the fix to mantic early June:
initramfs-tools (0.142ubuntu4) mantic; urgency=medium
* Include kernel/ drivers/ usb/typec/ ucsi with MODULES=most along with other
USB-C storage drivers.
-- Loïc Minier <email address hidden> Thu, 08 Jun 2023 17:49:02 +0000