Jump to content

modinfo: ERROR: Module ... not found.


IgorS

Recommended Posts

Hi,

Please help.

I am building kernel using armbian build system for a long time, but in past two releases of current kernel (5.15.23 and 5.15.53) I am getting errors while installing:


modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/drivers/cdrom/cdrom.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/isofs/isofs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/jfs/jfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/reiserfs/reiserfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/udf/udf.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/xfs/xfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/netfs/netfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/fscache/fscache.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/net/sunrpc/sunrpc.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/nfs_common/grace.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/lockd/lockd.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/nfs/nfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/nfs/nfsv2.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/nfs_common/nfs_acl.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/nfs/nfsv3.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/nfs/nfsv4.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/drivers/input/mouse/psmouse.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/fs/nls/nls_iso8859-1.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/drivers/extcon/extcon-usb-gpio.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/lib/842/842_decompress.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.24-sunxi/kernel/drivers/md/dm-mod.ko.xz not found.
 

but kernel works and all listed modules are in place when I look with ls.

 

Is this kernel corrupt or can I ignore this messages?

Link to comment
Share on other sites

On 2/19/2022 at 12:42 PM, IgorS said:

I am building kernel using armbian build system


There were some changes in the packaging process, but we didn't notice this kind of troubles. Can you provide more info - are you changing anything in the build process and what? How to reproduce this?

 

@goingAny clues?

Link to comment
Share on other sites

I tested today with same result.

 

My machine is virtual machine under proxmox:

igor@armbian:~/trash$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.4 LTS
Release:        20.04
Codename:       focal
igor@armbian:~/trash$ uname -a
Linux armbian 5.4.0-102-generic #115-Ubuntu SMP Wed Feb 23 14:57:18 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
igor@armbian:~/trash$ free
              total        used        free      shared  buff/cache   available
Mem:        8149732      282268     1862724        2488     6004740     7553428
Swap:       8388604        3584     8385020
igor@armbian:~/trash$ 

 

All OS updates are installed

 

To be sure, I started from the begiining with: 

rm -rf build

git clone --depth 1 https://github.com/armbian/build

cd build

./compile.sh

I choose:

U-boot and kernel packages

Do not change the kernel configuration

orangepione           Allwinner H3 quad core 512MB RAM SoC

current  Recommended. Come with best support

 

After compilation done, copied packages to my test system and installed them:

igor@honeypot:~/trash/kernel$ ls -1
armbian-config_22.05.0-trunk_all.deb
armbian-firmware_22.05.0-trunk_all.deb
linux-dtb-current-sunxi_22.05.0-trunk_armhf.deb
linux-headers-current-sunxi_22.05.0-trunk_armhf.deb
linux-image-current-sunxi_22.05.0-trunk_armhf.deb
linux-libc-dev_22.05.0-trunk_armhf.deb
linux-u-boot-current-orangepione_22.05.0-trunk_armhf.deb
igor@honeypot:~/trash/kernel$ sudo dpkg -i *
[sudo] password for igor:.............
(Reading database ... 77393 files and directories currently installed.)
Preparing to unpack armbian-config_22.05.0-trunk_all.deb ...
Unpacking armbian-config (22.05.0-trunk) over (22.02.18) ...
Preparing to unpack armbian-firmware_22.05.0-trunk_all.deb ...
Unpacking armbian-firmware (22.05.0-trunk) over (22.02.18) ...
Preparing to unpack linux-dtb-current-sunxi_22.05.0-trunk_armhf.deb ...
Unpacking linux-dtb-current-sunxi (22.05.0-trunk) over (22.02.18) ...
Preparing to unpack linux-headers-current-sunxi_22.05.0-trunk_armhf.deb ...
Unpacking linux-headers-current-sunxi (22.05.0-trunk) over (22.02.18) ...
Preparing to unpack linux-image-current-sunxi_22.05.0-trunk_armhf.deb ...
update-initramfs: Deleting /boot/initrd.img-5.10.96-sunxi
Removing obsolete file uInitrd-5.10.96-sunxi
Unpacking linux-image-current-sunxi (22.05.0-trunk) over (22.02.18) ...
Preparing to unpack linux-libc-dev_22.05.0-trunk_armhf.deb ...
Unpacking linux-libc-dev:armhf (22.05.0-trunk) over (22.02.18) ...
Preparing to unpack linux-u-boot-current-orangepione_22.05.0-trunk_armhf.deb ...
Unpacking linux-u-boot-orangepione-current (22.05.0-trunk) over (22.02.18) ...
Setting up armbian-config (22.05.0-trunk) ...
Setting up armbian-firmware (22.05.0-trunk) ...
Setting up linux-dtb-current-sunxi (22.05.0-trunk) ...
Setting up linux-headers-current-sunxi (22.05.0-trunk) ...
Compiling headers - please wait ...
Setting up linux-image-current-sunxi (22.05.0-trunk) ...
update-initramfs: Generating /boot/initrd.img-5.15.26-sunxi
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/drivers/cdrom/cdrom.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/isofs/isofs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/jfs/jfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/reiserfs/reiserfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/udf/udf.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/xfs/xfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/netfs/netfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/fscache/fscache.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/net/sunrpc/sunrpc.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs_common/grace.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/lockd/lockd.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs/nfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs/nfsv2.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs_common/nfs_acl.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs/nfsv3.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs/nfsv4.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/drivers/input/mouse/psmouse.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nls/nls_iso8859-1.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/drivers/extcon/extcon-usb-gpio.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/lib/842/842_decompress.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/drivers/md/dm-mod.ko.xz not found.
update-initramfs: Converting to u-boot format
Setting up linux-libc-dev:armhf (22.05.0-trunk) ...
Setting up linux-u-boot-orangepione-current (22.05.0-trunk) ...
igor@honeypot:~/trash/kernel$

 

My test system is OrangePi One:

igor@honeypot:~/trash$ lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 18.04.6 LTS
Release:    18.04
Codename:    bionic

 

So, I have no idea whats's wrong.

Attached please find compressed build/debug  directory if this can help to identify problem.

debug.tgz

Link to comment
Share on other sites

Unfortunatelly same story. Built in clean impish install:

igor@honeypot:~/trash/kernel$ ls -1
armbian-config_22.05.0-trunk_all.deb
armbian-firmware_22.05.0-trunk_all.deb
linux-dtb-current-sunxi_22.05.0-trunk_armhf.deb
linux-headers-current-sunxi_22.05.0-trunk_armhf.deb
linux-image-current-sunxi_22.05.0-trunk_armhf.deb
linux-libc-dev_22.05.0-trunk_armhf.deb
linux-u-boot-current-orangepione_22.05.0-trunk_armhf.deb
igor@honeypot:~/trash/kernel$ sudo dpkg -i *
[sudo] password for igor:             
(Reading database ... 77393 files and directories currently installed.)
Preparing to unpack armbian-config_22.05.0-trunk_all.deb ...
Unpacking armbian-config (22.05.0-trunk) over (22.02.18) ...
Preparing to unpack armbian-firmware_22.05.0-trunk_all.deb ...
Unpacking armbian-firmware (22.05.0-trunk) over (22.02.18) ...
Preparing to unpack linux-dtb-current-sunxi_22.05.0-trunk_armhf.deb ...
Unpacking linux-dtb-current-sunxi (22.05.0-trunk) over (22.02.18) ...
Preparing to unpack linux-headers-current-sunxi_22.05.0-trunk_armhf.deb ...
Unpacking linux-headers-current-sunxi (22.05.0-trunk) over (22.02.18) ...
Preparing to unpack linux-image-current-sunxi_22.05.0-trunk_armhf.deb ...
update-initramfs: Deleting /boot/initrd.img-5.10.96-sunxi
Removing obsolete file uInitrd-5.10.96-sunxi
Unpacking linux-image-current-sunxi (22.05.0-trunk) over (22.02.18) ...
Preparing to unpack linux-libc-dev_22.05.0-trunk_armhf.deb ...
Unpacking linux-libc-dev:armhf (22.05.0-trunk) over (22.02.18) ...
Preparing to unpack linux-u-boot-current-orangepione_22.05.0-trunk_armhf.deb ...
Unpacking linux-u-boot-orangepione-current (22.05.0-trunk) over (22.02.18) ...
Setting up armbian-config (22.05.0-trunk) ...
Setting up armbian-firmware (22.05.0-trunk) ...
Setting up linux-dtb-current-sunxi (22.05.0-trunk) ...
Setting up linux-headers-current-sunxi (22.05.0-trunk) ...
Compiling headers - please wait ...
Setting up linux-image-current-sunxi (22.05.0-trunk) ...
update-initramfs: Generating /boot/initrd.img-5.15.26-sunxi
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/drivers/cdrom/cdrom.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/isofs/isofs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/jfs/jfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/reiserfs/reiserfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/udf/udf.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/xfs/xfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/netfs/netfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/fscache/fscache.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/net/sunrpc/sunrpc.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs_common/grace.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/lockd/lockd.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs/nfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs/nfsv2.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs_common/nfs_acl.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs/nfsv3.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nfs/nfsv4.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/drivers/input/mouse/psmouse.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/fs/nls/nls_iso8859-1.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/drivers/extcon/extcon-usb-gpio.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/lib/842/842_decompress.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.26-sunxi/kernel/drivers/md/dm-mod.ko.xz not found.
update-initramfs: Converting to u-boot format
Setting up linux-libc-dev:armhf (22.05.0-trunk) ...
Setting up linux-u-boot-orangepione-current (22.05.0-trunk) ...

 

Link to comment
Share on other sites

18 minutes ago, IgorS said:

while on bionic errors appeared.

 

https://github.com/armbian/build/blob/master/config/distributions/bionic/support
Bionic has no more support status from our perspective. We don't test it anymore nor fix bugs. Focal is going to be old stable in 2 months after Jammy got out. We can't deal with that many options ...

Link to comment
Share on other sites

03.03.2022 в 13:17, IgorS сказал:

My machine is virtual machine under proxmox:

igor@armbian:~/trash$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.4 LTS
Release:        20.04
Codename:       focal

 

03.03.2022 в 13:17, IgorS сказал:

My test system is OrangePi One:

igor@honeypot:~/trash$ lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 18.04.6 LTS
Release:    18.04
Codename:    bionic

 

I think you were lucky and you saw the tip of the iceberg and changed course at the right moment.

 

03.03.2022 в 09:32, Igor сказал:

@goingAny clues?

 

@Igor I can only say what is the logic of building a package in another build system.

The first thing I have to specify is the name and version of the OS for which I need to build the package. Secondly,

I have to choose the virtual machine option. Next, a clean build environment for this particular operating system

will be created inside the specified VM. And I see all the build errors and dependency issues.

It is this logic that is implemented in the current Armbian for assembly in a chroot environment.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines