#1143256 nvidia-driver: fails DKMS build on kernel 6.12.100-1 with too few arguments to function ‘pci_resize_resource’ #1143256
- Package:
- nvidia-driver
- Source:
- nvidia-driver
- Submitter:
- LionsPhil
- Date:
- 2026-10-20 16:41:02 UTC
- Severity:
- normal
- Tags:
Dear Maintainer,
Upgrading trixie to kernel 6.12.100-1 (current trixie-security) fails
the DKMS autoinstall build of nvidia-driver 555.58.02-3 (current
experimental).
Excerpt from /var/lib/dkms/nvidia-current-open/555.58.02/build/make.log:
/var/lib/dkms/nvidia-current-open/555.58.02/build/nvidia/nv-pci.c: In function ‘nv_resize_pcie_bars’:
/var/lib/dkms/nvidia-current-open/555.58.02/build/nvidia/nv-pci.c:234:9: error: too few arguments to function ‘pci_resize_resource’
234 | r = pci_resize_resource(pci_dev, NV_GPU_BAR1, requested_size);
| ^~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia-current-open/555.58.02/build/nvidia/nv-pci-table.h:27,
from /var/lib/dkms/nvidia-current-open/555.58.02/build/nvidia/nv-pci.c:24:
/usr/src/linux-headers-6.12.100+deb13-common/include/linux/pci.h:1421:18: note: declared here
1421 | int __must_check pci_resize_resource(struct pci_dev *dev, int i, int size,
| ^~~~~~~~~~~~~~~~~~~
I can find some wider-web references to this build failure, but not for
kernel 6.12. I guess trixie-security picked up some breaking changes
from a later kernel amongst the security patches.
(For now, I've worked around by rolling back the kernel. Note I did
this *before* running reportbug, so the reported kernel below is NOT the
build failure one.)
...I have no idea how my searching failed to find bug #1143204 , which I believe is almost exactly this save that I'm on -3 rather than -2, and has already had some more investigation done. Sorry for the dup.
Dear Maintainer, After installing linux-image-amd64:6.12.100-1 on Debian 13, nvidia-kernel-dkms does not build anymore due to pci_resize_resource. If 550.163.01-5 fixes the build, can you bump the repository? Sincerely, Ciel.
tags 1143256 + patch I submitted https://salsa.debian.org/nvidia-team/nvidia-open-gpu-kernel-modules/-/merge_requests/3 as the patch to address this issue.
We believe that the bug you reported is fixed in the latest version of
nvidia-open-gpu-kernel-modules, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1143204@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Agathe Porte <gagath@debian.org> (supplier of updated nvidia-open-gpu-kernel-modules package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 20 Sep 2026 08:57:48 +0200
Source: nvidia-open-gpu-kernel-modules
Architecture: source
Version: 550.163.01-4.1
Distribution: unstable
Urgency: medium
Maintainer: Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>
Changed-By: Agathe Porte <gagath@debian.org>
Closes: 1143204
Changes:
nvidia-open-gpu-kernel-modules (550.163.01-4.1) unstable; urgency=medium
.
[ Agathe Porte ]
* Non-maintainer upload.
.
[ Ciel Avenir ]
* Backport NV_PCI_RESIZE_RESOURCE_HAS_EXCLUDE_BARS_ARG changes from
590.48.01 to fix open kernel module build for Linux 6.12.100.
(Closes: #1143204)
Checksums-Sha1:
95a98ad992c7a8a18469ae9d3d545fe67a68713c 2689 nvidia-open-gpu-kernel-modules_550.163.01-4.1.dsc
e24acf3073dc7cf8704422d1a8d5d2d34ac1e621 37792 nvidia-open-gpu-kernel-modules_550.163.01-4.1.debian.tar.xz
b9bab020fe53128d1ef3f58adece16749ecc7321 5736 nvidia-open-gpu-kernel-modules_550.163.01-4.1_source.buildinfo
Checksums-Sha256:
244a0467c6baa625bc7810ec0d90aec9e2e94c6f1db19da9e94c199fa3c7d43b 2689 nvidia-open-gpu-kernel-modules_550.163.01-4.1.dsc
2a8c66934e00e901e7ea9fb63eebf9b82beb7c0fcb3cfc48523fc3521aaf6b07 37792 nvidia-open-gpu-kernel-modules_550.163.01-4.1.debian.tar.xz
9442ee224212125ccd3d27158d1eabdf96ce3c2fd09a9ec5c4cecc8bf8a33340 5736 nvidia-open-gpu-kernel-modules_550.163.01-4.1_source.buildinfo
Files:
764e512235c3045f0c846a36de020d96 2689 contrib/kernel optional nvidia-open-gpu-kernel-modules_550.163.01-4.1.dsc
66ef4f85a8b2a1205015be1e2bdbf5bf 37792 contrib/kernel optional nvidia-open-gpu-kernel-modules_550.163.01-4.1.debian.tar.xz
fa28f43f064158454d659e162dd56f32 5736 contrib/kernel optional nvidia-open-gpu-kernel-modules_550.163.01-4.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEQjcon3lQygVQAYv2lfmCCmM4pbkFAmrXlLUSHGdhZ2F0aEBk
ZWJpYW4ub3JnAAoJEJX5ggpjOKW5JukQANOwqiE2oqsCQNu1xpV7BD9MUN7yBty5
WFgz3voOut0sMrZcobG95ImLIXq4hZso+VreLbGfsKmLXuc1zjyNJXnTNVdd7j7h
sER7bw0OYT1UvFkso0FEm9a7HhLw/5m7nmpt5GWSBOx48lwamH5CyGTocKbvQ6yV
1l8ZdphNkbZwvxG6ywkLVHWNufa5iAtOAOGyewMVH0GitRqFXkUdVN73WWJ4mk0Y
fZCGSm+XuwWvkztsENonMvnwRY+Dkh8139iGNcBHlXeytRYKqrbqAi7VN/2DV4sU
U+GannF0JTd1Ij37nED/AuJr5LjIzjNxDQ5mUfrUZtj1MblAzxg3N+d0Xc0R1dkG
E/Ro2bXgp5LW+7GpHoqgFZVpAMCm2OvpPv/t3gvGn1zmJOMaph1ily1y7Y8mzlz9
xAPpmm4F3qfw6n2B5TAV2WDXjb0K1MfY3Z7zNhE1BmpllmTN3hvJmzi7HQcXEkUf
g6ESef4sQSmQOW2QJ08GbrIKn8lBaOECm5DM+zT3bvcbAGPRks6MhGqiFQRhM4Gs
z/BXkwh1IAX0Zw7UxXP4/FJl0IErDjU1/3ek/fkJnEKC0uy6+L0ySbQD7fSiejE7
5z4BQ9hGXoX4xWYujbMwpejziMYs8xWE6hIXypU2mqSNfqP6BYfz82RtJNglfOKL
gud1Q+Pex/2c
=rbYM
-----END PGP SIGNATURE-----