You are not logged in.
Hi guys,
I have a problem similar to https://bbs.archlinux.org/viewtopic.php?id=277750. The problem starts appearing when upgrading the kernel from 5.18.7 to 5.18.9. Downgrading the kernel or using linux-lts is a workaround but obviously I cannot stick to an outdated kernel indefinitely.
Contrary to the thread linked above, I am using nvidia-470xx-dkms for some time already (the video card is a GTX 670) and thus switching from nvidia to nvidia-470xx-dkms won't solve the issue for me.
Here is a broken boot: https://pastebin.com/x1K7aq5w
Here is a working boot: https://pastebin.com/yp08xEDm
As you can see, neither is displaying the "Missing ENDBR" message, so I assume that the proposal of adding
ibt=offwon't help in my case.
In the broken boot's log there are the lines
Jul 07 08:07:58 photon-desktop kernel: nvidia: loading out-of-tree module taints kernel.
Jul 07 08:07:58 photon-desktop kernel: nvidia: module license 'NVIDIA' taints kernel.
Jul 07 08:07:58 photon-desktop kernel: Disabling lock debugging due to kernel taint
Jul 07 08:07:58 photon-desktop kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
Jul 07 08:07:58 photon-desktop kernel: module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 2, loc 0000000053f92f8e, val ffffffffc0d54ccb
Jul 07 08:07:58 photon-desktop kernel: module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 2, loc 0000000053f92f8e, val ffffffffc0d54ccb
Jul 07 08:07:58 photon-desktop kernel: module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 2, loc 0000000053f92f8e, val ffffffffc0d54ccb
[...]
Jul 07 08:07:58 photon-desktop systemd-modules-load[225]: Failed to insert module 'nvidia_uvm': Exec format error
[...]
Jul 07 08:07:58 photon-desktop systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Jul 07 08:07:58 photon-desktop systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Jul 07 08:07:58 photon-desktop systemd[1]: Failed to start Load Kernel Modules.However, I don't really know where to go from here. Thanks for any input!
PhotonX
Last edited by PhotonX (2022-07-07 09:29:54)
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline
Jul 07 08:07:58 photon-desktop systemd-modules-load[225]: Failed to insert module 'nvidia_uvm': Exec format errorsounds like a version mismatch and you also seem to have the nvidia modules in the initramfs?
dkms status
lsmod | grep nvidia
modprobe -v nvidiaOffline
Thanks for your reply!
sounds like a version mismatch and you also seem to have the nvidia modules in the initramfs?
I'm not sure, how do I know?
dkms status
Deprecated feature: REMAKE_INITRD
akvcam/1.2.2, 5.15.52-1-lts, x86_64: installed
Deprecated feature: REMAKE_INITRD
Deprecated feature: REMAKE_INITRD
akvcam/1.2.2, 5.18.9-arch1-1, x86_64: installed
Deprecated feature: REMAKE_INITRD
nvidia/470.129.06, 5.15.52-1-lts, x86_64: installed
nvidia/470.129.06, 5.18.9-arch1-1, x86_64: installed
vboxhost/5.2.0: added
vboxhost/6.1.34_OSE, 5.15.52-1-lts, x86_64: installed
vboxhost/6.1.34_OSE, 5.18.9-arch1-1, x86_64: installedlsmod | grep nvidia
The output is empty, so the module isn't loaded, I guess.
modprobe -v nvidia
modprobe: ERROR: could not insert 'nvidia': Exec format error
insmod /lib/modules/5.18.9-arch1-1/updates/dkms/nvidia.ko.zst Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline
You've installed the dkms module for 5.18.9-arch1-1 but it doesn't load.
Try ibt=off regardless and if that doesn't work, rebuild the module - https://wiki.archlinux.org/title/Dynami … ld_modules
Pay attention to warnings/erros during the build process.
Offline
ibt=off didn't make any difference.
Trying to rebuild the module doesn't work because the module is already there:
$ dkms install nvidia/470.129.06
Module nvidia/470.129.06 already installed on kernel 5.18.9-arch1-1 (x86_64).However I now looked into the /var/lib/dkms/nvidia/470.129.06/5.18.9-arch1-1/x86_64/log/make.log (from some build in the past) and see many of
/var/lib/dkms/nvidia/470.129.06/build/nvidia.prelink.o: warning: objtool: _nv003098rm()+0x8d0d: relocation to !ENDBR: _nv018395rm()+0x0So I guess, I will remove the nvidia 470 packages, boot with ibt=off and install them. Looks like this ibt=off is needed at build time and not at run time...
Last edited by PhotonX (2022-07-07 08:51:11)
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline
ibt=off solved the issue for me, thanks again for your support!
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline