Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux Mint 22.1 - Nvidia DKMS 550.120 cannot build against kernel 6.13.0 #1069

Open
SkeletonJelly47 opened this issue Jan 26, 2025 · 1 comment

Comments

@SkeletonJelly47
Copy link

Linux Mint 22.1 Xia
Installing with install.sh produces following error:

Selecting previously unselected package linux-headers-6.13.0-tkg-eevdf.
(Reading database ... 506528 files and directories currently installed.)
Preparing to unpack linux-headers-6.13.0-tkg-eevdf_6.13.0-1_amd64.deb ...
Unpacking linux-headers-6.13.0-tkg-eevdf (6.13.0-1) ...
Selecting previously unselected package linux-image-6.13.0-tkg-eevdf.
Preparing to unpack linux-image-6.13.0-tkg-eevdf_6.13.0-1_amd64.deb ...
Unpacking linux-image-6.13.0-tkg-eevdf (6.13.0-1) ...
Setting up linux-headers-6.13.0-tkg-eevdf (6.13.0-1) ...
Setting up linux-image-6.13.0-tkg-eevdf (6.13.0-1) ...
 * dkms: running auto installation service for kernel 6.13.0-tkg-eevdf
Kernel config /lib/modules/6.13.0-tkg-eevdf/build/.config not found, modules won't be signed

Building module:
Cleaning build area...
KERNELDIR=/lib/modules/6.13.0-tkg-eevdf/build make driver udev_trigger...
cp: cannot stat '/lib/modules/6.13.0-tkg-eevdf/build/.config': No such file or directory
Cleaning build area...

leetmouse.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.13.0-tkg-eevdf/updates/dkms/
depmod...
Kernel config /lib/modules/6.13.0-tkg-eevdf/build/.config not found, modules won't be signed

Building module:
Cleaning build area...
unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 'make' -j16 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.13.0-tkg-eevdf IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/6.13.0-tkg-eevdf/build LD=/usr/bin/ld.bfd CONFIG_X86_KERNEL_IBT= modules.......(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.13.0-tkg-eevdf (x86_64)
Consult /var/lib/dkms/nvidia/550.120/build/make.log for more information.
dkms autoinstall on 6.13.0-tkg-eevdf/x86_64 succeeded for leetmouse-driver
dkms autoinstall on 6.13.0-tkg-eevdf/x86_64 failed for nvidia(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 6.13.0-tkg-eevdf                                                                                                                                            [fail] 
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
update-initramfs: Generating /boot/initrd.img-6.13.0-tkg-eevdf
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.13.0-tkg-eevdf
Found initrd image: /boot/initrd.img-6.13.0-tkg-eevdf
Found linux image: /boot/vmlinuz-6.8.0-51-generic
Found initrd image: /boot/initrd.img-6.8.0-51-generic
Found linux image: /boot/vmlinuz-6.8.0-38-generic
Found initrd image: /boot/initrd.img-6.8.0-38-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done
dpkg: error processing package linux-image-6.13.0-tkg-eevdf (--install):
 installed linux-image-6.13.0-tkg-eevdf package post-installation script subprocess returned error exit status 11
Errors were encountered while processing:
 linux-image-6.13.0-tkg-eevdf
 -> exit cleanup done

customization.cfg.txt
prepare.log.txt
shell-output.log.txt
system-info.txt

Did not make any changes to customization.cfg prior to installation. I have installed YeetMouse though, but the installer didn't seem to mind it?

Thanks in advance.

@AdelKS AdelKS changed the title linux-image-6.13.0-tkg-eevdf package post-installation script subprocess returned error exit status 11 - Linux Mint 22.1 Xia Linux Mint 22.1 - Nvidia DKMS 550.120 cannot build against kernel 6.13.0 Feb 26, 2025
@AdelKS
Copy link
Collaborator

AdelKS commented Feb 26, 2025

dkms autoinstall on 6.13.0-tkg-eevdf/x86_64 failed for nvidia(10)

Looks like your Nvidia driver is too old for kernel version 6.13, you should try a newer version if you can

@AdelKS AdelKS added upstream Not directly related to this repo and removed upstream Not directly related to this repo labels Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants