scripts/test_gdrdrv_HAVE_VM_FLAGS_SET.sh should honour user-defined kernel source location
@efegokdemir is already working on this.
Since Sep 21, 2026.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 52/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- linux, shell
- Domain
- build-system, operating-systems
Research direction
Start by comparing the KDIR handling in src/gdrdrv/Makefile with the kernel-source lookup in scripts/test_gdrdrv_HAVE_VM_FLAGS_SET.sh. Run the test with a custom KDIR and verify that it uses that location instead of /lib/modules/${kver}/build, while preserving the default behavior when KDIR is not customized.
Written by the indexing model from the issue text.
Description
The Makefile for the kernel driver, src/gdrdrv/Makefile, allows the user to define a custom location for the kernel sources via the KDIR variable. However, the test script scripts/test_gdrdrv_HAVE_VM_FLAGS_SET.sh ignores the setting and requires the kernel sources to be located in /lib/modules/${kver}/build. This is confusing and can lead to inconsistent results.
- 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