Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5167 Discussions

Building sep driver report error 254 code - Ubuntu 24.04 LTS - Kernel 6.8

IonutNechita
Employee
1,403 Views

I notice today this issue regarding sep driver, sep5:

./build-driver

C compiler to use: [ /bin/gcc ]
C compiler version: 13.2.0

Make command to use: [ /bin/make ]
Make version: 4.3

Kernel source directory: [ /lib/modules/6.8.0-36-generic/build ]
Kernel version: 6.8.0-36-generic

Cleaning workspaces ...
Done

Building socperf driver ...
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0
  You are using:           gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Skipping BTF generation for /opt/intel/oneapi/vtune/2024.2/sepdk/src/socperf/src/socperf3.ko due to unavailability of vmlinux
Done

Building sep driver ...
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0
  You are using:           gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
/opt/intel/oneapi/vtune/2024.2/sepdk/src/sys64.o: warning: objtool: SYS_Get_GDT_Base+0x3: 'naked' return found in RETHUNK build
/opt/intel/oneapi/vtune/2024.2/sepdk/src/sys64.o: warning: objtool: SYS_IO_Delay+0x0: 'naked' return found in RETHUNK build
make[3]: *** [scripts/Makefile.build:361: /opt/intel/oneapi/vtune/2024.2/sepdk/src/sys64.o] Error 254
make[3]: *** Deleting file '/opt/intel/oneapi/vtune/2024.2/sepdk/src/sys64.o'
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-headers-6.8.0-36-generic/Makefile:1926: /opt/intel/oneapi/vtune/2024.2/sepdk/src] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make: *** [Makefile:224: default] Error 2

Failed to build the drivers

 

I reinstalled my machine with Ubuntu 24.04 LTS with default Canonical Kernel.

But sep driver is not build for this configuration.

 

OneAPI version: OneAPI 2024.2.x

VTune version: intel-oneapi-vtune - 2024.2.0-707

OS:

cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

Packages from Canonical 6.8 Kernel.

 dpkg -l | grep -E "linux-image|linux-headers"
ii  linux-headers-6.8.0-28                         6.8.0-28.28                              all          Header files related to Linux kernel version 6.8.0
ii  linux-headers-6.8.0-28-generic                 6.8.0-28.28                              amd64        Linux kernel headers for version 6.8.0 on 64 bit x86 SMP
ii  linux-headers-6.8.0-36                         6.8.0-36.36                              all          Header files related to Linux kernel version 6.8.0
ii  linux-headers-6.8.0-36-generic                 6.8.0-36.36                              amd64        Linux kernel headers for version 6.8.0 on 64 bit x86 SMP
ii  linux-headers-generic-hwe-24.04                6.8.0-36.36                              amd64        Generic Linux kernel headers
ii  linux-image-6.8.0-28-generic                   6.8.0-28.28                              amd64        Signed kernel image generic
ii  linux-image-6.8.0-36-generic                   6.8.0-36.36                              amd64        Signed kernel image generic
ii  linux-image-generic-hwe-24.04                  6.8.0-36.36                              amd64        Generic Linux kernel image

 

2 Replies
yuzhang3_intel
Moderator
1,361 Views
0 Kudos
IonutNechita
Employee
1,279 Views

Will be wait 2024.2.1 to check again.

Thank you for support.

0 Kudos
Reply