pahole.sh lacks executable permission in source archive
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 74/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 冷清
- 技术栈
- linux, shell
调研方向
首先定位 pahole.sh,以及创建源代码归档的构建系统或打包配置。复现 DKMS 构建命令,然后验证解压后的 pahole.sh 具有可执行权限,并且构建不再因权限错误 126 而失败。
由索引模型根据 Issue 内容生成。
描述
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.
- I am running on a stable kernel release.
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.
- 主要语言
- C
- 星标
- 17.4k
- 派生
- 1.9k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NVIDIA/open-gpu-kernel-modules 的其他 Issue
-
PlatformRequestHandler: missing !bInit guard on bSystemParamLimitUpdate causes NV_ERR_INVALID_DATA at boot可能已有人在做 @SammyTourani 于 10 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
NVIDIA/open-gpu-kernel-modules#1360 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
NVIDIA/open-gpu-kernel-modules#1343 · 3 条评论 ·
维护者通常 1 天内回复
-
HKC G27H7Pro redundant long-HPD loop after DisplayPort link training (RTX 5060 Laptop, 610.57.04)未关闭bug
难度 2/5 1-3 小时 新手友好度 88/100
NVIDIA/open-gpu-kernel-modules#1323 ·
维护者通常 1 天内回复
-
build-problem
难度 2/5 1-3 小时 新手友好度 76/100
NVIDIA/open-gpu-kernel-modules#1154 · 10 条评论 ·
维护者通常 1 天内回复
-
Bug template is outdated可能已有人在做 @Rohithmatham12 于 122 天前认领。 未关闭bug
难度 1/5 1 小时以内 新手友好度 78/100
NVIDIA/open-gpu-kernel-modules#1147 ·
维护者通常 1 天内回复
查看 NVIDIA/open-gpu-kernel-modules 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
EchoTools/nevr-runtime#171 · 1 条评论 ·
维护者通常 1 天内回复
-
[P2] Workspace updates silently ignore forbidden assignments while staging the row可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 70/100
维护者通常 4 天内回复
-
category:port-update
难度 2/5 1-3 小时 新手友好度 72/100
microsoft/vcpkg#54338 · 1 条评论 ·
维护者通常 2 天内回复
-
area:http-gateway good first issue priority:low type:docs
难度 2/5 1-3 小时 新手友好度 88/100
crazy-goat/php-fpm-ng#828 ·
维护者通常 1 天内回复