Fail to access mapped memory from CPU side(Fail data_validation tests)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- c, linux
- Domain
- hpc, operating-systems
Research direction
Start by reproducing the sanity test's data_validation failure and inspect init_hbuf_walking_bit, where the report says buf_ptr remains 0xffffffff and GPU memory stays a5a5a5a5. Compare the behavior with the reported Ubuntu, kernel, Tesla T4, driver, OFED, and loaded-module configuration; done means determining why the mapped CPU write fails and data_validation passes.
Written by the indexing model from the issue text.
Description
Hi there, I am running sanity test and I got this error in the data_validation test:
word content expected
13 a5a5a5a5 3f4c7e6a
14 a5a5a5a5 3f4c1e6a
15 a5a5a5a5 3f4cde6a
16 a5a5a5a5 3f4d5e6a
17 a5a5a5a5 3f4e5e6a
18 a5a5a5a5 3f485e6a
19 a5a5a5a5 3f445e6a
20 a5a5a5a5 3f5c5e6a
21 a5a5a5a5 3f6c5e6a
22 a5a5a5a5 3f0c5e6a
I debug by myself and I found that in function: init_hbuf_walking_bit, the buf_ptr cannot be written. The content in it is always 0xffffffff. And the corresponding gpu memory is never changed. (a5a5a5a5) in this case. There are no other errors during the whole process. All function calls return success.
Here is the settings on my server(bare-metal machine):
OS: Ubuntu 18.04.6 LTS
linux version: 4.15.0-213-generic
GPU: Tesla T4
Driver:
$ nvidia-smi
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.105.17 Driver Version: 525.105.17 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 Tesla T4 Off | 00000000:21:00.0 Off | 0 |
| N/A 29C P8 14W / 70W | 4MiB / 15360MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
$ ofed_info -s
MLNX_OFED_LINUX-5.4-3.4.0.0:
module:
$ lsmod|grep nv
nvidia_peermem 16384 0
nvidia_uvm 1216512 6
ib_core 311296 10 rdma_cm,ib_ipoib,nvidia_peermem,iw_cm,ib_iser,ib_umad,rdma_ucm,ib_uverbs,mlx5_ib,ib_cm
nvidia_drm 57344 0
nvidia_modeset 1241088 1 nvidia_drm
nvidia 56418304 49 nvidia_uvm,nvidia_peermem,gdrdrv,nvidia_modeset
drm_kms_helper 172032 2 mgag200,nvidia_drm
drm 401408 6 drm_kms_helper,nvidia,mgag200,nvidia_drm,ttm
- Dominant language
- C
- Stars
- 1.4k
- Forks
- 198
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NVIDIA/gdrcopy
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Proposal: honor `TMPDIR` in gdrcopy package build scriptsPossibly taken @efegokdemir claimed this 53 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
Similar issues
-
SPIDevice selects an active-high device as soon as it is createdPossibly taken @mikeysklar claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
adafruit/circuitpython#11869 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
gnif/LookingGlass#1352 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
bazel-contrib/rules_go#4784 · 1 comment ·
Maintainers usually reply within 1 day