Comments (6)
@sharan013 what if you make the following change?
diff --git a/gdrdrv/Makefile b/gdrdrv/Makefile
index 32e2a9f..a729acf 100644
--- a/gdrdrv/Makefile
+++ b/gdrdrv/Makefile
@@ -45,6 +45,7 @@ REL_MINOR := $(word 3,$(REL))
all: module
module:
+ @ echo "Picking NVIDIA driver sources from NVIDIA_SRC_DIR=$(NVIDIA_SRC_DIR). If that does not meet your expectation, you might have a stale driver still around and that might cause problems."
@ $(MAKE) -C $(KDIR) $(MAKE_PARAMS) M=$(PWD) modules
then try to build and install it:
$ cd gdrdrv
$ make clean all
rm -rf *.o *.ko* *.mod.* .*.cmd Module.symvers modules.order .tmp_versions/ *~ core .depend TAGS
Picking NVIDIA driver sources from NVIDIA_SRC_DIR=/usr/src/nvidia-387.00/nvidia. If that does not meet your expectation, you might have a stale driver still around and that might cause problems.
make[1]: Entering directory `/usr/src/linux-headers-4.4.0-45-generic'
CC [M] /.../gdrcopy/gdrdrv/nv-p2p-dummy.o
CC [M] /.../gdrcopy/gdrdrv/gdrdrv.o
Building modules, stage 2.
...
$ cd ..
$ ./insmod.sh
INFO: driver major is 238
INFO: creating /dev/gdrdrv inode
$ lsmod|grep gdr
gdrdrv 20480 0
nvidia 14626816 9 gdrdrv,nvidia_modeset,nvidia_uvm
from gdrcopy.
@drossetti, that patch pointed out that I was picking up old driver sources. Thanks!
from gdrcopy.
@hanyunfan that is strange.
Was that a clean build, i.e. from a pristine directory ?
Which linux kernel ?
Which NVIDIA driver ?
Can you copy here the relevant lines of the system log ? e.g. on RH/Fedora, 'dmesg |tail -20' should be enough.
from gdrcopy.
@drossetti Thank you for your reply.
It was a clean build on RHCE 7.2 64bit with cuda driver 370.25 and 4x P100 GPUs.
It's going to be hard to find the dmesg info after a month, but I will try to reproduct it asap.
from gdrcopy.
The issue was gone.
from gdrcopy.
Hi,
I am hitting the same error.
I am using cuda7.5 on driver version 384 and GeForceGT640 on Ubuntu14.04.
My dmesg error is as follows:
[55580.715174] gdrdrv: disagrees about version of symbol nvidia_p2p_get_pages
[55580.715176] gdrdrv: Unknown symbol nvidia_p2p_get_pages (err -22)
[55580.715179] gdrdrv: disagrees about version of symbol nvidia_p2p_put_pages
[55580.715180] gdrdrv: Unknown symbol nvidia_p2p_put_pages (err -22)
[55580.715182] gdrdrv: disagrees about version of symbol nvidia_p2p_free_page_table
[55580.715183] gdrdrv: Unknown symbol nvidia_p2p_free_page_table (err -22)
[66343.379831] gdrdrv: disagrees about version of symbol nvidia_p2p_get_pages
[66343.379836] gdrdrv: Unknown symbol nvidia_p2p_get_pages (err -22)
[66343.379841] gdrdrv: disagrees about version of symbol nvidia_p2p_put_pages
[66343.379842] gdrdrv: Unknown symbol nvidia_p2p_put_pages (err -22)
[66343.379846] gdrdrv: disagrees about version of symbol nvidia_p2p_free_page_table
[66343.379847] gdrdrv: Unknown symbol nvidia_p2p_free_page_table (err -22)
[66394.676111] gdrdrv: disagrees about version of symbol nvidia_p2p_get_pages
[66394.676113] gdrdrv: Unknown symbol nvidia_p2p_get_pages (err -22)
[66394.676117] gdrdrv: disagrees about version of symbol nvidia_p2p_put_pages
[66394.676118] gdrdrv: Unknown symbol nvidia_p2p_put_pages (err -22)
[66394.676120] gdrdrv: disagrees about version of symbol nvidia_p2p_free_page_table
[66394.676121] gdrdrv: Unknown symbol nvidia_p2p_free_page_table (err -22)
[66825.826332] gdrdrv: disagrees about version of symbol nvidia_p2p_get_pages
[66825.826339] gdrdrv: Unknown symbol nvidia_p2p_get_pages (err -22)
[66825.826352] gdrdrv: disagrees about version of symbol nvidia_p2p_put_pages
[66825.826356] gdrdrv: Unknown symbol nvidia_p2p_put_pages (err -22)
[66825.826365] gdrdrv: disagrees about version of symbol nvidia_p2p_free_page_table
[66825.826369] gdrdrv: Unknown symbol nvidia_p2p_free_page_table (err -22)
What is the fix here?
from gdrcopy.
Related Issues (20)
- Facing issue when installing HOT 1
- Ubuntu 22 - dpkg: error processing package gdrdrv-dkms:amd64 (--install) during installation of gdrcopy HOT 3
- Why D2H is relatively slower? HOT 2
- Query: Confusion about sudo requirement HOT 3
- thinking about working with CUDA async API
- gdrcopy_sanity failed when GPU Compute Mode is set to EXCLUSIVE HOT 1
- Unable to compile GDRCOPY v2.4 HOT 2
- Minimal steps to install gdrdrv driver only please HOT 6
- Fail to access mapped memory from CPU side(Fail data_validation tests) HOT 14
- tests build failing when check.h is not available HOT 1
- How to understand the file "nv-p2p-dummpy.c" HOT 3
- Driver flavor detection fails for 545 series HOT 2
- bad performance(compare with cuMemcpy) on x86 system HOT 3
- GDRCopy 2.4 on Centos7 failing build of RPM packages HOT 2
- Increasing utilization - gdrcopy_copybw HOT 3
- Improve the error report of gdrcopy_pplat when the CUDA kernel cannot be launched
- Safe Mounting of /dev/gdrdrv in a kubernetes environment - HostPath appears to fail HOT 10
- How to effectively test if gdrcopy is enabled using Real world ML workload ? HOT 2
- Can't make with Intel Compiler HOT 4
- MAINT: gdr_unmap segfault on master branch via NVSHMEM 2.10.1 on Cray Slingshot 11 with cuFFTMp HOT 22
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdrcopy.