You are not logged in.
So i updated my system like normal using
sudo pacman -Syu
and then after the next reboot my nvidia drivers just broke.
The dkms module fails to build using this command:
sudo dkms build nvidia/535.247.01
This is what it says:
Sign command: /usr/lib/modules/6.7.2-arch1-1/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Building module(s).......(bad exit status: 2)
Failed command:
'make' -j12 IGNORE_PREEMPT_RT_PRESENCE=1 NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=6.7.2-arch1-1 modules
Error! Bad return status for module build on kernel: 6.7.2-arch1-1 (x86_64)
Consult /var/lib/dkms/nvidia/535.247.01/build/make.log for more information.
make.log:
https://pastebin.com/Z5JZLkHN
uname -r
6.7.2-arch1-1
Last edited by Airyy (2025-05-13 09:14:12)
Offline
the kernel you are using is 1,5 years old, you certainly did not do a regular update but a partial update or using a severly outdated mirror.
Make sure your mirror list is up to date and do a full system update
Last edited by BS86 (2025-05-11 10:28:16)
Offline
the kernel you are using is 1,5 years old, you certainly did not do a regular update but a partial update or using a severly outdated mirror.
Make sure your mirror list is up to date and do a full system update
I have tried a bunch of different kernels, none of the ones i tried are working
Offline
What all kernels do you have, and how?
Online
Please post the make.log for a kernel that's not already rotting.
The original problem is probably w/ gcc15.
Offline
Please post the make.log for a kernel that's not already rotting.
The original problem is probably w/ gcc15.
I had completely missed the gcc warning/error,
I downgraded gcc and that solved the problem. Thanks!
Offline
Downgrading gcc and gcc-lbs in isolation is no solution to this.
You end up silently breaking a bunch of stuff (that depends on gcc-libs) and also kernel and modules need to be compiled w/ the same compiler.
There's a gcc15 patch that you'd in doubt have to manually apply.
Offline
he is still using Kernel 6.7.2 - it's a miracle his system is still booting anyway.
Offline
https://wiki.archlinux.org/title/System … nsupported
Congratulations, your system is now in an unsupported and unsupportable state. Be sure to mention this when asking for any kind of help with anything.
Last edited by Scimmia (2025-05-13 12:11:59)
Online
Edit, was reply to
he is still using Kernel 6.7.2 - it's a miracle his system is still booting anyway.
I have tried a bunch of different kernels, none of the ones i tried are working
Though using 6.7.x is actually fine-ish to the point where you now actually have to use gcc14 to compile the module, but downgrading gcc-libs will run you into other problems.
=> https://archlinux.org/packages/extra/x86_64/gcc14/
Except it doesn't explain why he was rebuilding nvidia tbw:
and then after the next reboot my nvidia drivers just broke.
The dkms module fails to build using this command:
Last edited by seth (2025-05-13 12:12:24)
Offline