I believe that I probably downloaded all of the nvidia components
directly from Nvidia. I'm running Ubuntu 25.04 -and went with the 24.04
drivers that they had available in order to get my 50X series GPU
working. I was just starting to look into reinstalling nvidia-fs.
I'm not sure if this is related, but ever since I encountered this
error, I now seem to be unable to get the display to show back up on my
computer once it goes to sleep. I can still ssh into the computer
without an issue but have to restart the computer to get anything to
show up on my monitor.
Contents of the log file:
DKMS (dkms-3.2.1) make.log for nvidia-fs/2.25.7 for kernel 6.14.0-22-generic
(x86_64) Sat Jun 28 11:07:49 PM
EDT 2025
Building module(s)
# command: NVFS_MAX_PEER_DEVS=64 NVFS_MAX_PCI_DEPTH=16 'make' -j32
KVER=6.14.0-22-generic IGNORE_CC_MISMATCH='1'
Picking NVIDIA driver sources from
NVIDIA_SRC_DIR=/usr/src/nvidia-575.57.08/nvidia. If that does not meet your
expectation, you migh>nm:
/lib/modules/6.14.0-15-generic/updates/dkms/nvidia.ko.zst: file format not
recognized
nm: /lib/modules/6.14.0-15-generic/updates/dkms/nvidia-drm.ko.zst: file format
not recognized
nm: /lib/modules/6.14.0-15-generic/updates/dkms/nvidia.ko.zst: file format not
recognized
nm: /lib/modules/6.14.0-15-generic/updates/dkms/nvidia-modeset.ko.zst: file
format not recognized
nm: /lib/modules/6.14.0-15-generic/updates/dkms/nvidia-peermem.ko.zst: file
format not recognized
nm: /lib/modules/6.14.0-15-generic/updates/dkms/nvidia-uvm.ko.zst: file format
not recognized
-W- Could not get list of nvidia symbols.
checking if struct fd has file parameter... no
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... yes
Checking if kiocb structue has ki_complete field... yes
Checking if vm_fault_t exist in mm_types.h... yes
Checking if enum PCIE_SPEED_32_0GT exists in pci.h... yes
Checking if enum PCIE_SPEED_64_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
Checking if KI_COMPLETE has 3 parameters ... no
Checking if pin_user_pages_fast symbol is present in kernel or not ... yes
Checking if prandom_u32 symbol is present in kernel or not ... no
Checking if devnode in class has doesn't have const device or not ... no
Checking if class_create has two parameters or not ... no
Checking if vma_flags are modifiable directly ... no
make[1]: Entering directory '/usr/src/linux-headers-6.14.0-22-generic'
make[1]: warning: -j4 forced in submake: resetting jobserver mode.
make[2]: Entering directory '/var/lib/dkms/nvidia-fs/2.25.7/build'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-14 (Ubuntu 14.2.0-19ubuntu2)
14.2.0
You are using: gcc-14 (Ubuntu 14.2.0-19ubuntu2) 14.2.0
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: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.0-22-generic/scripts/Makefile.build:207:
nvfs-dma.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from nvfs-mmap.c:50:
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.0-22-generic/scripts/Makefile.build:207:
nvfs-mmap.o] Error 1
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.0-22-generic/scripts/Makefile.build:207:
nvfs-core.o] Error 1
make[3]: *** [/usr/src/linux-headers-6.14.0-22-generic/Makefile:2002: .] Error 2
make[2]: *** [/usr/src/linux-headers-6.14.0-22-generic/Makefile:251:
__sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/nvidia-fs/2.25.7/build'
make[1]: *** [Makefile:251: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.14.0-22-generic'
make: *** [Makefile:115: module] Error 2
# exit code: 2
# elapsed time: 00:00:18
----------------------------------------------------------------
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2115582
Title:
nvidia-fs 2.25.7 fails to build against kernel 6.14.x
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-570/+bug/2115582/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs