Forum Discussion
JohnT_Altera
Regular Contributor
3 years agoHi,
Can you update your Kernel Driver to 5.8?
- AVolo23 years ago
Occasional Contributor
after minor upgrade it has become as listed below;
shall I still install 5.8 kernel?
lspci -s 07:00.0 -vv 07:00.0 Processing accelerators: Intel Corporation Device 09c4 Subsystem: Intel Corporation Device 0000 Physical Slot: 1 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 16 NUMA node: 0 Region 0: Memory at 80600000 (64-bit, prefetchable) [size=512K] Region 2: Memory at 80680000 (64-bit, prefetchable) [size=512K] Capabilities: <access denied> Kernel driver in use: dfl-pci Kernel modules: dfl_pcisudo ./hello_fpga Using OPAE C library version '1.1.2' build 'fa90f2cd' Error enumerating accelerators: no driver available Error no matching accelerator: not foundor the dev stack environment needs to be reinstalled?
Linux hp-ProLiant-MicroServer-Gen10-Plus 5.4.0-117-generic #132~18.04.1-Ubuntu SMP Thu Jun 2 23:36:48 UTC 2022 x86_64 x86_64 x86_64 GNU/Linuxsudo fpgasupdate $OPAE_PLATFORM_ROOT/hw/samples/nlb_mode_0/bin/\ > nlb_mode_0_unsigned.gbs [2022-06-10 04:13:07,711] [ERROR ] No suitable PAC found.However installing 5.8 with
apt install linux-image-unsigned-5.8.0-49-generic linux-headers-5.8.0-49-genericThe following NEW packages will be installed: linux-headers-5.8.0-49-generic linux-hwe-5.8-headers-5.8.0-49at this step I can see some crash log for fpga from prior attempts like
CC [M] /var/lib/dkms/intel-fpga/2.0.3/build/drivers/fpga/intel/fme-tcm-debug.o /var/lib/dkms/intel-fpga/2.0.3/build/drivers/fpga/intel/fme-tcm.c: In function ‘show_csk_vector’: /var/lib/dkms/intel-fpga/2.0.3/build/drivers/fpga/intel/fme-tcm.c:369:2: error: implicit declaration of function ‘bitmap_from_u32array’; did you mean ‘bitmap_from_arr32’? [-Werror=implicit-function-declaration] bitmap_from_u32array(csk_map, TCM_CSK_BIT_LEN, csk32, ^~~~~~~~~~~~~~~~~~~~ bitmap_from_arr32 CC [M] /var/lib/dkms/intel-fpga/2.0.3/build/drivers/fpga/intel/fme-iperf.o CC [M] /var/lib/dkms/intel-fpga/2.0.3/build/drivers/fpga/intel/fme-dperf.o CC [M] /var/lib/dkms/intel-fpga/2.0.3/build/drivers/fpga/intel/fme-error.o cc1: some warnings being treated as errors scripts/Makefile.build:270: recipe for target '/var/lib/dkms/intel-fpga/2.0.3/build/drivers/fpga/intel/fme-tcm.o' failed make[2]: *** [/var/lib/dkms/intel-fpga/2.0.3/build/drivers/fpga/intel/fme-tcm.o] Error 1 make[2]: *** Waiting for unfinished jobs.... Makefile:1762: recipe for target '/var/lib/dkms/intel-fpga/2.0.3/build' failed make[1]: *** [/var/lib/dkms/intel-fpga/2.0.3/build] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-117-generic' Makefile:115: recipe for target 'all' failed make: *** [all] Error 2 DKMSKernelVersion: 5.4.0-117-generic Date: Fri Jun 10 04:02:39 2022 DuplicateSignature: dkms:opae-intel-fpga-driver:2.0.3:/var/lib/dkms/intel-fpga/2.0.3/build/drivers/fpga/intel/fme-tcm.c:369:2: error: implicit declaration of function ‘bitmap_from_u32array’; did you mean ‘bitmap_from_arr32’? [-Werror=implicit-function-declaration] Package: opae-intel-fpga-driver 2.0.3 PackageVersion: 2.0.3 SourcePackage: opae-driver Title: opae-intel-fpga-driver 2.0.3: intel-fpga kernel module failed to buildHowever 5.8 kernel has been installed
which steps are required next?
Linux hp-ProLiant-MicroServer-Gen10-Plus 5.8.0-49-generic #55~20.04.1-Ubuntu SMP Fri Mar 26 01:01:07 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux