You are not logged in.

#1 2021-02-04 08:27:50

Roken
Member
From: UK
Registered: 2012-01-16
Posts: 1,157

[SOLVED] dkms failures

Today I upgraded my kernels (and associated headers) to Linux 5.10.13 and 5.10.13-zen, and dkms failed (leaving me with an incomplete boot).

I've finally managed to get to a working system by uninstalling dkms and dkms packages, installing the bare nvidia driver and booting to the stock (non-zen) kernel.

pacman.log shows:

[2021-02-04T06:47:39+0000] [ALPM] transaction completed
[2021-02-04T06:47:40+0000] [ALPM] running '30-systemd-daemon-reload.hook'...
[2021-02-04T06:47:40+0000] [ALPM] running '30-systemd-tmpfiles.hook'...
[2021-02-04T06:47:40+0000] [ALPM] running '30-systemd-udev-reload.hook'...
[2021-02-04T06:47:40+0000] [ALPM] running '30-systemd-update.hook'...
[2021-02-04T06:47:40+0000] [ALPM] running '60-depmod.hook'...
[2021-02-04T06:47:52+0000] [ALPM] running '70-dkms-install.hook'...
[2021-02-04T06:47:52+0000] [ALPM-SCRIPTLET] ==> dkms install --no-depmod -m acpi_call -v 1.2.1 -k 5.10.13-arch1-1
[2021-02-04T06:47:54+0000] [ALPM-SCRIPTLET] Error! Bad return status for module build on kernel: 5.10.13-arch1-1 (x86_64)
[2021-02-04T06:47:54+0000] [ALPM-SCRIPTLET] Consult /var/lib/dkms/acpi_call/1.2.1/build/make.log for more information.
[2021-02-04T06:47:54+0000] [ALPM-SCRIPTLET] ==> Warning, `dkms install --no-depmod -m acpi_call -v 1.2.1 -k 5.10.13-arch1-1' returned 10
[2021-02-04T06:47:54+0000] [ALPM-SCRIPTLET] ==> dkms install --no-depmod -m nvidia -v 460.39 -k 5.10.13-arch1-1
[2021-02-04T06:48:17+0000] [ALPM-SCRIPTLET] Error! Bad return status for module build on kernel: 5.10.13-arch1-1 (x86_64)
[2021-02-04T06:48:17+0000] [ALPM-SCRIPTLET] Consult /var/lib/dkms/nvidia/460.39/build/make.log for more information.
[2021-02-04T06:48:17+0000] [ALPM-SCRIPTLET] ==> Warning, `dkms install --no-depmod -m nvidia -v 460.39 -k 5.10.13-arch1-1' returned 10
[2021-02-04T06:48:17+0000] [ALPM-SCRIPTLET] ==> dkms install --no-depmod -m acpi_call -v 1.2.1 -k 5.10.13-zen1-1-zen
[2021-02-04T06:48:18+0000] [ALPM-SCRIPTLET] Error! Bad return status for module build on kernel: 5.10.13-zen1-1-zen (x86_64)
[2021-02-04T06:48:18+0000] [ALPM-SCRIPTLET] Consult /var/lib/dkms/acpi_call/1.2.1/build/make.log for more information.
[2021-02-04T06:48:18+0000] [ALPM-SCRIPTLET] ==> Warning, `dkms install --no-depmod -m acpi_call -v 1.2.1 -k 5.10.13-zen1-1-zen' returned 10
[2021-02-04T06:48:18+0000] [ALPM-SCRIPTLET] ==> dkms install --no-depmod -m vboxhost -v 6.1.18_OSE -k 5.10.13-arch1-1
[2021-02-04T06:48:24+0000] [ALPM-SCRIPTLET] Error! Bad return status for module build on kernel: 5.10.13-arch1-1 (x86_64)
[2021-02-04T06:48:24+0000] [ALPM-SCRIPTLET] Consult /var/lib/dkms/vboxhost/6.1.18_OSE/build/make.log for more information.
[2021-02-04T06:48:24+0000] [ALPM-SCRIPTLET] ==> Warning, `dkms install --no-depmod -m vboxhost -v 6.1.18_OSE -k 5.10.13-arch1-1' returned 10
[2021-02-04T06:48:24+0000] [ALPM-SCRIPTLET] ==> dkms install --no-depmod -m digimend-kernel-drivers -v 10.r0.gec5c16d -k 5.10.13-zen1-1-zen
[2021-02-04T06:48:26+0000] [ALPM-SCRIPTLET] Error! Bad return status for module build on kernel: 5.10.13-zen1-1-zen (x86_64)
[2021-02-04T06:48:26+0000] [ALPM-SCRIPTLET] Consult /var/lib/dkms/digimend-kernel-drivers/10.r0.gec5c16d/build/make.log for more information.
[2021-02-04T06:48:26+0000] [ALPM-SCRIPTLET] ==> Warning, `dkms install --no-depmod -m digimend-kernel-drivers -v 10.r0.gec5c16d -k 5.10.13-zen1-1-zen' returned 10
[2021-02-04T06:48:26+0000] [ALPM-SCRIPTLET] ==> dkms install --no-depmod -m vboxhost -v 6.1.18_OSE -k 5.10.13-zen1-1-zen
[2021-02-04T06:48:32+0000] [ALPM-SCRIPTLET] Error! Bad return status for module build on kernel: 5.10.13-zen1-1-zen (x86_64)
[2021-02-04T06:48:32+0000] [ALPM-SCRIPTLET] Consult /var/lib/dkms/vboxhost/6.1.18_OSE/build/make.log for more information.
[2021-02-04T06:48:32+0000] [ALPM-SCRIPTLET] ==> Warning, `dkms install --no-depmod -m vboxhost -v 6.1.18_OSE -k 5.10.13-zen1-1-zen' returned 10
[2021-02-04T06:48:32+0000] [ALPM-SCRIPTLET] ==> dkms install --no-depmod -m nvidia -v 460.39 -k 5.10.13-zen1-1-zen
[2021-02-04T06:48:54+0000] [ALPM-SCRIPTLET] Error! Bad return status for module build on kernel: 5.10.13-zen1-1-zen (x86_64)
[2021-02-04T06:48:54+0000] [ALPM-SCRIPTLET] Consult /var/lib/dkms/nvidia/460.39/build/make.log for more information.
[2021-02-04T06:48:54+0000] [ALPM-SCRIPTLET] ==> Warning, `dkms install --no-depmod -m nvidia -v 460.39 -k 5.10.13-zen1-1-zen' returned 10
[2021-02-04T06:48:54+0000] [ALPM-SCRIPTLET] ==> dkms install --no-depmod -m digimend-kernel-drivers -v 10.r0.gec5c16d -k 5.10.13-arch1-1
[2021-02-04T06:48:56+0000] [ALPM-SCRIPTLET] Error! Bad return status for module build on kernel: 5.10.13-arch1-1 (x86_64)
[2021-02-04T06:48:56+0000] [ALPM-SCRIPTLET] Consult /var/lib/dkms/digimend-kernel-drivers/10.r0.gec5c16d/build/make.log for more information.
[2021-02-04T06:48:56+0000] [ALPM-SCRIPTLET] ==> Warning, `dkms install --no-depmod -m digimend-kernel-drivers -v 10.r0.gec5c16d -k 5.10.13-arch1-1' returned 10
[2021-02-04T06:48:56+0000] [ALPM-SCRIPTLET] ==> depmod 5.10.13-zen1-1-zen
[2021-02-04T06:49:02+0000] [ALPM-SCRIPTLET] ==> depmod 5.10.13-arch1-1

And by way of an example failure log, acpi_call-dkms log is

DKMS make.log for acpi_call-1.2.1 for kernel 5.10.13-zen1-1-zen (x86_64)
Thu  4 Feb 08:01:50 GMT 2021
make -C /lib/modules/5.10.13-zen1-1-zen/build M=/var/lib/dkms/acpi_call/1.2.1/build modules
make[1]: Entering directory '/usr/lib/modules/5.10.13-zen1-1-zen/build'
  CC [M]  /var/lib/dkms/acpi_call/1.2.1/build/acpi_call.o
  MODPOST /var/lib/dkms/acpi_call/1.2.1/build/Module.symvers
  CC [M]  /var/lib/dkms/acpi_call/1.2.1/build/acpi_call.mod.o
  LD [M]  /var/lib/dkms/acpi_call/1.2.1/build/acpi_call.ko
ld: symbol lookup error: /usr/lib/libctf.so.0: undefined symbol: bsearch_r
make[3]: *** [scripts/Makefile.modfinal:40: /var/lib/dkms/acpi_call/1.2.1/build/acpi_call.ko] Error 127
make[2]: *** [scripts/Makefile.modpost:117: __modpost] Error 2
make[1]: *** [Makefile:1709: modules] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.10.13-zen1-1-zen/build'
make: *** [Makefile:8: default] Error 2

Though I'm not really sure what to do with this information, and my Google-fu isn't helping.

I've used these dkms packages for a long time without issue. I did notice glibc had also been updated, so tried downgrading that in case it was relevant, but no change. (NB. everything is now upgraded again).

Any ideas?

Thanks in advance.

Last edited by Roken (2021-02-04 09:55:42)


[img]https://www.speedtest.net/result/11113231962.png[/img]

Ryzen 1800x 8 core/16 thread - 2 x GTX 1070 8Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#2 2021-02-04 08:39:57

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 1,820

Re: [SOLVED] dkms failures

Offline

#3 2021-02-04 09:44:31

Roken
Member
From: UK
Registered: 2012-01-16
Posts: 1,157

Re: [SOLVED] dkms failures

Thank you. I didn't notice the gcc upgrade.

I'll downgrade all three and try again.

Thanks once again.

EDIT: Yep - downgrading gcc and binutils fixed it. Marking as solved.

ADDENDUM: binutils 2.36-2 fixes the issue properly.

Last edited by Roken (2021-02-04 17:49:35)


[img]https://www.speedtest.net/result/11113231962.png[/img]

Ryzen 1800x 8 core/16 thread - 2 x GTX 1070 8Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#4 2021-02-05 01:31:28

GiMiX311
Member
Registered: 2020-08-03
Posts: 1

Re: [SOLVED] dkms failures

I realize this is the Testing repo forum, but I had to hunt high and low for an answer to my own problem, where the nvidia-dkms module wasn't building for my custom kernel linux-ck-zen2.

I enabled the testing repo and upgraded glibc and lib32-glibc (I use Steam). This allowed the module to build without problems. Disabled the testing repo after confirming everything was working fine.

Offline

Board footer

Powered by FluxBB