Bug#1040178: Kernel modules will not build, missing asm/orc_header.h

Richard A Burton richardaburton at gmail.com
Sun Jul 2 21:26:52 BST 2023


Package: nvidia-kernel-dkms

Version: 525.116.04-1


Setting up nvidia-kernel-dkms (525.116.04-1) ...
Removing old nvidia-current-525.116.04 DKMS files...
Deleting module nvidia-current-525.116.04 completely from the DKMS tree.
Loading new nvidia-current-525.116.04 DKMS files...
Building for 6.3.0-1-amd64
Building initial module for 6.3.0-1-amd64
Error! Bad return status for module build on kernel: 6.3.0-1-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.116.04/build/make.log for
more information.
dpkg: error processing package nvidia-kernel-dkms (--configure):
 installed nvidia-kernel-dkms package post-installation script
subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-driver:
 nvidia-driver depends on nvidia-kernel-dkms (= 525.116.04-1) |
nvidia-kernel-525.116.04 | nvidia-open-kernel-525.116.04 |
nvidia-open-kernel-525.116.04; however:
  Package nvidia-kernel-dkms is not configured yet.
  Package nvidia-kernel-525.116.04 is not installed.
  Package nvidia-kernel-dkms which provides nvidia-kernel-525.116.04
is not configured yet.
  Package nvidia-open-kernel-525.116.04 is not installed.
  Package nvidia-open-kernel-525.116.04 is not installed.

dpkg: error processing package nvidia-driver (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.37-3) ...
Errors were encountered while processing:
 nvidia-kernel-dkms
 nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)



Build log ends with errors such as:
/var/lib/dkms/nvidia-current/525.116.04/build/nvidia-drm.mod.c:10:10:
fatal error: asm/orc_header.h: No such file or directory
   10 | #include <asm/orc_header.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nvidia-devel/attachments/20230702/8520dbda/attachment.htm>


More information about the pkg-nvidia-devel mailing list