NVIDIA / NVIDIA/open-gpu-kernel-modules
nvidia-current-open 550.163.01 fails to build against kernel headers 6.12.100+deb13-common
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
nvidia-current-open 550.163.01
Operating System and Version
Debian GNU/Linux 13 (trixie)
Kernel Release
Linux debian 6.12.100+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.100-1 (2026-07-30) x86_64 GNU/Linux
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
sudo apt install linux-headers-6.12.100+deb13-amd64
Terminal output/Build Log
More Info
Bug Report
nvidia-current-open 550.163.01 fails to build against kernel headers 6.12.100+deb13-common (Debian trixie-security), while building successfully against 6.12.96+deb13-amd64 and earlier point releases.
Build error:
nv-pci.c: In function ‘nv_resize_pcie_bars’:
nv-pci.c:237:9: error: too few arguments to function ‘pci_resize_resource’
237 | r = pci_resize_resource(pci_dev, NV_GPU_BAR1, requested_size);
| ^~~~~~~~~~~~~~~~~~~
include/linux/pci.h:1421:18: note: declared here
1421 | int __must_check pci_resize_resource(struct pci_dev *dev, int i, int size,
| ^~~~~~~~~~~~~~~~~~~
Apparently, the kernel's pci_resize_resource() now takes an additional argument compared to previous 6.12.x releases.
System info:
- Distro: Debian 13 (trixie)
- Kernel headers: linux-headers-6.12.100+deb13-common, version 6.12.100-1
- Driver: nvidia-current-open 550.163.01
- Last known working kernel: 6.12.96+deb13-amd64
Steps to reproduce:
- Install linux-headers-6.12.100+deb13-* on Debian trixie
- DKMS attempts automatic rebuild of nvidia-current-open
- Build fails as above
Full build log attached.
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 with nv-pci.c at nv_resize_pcie_bars and compare its pci_resize_resource call with the signature in include/linux/pci.h for linux-headers-6.12.100+deb13-common. Reproduce the DKMS build using the attached make.log context and verify that nvidia-current-open 550.163.01 builds successfully against the affected headers while retaining compatibility with the last known working 6.12.96 headers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100