You are not logged in.

#1 2022-09-06 15:52:44

omeletwithoutegg
Member
Registered: 2022-09-06
Posts: 7

[SOLVED] systemd-module-load failed insert module no such file or dire

In order to fix some problem of my screen, I installed [this kernel module](https://github.com/carlicious/intel_backlight_fix).

I ran

make
sudo make install
sudo make dkms

This module can be added to the kernel successfully, and it's working well.

sudo modprobe intel_backlight_fix
lsmod | grep intel_backlight

I also want it to be automatically loaded at boot, so I add a new file

/etc/modules-load.d/intel_backlight_fix.conf

and its content is

intel_backlight_fix

(from https://stackoverflow.com/questions/575 … matically)

However the module does not loaded after boot.
After some search I found that

systemd-modules-load

is the services that autoloads the modules specified in that directory.

The result of

sudo journalctl -eu systemd-modules-load

is

Sep 05 19:32:18 hostname systemd-modules-load[338]: Inserted module 'crypto_user'
Sep 05 19:32:18 hostname systemd-modules-load[338]: Failed to insert module 'intel_backlight_fix': No such file or directory
Sep 05 19:32:18 hostname systemd-modules-load[338]: Inserted module 'vboxdrv'
Sep 05 19:32:18 hostname systemd-modules-load[338]: Inserted module 'vboxnetadp'
Sep 05 19:32:18 hostname systemd-modules-load[338]: Inserted module 'vboxnetflt'
Sep 05 19:32:18 hostname systemd[1]: Finished Load Kernel Modules.

So how can I fix this and automatically load the module at boot?

Last edited by omeletwithoutegg (2022-09-15 16:46:06)

Offline

#2 2022-09-14 02:32:04

ectospasm
Member
Registered: 2015-08-28
Posts: 273

Re: [SOLVED] systemd-module-load failed insert module no such file or dire

You'll have to look at the configure script or the Makefile in the intel_backlight_fix source, to see where it's installing the module by default.  Most likely, systemd-module-load is not finding the necessary module file (intel_backlight_fix.ko, or whatever it's actually called) where all the other modules are found.

You will likely need to add a pacman hook that will recompile this module whenever a new kernel with headers gets installed.  I'd read up on DKMS before you continue.

Offline

#3 2022-09-14 07:09:17

omeletwithoutegg
Member
Registered: 2022-09-06
Posts: 7

Re: [SOLVED] systemd-module-load failed insert module no such file or dire

I think the hook has been set up, since when I update the linux packages, dkms does build something.

$ sudo pacman -S linux linux-headers
warning: linux-5.19.8.arch1-1 is up to date -- reinstalling
warning: linux-headers-5.19.8.arch1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (2) linux-5.19.8.arch1-1  linux-headers-5.19.8.arch1-1

Total Installed Size:  323.20 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n]
(2/2) checking keys in keyring                                                             [#####################################################] 100%
(2/2) checking package integrity                                                           [#####################################################] 100%
(2/2) loading package files                                                                [#####################################################] 100%
(2/2) checking for file conflicts                                                          [#####################################################] 100%
(2/2) checking available disk space                                                        [#####################################################] 100%
:: Running pre-transaction hooks...
(1/1) Remove upgraded DKMS modules
==> dkms remove --no-depmod intel_backlight_fix/1.0 -k 5.19.8-arch1-1
egrep: warning: egrep is obsolescent; using grep -E
==> dkms remove --no-depmod rtl8852be/r28.28daf8c -k 5.19.8-arch1-1
egrep: warning: egrep is obsolescent; using grep -E
==> dkms remove --no-depmod vboxhost/6.1.38_OSE -k 5.19.8-arch1-1
egrep: warning: egrep is obsolescent; using grep -E
:: Processing package changes...
(1/2) reinstalling linux                                                                   [#####################################################] 100%
(2/2) reinstalling linux-headers                                                           [#####################################################] 100%
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Updating module dependencies...
(3/5) Install DKMS modules
==> dkms install --no-depmod vboxhost/6.1.38_OSE -k 5.19.8-arch1-1
==> dkms install --no-depmod intel_backlight_fix/1.0 -k 5.19.8-arch1-1
==> dkms install --no-depmod rtl8852be/r28.28daf8c -k 5.19.8-arch1-1
==> depmod 5.19.8-arch1-1
(4/5) Updating linux initcpios...
......

The strange point is that both "vboxdrv" and "intel_backlight_fix" are dkms modules on my system, and their path is similar, but "systemd-modules-load" cannot find the latter.

The result of modinfo:

$ modinfo vboxdrv intel_backlight_fix
filename:       /lib/modules/5.19.8-arch1-1/updates/dkms/vboxdrv.ko.zst
version:        6.1.38 r153438 (0x00320000)
license:        GPL
description:    Oracle VM VirtualBox Support Driver
author:         Oracle Corporation
srcversion:     413A59053B8A91F73BFDA56
depends:
retpoline:      Y
name:           vboxdrv
vermagic:       5.19.8-arch1-1 SMP preempt mod_unload
sig_id:         PKCS#7
signer:         DKMS module signing key
sig_key:        #######
sig_hashalgo:   sha512
signature:      #######

parm:           force_async_tsc:force the asynchronous TSC mode (int)
filename:       /lib/modules/5.19.8-arch1-1/updates/dkms/intel_backlight_fix.ko.zst
license:        GPL
srcversion:     DDDE234A433D658D9F61837
depends:
retpoline:      Y
name:           intel_backlight_fix
vermagic:       5.19.8-arch1-1 SMP preempt mod_unload
sig_id:         PKCS#7
signer:         DKMS module signing key
sig_key:        ######
sig_hashalgo:   sha512
signature:      ######

The dkms.conf seems similar except the DEST_MODULE_LOCATION. I've change it to another place, but dkms still installed them to "/lib/modules/5.19.8-arch1-1/updates/dkms/".

PACKAGE_NAME="intel_backlight_fix"
PACKAGE_VERSION="1.0"
BUILT_MODULE_NAME[0]="$PACKAGE_NAME"
MAKE[0]="make KVERSION=$kernelver"
CLEAN="make KVERSION=$kernelver clean"
DEST_MODULE_LOCATION[0]="/updates/dkms"

# try to auto install on any kernel we boot into rather than manually using dkms.
AUTOINSTALL="yes"

https://github.com/archlinux/svntogit-c … -dkms.conf

Last edited by omeletwithoutegg (2022-09-14 07:10:27)

Offline

#4 2022-09-14 08:13:02

seth
Member
Registered: 2012-09-03
Posts: 51,042

Re: [SOLVED] systemd-module-load failed insert module no such file or dire

If you "systemctl restart systemd-modules-load" after the boot, does it succeed?
The module could fail for other reasons (eg. missing device node?) and system just reports nonsense as a generic error message.

Offline

#5 2022-09-14 16:15:29

omeletwithoutegg
Member
Registered: 2022-09-06
Posts: 7

Re: [SOLVED] systemd-module-load failed insert module no such file or dire

If I restart systemd-modules-load.service after the boot, it insert the module successfully.

$ sudo systemctl status systemd-modules-load.service
[sudo] password for USER:
● systemd-modules-load.service - Load Kernel Modules
     Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
     Active: active (exited) since Thu 2022-09-15 00:10:51 CST; 37s ago
       Docs: man:systemd-modules-load.service(8)
             man:modules-load.d(5)
    Process: 341 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=0/SUCCESS)
   Main PID: 341 (code=exited, status=0/SUCCESS)
        CPU: 35ms

Sep 15 00:10:51 HOST systemd-modules-load[341]: Inserted module 'crypto_user'
Sep 15 00:10:51 HOST systemd-modules-load[341]: Failed to insert module 'intel_backlight_fix': No such file or directory
Sep 15 00:10:51 HOST systemd-modules-load[341]: Inserted module 'vboxdrv'
Sep 15 00:10:51 HOST systemd-modules-load[341]: Inserted module 'vboxnetadp'
Sep 15 00:10:51 HOST systemd-modules-load[341]: Inserted module 'vboxnetflt'
Sep 15 00:10:51 HOST systemd[1]: Finished Load Kernel Modules.
Notice: journal has been rotated since unit was started, output may be incomplete.
$ sudo systemctl restart systemd-modules-load.service
$ sudo systemctl status systemd-modules-load.service
● systemd-modules-load.service - Load Kernel Modules
     Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
     Active: active (exited) since Thu 2022-09-15 00:11:37 CST; 4s ago
       Docs: man:systemd-modules-load.service(8)
             man:modules-load.d(5)
    Process: 2476 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=0/SUCCESS)
   Main PID: 2476 (code=exited, status=0/SUCCESS)
        CPU: 25ms

Sep 15 00:11:37 HOST systemd[1]: Starting Load Kernel Modules...
Sep 15 00:11:37 HOST systemd-modules-load[2476]: Inserted module 'intel_backlight_fix'
Sep 15 00:11:37 HOST systemd[1]: Finished Load Kernel Modules.

I'm more confused.

Offline

#6 2022-09-14 16:39:24

seth
Member
Registered: 2012-09-03
Posts: 51,042

Re: [SOLVED] systemd-module-load failed insert module no such file or dire

Check dmesg, there's probably a message from the module on the initial failure and looking at https://github.com/carlicious/intel_bac … ight_fix.c I'd assume it requires the presence of the backlight device.
It might help to load intel_backlight first, otherwise just create a service end enable if for the multi-user.target or use an udev rule that loads it when the backlight device shows up.

Offline

#7 2022-09-14 17:41:20

omeletwithoutegg
Member
Registered: 2022-09-06
Posts: 7

Re: [SOLVED] systemd-module-load failed insert module no such file or dire

Since the recent KDE plasma update seems to fix the brightness problem, I no longer need this module, so I didn't try to create a systemd service that enables this kernel module, but I still curious about what's going wrong here.

Below is the result of "sudo dmesg | rg --context=5 intel_backlight_fix -i".

[    1.402915] systemd[1]: Create System Users was skipped because of a failed condition check (ConditionNeedsUpdate=/etc).
[    1.403545] systemd[1]: Starting Create Static Device Nodes in /dev...
[    1.403832] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[    1.403918] systemd[1]: Finished Load Kernel Module fuse.
[    1.404701] systemd[1]: Mounting FUSE Control File System...
[    1.405292] intel_backlight_fix: loading out-of-tree module taints kernel.
[    1.405314] intel_backlight_fix: module verification failed: signature and/or required key missing - tainting kernel
[    1.405940] systemd[1]: Mounted FUSE Control File System.
[    1.408565] systemd[1]: Finished Load/Save Random Seed.
[    1.408602] audit: type=1130 audit(1663175201.193:2): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-random-seed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    1.408652] systemd[1]: First Boot Complete was skipped because of a failed condition check (ConditionFirstBoot=yes).
[    1.416700] [-] unable to register kprobe, returned -2
--
[   10.265721]  i2c_i801 spi_intel_pci spi_intel i2c_smbus soundcore mei_me cfg80211 mei intel_lpss_pci intel_lpss idma64 i915 drm_buddy processor_thermal_device_pci ttm processor_thermal_device processor_thermal_rfim drm_display_helper processor_thermal_mbox processor_thermal_rapl intel_vsec cec ucsi_acpi intel_rapl_common intel_gtt igen6_edac typec_ucsi typec roles wmi int3403_thermal int340x_thermal_zone i2c_hid_acpi i2c_hid xt_conntrack tpm_crb xt_MASQUERADE tpm_tis tpm_tis_core nf_conntrack_netlink video tpm nfnetlink rng_core intel_hid sparse_keymap int3400_thermal acpi_thermal_rel xt_addrtype iptable_filter iptable_nat nf_nat acpi_tad acpi_pad nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c br_netfilter bridge stp llc overlay rfkill coretemp vfat fat vboxnetflt(OE) vboxnetadp(OE) vboxdrv(OE) mac_hid crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw rtsx_pci_sdmmc atkbd mmc_core libps2 vivaldi_fmap nvme xhci_pci crc32c_intel
[   10.265788]  nvme_core xhci_pci_renesas rtsx_pci i8042 serio
[   10.265792] Unloaded tainted modules: acpi_cpufreq():1 acer_wmi():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1
[   10.265843]  acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1
[   10.265892]  acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 asus_ec_sensors():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 fjes():1 acpi_cpufreq():1 acpi_cpufreq():1 fjes():1 pcc_cpufreq():1 pcc_cpufreq():1 fjes():1 acpi_cpufreq():1 fjes():1 acpi_cpufreq():1 pcc_cpufreq():1 fjes():1 pcc_cpufreq():1 acpi_cpufreq():1 fjes():1 asus_ec_sensors():1 acpi_cpufreq():1 pcc_cpufreq():1 fjes():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 fjes():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1
[   10.265945]  acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 intel_backlight_fix(OE):1
[   10.265952] CPU: 4 PID: 431 Comm: NetworkManager Tainted: G           OE     5.19.8-arch1-1 #1 77c73fbc69e5917a4a5fc88b6b86ffcd33d91c44
[   10.265957] Hardware name: HP HP Pavilion Plus Laptop 14-eh0xxx/8A36, BIOS F.03 04/15/2022
[   10.265959] RIP: 0010:dev_addr_check.cold+0x43/0x74
[   10.265964] Code: 01 e8 68 03 fb ff 0f 0b 48 c7 c5 64 d6 0a ac 80 3b 00 75 27 48 c7 c6 6f d6 0a ac 48 89 ea 48 c7 c7 e0 4b 18 ac e8 44 03 fb ff <0f> 0b e9 34 f1 da ff 48 8b 2c d5 e0 5a e0 ab eb d4 be 25 00 00 00
[   10.265967] RSP: 0018:ffffb13c412d76d0 EFLAGS: 00010282
--
[   10.551918]  soundwire_bus snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi 8852be(OE) snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_timer snd i2c_i801 spi_intel_pci spi_intel i2c_smbus soundcore mei_me cfg80211 mei intel_lpss_pci intel_lpss idma64 i915 drm_buddy processor_thermal_device_pci ttm processor_thermal_device processor_thermal_rfim drm_display_helper processor_thermal_mbox processor_thermal_rapl intel_vsec cec ucsi_acpi intel_rapl_common intel_gtt igen6_edac typec_ucsi typec roles wmi int3403_thermal int340x_thermal_zone i2c_hid_acpi i2c_hid xt_conntrack tpm_crb xt_MASQUERADE tpm_tis tpm_tis_core nf_conntrack_netlink video tpm nfnetlink rng_core intel_hid sparse_keymap int3400_thermal acpi_thermal_rel xt_addrtype iptable_filter iptable_nat nf_nat acpi_tad acpi_pad nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c br_netfilter bridge stp llc overlay rfkill coretemp vfat fat vboxnetflt(OE) vboxnetadp(OE) vboxdrv(OE)
[   10.551976]  mac_hid crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw rtsx_pci_sdmmc atkbd mmc_core libps2 vivaldi_fmap nvme xhci_pci crc32c_intel nvme_core xhci_pci_renesas rtsx_pci i8042 serio
[   10.551993] Unloaded tainted modules: acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 acer_wmi():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1
[   10.552036]  acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1
[   10.552075]  acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 asus_ec_sensors():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 fjes():1 acpi_cpufreq():1 acpi_cpufreq():1 fjes():1 pcc_cpufreq():1 pcc_cpufreq():1 fjes():1 acpi_cpufreq():1 fjes():1 acpi_cpufreq():1 pcc_cpufreq():1 fjes():1 pcc_cpufreq():1 acpi_cpufreq():1 fjes():1 asus_ec_sensors():1 acpi_cpufreq():1 pcc_cpufreq():1 fjes():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 fjes():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1
[   10.552118]  pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 intel_backlight_fix(OE):1
[   10.552128] CPU: 2 PID: 431 Comm: NetworkManager Tainted: G        W  OE     5.19.8-arch1-1 #1 77c73fbc69e5917a4a5fc88b6b86ffcd33d91c44
[   10.552132] Hardware name: HP HP Pavilion Plus Laptop 14-eh0xxx/8A36, BIOS F.03 04/15/2022
[   10.552134] RIP: 0010:dev_addr_check.cold+0x43/0x74
[   10.552138] Code: 01 e8 68 03 fb ff 0f 0b 48 c7 c5 64 d6 0a ac 80 3b 00 75 27 48 c7 c6 6f d6 0a ac 48 89 ea 48 c7 c7 e0 4b 18 ac e8 44 03 fb ff <0f> 0b e9 34 f1 da ff 48 8b 2c d5 e0 5a e0 ab eb d4 be 25 00 00 00
[   10.552139] RSP: 0018:ffffb13c412d7770 EFLAGS: 00010286
--
[   14.801462]  vboxnetflt(OE) vboxnetadp(OE) vboxdrv(OE) mac_hid crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw rtsx_pci_sdmmc atkbd mmc_core libps2 vivaldi_fmap nvme xhci_pci crc32c_intel nvme_core xhci_pci_renesas rtsx_pci i8042 serio
[   14.801485] Unloaded tainted modules: pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1
[   14.801540]  pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 acer_wmi():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1
[   14.801590]  acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1
[   14.801637]  acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 asus_ec_sensors():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 fjes():1 acpi_cpufreq():1 acpi_cpufreq():1 fjes():1 pcc_cpufreq():1 pcc_cpufreq():1 fjes():1 acpi_cpufreq():1 fjes():1 acpi_cpufreq():1 pcc_cpufreq():1 fjes():1 pcc_cpufreq():1 acpi_cpufreq():1 fjes():1 asus_ec_sensors():1 acpi_cpufreq():1 pcc_cpufreq():1 fjes():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 fjes():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1
[   14.801691]  pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 intel_backlight_fix(OE):1
[   14.801703] CPU: 0 PID: 431 Comm: NetworkManager Tainted: G        W  OE     5.19.8-arch1-1 #1 77c73fbc69e5917a4a5fc88b6b86ffcd33d91c44
[   14.801708] Hardware name: HP HP Pavilion Plus Laptop 14-eh0xxx/8A36, BIOS F.03 04/15/2022
[   14.801710] RIP: 0010:dev_addr_check.cold+0x43/0x74
[   14.801716] Code: 01 e8 68 03 fb ff 0f 0b 48 c7 c5 64 d6 0a ac 80 3b 00 75 27 48 c7 c6 6f d6 0a ac 48 89 ea 48 c7 c7 e0 4b 18 ac e8 44 03 fb ff <0f> 0b e9 34 f1 da ff 48 8b 2c d5 e0 5a e0 ab eb d4 be 25 00 00 00
[   14.801718] RSP: 0018:ffffb13c412d77a0 EFLAGS: 00010282

So should I somehow "sign" the module to make it usable? Or how can I check the required module of intel_backlight_fix? It seems that intel_backlight is not required (It even does not exists on my machine).

Offline

#8 2022-09-14 19:45:15

seth
Member
Registered: 2012-09-03
Posts: 51,042

Re: [SOLVED] systemd-module-load failed insert module no such file or dire

So should I somehow "sign" the module to make it usable?

No, that message says that you loaded some unvetted stuff and the kernel flags itself for that (for bug reports) - you can ignore that.

[    1.405292] intel_backlight_fix: loading out-of-tree module taints kernel.
[    1.405314] intel_backlight_fix: module verification failed: signature and/or required key missing - tainting kernel

Doesn't read like a failure to load the module at all; it then shows up around a kernel oops and no idea what the other two segments want to have matched.

Please post a complete system journal from a boot where the module loading initally failed ("sudo journalct -b | curl -F 'file=@-' 0x0.st" for the current one, "… -b -1 …" for the previous one etc.)

Offline

#9 2022-09-15 00:16:56

omeletwithoutegg
Member
Registered: 2022-09-06
Posts: 7

Re: [SOLVED] systemd-module-load failed insert module no such file or dire

These are the current journal & previous journal:
current: http://0x0.st/oOLE.txt
previous: http://0x0.st/oOLI.txt

edit: here is the one with successfull restart http://0x0.st/oOLU.txt

Last edited by omeletwithoutegg (2022-09-15 00:20:55)

Offline

#10 2022-09-15 08:27:39

seth
Member
Registered: 2012-09-03
Posts: 51,042

Re: [SOLVED] systemd-module-load failed insert module no such file or dire

http://0x0.st/oOLE.txt and http://0x0.st/oOLU.txt seem to be the same boot.
The pattern is always the same:

Sep 15 01:06:41 omelet-HP-pavilion kernel: intel_backlight_fix: loading out-of-tree module taints kernel.
…
Sep 15 01:06:41 omelet-HP-pavilion systemd-modules-load[338]: Failed to insert module 'intel_backlight_fix': No such file or directory
…
Sep 15 01:06:50 omelet-HP-pavilion systemd[1]: Created slice Slice /system/systemd-backlight.
Sep 15 01:06:50 omelet-HP-pavilion systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:intel_backlight...
Sep 15 01:06:50 omelet-HP-pavilion systemd[1]: Finished Load/Save Screen Backlight Brightness of backlight:intel_backlight.

You're trying to load the module before the systemd-backlight service (most likely) loads intel_backlight.
Therefore it'd also work afterwards.

The kernel oopsies are all unleated:

netdevice: wlo1: Incorrect netdev->dev_addr

From the context disabling https://wiki.archlinux.org/title/Networ … domization might help w/ that.

Offline

#11 2022-09-15 15:14:13

omeletwithoutegg
Member
Registered: 2022-09-06
Posts: 7

Re: [SOLVED] systemd-module-load failed insert module no such file or dire

I'm not quite understand, does this mean that I cannot just add some dependency kernel modules in /etc/modules-load.d before "intel_backlight_fix" and fix the failure?

---

Also, I tried to disable MAC address randomization,

# /etc/NetworkManager/conf.d/wifi_rand_mac.conf
[device]
wifi.scan-rand-mac-address=no

but the error "netdevice: wlo1: Incorrect netdev->dev_addr" still occurs.

Maybe it's because I'm using this https://aur.archlinux.org/packages/rtl8852be-dkms-git.
The upstream repo has been archived, and I haven't tried the alternative driver https://github.com/lwfinger/rtw8852be (mentioned in https://github.com/HRex39/rtl8852be/blob/main/README.md )

Offline

#12 2022-09-15 15:31:40

seth
Member
Registered: 2012-09-03
Posts: 51,042

Re: [SOLVED] systemd-module-load failed insert module no such file or dire

Adding intel_backlight before intel_backlight_fix *might* work, otherwise I'd wait for the systemd-backlight service - in any event the service for intel_backlight kicks in fairly late and much after the attempt to load that intel_backlight_fix module (which is described as an ugly hack and will most likely make blind assumptions about the condition of the system - notably the backlight device present and intel_backlight being loaded)

Offline

#13 2022-09-15 16:47:18

omeletwithoutegg
Member
Registered: 2022-09-06
Posts: 7

Re: [SOLVED] systemd-module-load failed insert module no such file or dire

Thanks for giving so many detailed advises!

After some attempt I got this systemd unit. It automatically inserts the kernel module without failure.

# /etc/systemd/system/intel_backlight_fix.service
[Unit]
After=multi-user.target
Wants=systemd-backlight@backlight:intel_backlight.service

[Service]
ExecStart=/usr/bin/modprobe intel_backlight_fix
Type=simple

[Install]
WantedBy=multi-user.target

It's quite ugly, and as I mentioned, I no longer need this module, so I won't use this service.
I'll mark this question as solved.

Offline

Board footer

Powered by FluxBB