NVIDIA / NVIDIA/open-gpu-kernel-modules
575.51.03 fails to build in Debian trixie
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
575.51.03
Operating System and Version
Description: Debian GNU/Linux trixie/sid
Kernel Release
Linux MyDebian 6.12.22-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.22-1 (2025-04-10) 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
Installed from this repository:
https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/
did apt upgrade.
Terminal output/Build Log
More Info
The error log says
ERROR: modpost: /var/lib/dkms/nvidia/575.51.03/build/nvidia: sizeof(struct of_device_id)=196 is not a modulo of the size of section __mod_of__<identifier>_device_table=400.
according to amd64 kernel header(/usr/src/linux-headers-6.12.22-common/include/linux/mod_devicetable.h)
struct of_device_id {
char name[32];
char type[32];
char compatible[128];
const void *data;
};
sizeof(struct of_device_id) should be 200 but reported as 196.
This error seems similar to
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877779
It might be debian specific issue but prior 570.133.20 module could build without any problem.
I think it is regression of 575.51.03.
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 reading the attached make.log and the Debian kernel header at /usr/src/linux-headers-6.12.22-common/include/linux/mod_devicetable.h. Compare the 575.51.03 build context with the reported working 570.133.20 module and the referenced Debian bug. Done means the module builds successfully on Debian trixie with the stated 6.12.22 kernel.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, debian, linux
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100