Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

pahole.sh lacks executable permission in source archive

未关闭 适合新手
#1,155 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
74/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
冷清
技术栈
linux, shell

调研方向

首先定位 pahole.sh,以及创建源代码归档的构建系统或打包配置。复现 DKMS 构建命令,然后验证解压后的 pahole.sh 具有可执行权限,并且构建不再因权限错误 126 而失败。

由索引模型根据 Issue 内容生成。

描述

build-problem
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:

  1. Extract source archive from nvidia-open-dkms package or clone repository
  2. Run dkms build nvidia/595.71.05 -k 6.12.88+deb13-amd64
  3. 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 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NVIDIA/open-gpu-kernel-modules 的其他 Issue

查看 NVIDIA/open-gpu-kernel-modules 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。