intel / ipu6-drivers

GNU General Public License v2.0
172 stars 52 forks source link

`dkms autoinstall` fails (6.1.7 kernel) #85

Open realestninja opened 1 year ago

realestninja commented 1 year ago

I followed the instructions from the README section 3. I copied the dkms.conf aswell.

Here is a log:

$ uname -r
6.1.7-1-MANJARO

$ sudo dkms autoinstall ipu6-drivers/0.0.0

Sign command: /usr/lib/modules/6.1.7-1-MANJARO/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...(bad exit status: 2)
make -j16 KERNELRELEASE=6.1.7-1-MANJARO KERNELRELEASE=6.1.7-1-MANJARO KERNEL_SRC=/usr/lib/modules/6.1.7-1-MANJARO/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.7-1-MANJARO (x86_64)
Consult /var/lib/dkms/ipu6-drivers/0.0.0/build/make.log for more information.
Sign command: /usr/lib/modules/6.1.7-1-MANJARO/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...(bad exit status: 2)
make -j16 KERNELRELEASE=6.1.7-1-MANJARO KERNELRELEASE=6.1.7-1-MANJARO KERNEL_SRC=/usr/lib/modules/6.1.7-1-MANJARO/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.7-1-MANJARO (x86_64)
Consult /var/lib/dkms/ivsc-driver/1.0.0/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.

Here is the log for the make.log file:

DKMS make.log for ivsc-driver-1.0.0 for kernel 6.1.7-1-MANJARO (x86_64)
Mon 30 Jan 2023 17:55:52 CET
make: *** No targets specified and no makefile found.  Stop.

I have the linux61-headers package from the AUR installed. Anything else I require?

hao-yao commented 1 year ago

Would you try directly make without dkms, or upload the /var/lib/dkms/ivsc-driver/1.0.0/build/make.log?

realestninja commented 1 year ago
$ sudo dkms autoinstall ipu6-drivers/0.0.0
[sudo] password for nikhil: 
Sign command: /usr/lib/modules/6.1.9-1-MANJARO/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...(bad exit status: 2)
make -j16 KERNELRELEASE=6.1.9-1-MANJARO KERNELRELEASE=6.1.9-1-MANJARO KERNEL_SRC=/usr/lib/modules/6.1.9-1-MANJARO/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.9-1-MANJARO (x86_64)
Consult /var/lib/dkms/ipu6-drivers/0.0.0/build/make.log for more information.
Sign command: /usr/lib/modules/6.1.9-1-MANJARO/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...(bad exit status: 2)
make -j16 KERNELRELEASE=6.1.9-1-MANJARO KERNELRELEASE=6.1.9-1-MANJARO KERNEL_SRC=/usr/lib/modules/6.1.9-1-MANJARO/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.9-1-MANJARO (x86_64)
Consult /var/lib/dkms/ivsc-driver/1.0.0/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.

Here is the make.log:

DKMS make.log for ivsc-driver-1.0.0 for kernel 6.1.9-1-MANJARO (x86_64)
Fri 03 Feb 2023 09:35:29 CET
make: *** No targets specified and no makefile found.  Stop.
realestninja commented 1 year ago

Unfortunately I am not experienced at building Kernel manually so I was trying with dkms. Anything else I can try?

/var/lib/dkms/ivsc-driver/1.0.0/build/make.log

DKMS make.log for ivsc-driver-1.0.0 for kernel 6.1.12-1-MANJARO (x86_64)
Mon 20 Mar 2023 17:16:55 CET
make: *** No targets specified and no makefile found.  Stop.

After I follow instructions for number 3 in the README.