Bug#948257: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/var/tmp/mkinitramfs_XXXXXXX/lib/modules/5.4.0-1-amd64/modules.builtin.bin'
Yes, this fix https://salsa.debian.org/kernel-team/initramfs-tools/merge_requests/23/diffs indeed at least silenced (maybe fixed) those wornings after update-initramfs -u Hope you will pull that in initramfs-tools-core as shown by dpkg -S ./mkinitramfs And *I hope* it will happen faster than with this obnoxious bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931930
Bug#948257: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/var/tmp/mkinitramfs_XXXXXXX/lib/modules/5.4.0-1-amd64/modules.builtin.bin'
Pierrick CHANTEUX writes: > This bug resulted in complete system breakage and I couldn't boot > anymore (systemd failing to load Kernel modules). I can guarantee that > this isn't only cosmetic. > > I believe this isn't related to initramfs-tools, because downgrading > kmod and libkmod2 from version 26+20191223-1 to version 26-3 fixes the > issue. Initramfs now build (and run) correctly. IMHO this is probably an unrelated bug in the same kmod upgrade. You should report it as such, which the full log output and a subject decribing the issue instead of the bogus error message. The logspam caused by the lookup_builtin_file() bug makes it hard to spot real errors, but hopefully there is some clue to your problem there too. Bjørn
Bug#948257: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/var/tmp/mkinitramfs_XXXXXXX/lib/modules/5.4.0-1-amd64/modules.builtin.bin'
Hello, This bug resulted in complete system breakage and I couldn't boot anymore (systemd failing to load Kernel modules). I can guarantee that this isn't only cosmetic. I believe this isn't related to initramfs-tools, because downgrading kmod and libkmod2 from version 26+20191223-1 to version 26-3 fixes the issue. Initramfs now build (and run) correctly. Regards, -- Pierrick CHANTEUX
Bug#948257: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/var/tmp/mkinitramfs_XXXXXXX/lib/modules/5.4.0-1-amd64/modules.builtin.bin'
On Wed, 08 Jan 2020 23:07:22 + Ben Hutchings wrote: On Wed, 2020-01-08 at 16:48 -0500, debian wrote: Printing spurious error messages is a bug, and we will fix it (whether in kmod or in initramfs-tools, is to be decided). So the change causing it should be reverted until it has been decided and fixed. -- - Ilkka
Bug#948257: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/var/tmp/mkinitramfs_XXXXXXX/lib/modules/5.4.0-1-amd64/modules.builtin.bin'
These error messages also appear in the 'make modules_install' step when building a standard Linux kernel. Regards, Jörg.
Bug#948257: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/var/tmp/mkinitramfs_XXXXXXX/lib/modules/5.4.0-1-amd64/modules.builtin.bin'
On Wed, 2020-01-08 at 16:48 -0500, debian wrote: > so, what's to be done now? Marco d'Itri says that this error is > pointless, Bjørn says that this is normal and this behaviour is expected > sometimes (kmod looking for nonexistent stuff) > > is it just a harmless error "spam"? update the system as usual and just > ignore the error "waterfall" in the console? use the patch (the edited > line in /usr/sbin/mkinitramfs) and then update? Printing spurious error messages is a bug, and we will fix it (whether in kmod or in initramfs-tools, is to be decided). But since (so far as I know) there hasn't been any regression in the functioning of the resulting initramfs, the bug doesn't need to be fixed right this instant. Ben. -- Ben Hutchings Anthony's Law of Force: Don't force it, get a larger hammer. signature.asc Description: This is a digitally signed message part
Bug#948257: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/var/tmp/mkinitramfs_XXXXXXX/lib/modules/5.4.0-1-amd64/modules.builtin.bin'
so, what's to be done now? Marco d'Itri says that this error is pointless, Bjørn says that this is normal and this behaviour is expected sometimes (kmod looking for nonexistent stuff) is it just a harmless error "spam"? update the system as usual and just ignore the error "waterfall" in the console? use the patch (the edited line in /usr/sbin/mkinitramfs) and then update?
Bug#948257: depmod: ERROR: ../libkmod/libkmod.c:515 lookup_builtin_file() could not open builtin file '/var/tmp/mkinitramfs_XXXXXXX/lib/modules/5.4.0-1-amd64/modules.builtin.bin'
same error repeating again and again during both plain upgrade and dist-upgrade on sid, so much that it clears all the previous scrollback in the terminal (just one line would be fine) i found this suggestion that says to edit a line in "/usr/sbin/mkinitramfs" file, like this: https://salsa.debian.org/kernel-team/initramfs-tools/merge_requests/23/diffs the above edit does the job of getting rid of the console error spam. someone has to incorporate this edit in an "initramfs-tools-core" update. the file that needs the above edit belongs to "initramfs-tools-core". it's neither "kmod" nor "initramfs-tools" (maybe updating kmod triggers the bug, but the bug itself is in "initramfs-tools-core") this is the list of files of "initramfs-tools-core", and you will see the affected file is in there (this serial redirect is because it's from another remote system) : root@sid:~# cat //var/lib/dpkg/info/initramfs-tools-core.list >//dev/ttyS0 /. /etc /etc/initramfs-tools /etc/initramfs-tools/conf.d /etc/initramfs-tools/hooks /etc/initramfs-tools/initramfs.conf /etc/initramfs-tools/scripts /etc/initramfs-tools/scripts/init-bottom /etc/initramfs-tools/scripts/init-premount /etc/initramfs-tools/scripts/init-top /etc/initramfs-tools/scripts/local-bottom /etc/initramfs-tools/scripts/local-premount /etc/initramfs-tools/scripts/local-top /etc/initramfs-tools/scripts/nfs-bottom /etc/initramfs-tools/scripts/nfs-premount /etc/initramfs-tools/scripts/nfs-top /etc/initramfs-tools/scripts/panic /usr /usr/bin /usr/bin/lsinitramfs /usr/bin/unmkinitramfs /usr/sbin /usr/sbin/mkinitramfs <<== this is the affected file that needs the edit to keep up with the updated kmod /usr/share /usr/share/doc /usr/share/doc/initramfs-tools-core /usr/share/doc/initramfs-tools-core/NEWS.Debian.gz /usr/share/doc/initramfs-tools-core/changelog.gz /usr/share/doc/initramfs-tools-core/copyright /usr/share/doc/initramfs-tools-core/examples /usr/share/doc/initramfs-tools-core/examples/example_hook /usr/share/doc/initramfs-tools-core/examples/example_script /usr/share/doc/initramfs-tools-core/examples/framebuffer /usr/share/doc/initramfs-tools-core/examples/modules /usr/share/initramfs-tools /usr/share/initramfs-tools/conf-hooks.d /usr/share/initramfs-tools/conf.d /usr/share/initramfs-tools/hook-functions /usr/share/initramfs-tools/hooks /usr/share/initramfs-tools/hooks/fsck /usr/share/initramfs-tools/hooks/keymap /usr/share/initramfs-tools/hooks/resume /usr/share/initramfs-tools/hooks/thermal /usr/share/initramfs-tools/init /usr/share/initramfs-tools/modules /usr/share/initramfs-tools/modules.d /usr/share/initramfs-tools/scripts /usr/share/initramfs-tools/scripts/functions /usr/share/initramfs-tools/scripts/init-top /usr/share/initramfs-tools/scripts/init-top/all_generic_ide /usr/share/initramfs-tools/scripts/init-top/blacklist /usr/share/initramfs-tools/scripts/init-top/keymap /usr/share/initramfs-tools/scripts/local /usr/share/initramfs-tools/scripts/local-premount /usr/share/initramfs-tools/scripts/local-premount/resume /usr/share/initramfs-tools/scripts/nfs /usr/share/lintian /usr/share/lintian/overrides /usr/share/lintian/overrides/initramfs-tools-core /usr/share/man /usr/share/man/man5 /usr/share/man/man5/initramfs.conf.5.gz /usr/share/man/man7 /usr/share/man/man7/initramfs-tools.7.gz /usr/share/man/man8 /usr/share/man/man8/lsinitramfs.8.gz /usr/share/man/man8/mkinitramfs.8.gz /usr/share/man/man8/unmkinitramfs.8.gz /var /var/lib /var/lib/initramfs-tools