[Bug 2097280] Re: /usr/sbin/mkinitramfs: 122: cannot open /sys/module/firmware_class/parameters/path: No such file
Launchpad Bug Tracker
2097280 at bugs.launchpad.net
Tue Feb 4 22:25:51 UTC 2025
** Merge proposal linked:
https://code.launchpad.net/~mwhudson/livecd-rootfs/+git/livecd-rootfs/+merge/480649
--
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:
Triaged
Status in livecd-rootfs package in Ubuntu:
In Progress
Bug description:
In the version of initramfs-tools now in plucky, mkinitramfs fails if
/sys is not mounted. It is unclear if this is a real problem -- it
broke some of our livefs builds but it turns out the update-initramfs
calls were superfluous and could be avoided.
Original 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