*** This bug is a duplicate of bug 1863261 ***
https://bugs.launchpad.net/bugs/1863261
I do not believe this is a duplicate; It is more likely a *packaging*
issue. The question remains for this bug, why does it only appear in
the focal kernels; but not Eoan or older?
And if someone could confirm whether or not the linux-generic or linux-
modules generate this file and when (unpack, deb postinst, kernel
install hook?)
Another reason why this isn't a duplicate as the error message is
unrelated to the contents of the initrd, but rather when depmod -a -S is
called (postins of linux-modules package).
On Eoan we can remove the file in question and regenerate the file with:
depmod -a -F /boot/System.map-5.3.0-40-generic;
this command does not produce the error message on any release expect
Focal.
# eoan
root@rharper-e1:~# cat /etc/issue
Ubuntu 19.10 \n \l
root@rharper-e1:~# dpkg --list | grep linux-
ii linux-base 4.5ubuntu2
all Linux image base package
ii linux-firmware 1.183.4
all Firmware for Linux kernel drivers
ii linux-generic 5.3.0.40.34
amd64 Complete Generic Linux kernel and headers
ii linux-headers-5.3.0-40 5.3.0-40.32
all Header files related to Linux kernel version 5.3.0
ii linux-headers-5.3.0-40-generic 5.3.0-40.32
amd64 Linux kernel headers for version 5.3.0 on 64 bit x86 SMP
ii linux-headers-generic 5.3.0.40.34
amd64 Generic Linux kernel headers
ii linux-image-5.3.0-40-generic 5.3.0-40.32
amd64 Signed kernel image generic
ii linux-image-generic 5.3.0.40.34
amd64 Generic Linux kernel image
ii linux-modules-5.3.0-40-generic 5.3.0-40.32
amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
ii linux-modules-extra-5.3.0-40-generic 5.3.0-40.32
amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
root@rharper-e1:~# rm /lib/modules/5.3.0-40-generic/modules.builtin.bin
root@rharper-e1:~# depmod -a -F /boot/System.map-5.3.0-40-generic
5.3.0-40-generic
root@rharper-e1:~# ls -al /lib/modules/5.3.0-40-generic/modules.builtin.bin
-rw-r--r-- 1 root root 9943 Mar 2 15:03
/lib/modules/5.3.0-40-generic/modules.builtin.bin
# On focal this errors:
root@rharper-f1:~# cat /etc/issue
Ubuntu Focal Fossa (development branch) \n \l
root@rharper-f1:~# dpkg --list | grep linux-
ii linux-5.4-headers-5.4.0-14 5.4.0-14.17 all
Header files related to Linux kernel version 5.4.0
ii linux-base 4.5ubuntu2 all
Linux image base package
ii linux-firmware 1.186 all
Firmware for Linux kernel drivers
ii linux-generic 5.4.0.14.17
amd64 Complete Generic Linux kernel and headers
ii linux-headers-5.4.0-14-generic 5.4.0-14.17
amd64 Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
ii linux-headers-generic 5.4.0.14.17
amd64 Generic Linux kernel headers
ii linux-image-5.4.0-14-generic 5.4.0-14.17
amd64 Signed kernel image generic
ii linux-image-generic 5.4.0.14.17
amd64 Generic Linux kernel image
ii linux-modules-5.4.0-14-generic 5.4.0-14.17
amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
ii linux-modules-extra-5.4.0-14-generic 5.4.0-14.17
amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
root@rharper-f1:~# ls -al /lib/modules/5.4.0-14-generic/modules.builtin.bin
-rw-r--r-- 1 root root 10257 Mar 2 15:01
/lib/modules/5.4.0-14-generic/modules.builtin.bin
root@rharper-f1:~# set -o vi
root@rharper-f1:~# rm /lib/modules/5.4.0-14-generic/modules.builtin.bin
root@rharper-f1:~# depmod -a -F /boot/System.map-5.4.0-14-generic
5.4.0-14-generic
depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open
builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'
depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open
builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'
depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open
builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'
depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open
builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1864992
Title:
depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could
not open builtin file
'/lib/modules/5.4.0-14-generic/modules.builtin.bin'
Status in curtin:
Invalid
Status in subiquity:
New
Status in linux package in Ubuntu:
Confirmed
Bug description:
During a Focal install from the ISO image several errors like:
depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could
not open builtin file
'/lib/modules/5.4.0-14-generic/modules.builtin.bin'
are logged in curtin's install logs. The installed system boots and
works fine, but the error is clearly something we want to get rid of.
At first glance this seems related to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1863261
but the version of initramfs-tools in both the installer and installed
system (checked with `chroot /target dpkg -l initramfs-tools` during
the installation) is 0.136ubuntu1, which should contain Rafael's fix
for that bug. I wonder if the update-initramfs diversion has a role
here.
I verified this happens at least on amd64 and arm64. I'm attaching the full
install logs for a amd64 installation.
---
ProblemType: Bug
AlsaVersion: Advanced Linux Sound Architecture Driver Version
k5.4.0-14-generic.
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.11-0ubuntu18
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path',
'/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D0c',
'/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: N/A
Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer'
CasperVersion: 1.439
DistroRelease: Ubuntu 20.04
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
LiveMediaBuild: Ubuntu-Server 20.04 LTS "Focal Fossa" - Alpha amd64 (20200225)
Lsusb:
Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU USB Tablet
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Lsusb-t:
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid,
480M
MachineType: QEMU Standard PC (Q35 + ICH9, 2009)
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
Package: linux (not installed)
ProcEnviron:
TERM=linux
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=C.UTF-8
ProcFB: 0 qxldrmfb
ProcKernelCmdLine: initrd=/casper/initrd quiet --- maybe-ubiquity
ProcVersionSignature: Ubuntu 5.4.0-14.17-generic 5.4.18
RelatedPackageVersions:
linux-restricted-modules-5.4.0-14-generic N/A
linux-backports-modules-5.4.0-14-generic N/A
linux-firmware 1.186
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
Tags: focal uec-images
Uname: Linux 5.4.0-14-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
dmi.bios.date: 04/01/2014
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.13.0-1
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-q35-4.2
dmi.modalias:
dmi:bvnSeaBIOS:bvr1.13.0-1:bd04/01/2014:svnQEMU:pnStandardPC(Q35+ICH9,2009):pvrpc-q35-4.2:cvnQEMU:ct1:cvrpc-q35-4.2:
dmi.product.name: Standard PC (Q35 + ICH9, 2009)
dmi.product.version: pc-q35-4.2
dmi.sys.vendor: QEMU
To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1864992/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp