[Bug 2097280] Re: /usr/sbin/mkinitramfs: 122: cannot open /sys/module/firmware_class/parameters/path: No such file

Michael Hudson-Doyle 2097280 at bugs.launchpad.net
Tue Feb 4 07:04:25 UTC 2025


Ah this might be specific to server builds -- it runs update-initramfs
in a binary hook without doing anything to make sure /sys is mounted...

-- 
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/2097280

Title:
  /usr/sbin/mkinitramfs: 122: cannot open
  /sys/module/firmware_class/parameters/path: No such file

Status in initramfs-tools package in Ubuntu:
  New

Bug description:
  The ISO build fails with initramfs-tools 0.145ubuntu1:

  ```
  update-initramfs: Generating /boot/initrd.img-6.12.0-12-generic
  /usr/sbin/mkinitramfs: 122: cannot open /sys/module/firmware_class/parameters/path: No such file
  /usr/sbin/mkinitramfs: 122: cannot open /sys/module/firmware_class/parameters/path: No such file
  /usr/sbin/mkinitramfs: 122: cannot open /sys/module/firmware_class/parameters/path: No such file
  /usr/sbin/mkinitramfs: 122: cannot open /sys/module/firmware_class/parameters/path: No such file
  /usr/sbin/mkinitramfs: 122: cannot open /sys/module/firmware_class/parameters/path: No such file
  /usr/share/initramfs-tools/hooks/casper: 122: cannot open /sys/module/firmware_class/parameters/path: No such file
  E: /usr/share/initramfs-tools/hooks/casper failed with return 2.
  update-initramfs: failed for /boot/initrd.img-6.12.0-12-generic with 2.
  ```

  Full log:
  https://launchpadlibrarian.net/774287312/buildlog_ubuntu_plucky_amd64_ubuntu-
  server-live_BUILDING.txt.gz

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




More information about the foundations-bugs mailing list