depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/lib/modules/5.4.0-14-generic/modules.builtin.bin'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kmod (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Unassigned | ||
Disco |
Won't Fix
|
Undecided
|
Unassigned | ||
Eoan |
Fix Released
|
Medium
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
* There is no impact to the end user but spurious error messages (tons of them) causing the perception that something really bad happened:
Example of one of those tons of messages:
depmod: ERROR: ../libkmod/
[Test Case]
* sudo rm /lib/modules/
* sudo depmod -a -F /boot/System.
This will cause the spurious error messages because depmod -a -F won't have the "modules.
[Regression Potential]
* We are reverting a debian patch so we will be closer to upstream code base.
* the change is about 2 different priority changes on verbosity, so biggest problem would be extra (or fewer) stdout/stderr messages (for scripts relying on them, for example).
* I have tested with kernels 4.15, 5.0 and 5.3 and all of them seemed to work fine.
[Other Info]
* Original Description:
During a Focal install from the ISO image several errors like:
depmod: ERROR: ../libkmod/
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:/
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/
CRDA: N/A
Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card0.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)
NonfreeKernelMo
Package: linux (not installed)
ProcEnviron:
TERM=linux
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C.UTF-8
ProcFB: 0 qxldrmfb
ProcKernelCmdLine: initrd=
ProcVersionSign
RelatedPackageV
linux-
linux-
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.
dmi.modalias: dmi:bvnSeaBIOS:
dmi.product.name: Standard PC (Q35 + ICH9, 2009)
dmi.product.
dmi.sys.vendor: QEMU
Related branches
- Christian Ehrhardt (community): Approve
- Thadeu Lima de Souza Cascardo: Pending requested
- Canonical Server: Pending requested
-
Diff: 73 lines (+11/-27)4 files modifieddebian/changelog (+10/-0)
debian/patches/series (+0/-1)
debian/rules (+1/-1)
dev/null (+0/-25)
- Christian Ehrhardt (community): Approve
- Thadeu Lima de Souza Cascardo: Pending requested
- Canonical Server: Pending requested
-
Diff: 73 lines (+11/-27)4 files modifieddebian/changelog (+10/-0)
debian/patches/series (+0/-1)
debian/rules (+1/-1)
dev/null (+0/-25)
- Rafael David Tinoco (community): Approve
- Christian Ehrhardt (community): Approve
- Thadeu Lima de Souza Cascardo: Pending requested
-
Diff: 58 lines (+8/-26)3 files modifieddebian/changelog (+8/-0)
debian/patches/series (+0/-1)
dev/null (+0/-25)
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in kmod (Ubuntu): | |
status: | New → Confirmed |
Changed in kmod (Ubuntu Disco): | |
status: | New → Won't Fix |
Changed in kmod (Ubuntu Focal): | |
assignee: | Rafael David Tinoco (rafaeldtinoco) → nobody |
Changed in kmod (Ubuntu Eoan): | |
status: | New → In Progress |
Changed in kmod (Ubuntu Bionic): | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in kmod (Ubuntu Eoan): | |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
Is the reproducible not on the iso?