NVIDIA / NVIDIA/open-gpu-kernel-modules
Build failure (DKMS Error 2) with Kernel 6.17.13-pve on Proxmox 9.1
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 17.4k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
NVIDIA Open GPU Kernel Modules Version
555.58.02 (Issue also present on 550.163.01)
Operating System and Version
Proxmox VE 9.1 / Debian GNU/Linux 13 (trixie)
Kernel Release
6.17.13-2-pve
Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
- I am running on a stable kernel release.
Build Command
I attempted to install the driver via the experimental repository, which triggers the DKMS build automatically.
apt -t experimental install nvidia-driver
Note: The exact same failure occurs when installing the 550 branch via standard apt repositories.
Terminal output/Build Log
DKMS make.log snippet for nvidia-current-open/550.163.01:
cmd_gen_symversions_c nvidia/nv.o
if nm nvidia/nv.o 2>/dev/null | grep -q ' _export_symbol'; then nm nvidia/nv.o | sed -n 's/.* _export_symbol(.*)//p' | /usr/src/linux-headers-6.17.13-2-pve/scripts/gendwarfksyms/gendwarfksyms nvidia/nv.o >> nvidia/.nv.o.cmd; fi
make[3]: *** [/usr/src/linux-headers-6.17.13-2-pve/Makefile:2016: .] Error 2
make[2]: *** [/usr/src/linux-headers-6.17.13-2-pve/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/nvidia-current-open/550.163.01/build'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.17.13-2-pve'
make: *** [Makefile:140: modules] Error 2
exit code: 2
More Info
Environment Context:
- OS: Fresh install of Proxmox VE 9.1 (Based on Debian 13 "Trixie")
- CPU: Intel Core i5-10400
- GPU: NVIDIA GeForce RTX 2060 SUPER
Expected Behavior:
I expected the open-gpu-kernel-modules to successfully compile via DKMS against the Proxmox 6.17 kernel during the apt install process.
Actual Behavior:
The compilation fails systematically at make modules on both the 555 and 550 branches. I suspect a compatibility issue between the NVIDIA code and the recent changes in the 6.17 kernel tree used by Proxmox.
Please let me know if you need me to attach the full make.log file for further debugging. Thank you!
Contributor guide
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.
Research direction
Start by reproducing the failure with apt -t experimental install nvidia-driver and inspect the DKMS make.log under /var/lib/dkms/nvidia-current-open/550.163.01/build, especially the gendwarfksyms step shown in the report. Compare the build against the /usr/src/linux-headers-6.17.13-2-pve tree and confirm that DKMS completes for the affected driver branches on the Proxmox kernel.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100