Image Build Error: file not found - modules.builtin.modinfo

This forum is for discussion about general software issues.

Image Build Error: file not found - modules.builtin.modinfo

Postby JohnBell » Tue Dec 20, 2022 10:43 am

Hi,

when I build my ramdiks I get this error: ERROR: file not found: `/lib/modules/4.14.180-3-ARCH/modules.builtin.modinfo' was not found.

I checked that
  • /boot is mounted
  • pacman-mirrorlist is up to date
  • pacman and uname report the same kernel
but still got the same error

$this->bbcode_second_pass_code('', '
# mkinitcpio -P
==> Building image from preset: /etc/mkinitcpio.d/linux-odroid-xu3.preset: 'default'
-> -k 4.14.180-3-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 4.14.180-3-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [kms]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> ERROR: file not found: `/lib/modules/4.14.180-3-ARCH/modules.builtin.modinfo'
depmod: WARNING: could not open modules.builtin.modinfo at /tmp/mkinitcpio.KbNSsj/root/lib/modules/4.14.180-3-ARCH: No such file or directory
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> WARNING: errors were encountered during the build. The image may not be complete.
')

$this->bbcode_second_pass_code('', '
# pacman -Qi linux
Name : linux-odroid-xu3
Version : 4.14.180-3
Description : The Linux Kernel and modules - ODROID-XU3/XU4/HC1
Architecture : armv7h
URL : https://github.com/hardkernel/linux
Licenses : GPL2
Groups : None
Provides : kernel26 linux=4.14.180
Depends On : coreutils linux-firmware kmod mkinitcpio>=0.7
Optional Deps : crda: to set the correct wireless channels of your country
Required By : None
Optional For : None
Conflicts With : linux
Replaces : None
Installed Size : 58.32 MiB
Packager : Arch Linux ARM Build System <builder+xu1@archlinuxarm.org>
Build Date : Sat Jun 5 22:12:43 2021
Install Date : Mon Dec 19 21:43:27 2022
Install Reason : Explicitly installed
Install Script : Yes
Validated By : Signature
')

$this->bbcode_second_pass_code('', '
# uname -a
Linux homeserver 4.14.180-3-ARCH #1 SMP PREEMPT Sat Jun 5 22:29:47 UTC 2021 armv7l GNU/Linux
')

This thread suggested that I should downgrade kmod to v29. But if I do it I can also not build the image because of many wrong dependencies: https://bbs.archlinux.org/viewtopic.php?id=277772

This thread seems to be related. But I don't understand it completely and I don't know where I could download the `modules.builtin.modinfo` from. https://archlinuxarm.org/forum/viewtopic.php?f=60&t=16097&p=69694&hilit=modules.builtin.modinfo#p69694

When I check my modules dir. The missing file is not there:

$this->bbcode_second_pass_code('', '
]# ls -al /lib/modules/4.14.180-3-ARCH/
total 2020
drwxr-xr-x 3 root root 4096 Dec 19 21:43 .
drwxr-xr-x 4 root root 4096 Jun 30 2021 ..
lrwxrwxrwx 1 root root 31 Jun 5 2021 extramodules -> ../extramodules-4.14-odroid-xu3
drwxr-xr-x 9 root root 4096 Jun 30 2021 kernel
-rw-r--r-- 1 root root 550855 Dec 19 21:43 modules.alias
-rw-r--r-- 1 root root 573064 Dec 19 21:43 modules.alias.bin
-rw-r--r-- 1 root root 11132 Jun 5 2021 modules.builtin
-rw-r--r-- 1 root root 0 Dec 19 21:43 modules.builtin.alias.bin
-rw-r--r-- 1 root root 13539 Dec 19 21:43 modules.builtin.bin
-rw-r--r-- 1 root root 144136 Dec 19 21:43 modules.dep
-rw-r--r-- 1 root root 224597 Dec 19 21:43 modules.dep.bin
-rw-r--r-- 1 root root 252 Dec 19 21:43 modules.devname
-rw-r--r-- 1 root root 73224 Jun 5 2021 modules.order
-rw-r--r-- 1 root root 409 Dec 19 21:43 modules.softdep
-rw-r--r-- 1 root root 196542 Dec 19 21:43 modules.symbols
-rw-r--r-- 1 root root 245793 Dec 19 21:43 modules.symbols.bin
')

I haven't tried a reboot yet because I run this system as a server and its a bit of an effort do connect a monitor and a keyboard to it in case it will not boot again.
It seems to have something todo with odroid xu3 not getting the latest kernel but only 4.14.180-3-ARCH.
JohnBell
 
Posts: 3
Joined: Mon Dec 19, 2022 9:26 pm

Re: Image Build Error: file not found - modules.builtin.modi

Postby nomasteryoda » Tue Dec 20, 2022 4:54 pm

Same errors here.
nomasteryoda
 
Posts: 2
Joined: Tue Jul 02, 2019 2:54 am

Re: Image Build Error: file not found - modules.builtin.modi

Postby JohnBell » Wed Dec 21, 2022 9:03 am

I did a reboot today and it worked. Also I have not experienced any other problems.
So I don't know. Maybe this error can be ignore. :?
JohnBell
 
Posts: 3
Joined: Mon Dec 19, 2022 9:26 pm

Re: Image Build Error: file not found - modules.builtin.modi

Postby Julia33 » Wed Jan 04, 2023 4:27 pm

same error here
Julia33
 
Posts: 1
Joined: Wed Jan 04, 2023 4:14 pm


Return to General

Who is online

Users browsing this forum: No registered users and 25 guests