Purging the driver and re-installing the hailort-pcie-driver, as indicated in the link you posted, did not solve my issue
I am leaving the content of /var/log/hailort-pcie-driver.deb.log. I am currently on Ubuntu 22.04 with linux-image-6.8.0-40-generic
######### mer 28 ago 2024, 12:20:44, CEST #########
######### mer 28 ago 2024, 12:20:45, CEST #########
Verifying secureboot is disabled.
######### mer 28 ago 2024, 12:20:50, CEST #########
/share/opt/hailo/linux/pcie /
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic'
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic'
Creating symlink /var/lib/dkms/hailo_pci/4.18.0/source -> /usr/src/hailo_pci-4.18.0
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j4 KERNELRELEASE=6.8.0-40-generic -C /lib/modules/6.8.0-40-generic/build M=/var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie modules....(bad exit status: 2)
ERROR (dkms apport): binary package for hailo_pci: 4.18.0 not found
Error! Bad return status for module build on kernel: 6.8.0-40-generic (x86_64)
Consult /var/lib/dkms/hailo_pci/4.18.0/build/make.log for more information.
DKMS make.log for hailo_pci-4.18.0 for kernel 6.8.0-40-generic (x86_64)
mer 28 ago 2024, 12:21:00, CEST
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/src/pcie.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/src/fops.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/src/utils.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/src/sysfs.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/src/pci_soc_ioctl.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/fw_validation.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/fw_operation.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/pcie_common.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/vdma_common.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/hailo_resource.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../utils/logs.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../vdma/vdma.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../vdma/memory.o
/var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/pcie_common.c:659:6: error: no previous prototype for ‘hailo_pcie_is_device_ready_for_boot’ [-Werror=missing-prototypes]
659 | bool hailo_pcie_is_device_ready_for_boot(struct hailo_pcie_resources *resources)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/pcie_common.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-headers-6.8.0-40-generic/Makefile:1926: /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic'
make: *** [Makefile:131: install_dkms] Error 1
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic'
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic'
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
CC [M] /share/opt/hailo/linux/pcie/src/pcie.o
CC [M] /share/opt/hailo/linux/pcie/src/fops.o
CC [M] /share/opt/hailo/linux/pcie/src/utils.o
CC [M] /share/opt/hailo/linux/pcie/src/sysfs.o
CC [M] /share/opt/hailo/linux/pcie/src/pci_soc_ioctl.o
CC [M] /share/opt/hailo/linux/pcie/../../common/fw_validation.o
CC [M] /share/opt/hailo/linux/pcie/../../common/fw_operation.o
CC [M] /share/opt/hailo/linux/pcie/../../common/pcie_common.o
/share/opt/hailo/linux/pcie/../../common/pcie_common.c:659:6: error: no previous prototype for ‘hailo_pcie_is_device_ready_for_boot’ [-Werror=missing-prototypes]
659 | bool hailo_pcie_is_device_ready_for_boot(struct hailo_pcie_resources *resources)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /share/opt/hailo/linux/pcie/../../common/pcie_common.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.8.0-40-generic/Makefile:1926: /share/opt/hailo/linux/pcie] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic'
make: *** [Makefile:93: all] Error 2
Failed. Exited with status 2. See /var/log/hailort-pcie-driver.deb.log
Failed at 49
46
47 function compile_and_install_pcie_driver_without_dkms() {
48 make clean &>> $LOG
49 make all &>> $LOG
50 make install &>> $LOG
51 }
52
######### mer 28 ago 2024, 12:22:01, CEST #########
######### mer 28 ago 2024, 12:22:04, CEST #########
######### mer 28 ago 2024, 12:22:05, CEST #########
######### mer 28 ago 2024, 12:22:19, CEST #########
######### mer 28 ago 2024, 12:22:20, CEST #########
Verifying secureboot is disabled.
######### mer 28 ago 2024, 12:22:31, CEST #########
/share/opt/hailo/linux/pcie /
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic'
CLEAN /share/opt/hailo/linux/pcie
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic'
Creating symlink /var/lib/dkms/hailo_pci/4.17.0/source -> /usr/src/hailo_pci-4.17.0
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j4 KERNELRELEASE=6.8.0-40-generic -C /lib/modules/6.8.0-40-generic/build M=/var/lib/dkms/hailo_pci/4.17.0/build/linux/pcie modules.....
Signing module:
Generating a new Secure Boot signing key:
Can't load /var/lib/shim-signed/mok/.rnd into RNG
40671CA1C9720000:error:12000079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:106:Filename=/var/lib/shim-signed/mok/.rnd
....+........+...+....+..+..........+.....+.........+.+...+...+........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+......+..........+...+..+......+....+......+...+..+...+....+............+.........+..+....+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+......+.....+......+...+.+......+.....+...+.........................+......+......+......+........+.........+...+.............+..+...+....+.....+...+...............+....+........+.+.........+...+..+.+......+....................+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+..+.......+...+...+...........+......+...+.......+...+......+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
- /var/lib/dkms/hailo_pci/4.17.0/6.8.0-40-generic/x86_64/module/hailo_pci.ko
Secure Boot not enabled on this system.
cleaning build area...
hailo_pci.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.8.0-40-generic/updates/dkms/
depmod...
######### mer 28 ago 2024, 14:39:04, CEST #########
######### mer 28 ago 2024, 14:39:14, CEST #########
######### mer 28 ago 2024, 14:40:35, CEST #########
######### mer 28 ago 2024, 14:41:28, CEST #########
######### mer 28 ago 2024, 14:41:30, CEST #########
Verifying secureboot is disabled.
######### mer 28 ago 2024, 14:41:33, CEST #########
/share/opt/hailo/linux/pcie /
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic'
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic'
Creating symlink /var/lib/dkms/hailo_pci/4.18.0/source -> /usr/src/hailo_pci-4.18.0
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j4 KERNELRELEASE=6.8.0-40-generic -C /lib/modules/6.8.0-40-generic/build M=/var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie modules....(bad exit status: 2)
ERROR (dkms apport): binary package for hailo_pci: 4.18.0 not found
Error! Bad return status for module build on kernel: 6.8.0-40-generic (x86_64)
Consult /var/lib/dkms/hailo_pci/4.18.0/build/make.log for more information.
DKMS make.log for hailo_pci-4.18.0 for kernel 6.8.0-40-generic (x86_64)
mer 28 ago 2024, 14:41:40, CEST
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/src/pcie.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/src/fops.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/src/utils.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/src/sysfs.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/src/pci_soc_ioctl.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/fw_validation.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/fw_operation.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/pcie_common.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/vdma_common.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/hailo_resource.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../utils/logs.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../vdma/vdma.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../vdma/memory.o
/var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/pcie_common.c:659:6: error: no previous prototype for ‘hailo_pcie_is_device_ready_for_boot’ [-Werror=missing-prototypes]
659 | bool hailo_pcie_is_device_ready_for_boot(struct hailo_pcie_resources *resources)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/pcie_common.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-headers-6.8.0-40-generic/Makefile:1926: /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic'
make: *** [Makefile:131: install_dkms] Error 1
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic'
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic'
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
CC [M] /share/opt/hailo/linux/pcie/src/pcie.o
CC [M] /share/opt/hailo/linux/pcie/src/fops.o
CC [M] /share/opt/hailo/linux/pcie/src/utils.o
CC [M] /share/opt/hailo/linux/pcie/src/sysfs.o
CC [M] /share/opt/hailo/linux/pcie/src/pci_soc_ioctl.o
CC [M] /share/opt/hailo/linux/pcie/../../common/fw_validation.o
CC [M] /share/opt/hailo/linux/pcie/../../common/fw_operation.o
CC [M] /share/opt/hailo/linux/pcie/../../common/pcie_common.o
/share/opt/hailo/linux/pcie/../../common/pcie_common.c:659:6: error: no previous prototype for ‘hailo_pcie_is_device_ready_for_boot’ [-Werror=missing-prototypes]
659 | bool hailo_pcie_is_device_ready_for_boot(struct hailo_pcie_resources *resources)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /share/opt/hailo/linux/pcie/../../common/pcie_common.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.8.0-40-generic/Makefile:1926: /share/opt/hailo/linux/pcie] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic'
make: *** [Makefile:93: all] Error 2
Failed. Exited with status 2. See /var/log/hailort-pcie-driver.deb.log
Failed at 49
46
47 function compile_and_install_pcie_driver_without_dkms() {
48 make clean &>> $LOG
49 make all &>> $LOG
50 make install &>> $LOG
51 }
52
######### mer 28 ago 2024, 14:42:48, CEST #########
######### mer 28 ago 2024, 14:42:51, CEST #########
######### mer 28 ago 2024, 14:42:51, CEST #########
######### mer 28 ago 2024, 14:42:59, CEST #########
Verifying secureboot is disabled.
######### mer 28 ago 2024, 14:42:59, CEST #########
/share/opt/hailo/linux/pcie /
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic'
CLEAN /share/opt/hailo/linux/pcie
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic'
Creating symlink /var/lib/dkms/hailo_pci/4.18.0/source -> /usr/src/hailo_pci-4.18.0
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j4 KERNELRELEASE=6.8.0-40-generic -C /lib/modules/6.8.0-40-generic/build M=/var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie modules....(bad exit status: 2)
ERROR (dkms apport): binary package for hailo_pci: 4.18.0 not found
Error! Bad return status for module build on kernel: 6.8.0-40-generic (x86_64)
Consult /var/lib/dkms/hailo_pci/4.18.0/build/make.log for more information.
DKMS make.log for hailo_pci-4.18.0 for kernel 6.8.0-40-generic (x86_64)
mer 28 ago 2024, 14:43:05, CEST
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/src/pcie.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/src/fops.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/src/utils.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/src/sysfs.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/src/pci_soc_ioctl.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/fw_validation.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/fw_operation.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/pcie_common.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/vdma_common.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/hailo_resource.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../utils/logs.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../vdma/vdma.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../vdma/memory.o
/var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/pcie_common.c:659:6: error: no previous prototype for ‘hailo_pcie_is_device_ready_for_boot’ [-Werror=missing-prototypes]
659 | bool hailo_pcie_is_device_ready_for_boot(struct hailo_pcie_resources *resources)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/pcie_common.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-headers-6.8.0-40-generic/Makefile:1926: /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic'
make: *** [Makefile:131: install_dkms] Error 1
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic'
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic'
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
CC [M] /share/opt/hailo/linux/pcie/src/pcie.o
CC [M] /share/opt/hailo/linux/pcie/src/fops.o
CC [M] /share/opt/hailo/linux/pcie/src/utils.o
CC [M] /share/opt/hailo/linux/pcie/src/sysfs.o
CC [M] /share/opt/hailo/linux/pcie/src/pci_soc_ioctl.o
CC [M] /share/opt/hailo/linux/pcie/../../common/fw_validation.o
CC [M] /share/opt/hailo/linux/pcie/../../common/fw_operation.o
CC [M] /share/opt/hailo/linux/pcie/../../common/pcie_common.o
/share/opt/hailo/linux/pcie/../../common/pcie_common.c:659:6: error: no previous prototype for ‘hailo_pcie_is_device_ready_for_boot’ [-Werror=missing-prototypes]
659 | bool hailo_pcie_is_device_ready_for_boot(struct hailo_pcie_resources *resources)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /share/opt/hailo/linux/pcie/../../common/pcie_common.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.8.0-40-generic/Makefile:1926: /share/opt/hailo/linux/pcie] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic'
make: *** [Makefile:93: all] Error 2
Failed. Exited with status 2. See /var/log/hailort-pcie-driver.deb.log
Failed at 49
46
47 function compile_and_install_pcie_driver_without_dkms() {
48 make clean &>> $LOG
49 make all &>> $LOG
50 make install &>> $LOG
51 }
52
######### mer 28 ago 2024, 14:43:25, CEST #########
######### mer 28 ago 2024, 14:43:28, CEST #########
######### mer 28 ago 2024, 14:43:28, CEST #########
######### mer 28 ago 2024, 14:45:20, CEST #########
Verifying secureboot is disabled.
######### mer 28 ago 2024, 14:45:20, CEST #########
/share/opt/hailo/linux/pcie /
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic'
CLEAN /share/opt/hailo/linux/pcie
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic'
Creating symlink /var/lib/dkms/hailo_pci/4.17.0/source -> /usr/src/hailo_pci-4.17.0
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j4 KERNELRELEASE=6.8.0-40-generic -C /lib/modules/6.8.0-40-generic/build M=/var/lib/dkms/hailo_pci/4.17.0/build/linux/pcie modules.....
Signing module:
- /var/lib/dkms/hailo_pci/4.17.0/6.8.0-40-generic/x86_64/module/hailo_pci.ko
Secure Boot not enabled on this system.
cleaning build area...
hailo_pci.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.8.0-40-generic/updates/dkms/
depmod...
######### mer 28 ago 2024, 15:06:26, CEST #########
######### mer 28 ago 2024, 15:06:39, CEST #########
Verifying secureboot is disabled.
######### mer 28 ago 2024, 15:06:39, CEST #########
######### mer 28 ago 2024, 15:06:39, CEST #########
/share/opt/hailo/linux/pcie /
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic'
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic'
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
CC [M] /share/opt/hailo/linux/pcie/src/pcie.o
CC [M] /share/opt/hailo/linux/pcie/src/fops.o
CC [M] /share/opt/hailo/linux/pcie/src/utils.o
CC [M] /share/opt/hailo/linux/pcie/src/sysfs.o
CC [M] /share/opt/hailo/linux/pcie/src/pci_soc_ioctl.o
CC [M] /share/opt/hailo/linux/pcie/../../common/fw_validation.o
CC [M] /share/opt/hailo/linux/pcie/../../common/fw_operation.o
CC [M] /share/opt/hailo/linux/pcie/../../common/pcie_common.o
/share/opt/hailo/linux/pcie/../../common/pcie_common.c:659:6: error: no previous prototype for ‘hailo_pcie_is_device_ready_for_boot’ [-Werror=missing-prototypes]
659 | bool hailo_pcie_is_device_ready_for_boot(struct hailo_pcie_resources *resources)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /share/opt/hailo/linux/pcie/../../common/pcie_common.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.8.0-40-generic/Makefile:1926: /share/opt/hailo/linux/pcie] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic'
make: *** [Makefile:93: all] Error 2
Failed. Exited with status 2. See /var/log/hailort-pcie-driver.deb.log
Failed at 49
46
47 function compile_and_install_pcie_driver_without_dkms() {
48 make clean &>> $LOG
49 make all &>> $LOG
50 make install &>> $LOG
51 }
52
######### mer 28 ago 2024, 15:07:09, CEST #########
######### mer 28 ago 2024, 15:07:12, CEST #########
######### mer 28 ago 2024, 15:07:29, CEST #########
######### mer 28 ago 2024, 15:08:12, CEST #########
Verifying secureboot is disabled.
######### mer 28 ago 2024, 15:08:13, CEST #########
/share/opt/hailo/linux/pcie /
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic'
CLEAN /share/opt/hailo/linux/pcie
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic'
Creating symlink /var/lib/dkms/hailo_pci/4.17.0/source -> /usr/src/hailo_pci-4.17.0
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j4 KERNELRELEASE=6.8.0-40-generic -C /lib/modules/6.8.0-40-generic/build M=/var/lib/dkms/hailo_pci/4.17.0/build/linux/pcie modules....
Signing module:
- /var/lib/dkms/hailo_pci/4.17.0/6.8.0-40-generic/x86_64/module/hailo_pci.ko
Secure Boot not enabled on this system.
cleaning build area...
hailo_pci.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.8.0-40-generic/updates/dkms/
depmod...
######### mer 28 ago 2024, 15:10:59, CEST #########
######### mer 28 ago 2024, 15:15:58, CEST #########
######### mer 28 ago 2024, 15:16:08, CEST #########
######### mer 28 ago 2024, 15:16:09, CEST #########
######### mer 28 ago 2024, 15:17:01, CEST #########
######### mer 28 ago 2024, 15:17:02, CEST #########
Verifying secureboot is disabled.
######### mer 28 ago 2024, 15:17:03, CEST #########
######### mer 28 ago 2024, 15:17:15, CEST #########
######### mer 28 ago 2024, 15:17:16, CEST #########
######### mer 28 ago 2024, 15:17:19, CEST #########
Verifying secureboot is disabled.
######### mer 28 ago 2024, 15:17:19, CEST #########
######### mer 28 ago 2024, 15:17:22, CEST #########
/share/opt/hailo/linux/pcie /
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic'
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic'
Creating symlink /var/lib/dkms/hailo_pci/4.18.0/source -> /usr/src/hailo_pci-4.18.0
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j4 KERNELRELEASE=6.8.0-40-generic -C /lib/modules/6.8.0-40-generic/build M=/var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie modules....(bad exit status: 2)
ERROR (dkms apport): binary package for hailo_pci: 4.18.0 not found
Error! Bad return status for module build on kernel: 6.8.0-40-generic (x86_64)
Consult /var/lib/dkms/hailo_pci/4.18.0/build/make.log for more information.
DKMS make.log for hailo_pci-4.18.0 for kernel 6.8.0-40-generic (x86_64)
mer 28 ago 2024, 15:17:27, CEST
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/src/pcie.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/src/fops.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/src/utils.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/src/sysfs.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/src/pci_soc_ioctl.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/fw_validation.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/fw_operation.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/pcie_common.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/vdma_common.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/hailo_resource.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../utils/logs.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../vdma/vdma.o
CC [M] /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../vdma/memory.o
/var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/pcie_common.c:659:6: error: no previous prototype for ‘hailo_pcie_is_device_ready_for_boot’ [-Werror=missing-prototypes]
659 | bool hailo_pcie_is_device_ready_for_boot(struct hailo_pcie_resources *resources)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie/../../common/pcie_common.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-headers-6.8.0-40-generic/Makefile:1926: /var/lib/dkms/hailo_pci/4.18.0/build/linux/pcie] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic'
make: *** [Makefile:131: install_dkms] Error 1
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic'
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic'
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
CC [M] /share/opt/hailo/linux/pcie/src/pcie.o
CC [M] /share/opt/hailo/linux/pcie/src/fops.o
CC [M] /share/opt/hailo/linux/pcie/src/utils.o
CC [M] /share/opt/hailo/linux/pcie/src/sysfs.o
CC [M] /share/opt/hailo/linux/pcie/src/pci_soc_ioctl.o
CC [M] /share/opt/hailo/linux/pcie/../../common/fw_validation.o
CC [M] /share/opt/hailo/linux/pcie/../../common/fw_operation.o
CC [M] /share/opt/hailo/linux/pcie/../../common/pcie_common.o
/share/opt/hailo/linux/pcie/../../common/pcie_common.c:659:6: error: no previous prototype for ‘hailo_pcie_is_device_ready_for_boot’ [-Werror=missing-prototypes]
659 | bool hailo_pcie_is_device_ready_for_boot(struct hailo_pcie_resources *resources)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /share/opt/hailo/linux/pcie/../../common/pcie_common.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.8.0-40-generic/Makefile:1926: /share/opt/hailo/linux/pcie] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic'
make: *** [Makefile:93: all] Error 2
Failed. Exited with status 2. See /var/log/hailort-pcie-driver.deb.log
Failed at 49
46
47 function compile_and_install_pcie_driver_without_dkms() {
48 make clean &>> $LOG
49 make all &>> $LOG
50 make install &>> $LOG
51 }
52