This bug was fixed in the package initramfs-tools - 0.142ubuntu33

---------------
initramfs-tools (0.142ubuntu33) oracular; urgency=medium

  * hook-functions: Print error message on copy_file failure
    to ease debugging cases like LP #1641230.
  * Cherry-pick fixes from Debian 0.144 and 0.145:
    - autopkgtest: Fix name of ppc64el kernel flavour
    - mkinitramfs, hook-functions: Exit with error if dracut-install fails
      (Closes: #1079066)
    - hook_functions: Fix copy_file with source including a directory symlink
      (LP: #2077490)
    - hook-functions: copy_file: Canonicalise target filename
      (Closes: #1079276)

 -- Benjamin Drung <bdr...@ubuntu.com>  Wed, 04 Sep 2024 01:26:32 +0200

** Changed in: initramfs-tools (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-firmware in Ubuntu.
https://bugs.launchpad.net/bugs/2077490

Title:
  Error: out of memory while booting after installing the linux-firmware
  in proposed

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

Bug description:
  [Impact]

  I found that there are some machines in cert lab can't boot after
  installing the linux-frimware in proposed with 6.8.0-40 kernel.

  After selecting booting with the 6.8.0-40 kernel, it shows error: out
  of memory on the screen then freeze.

  There aren't any journal logs available, since they froze at very
  early stage.

  Following are the machines got impacted for now
  https://certification.canonical.com/hardware/202306-31695/
  https://certification.canonical.com/hardware/202306-31696/

  Problem details:

  The linux-firmware package provides new (gigantic) firmware blobs and
  symlinks to directories that contain those. initramfs-tools can't
  handle the directory symlinks and puts multiple copies of the same
  blobs into the initrd blowing it up to a size where it becomes
  problematic on some machines.

  [Test Case]

  Verify the affected machine boots again with the updated firmware
  package.

  Install updated linux-firmware package and confirm that there are no
  duplicate firmware files in /lib/firmware and inside the initrd. Also
  verify that there are no broken symlinks.

  [Where Problems Could Occur]

  If the new symlinks are broken, we end up with drivers not finding
  their firmwares which results in non-functional HW components.

  [Notes]

  This is not a general solution for the problem of the ever growing
  size of the initrd. It just alleviate it some.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to