NVIDIA Open GPU Kernel Modules Version
595.71.05
Operating System and Version
6.12.88+deb13-amd64
Kernel Release
6.12.88-1 (2026-05-15) 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.
Build Command
sudo dkms build nvidia/595.71.05 -k 6.12.88+deb13-amd64
Terminal output/Build Log
/bin/sh: 1: /var/lib/dkms/nvidia/595.71.05/build/pahole.sh: Permission denied make[4]: *** [.../Makefile.modfinal:64: .../nvidia-drm.ko] Error 126
More Info
Steps to Reproduce:
- Extract source archive from nvidia-open-dkms package or clone repository
- Run
dkms build nvidia/595.71.05 -k 6.12.88+deb13-amd64
- Build fails with permission error
Root Cause:
The pahole.sh file is extracted without executable permissions (-rw-r--r-- instead of -rwxr-xr-x). Since DKMS extracts sources fresh for each kernel build, chmod +x is lost on every rebuild.
Expected Behavior:
The pahole.sh file should have executable permissions in the source archive.
Workaround:
Manually run: find /var/lib/dkms/nvidia/*/source/pahole.sh -exec chmod +x {} \;
Proposed Fix:
Add executable permission to pahole.sh in the build system or packaging configuration.
Additional Context:
This affects all DKMS builds of nvidia-open on systems with kernels requiring BTF generation.
NVIDIA Open GPU Kernel Modules Version
595.71.05
Operating System and Version
6.12.88+deb13-amd64
Kernel Release
6.12.88-1 (2026-05-15) 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.
Build Command
sudo dkms build nvidia/595.71.05 -k 6.12.88+deb13-amd64
Terminal output/Build Log
/bin/sh: 1: /var/lib/dkms/nvidia/595.71.05/build/pahole.sh: Permission denied make[4]: *** [.../Makefile.modfinal:64: .../nvidia-drm.ko] Error 126
More Info
Steps to Reproduce:
dkms build nvidia/595.71.05 -k 6.12.88+deb13-amd64Root Cause:
The
pahole.shfile is extracted without executable permissions (-rw-r--r--instead of-rwxr-xr-x). Since DKMS extracts sources fresh for each kernel build,chmod +xis lost on every rebuild.Expected Behavior:
The
pahole.shfile should have executable permissions in the source archive.Workaround:
Manually run:
find /var/lib/dkms/nvidia/*/source/pahole.sh -exec chmod +x {} \;Proposed Fix:
Add executable permission to
pahole.shin the build system or packaging configuration.Additional Context:
This affects all DKMS builds of nvidia-open on systems with kernels requiring BTF generation.