[Bug 2027636] Re: [SRU] ucsi drivers missing in initramfs

Loïc Minier 2027636 at bugs.launchpad.net
Sun Jul 16 11:32:18 UTC 2023


In a fresh lunar container with linux-image-generic:
root at lunar:~# lsinitramfs /boot/initrd.img-6.2.0-25-generic | grep typec_ucsi.ko
root at lunar:~# 

With 0.142ubuntu2.1:
root at lunar:~# lsinitramfs /boot/initrd.img-6.2.0-25-generic | grep typec_ucsi.kousr/lib/modules/6.2.0-25-generic/kernel/drivers/usb/typec/ucsi/typec_ucsi.ko
root at lunar:~# 


** Tags removed: verification-needed verification-needed-lunar
** Tags added: verification-done verification-done-lunar

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

Title:
  [SRU] ucsi drivers missing in initramfs

Status in initramfs-tools package in Ubuntu:
  Fix Released
Status in initramfs-tools source package in Jammy:
  Fix Committed
Status in initramfs-tools source package in Lunar:
  Fix Committed

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.img-5.19.0-46-generic | grep typec_ucsi.ko

  After installing the updated initramfs-tools package, your current initramfs should be automatically rebuilt and pick up typec_ucsi.ko:
  $ lsinitramfs /boot/initrd.img-5.19.0-46-generic | grep typec_ucsi.ko
  usr/lib/modules/5.19.0-46-generic/kernel/drivers/usb/typec/ucsi/typec_ucsi.ko

  [ Where problems could occur ]

  This is making the initramfs slightly bigger. In my testing,
  typec_ucsi.ko was 99913B and /boot/initrd.img-5.19.0-46-generic grew
  by 93403B from 122298948B to 122392351B, so by less than 0.08%.

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




More information about the foundations-bugs mailing list