Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1014319: depmod: WARNING: could not open modules.builtin.modinfo at /var/tmp/mkinitramfs_vBlw4a/lib/modules/5.18.0-2-amd64: No such file or directory

1,302 views
Skip to first unread message

Konomi Kitten

unread,
Jul 4, 2022, 1:10:03 AM7/4/22
to
Package: initramfs-tools
Version: 0.141
Severity: minor
X-Debbugs-Cc: konomi...@gmail.com

When update-initramfs runs I receive the following message:

depmod: WARNING: could not open modules.builtin.modinfo at
/var/tmp/mkinitramfs_vBlw4a/lib/modules/5.18.0-2-amd64: No such file or
directory


-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 56M Jul 4 14:01 /boot/initrd.img-5.16.0-6-amd64
-rw-r--r-- 1 root root 58M Jul 4 14:01 /boot/initrd.img-5.17.0-3-amd64
-rw-r--r-- 1 root root 58M Jul 4 14:00 /boot/initrd.img-5.18.0-1-amd64
-rw-r--r-- 1 root root 58M Jul 4 14:56 /boot/initrd.img-5.18.0-2-amd64
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.18.0-2-amd64 root=UUID=e7b71052-3dff-454b-9730-7b146ebdf115 ro quiet systemd.show_status=true

-- /proc/filesystems
btrfs
fuseblk
vfat
ext3
ext2
ext4

-- lsmod
Module Size Used by
ext4 946176 1
mbcache 16384 1 ext4
jbd2 163840 1 ext4
dm_crypt 61440 1
dm_mod 176128 3 dm_crypt
tcp_diag 16384 0
inet_diag 24576 1 tcp_diag
ctr 16384 3
ccm 20480 9
vboxnetadp 28672 0
vboxnetflt 32768 0
vboxdrv 532480 2 vboxnetadp,vboxnetflt
rfcomm 90112 16
ip6t_REJECT 16384 1
nf_reject_ipv6 20480 1 ip6t_REJECT
xt_hl 16384 22
ip6_tables 36864 52
ip6t_rt 20480 3
ipt_REJECT 16384 1
nf_reject_ipv4 16384 1 ipt_REJECT
xt_LOG 20480 14
qrtr 45056 4
cpufreq_userspace 20480 0
cpufreq_powersave 20480 0
cpufreq_ondemand 16384 0
cpufreq_conservative 16384 0
nf_log_syslog 20480 14
cmac 16384 3
nft_limit 16384 17
algif_hash 16384 1
algif_skcipher 16384 1
af_alg 36864 6 algif_hash,algif_skcipher
bnep 28672 2
zstd 16384 12
zram 40960 2
zsmalloc 32768 1 zram
xt_limit 16384 0
xt_addrtype 16384 5
nft_chain_nat 16384 2
xt_nat 16384 4
nf_nat 57344 2 xt_nat,nft_chain_nat
xt_conntrack 16384 20
nf_conntrack 176128 3 xt_conntrack,nf_nat,xt_nat
nf_defrag_ipv6 24576 1 nf_conntrack
nf_defrag_ipv4 16384 1 nf_conntrack
xt_tcpudp 20480 0
nft_compat 20480 130
nf_tables 278528 759 nft_compat,nft_chain_nat,nft_limit
binfmt_misc 24576 1
nfnetlink 20480 2 nft_compat,nf_tables
nls_ascii 16384 1
nls_cp437 20480 1
vfat 20480 1
fat 86016 1 vfat
btusb 65536 0
btrtl 28672 1 btusb
btbcm 24576 1 btusb
btintel 45056 1 btusb
iwlmvm 368640 0
btmtk 16384 1 btusb
intel_rapl_msr 20480 0
intel_rapl_common 28672 1 intel_rapl_msr
bluetooth 876544 44 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
mac80211 1085440 1 iwlmvm
edac_mce_amd 36864 0
snd_hda_codec_realtek 167936 1
jitterentropy_rng 16384 1
snd_hda_codec_generic 98304 1 snd_hda_codec_realtek
ledtrig_audio 16384 1 snd_hda_codec_generic
sha512_ssse3 49152 1
snd_hda_codec_hdmi 73728 1
sha512_generic 16384 1 sha512_ssse3
kvm_amd 151552 0
snd_hda_intel 57344 5
snd_usb_audio 356352 4
drbg 40960 1
libarc4 16384 1 mac80211
snd_intel_dspcfg 32768 1 snd_hda_intel
snd_usbmidi_lib 45056 1 snd_usb_audio
snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg
ansi_cprng 16384 0
kvm 1060864 1 kvm_amd
iwlwifi 344064 1 iwlmvm
snd_rawmidi 45056 1 snd_usbmidi_lib
snd_hda_codec 176128 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_seq_device 16384 1 snd_rawmidi
snd_hda_core 110592 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
irqbypass 16384 1 kvm
mc 65536 1 snd_usb_audio
snd_hwdep 16384 2 snd_usb_audio,snd_hda_codec
ecdh_generic 16384 2 bluetooth
joydev 28672 0
ecc 40960 1 ecdh_generic
rapl 20480 0
snd_pcm 147456 8 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
crc16 16384 2 bluetooth,ext4
cfg80211 1056768 3 iwlmvm,iwlwifi,mac80211
snd_timer 45056 1 snd_pcm
snd 110592 27 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
wmi_bmof 16384 0
soundcore 16384 1 snd
efi_pstore 16384 0
ccp 114688 1 kvm_amd
k10temp 16384 0
sp5100_tco 20480 0
rfkill 32768 8 iwlmvm,bluetooth,cfg80211
rng_core 20480 1 ccp
watchdog 32768 1 sp5100_tco
sg 40960 0
evdev 28672 12
acpi_cpufreq 28672 0
loop 32768 2
msr 16384 0
it87 73728 0
hwmon_vid 16384 1 it87
parport_pc 40960 0
ppdev 24576 0
lp 20480 0
parport 69632 3 parport_pc,lp,ppdev
fuse 172032 1
configfs 57344 1
efivarfs 16384 1
ip_tables 32768 8
x_tables 53248 13 xt_conntrack,nft_compat,xt_LOG,xt_tcpudp,xt_addrtype,xt_nat,ip6t_rt,ip6_tables,ipt_REJECT,ip_tables,xt_limit,xt_hl,ip6t_REJECT
autofs4 53248 2
btrfs 1695744 1
blake2b_generic 20480 0
xor 24576 1 btrfs
raid6_pq 122880 1 btrfs
zstd_compress 311296 2 btrfs,zstd
libcrc32c 16384 4 nf_conntrack,nf_nat,btrfs,nf_tables
crc32c_generic 16384 0
amdgpu 8028160 51
hid_generic 16384 0
gpu_sched 53248 1 amdgpu
drm_dp_helper 159744 1 amdgpu
sd_mod 61440 2
cec 61440 1 drm_dp_helper
t10_pi 16384 1 sd_mod
usbhid 65536 0
crc32_pclmul 16384 0
crc32c_intel 24576 3
hid 151552 2 usbhid,hid_generic
rc_core 61440 1 cec
crc64_rocksoft_generic 16384 1
crc64_rocksoft 20480 1 t10_pi
crc_t10dif 20480 1 t10_pi
crct10dif_generic 16384 0
drm_ttm_helper 16384 1 amdgpu
crct10dif_pclmul 16384 1
crc64 20480 2 crc64_rocksoft,crc64_rocksoft_generic
ttm 86016 2 amdgpu,drm_ttm_helper
crct10dif_common 16384 3 crct10dif_generic,crc_t10dif,crct10dif_pclmul
ghash_clmulni_intel 16384 0
drm_kms_helper 192512 4 drm_dp_helper,amdgpu
ahci 49152 2
libahci 49152 1 ahci
xhci_pci 20480 0
xhci_hcd 315392 1 xhci_pci
libata 385024 2 libahci,ahci
aesni_intel 380928 12
drm 614400 26 gpu_sched,drm_dp_helper,drm_kms_helper,amdgpu,drm_ttm_helper,ttm
igb 262144 0
usbcore 327680 6 xhci_hcd,snd_usb_audio,usbhid,snd_usbmidi_lib,btusb,xhci_pci
crypto_simd 16384 1 aesni_intel
scsi_mod 266240 3 sd_mod,libata,sg
cryptd 24576 4 crypto_simd,ghash_clmulni_intel
dca 16384 1 igb
ptp 32768 1 igb
i2c_piix4 28672 0
pps_core 24576 1 ptp
i2c_algo_bit 16384 2 igb,amdgpu
usb_common 16384 2 xhci_hcd,usbcore
wmi 36864 1 wmi_bmof
scsi_common 16384 3 scsi_mod,libata,sg
gpio_amdpt 20480 0
gpio_generic 16384 1 gpio_amdpt
button 24576 0

-- /etc/initramfs-tools/modules

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=auto
KEYMAP=n
COMPRESS=zstd
DEVICE=
NFSROOT=auto
RUNSIZE=10%
FSTYPE=auto

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no

-- /etc/crypttab
# <target name> <source device> <key file> <options>

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
amd64_microcode
btrfs
cryptgnupg
cryptgnupg-sc
cryptkeyctl
cryptopensc
cryptpassdev
cryptroot
cryptroot-unlock
dmsetup
fsck
fuse
keymap
klibc-utils
kmod
ntfs_3g
plymouth
resume
thermal
udev
zz-busybox


-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.18.0-2-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages initramfs-tools depends on:
ii initramfs-tools-core 0.141
ii linux-base 4.9

initramfs-tools recommends no packages.

Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.11-6

-- no debconf information

Vincent Lefevre

unread,
Jul 4, 2022, 4:10:03 AM7/4/22
to
On 2022-07-04 15:01:13 +1000, Konomi Kitten wrote:
> When update-initramfs runs I receive the following message:
>
> depmod: WARNING: could not open modules.builtin.modinfo at
> /var/tmp/mkinitramfs_vBlw4a/lib/modules/5.18.0-2-amd64: No such file or
> directory

I also got such a warning on two of my machines. It seems to
be triggered when upgrading kmod (which provides depmod) to
30+20220630-1.

--
Vincent Lefèvre <vin...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Sven Joachim

unread,
Jul 4, 2022, 4:40:03 AM7/4/22
to
Control: tags -1 + patch

On 2022-07-04 10:00 +0200, Vincent Lefevre wrote:

> On 2022-07-04 15:01:13 +1000, Konomi Kitten wrote:
>> When update-initramfs runs I receive the following message:
>>
>> depmod: WARNING: could not open modules.builtin.modinfo at
>> /var/tmp/mkinitramfs_vBlw4a/lib/modules/5.18.0-2-amd64: No such file or
>> directory
>
> I also got such a warning on two of my machines. It seems to
> be triggered when upgrading kmod (which provides depmod) to
> 30+20220630-1.

Same here. The following patch takes care of the problem.

Cheers,
Sven

0001-Copy-modules.builtin.modinfo-into-initramfs.patch

Vincent Lefevre

unread,
Jul 4, 2022, 4:40:03 AM7/4/22
to
On 2022-07-04 10:00:04 +0200, Vincent Lefevre wrote:
> On 2022-07-04 15:01:13 +1000, Konomi Kitten wrote:
> > When update-initramfs runs I receive the following message:
> >
> > depmod: WARNING: could not open modules.builtin.modinfo at
> > /var/tmp/mkinitramfs_vBlw4a/lib/modules/5.18.0-2-amd64: No such file or
> > directory
>
> I also got such a warning on two of my machines. It seems to
> be triggered when upgrading kmod (which provides depmod) to
> 30+20220630-1.

And downgrading to kmod 29-1+b1 makes this warning disappear.

Diederik de Haas

unread,
Jul 6, 2022, 1:40:03 PM7/6/22
to
On Monday, 4 July 2022 10:00:04 CEST Vincent Lefevre wrote:
> On 2022-07-04 15:01:13 +1000, Konomi Kitten wrote:
> > When update-initramfs runs I receive the following message:
> >
> > depmod: WARNING: could not open modules.builtin.modinfo at
> > /var/tmp/mkinitramfs_vBlw4a/lib/modules/5.18.0-2-amd64: No such file or
> > directory
>
> I also got such a warning on two of my machines. It seems to
> be triggered when upgrading kmod (which provides depmod) to
> 30+20220630-1.

Just got an update which included kmod 30+20220630-1 and also got this warning
message.
signature.asc

Michael Biebl

unread,
Jul 7, 2022, 7:40:03 AM7/7/22
to

Control: severity -1 important

On Mon, 04 Jul 2022 15:01:13 +1000 Konomi Kitten
<konomi...@gmail.com> wrote:
> Package: initramfs-tools
> Version: 0.141
> Severity: minor
> X-Debbugs-Cc: konomi...@gmail.com
>
> When update-initramfs runs I receive the following message:
>
> depmod: WARNING: could not open modules.builtin.modinfo at
> /var/tmp/mkinitramfs_vBlw4a/lib/modules/5.18.0-2-amd64: No such file or
> directory


Unfortunately this is not a minor issue, as it breaks the autopkgtest
suite of initramfs-tools and thus prevents kmod from entering testing
(and dependent packages like systemd [1] as well).

It would thus be great to have the patch in [2] applied and uploaded
soon. I can offer to NMU if available time is an issue.

Regards,
Michael

[1] https://qa.debian.org/excuses.php?package=systemd
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014319#20
OpenPGP_signature

Salvatore Bonaccorso

unread,
Jul 9, 2022, 3:10:03 PM7/9/22
to
Hi,

On Thu, Jul 07, 2022 at 01:37:53PM +0200, Michael Biebl wrote:
>
> Control: severity -1 important
>
> On Mon, 04 Jul 2022 15:01:13 +1000 Konomi Kitten <konomi...@gmail.com>
> wrote:
> > Package: initramfs-tools
> > Version: 0.141
> > Severity: minor
> > X-Debbugs-Cc: konomi...@gmail.com
> >
> > When update-initramfs runs I receive the following message:
> >
> > depmod: WARNING: could not open modules.builtin.modinfo at
> > /var/tmp/mkinitramfs_vBlw4a/lib/modules/5.18.0-2-amd64: No such file or
> > directory
>
>
> Unfortunately this is not a minor issue, as it breaks the autopkgtest suite
> of initramfs-tools and thus prevents kmod from entering testing (and
> dependent packages like systemd [1] as well).
>
> It would thus be great to have the patch in [2] applied and uploaded soon. I
> can offer to NMU if available time is an issue.

With that patch MR filled:

https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests/64

Salvatore

Sedat Dilek

unread,
Jul 10, 2022, 7:30:03 AM7/10/22
to
Hi,

with the fix from Sven Joachim applied to mkinitramfs I do not see the
warning of kmod-30.

Feel free to add my:

Tested-by: Sedat Dilek <sedat...@gmail.com> # Debian/unstable AMD64

Thanks.

Regards,
-Sedat-

Michael Biebl

unread,
Jul 12, 2022, 12:10:04 PM7/12/22
to
Thanks for the patch, Sven and thanks for the MR, Salvatore!

Since we haven't received any feedback so far, I've uploaded an NMU with
the patch to DELAYED/5 (debdiff attached)

Ben, please holler if you have any objections and you want me to cancel
the NMU.

Regards,
Michael
initramfs-tools_0.141+nmu1.debdiff
OpenPGP_signature

Salvatore Bonaccorso

unread,
Jul 12, 2022, 3:00:03 PM7/12/22
to
Hi Michael,
personally i would prefer if we can do it a regular kernel-team
upload, there were some other changes pending.

Will ping Ben on IRC to ask. Otherwise I guess the NMU is fine.

Regards,
Salvatore

Michael Biebl

unread,
Jul 12, 2022, 3:30:03 PM7/12/22
to
Am 12.07.22 um 20:54 schrieb Salvatore Bonaccorso:
Nod, I'm more then happy to cancel the NMU if a regular upload is pending.

Regards,
Michael
OpenPGP_signature

Michael Biebl

unread,
Jul 13, 2022, 12:30:03 PM7/13/22
to
Am 12.07.22 um 20:54 schrieb Salvatore Bonaccorso:

> personally i would prefer if we can do it a regular kernel-team
> upload, there were some other changes pending.
>
> Will ping Ben on IRC to ask. Otherwise I guess the NMU is fine.

I've seen the upload. Thank you both!

OpenPGP_signature
0 new messages