I'm still experimenting issues with nvidia modules dkms: latest working kernel is 6.11.10 neither 6.12 nor 6.14 family can correctly compile modules (ahs, liquorix, ...). The kernels alone without modules work as expected, obviously only with console output. Here the latest attempt with liquorix branch
Code: Select all
$ sudo apt-get -f install linux-config-6.12 linux-headers-6.14.2-1-liquorix-amd64 linux-headers-liquorix-amd64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-config-6.12 is already the newest version (6.12.21-1~mx23ahs).
linux-headers-6.14.2-1-liquorix-amd64 is already the newest version (6.14-3~mx23ahs+1).
linux-headers-liquorix-amd64 is already the newest version (6.14-3~mx23ahs+1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up linux-headers-6.14.2-1-liquorix-amd64 (6.14-3~mx23ahs+1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.14.2-1-liquorix-amd64.
/usr/sbin/dkms.mx autoinstall --kernelver 6.14.2-1-liquorix-amd64
Sign command: /lib/modules/6.14.2-1-liquorix-amd64/build/scripts/sign-file
Binary /lib/modules/6.14.2-1-liquorix-amd64/build/scripts/sign-file not found, modules won't be signed
Building module:
Cleaning build area...
'make' -j16 KVER=6.14.2-1-liquorix-amd64 IGNORE_CC_MISMATCH='1'.................(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.14.2-1-liquorix-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-fs/2.13/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.14.2-1-liquorix-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.14.2-1-liquorix-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.14.2-1-liquorix-amd64 (--configure):
installed linux-headers-6.14.2-1-liquorix-amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-headers-liquorix-amd64:
linux-headers-liquorix-amd64 depends on linux-headers-6.14.2-1-liquorix-amd64 (= 6.14-3~mx23ahs+1); however:
Package linux-headers-6.14.2-1-liquorix-amd64 is not configured yet.
dpkg: error processing package linux-headers-liquorix-amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-headers-6.14.2-1-liquorix-amd64
linux-headers-liquorix-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Select all
DKMS make.log for nvidia-fs-2.13 for kernel 6.14.2-1-liquorix-amd64 (x86_64)
Mon Apr 21 10:53:18 AM CEST 2025
./configure 6.14.2-1-liquorix-amd64
Picking NVIDIA driver sources from NVIDIA_SRC_DIR=/usr/src/nvidia-current-535.216.03/nvidia-peermem. If that does not meet your expectation, you might have a stale driver still around and that might caus
e problems.
chmod +x ./create_nv.symvers.sh
./create_nv.symvers.sh 6.14.2-1-liquorix-amd64
Getting symbol versions from /lib/modules/6.14.2-1-liquorix-amd64/updates/dkms/nvidia-current.ko ...
Created: /var/lib/dkms/nvidia-fs/2.13/build/nv.symvers
cat nv.symvers >> Module.symvers
checking if uaccess.h access_ok has 3 parameters... no
checking if uaccess.h access_ok has 2 parameters... yes
Checking if blkdev.h has blk_rq_payload_bytes... yes
Checking if fs.h has call_read_iter and call_write_iter... no
Checking if fs.h has filemap_range_has_page... no
Checking if kiocb structue has ki_complete field... yes
Checking if KI_COMPLETE has 3 parameters ... no
Checking if vm_fault_t exist in mm_types.h... yes
Checking if IOCB_HIPRI flag exists in fs.h... yes
Checking if enum PCIE_SPEED_32_0GT exists in pci.h... yes
Checking if atomic64_t counter is of type long... no
Checking if RQF_COPY_USER is present or not... no
Checking if dma_drain_size and dma_drain_needed are present in struct request_queue... no
Checking if struct proc_ops is present or not ... yes
Checking if split is present in vm_operations_struct or not ... no
Checking if mremap in vm_operations_struct has one parameter... yes
Checking if mremap in vm_operations_struct has two parameters... no
Checking if symbol module_mutex is present... no
Checking if blk-integrity.h is present... yes
KCPPFLAGS="-DCONFIG_NVFS_STATS=y -DGDS_VERSION=1.4.0.29 -DNVFS_ENABLE_KERN_RDMA_SUPPORT -DNVFS_BATCH_SUPPORT=y" CONFIG_NVFS_BATCH_SUPPORT=y CONFIG_NVFS_STATS=y make -j4 -C /lib/modules/6.14.2-1-liquorix-
amd64/build M=$PWD modules
make[1]: warning: -j4 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/usr/src/linux-headers-6.14.2-1-liquorix-amd64'
make[2]: Entering directory '/var/lib/dkms/nvidia-fs/2.13/build'
CC [M] nvfs-core.o
CC [M] nvfs-dma.o
CC [M] nvfs-mmap.o
CC [M] nvfs-pci.o
In file included from nvfs-dma.c:28:
nvfs-core.h:47: warning: "MAX" redefined
47 | #define MAX(x, y) (((x) > (y)) ? (x) : (y))
|
In file included from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/kernel.h:28,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/cpumask.h:11,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/arch/x86/include/asm/paravirt.h:21,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/arch/x86/include/asm/cpuid.h:71,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/arch/x86/include/asm/processor.h:19,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/sched.h:13,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/ratelimit.h:6,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/dev_printk.h:16,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/device.h:15,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/dma-mapping.h:5,
from nvfs-dma.c:24:
/usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/minmax.h:315: note: this is the location of the previous definition
315 | #define MAX(a, b) __cmp(max, a, b)
|
nvfs-core.h:48: warning: "MIN" redefined
48 | #define MIN(x, y) (((x) < (y)) ? (x) : (y))
|
/usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/minmax.h:314: note: this is the location of the previous definition
314 | #define MIN(a, b) __cmp(min, a, b)
|
In file included from nvfs-pci.c:32:
nvfs-core.h:47: warning: "MAX" redefined
47 | #define MAX(x, y) (((x) > (y)) ? (x) : (y))
|
In file included from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/ioport.h:15,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/pci.h:31,
from nvfs-pci.c:25:
/usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/minmax.h:315: note: this is the location of the previous definition
315 | #define MAX(a, b) __cmp(max, a, b)
|
nvfs-core.h:48: warning: "MIN" redefined
48 | #define MIN(x, y) (((x) < (y)) ? (x) : (y))
|
/usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/minmax.h:314: note: this is the location of the previous definition
314 | #define MIN(a, b) __cmp(min, a, b)
|
nvfs-pci.c:162:14: warning: no previous prototype for ‘nvfs_create_gpu_hash_entry’ [-Wmissing-prototypes]
162 | unsigned int nvfs_create_gpu_hash_entry(uint64_t pdevinfo)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
nvfs-pci.c:175:14: warning: no previous prototype for ‘nvfs_create_peer_hash_entry’ [-Wmissing-prototypes]
175 | unsigned int nvfs_create_peer_hash_entry(uint64_t pdevinfo)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
nvfs-pci.c:207:14: warning: no previous prototype for ‘nvfs_get_peer_hash_index’ [-Wmissing-prototypes]
207 | unsigned int nvfs_get_peer_hash_index(uint64_t pdevinfo)
| ^~~~~~~~~~~~~~~~~~~~~~~~
nvfs-pci.c: In function ‘__nvfs_find_all_device_paths’:
nvfs-pci.c:312:40: warning: implicit conversion from ‘enum pcie_link_width’ to ‘enum pci_bus_speed’ [-Wenum-conversion]
312 | enum pci_bus_speed lnk_speed = PCIE_LNK_WIDTH_RESRV;
| ^~~~~~~~~~~~~~~~~~~~
nvfs-pci.c:313:42: warning: implicit conversion from ‘enum pci_bus_speed’ to ‘enum pcie_link_width’ [-Wenum-conversion]
313 | enum pcie_link_width lnk_width = PCI_SPEED_UNKNOWN;
| ^~~~~~~~~~~~~~~~~
nvfs-pci.c: At top level:
nvfs-pci.c:729:10: warning: no previous prototype for ‘nvfs_aggregate_peer_usage_by_distance’ [-Wmissing-prototypes]
729 | uint64_t nvfs_aggregate_peer_usage_by_distance(unsigned int gpu_index, unsigned int pci_dist) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from nvfs-dma.c:31:
nvfs-dma.h:31:10: fatal error: linux/blk-mq-pci.h: No such file or directory
31 | #include <linux/blk-mq-pci.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-headers-6.14.2-1-liquorix-amd64/scripts/Makefile.build:207: nvfs-dma.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from nvfs-core.c:57:
nvfs-core.h:47: warning: "MAX" redefined
47 | #define MAX(x, y) (((x) > (y)) ? (x) : (y))
|
In file included from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/kernel.h:28,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/cpumask.h:11,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/arch/x86/include/asm/paravirt.h:21,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/arch/x86/include/asm/cpuid.h:71,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/arch/x86/include/asm/processor.h:19,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/sched.h:13,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/ratelimit.h:6,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/dev_printk.h:16,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/device.h:15,
from nvfs-core.c:25:
/usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/minmax.h:315: note: this is the location of the previous definition
315 | #define MAX(a, b) __cmp(max, a, b)
|
nvfs-core.h:48: warning: "MIN" redefined
48 | #define MIN(x, y) (((x) < (y)) ? (x) : (y))
|
/usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/minmax.h:314: note: this is the location of the previous definition
314 | #define MIN(a, b) __cmp(min, a, b)
|
In file included from nvfs-mmap.c:45:
nvfs-core.h:47: warning: "MAX" redefined
47 | #define MAX(x, y) (((x) > (y)) ? (x) : (y))
|
In file included from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/kernel.h:28,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/cpumask.h:11,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/arch/x86/include/asm/paravirt.h:21,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/arch/x86/include/asm/cpuid.h:71,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/arch/x86/include/asm/processor.h:19,
from /usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/sched.h:13,
from nvfs-mmap.c:25:
/usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/minmax.h:315: note: this is the location of the previous definition
315 | #define MAX(a, b) __cmp(max, a, b)
|
nvfs-core.h:48: warning: "MIN" redefined
48 | #define MIN(x, y) (((x) < (y)) ? (x) : (y))
|
/usr/src/linux-headers-6.14.2-1-liquorix-amd64/include/linux/minmax.h:314: note: this is the location of the previous definition
314 | #define MIN(a, b) __cmp(min, a, b)
|
In file included from nvfs-core.c:59:
nvfs-dma.h:31:10: fatal error: linux/blk-mq-pci.h: No such file or directory
31 | #include <linux/blk-mq-pci.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-headers-6.14.2-1-liquorix-amd64/scripts/Makefile.build:207: nvfs-core.o] Error 1
In file included from nvfs-mmap.c:48:
nvfs-kernel-interface.h:29:10: fatal error: linux/blk-mq-pci.h: No such file or directory
29 | #include <linux/blk-mq-pci.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-headers-6.14.2-1-liquorix-amd64/scripts/Makefile.build:207: nvfs-mmap.o] Error 1
make[3]: *** [/usr/src/linux-headers-6.14.2-1-liquorix-amd64/Makefile:2004: .] Error 2
make[2]: *** [/usr/src/linux-headers-6.14.2-1-liquorix-amd64/Makefile:251: __sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/nvidia-fs/2.13/build'
make[1]: *** [Makefile:251: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.14.2-1-liquorix-amd64'
make: *** [Makefile:107: module] Error 2
Code: Select all
$ sudo apt list --installed | grep nvidia
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
firmware-nvidia-graphics/mx,mx,now 20241210-1~mx23ahs all [installed,automatic]
firmware-nvidia-gsp/mx,now 535.216.03-3~mx23ahs amd64 [installed]
glx-alternative-nvidia/stable,now 1.2.2 amd64 [installed,automatic]
libegl-nvidia0/mx,now 535.216.03-3~mx23ahs amd64 [installed,automatic]
libgl1-nvidia-glvnd-glx/mx,now 535.216.03-3~mx23ahs amd64 [installed,automatic]
libgl1-nvidia-glvnd-glx/mx,now 535.216.03-3~mx23ahs i386 [installed]
libgles-nvidia1/mx,now 535.216.03-3~mx23ahs amd64 [installed]
libgles-nvidia2/mx,now 535.216.03-3~mx23ahs amd64 [installed]
libglx-nvidia0/mx,now 535.216.03-3~mx23ahs amd64 [installed,automatic]
libglx-nvidia0/mx,now 535.216.03-3~mx23ahs i386 [installed,automatic]
libnvidia-cfg1/mx,now 535.216.03-3~mx23ahs amd64 [installed]
libnvidia-egl-wayland1/stable,now 1:1.1.10-1 amd64 [installed,automatic]
libnvidia-eglcore/mx,now 535.216.03-3~mx23ahs amd64 [installed]
libnvidia-eglcore/mx,now 535.216.03-3~mx23ahs i386 [installed,automatic]
libnvidia-encode1/mx,now 535.216.03-3~mx23ahs amd64 [installed]
libnvidia-glcore/mx,now 535.216.03-3~mx23ahs amd64 [installed]
libnvidia-glcore/mx,now 535.216.03-3~mx23ahs i386 [installed,automatic]
libnvidia-glvkspirv/mx,now 535.216.03-3~mx23ahs amd64 [installed,automatic]
libnvidia-glvkspirv/mx,now 535.216.03-3~mx23ahs i386 [installed,automatic]
libnvidia-ml-dev/stable,now 11.8.86~11.8.0-5~deb12u1 amd64 [installed,automatic]
libnvidia-ml1/mx,now 535.216.03-3~mx23ahs amd64 [installed,automatic]
libnvidia-pkcs11-openssl3/mx,now 535.216.03-3~mx23ahs amd64 [installed,automatic]
libnvidia-ptxjitcompiler1/mx,now 535.216.03-3~mx23ahs amd64 [installed,automatic]
nvidia-alternative/mx,now 535.216.03-3~mx23ahs amd64 [installed,automatic]
nvidia-cuda-dev/stable,now 11.8.89~11.8.0-5~deb12u1 amd64 [installed,automatic]
nvidia-cuda-toolkit-doc/stable,stable,now 11.8.0-5~deb12u1 all [installed]
nvidia-cuda-toolkit-gcc/stable,now 11.8.0-5~deb12u1 amd64 [installed]
nvidia-cuda-toolkit/stable,now 11.8.89~11.8.0-5~deb12u1 amd64 [installed,automatic]
nvidia-detect/mx,now 535.216.03-3~mx23ahs amd64 [installed]
nvidia-driver-bin/mx,now 535.216.03-3~mx23ahs amd64 [installed,automatic]
nvidia-driver-libs/mx,now 535.216.03-3~mx23ahs amd64 [installed,automatic]
nvidia-driver/mx,now 535.216.03-3~mx23ahs amd64 [installed]
nvidia-egl-common/mx,now 535.216.03-3~mx23ahs amd64 [installed,automatic]
nvidia-egl-icd/mx,now 535.216.03-3~mx23ahs amd64 [installed,automatic]
nvidia-fs-dkms/stable,now 2.13.5~11.8.0-5~deb12u1 amd64 [installed]
nvidia-installer-cleanup/stable,now 20220217+3~deb12u1 amd64 [installed,automatic]
nvidia-kernel-common/stable,now 20220217+3~deb12u1 amd64 [installed,automatic]
nvidia-kernel-dkms/mx,now 535.216.03-3~mx23ahs amd64 [installed,automatic]
nvidia-kernel-source/mx,now 535.216.03-3~mx23ahs amd64 [installed]
nvidia-kernel-support/mx,now 535.216.03-3~mx23ahs amd64 [installed,automatic]
nvidia-legacy-check/mx,now 535.216.03-3~mx23ahs amd64 [installed,automatic]
nvidia-modprobe/stable,now 535.161.07-1~deb12u1 amd64 [installed,automatic]
nvidia-opencl-dev/stable,now 11.8.89~11.8.0-5~deb12u1 amd64 [installed,automatic]
nvidia-profiler/stable,now 11.8.87~11.8.0-5~deb12u1 amd64 [installed,automatic]
nvidia-settings/stable,now 535.171.04-1~deb12u1 amd64 [installed]
nvidia-smi/mx,now 535.216.03-3~mx23ahs amd64 [installed]
nvidia-support/stable,now 20220217+3~deb12u1 amd64 [installed,automatic]
nvidia-vdpau-driver/mx,now 535.216.03-3~mx23ahs amd64 [installed,automatic]
xserver-xorg-video-nvidia/mx,now 535.216.03-3~mx23ahs amd64 [installed,automatic]
Any siggestion is welcome! If you need additional information, just ask.
Thank in advance for hits
Bye for now
A