Re: debian kernel compiler
On Thu, Jan 02, 2025 at 17:11:10 +0100, Istvan Toth wrote:
> ~/kernel$ sudo dpkg -i linux-image-6.1.119-fah79_6.1.119-1_amd64.deb
> Selecting previously unselected package linux-image-6.1.119-fah79.
> (Reading database ... 192934 files and directories currently installed.)
> Preparing to unpack linux-image-6.1.119-fah79_6.1.119-1_amd64.deb ...
> Unpacking linux-image-6.1.119-fah79 (6.1.119-1) ...
> Setting up linux-image-6.1.119-fah79 (6.1.119-1) ...
> dkms: running auto installation service for kernel 6.1.119-fah79.
> Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
> Signing key: /var/lib/dkms/mok.key
> Public certificate (MOK): /var/lib/dkms/mok.pub
>
> Building module:
> Cleaning build area...
> env NV_VERBOSE=1 make -j16 modules KERNEL_UNAME=6.1.119-fah79.................................(bad exit status: 2)
> Error! Bad return status for module build on kernel: 6.1.119-fah79 (x86_64)
> Consult /var/lib/dkms/nvidia-current/535.216.01/build/make.log for more information.
> Error! One or more modules failed to install during autoinstall.
> Refer to previous errors for more information.
> dkms: autoinstall for kernel: 6.1.119-fah79 failed!
I would look in /var/lib/dkms/nvidia-current/535.216.01/build/make.log
as it says.
I don't believe linux-image-6.1.119-fah79_6.1.119-1_amd64.deb is a
Debian kernel package. If you got this from a third-party source, or
if you built it yourself, then you will need the linux-headers-*
package that matches it, in order to build DKMS modules.
Reply to: