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

Compile fails with kernel headers #5

Open
dmk2436 opened this issue Mar 14, 2022 · 0 comments
Open

Compile fails with kernel headers #5

dmk2436 opened this issue Mar 14, 2022 · 0 comments

Comments

@dmk2436
Copy link

dmk2436 commented Mar 14, 2022

While compiling and generating nvidia-fs.ko, the process keeps getting stuck with kernel headers. How could I fix it? Or can I use different kernel headers in order to detour the problem?

Picking NVIDIA driver sources from NVIDIA_SRC_DIR=/usr/src/nvidia-495.29.05/nvidia-peermem. If that does not meet your expectation, you might have a stale driver still around and that might cause problems.
Getting symbol versions from /lib/modules/4.15.0-171-generic/updates/dkms/nvidia.ko ...
Created: /home/hpcmate/gds-nvidia-fs-master/src/nv.symvers
checking if uaccess.h access_ok has 3 parameters... yes
checking if uaccess.h access_ok has 2 parameters... no
Checking if blkdev.h has blk_rq_payload_bytes... yes
Checking if fs.h has call_read_iter and call_write_iter... yes
Checking if fs.h has filemap_range_has_page... yes
Checking if security_file_permission API exist... yes
Checking if kiocb structue has ki_complete field... yes
Checking if vm_fault_t exist in mm_types.h... no
Checking if IOCB_HIPRI flag exists in fs.h... yes
Checking if enum PCIE_SPEED_32_0GT exists in pci.h... no
Checking if atomic64_t counter is of type long... yes
Checking if RQF_COPY_USER is present or not... yes
Checking if dma_drain_size and dma_drain_needed are present in struct request_queue... yes
Checking if struct proc_ops is present or not ... no
Checking if split is present in vm_operations_struct or not ... yes
Checking if mremap in vm_operations_struct has one parameter... yes
Checking if mremap in vm_operations_struct has two parameters... no
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-171-generic'
scripts/Makefile.build:45: //Makefile: No such file or directory
make[2]: *** No rule to make target '//Makefile'. Stop.
Makefile:1590: recipe for target '_module_/' failed
make[1]: *** [_module_/] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-171-generic'
Makefile:115: recipe for target 'module' failed
make: *** [module] Error 2

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

1 participant