Skip to content

Ubuntu 26.04 APT installation failure #2748

Description

@khteh
Setting up intel-oneapi-vtune (2026.1.0-13)…
C compiler version: 15.2.0
Make version: 4.4.1
Kernel version: 7.0.0-22-generic

Cleaning workspaces ... 
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 (Ubuntu 15.2.0-16ubuntu1) 15.2.0
  You are using:           gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
warning: pahole version differs from the one used to build the kernel
  The kernel was built with: 131
  You are using:             0
Skipping BTF generation for sep5.ko due to unavailability of vmlinux
Done

Building pax driver ... 
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
  You are using:           gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
warning: pahole version differs from the one used to build the kernel
  The kernel was built with: 131
  You are using:             0
Skipping BTF generation for pax.ko due to unavailability of vmlinux
Done

Building vtsspp driver ... 
make[1]: Entering directory '/opt/intel/oneapi/vtune/2026.1/sepdk/src/vtsspp'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
  You are using:           gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
warning: pahole version differs from the one used to build the kernel
  The kernel was built with: 131
  You are using:             0
In file included from modcfg.c:35:
modcfg.c: In function ‘vtss_hardcfg_init’:
modcfg.c:212:30: error: ‘KTIME_MONOTONIC_RES’ undeclared (first use in this function)
  212 |         if (vtss_ktime_equal(KTIME_MONOTONIC_RES, KTIME_LOW_RES)) {
      |                              ^~~~~~~~~~~~~~~~~~~
time.h:44:40: note: in definition of macro ‘vtss_ktime_equal’
   44 | #define vtss_ktime_equal(cmp1, cmp2) ((cmp1) == (cmp2))
      |                                        ^~~~
modcfg.c:212:30: note: each undeclared identifier is reported only once for each function it appears in
  212 |         if (vtss_ktime_equal(KTIME_MONOTONIC_RES, KTIME_LOW_RES)) {
      |                              ^~~~~~~~~~~~~~~~~~~
time.h:44:40: note: in definition of macro ‘vtss_ktime_equal’
   44 | #define vtss_ktime_equal(cmp1, cmp2) ((cmp1) == (cmp2))
      |                                        ^~~~
make[5]: *** [/usr/src/linux-headers-7.0.0-22-generic/scripts/Makefile.build:289: modcfg.o] Error 1
make[4]: *** [/usr/src/linux-headers-7.0.0-22-generic/Makefile:2110: .] Error 2
make[3]: *** [/usr/src/linux-headers-7.0.0-22-generic/Makefile:248: __sub-make] Error 2
make[2]: *** [Makefile:248: __sub-make] Error 2
make[1]: [Makefile:182: all] Error 2 (ignored)
cp: cannot stat 'vtsspp.ko': No such file or directory
make[1]: [Makefile:183: all] Error 1 (ignored)
make[1]: Leaving directory '/opt/intel/oneapi/vtune/2026.1/sepdk/src/vtsspp'
Done

Building socwatch driver ... 
Building drivers for Linux target
/lib/modules/7.0.0-22-generic/build will be used as the kernel build directory
Using alternate compiler '/bin/gcc'
Removing previously built driver and scripts from /opt/intel/oneapi/vtune/2026.1/sepdk/src/socwatch/drivers
'-c /bin/gcc -l -k /lib/modules/7.0.0-22-generic/build' options will be used to build the SoCWatch driver
-c /bin/gcc -l -k /lib/modules/7.0.0-22-generic/build
************ Building socwatch2_16-x32_64-7.0.0-22-genericsmp.ko driver ************
Using C compiler = /bin/gcc
Using kernel build dir = /lib/modules/7.0.0-22-generic/build
No module symvers file found
Using common inc dir = /opt/intel/oneapi/vtune/2026.1/sepdk/src/socwatch/socwatch_driver/../common/include
"/lib/modules/7.0.0-22-generic/build/include/linux/cpufreq.h" exists!
"/lib/modules/7.0.0-22-generic/build/include/linux/device/class.h" exists!
Using file name sw_driver
Make args = KERNEL_SRC_DIR=/lib/modules/7.0.0-22-generic/build CPUFREQ_FIX_BACKPORTED=1 CLASSCREATE_CHANGE_BACKPORTED=1 DO_DEBUG_BUILD=0 DO_PROFILING=0 COMMON_INC_DIR=/opt/intel/oneapi/vtune/2026.1/sepdk/src/socwatch/socwatch_driver/../common/include MODULE_SYMVERS_FILE= FILE_NAME=sw_driver 
make[1]: Entering directory '/opt/intel/oneapi/vtune/2026.1/sepdk/src/socwatch/socwatch_driver'
make -C /lib/modules/7.0.0-22-generic/build M=/opt/intel/oneapi/vtune/2026.1/sepdk/src/socwatch/socwatch_driver clean
make[2]: Entering directory '/usr/src/linux-headers-7.0.0-22-generic'
make[3]: Entering directory '/opt/intel/oneapi/vtune/2026.1/sepdk/src/socwatch/socwatch_driver'
make[3]: Leaving directory '/opt/intel/oneapi/vtune/2026.1/sepdk/src/socwatch/socwatch_driver'
make[2]: Leaving directory '/usr/src/linux-headers-7.0.0-22-generic'
make[1]: Leaving directory '/opt/intel/oneapi/vtune/2026.1/sepdk/src/socwatch/socwatch_driver'
Using C compiler = /bin/gcc
Using kernel build dir = /lib/modules/7.0.0-22-generic/build
No module symvers file found
Using common inc dir = /opt/intel/oneapi/vtune/2026.1/sepdk/src/socwatch/socwatch_driver/../common/include
"/lib/modules/7.0.0-22-generic/build/include/linux/cpufreq.h" exists!
"/lib/modules/7.0.0-22-generic/build/include/linux/device/class.h" exists!
Using file name sw_driver
Make args = KERNEL_SRC_DIR=/lib/modules/7.0.0-22-generic/build CPUFREQ_FIX_BACKPORTED=1 CLASSCREATE_CHANGE_BACKPORTED=1 DO_DEBUG_BUILD=0 DO_PROFILING=0 COMMON_INC_DIR=/opt/intel/oneapi/vtune/2026.1/sepdk/src/socwatch/socwatch_driver/../common/include MODULE_SYMVERS_FILE= FILE_NAME=sw_driver 
make[1]: Entering directory '/opt/intel/oneapi/vtune/2026.1/sepdk/src/socwatch/socwatch_driver'
make -C /lib/modules/7.0.0-22-generic/build M=/opt/intel/oneapi/vtune/2026.1/sepdk/src/socwatch/socwatch_driver clean
make[2]: Entering directory '/usr/src/linux-headers-7.0.0-22-generic'
make[3]: Entering directory '/opt/intel/oneapi/vtune/2026.1/sepdk/src/socwatch/socwatch_driver'
make[3]: Leaving directory '/opt/intel/oneapi/vtune/2026.1/sepdk/src/socwatch/socwatch_driver'
make[2]: Leaving directory '/usr/src/linux-headers-7.0.0-22-generic'
************************************************************
KERNEL_SRC_DIR=/lib/modules/7.0.0-22-generic/build
CPUFREQ_FIX_BACKPORTED=1
CLASSCREATE_CHANGE_BACKPORTED=1
MODULE_SYMVERS_FILE=
DO_DRIVER_PROFILING=0
INCDIR_1=/opt/intel/oneapi/vtune/2026.1/sepdk/src/socwatch/socwatch_driver/../common/include
************************************************************
make -C /lib/modules/7.0.0-22-generic/build M=/opt/intel/oneapi/vtune/2026.1/sepdk/src/socwatch/socwatch_driver modules PWD=/opt/intel/oneapi/vtune/2026.1/sepdk/src/socwatch/socwatch_driver
make[2]: Entering directory '/usr/src/linux-headers-7.0.0-22-generic'
make[3]: Entering directory '/opt/intel/oneapi/vtune/2026.1/sepdk/src/socwatch/socwatch_driver'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
  You are using:           gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
warning: pahole version differs from the one used to build the kernel
  The kernel was built with: 131
  You are using:             0
  CC [M]  src/sw_driver.o
  CC [M]  src/sw_hardware_io.o
  CC [M]  src/sw_output_buffer.o
  CC [M]  src/sw_tracepoint_handlers.o
  CC [M]  src/sw_collector.o
  CC [M]  src/sw_mem.o
  CC [M]  src/sw_internal.o
  CC [M]  src/sw_file_ops.o
  CC [M]  src/sw_ops_provider.o
  CC [M]  src/sw_trace_notifier_provider.o
  CC [M]  src/sw_reader.o
  CC [M]  src/sw_telem.o
  CC [M]  src/sw_pmt.o
  CC [M]  src/sw_counter_list.o
  CC [M]  src/sw_pci.o
  LD [M]  socwatch2_16.o
  MODPOST Module.symvers
  CC [M]  socwatch2_16.mod.o
  CC [M]  .module-common.o
  LD [M]  socwatch2_16.ko
  BTF [M] socwatch2_16.ko
Skipping BTF generation for socwatch2_16.ko due to unavailability of vmlinux
make[3]: Leaving directory '/opt/intel/oneapi/vtune/2026.1/sepdk/src/socwatch/socwatch_driver'
make[2]: Leaving directory '/usr/src/linux-headers-7.0.0-22-generic'
make[1]: Leaving directory '/opt/intel/oneapi/vtune/2026.1/sepdk/src/socwatch/socwatch_driver'
************ Built drivers are copied to /opt/intel/oneapi/vtune/2026.1/sepdk/src/socwatch/drivers directory ************
Done

Done building the drivers

Configuring sep5 boot script with the following options:
    driver files = /opt/intel/oneapi/vtune/2026.1/sepdk/src/.
Creating systemd load script /usr/local/sbin/sep5-load.sh ... 
done.
Creating systemd boot config file /usr/lib/systemd/system/sep5.service ... 
done.
Configuring autoload of sep5.service service ... 
Created symlink '/etc/systemd/system/multi-user.target.wants/sep5.service' → '/usr/lib/systemd/system/sep5.service'.
Job for sep5.service failed because the control process exited with error code.
See "systemctl status sep5.service" and "journalctl -xeu sep5.service" for details.
WARNING: systemctl start returned error 1 ... 
./boot-script: 926: getenforce: not found
done.
$ journalctl -xeu sep5.service
~
~
~
~
~
~
~
~
~
~
~
~
~
~
Jun 01 16:54:18 khteh-p17-2i systemd[1]: Starting sep5.service - systemd script to load sep5 driver at boot time...
░░ Subject: A start job for unit sep5.service has begun execution
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ A start job for unit sep5.service has begun execution.
░░ 
░░ The job identifier is 288.
Jun 01 16:54:18 khteh-p17-2i sep5-load.sh[1490]: Loading the sep5 driver:
Jun 01 16:54:18 khteh-p17-2i groupmod[1618]: group changed in /etc/group (group vtune/1002)
Jun 01 16:54:18 khteh-p17-2i sep5-load.sh[1505]: PYTHON is set to python
Jun 01 16:54:18 khteh-p17-2i sep5-load.sh[1505]: Detecting Secure Boot status...
Jun 01 16:54:18 khteh-p17-2i sep5-load.sh[1505]: Secure Boot is enabled
Jun 01 16:54:18 khteh-p17-2i sep5-load.sh[1505]: ---------------------    Loading PAX driver    ---------------------
Jun 01 16:54:18 khteh-p17-2i groupmod[1820]: group changed in /etc/group (group vtune/1002)
Jun 01 16:54:18 khteh-p17-2i sep5-load.sh[1789]: Detecting Secure Boot status...
Jun 01 16:54:18 khteh-p17-2i sep5-load.sh[1789]: Secure Boot is enabled
Jun 01 16:54:18 khteh-p17-2i sep5-load.sh[1789]: Checking for PMU arbitration service (PAX) ... not detected.
Jun 01 16:54:18 khteh-p17-2i sep5-load.sh[1789]: Attempting to start PAX service ...
Jun 01 16:54:18 khteh-p17-2i sep5-load.sh[1789]: Executing: insmod ./pax/pax-x32_64-7.0.0-22-genericsmp.ko
Jun 01 16:54:19 khteh-p17-2i sep5-load.sh[1789]: ./pax/insmod-pax: 84: cannot create /dev/stderr: No such device or address
Jun 01 16:54:19 khteh-p17-2i sep5-load.sh[1789]: ./pax/insmod-pax: 84: cannot create /dev/stderr: No such device or address
Jun 01 16:54:19 khteh-p17-2i sep5-load.sh[1789]: ./pax/insmod-pax: 84: cannot create /dev/stderr: No such device or address
Jun 01 16:54:19 khteh-p17-2i sep5-load.sh[1789]: ./pax/insmod-pax: 84: cannot create /dev/stderr: No such device or address
Jun 01 16:54:19 khteh-p17-2i sep5-load.sh[1789]: ./pax/insmod-pax: 84: cannot create /dev/stderr: No such device or address
Jun 01 16:54:19 khteh-p17-2i sep5-load.sh[1789]: ./pax/insmod-pax: 84: cannot create /dev/stderr: No such device or address
Jun 01 16:54:19 khteh-p17-2i sep5-load.sh[1789]: ./pax/insmod-pax: 84: cannot create /dev/stderr: No such device or address
Jun 01 16:54:19 khteh-p17-2i sep5-load.sh[1505]: ERROR: failed to start or connect to required PAX service
Jun 01 16:54:19 khteh-p17-2i systemd[1]: sep5.service: Main process exited, code=exited, status=216/GROUP
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ An ExecStart= process belonging to unit sep5.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 216.
Jun 01 16:54:19 khteh-p17-2i systemd[1]: sep5.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ The unit sep5.service has entered the 'failed' state with result 'exit-code'.
Jun 01 16:54:19 khteh-p17-2i systemd[1]: Failed to start sep5.service - systemd script to load sep5 driver at boot time.
░░ Subject: A start job for unit sep5.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ A start job for unit sep5.service has finished with a failure.
░░ 
░░ The job identifier is 288 and the job result is failed.
Jun 01 17:14:34 khteh-p17-2i systemd[1]: Starting sep5.service - systemd script to load sep5 driver at boot time...
░░ Subject: A start job for unit sep5.service has begun execution
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ A start job for unit sep5.service has begun execution.
░░ 
░░ The job identifier is 6886.
Jun 01 17:14:34 khteh-p17-2i sep5-load.sh[101460]: Loading the sep5 driver:
Jun 01 17:14:34 khteh-p17-2i groupmod[101514]: group changed in /etc/group (group vtune/1002)
Jun 01 17:14:34 khteh-p17-2i sep5-load.sh[101462]: PYTHON is set to python
Jun 01 17:14:34 khteh-p17-2i sep5-load.sh[101462]: Detecting Secure Boot status...
Jun 01 17:14:34 khteh-p17-2i sep5-load.sh[101462]: Secure Boot is enabled
Jun 01 17:14:34 khteh-p17-2i sep5-load.sh[101462]: ---------------------    Loading PAX driver    ---------------------
Jun 01 17:14:34 khteh-p17-2i groupmod[101584]: group changed in /etc/group (group vtune/1002)
Jun 01 17:14:34 khteh-p17-2i sep5-load.sh[101555]: Detecting Secure Boot status...
Jun 01 17:14:34 khteh-p17-2i sep5-load.sh[101555]: Secure Boot is enabled
Jun 01 17:14:34 khteh-p17-2i sep5-load.sh[101555]: Checking for PMU arbitration service (PAX) ... not detected.
Jun 01 17:14:34 khteh-p17-2i sep5-load.sh[101555]: Attempting to start PAX service ...
Jun 01 17:14:34 khteh-p17-2i sep5-load.sh[101555]: Executing: insmod ./pax/pax-x32_64-7.0.0-22-genericsmp.ko
Jun 01 17:14:35 khteh-p17-2i sep5-load.sh[101555]: ./pax/insmod-pax: 84: cannot create /dev/stderr: No such device or address
Jun 01 17:14:35 khteh-p17-2i sep5-load.sh[101555]: ./pax/insmod-pax: 84: cannot create /dev/stderr: No such device or address
Jun 01 17:14:35 khteh-p17-2i sep5-load.sh[101555]: ./pax/insmod-pax: 84: cannot create /dev/stderr: No such device or address
Jun 01 17:14:35 khteh-p17-2i sep5-load.sh[101555]: ./pax/insmod-pax: 84: cannot create /dev/stderr: No such device or address
Jun 01 17:14:35 khteh-p17-2i sep5-load.sh[101555]: ./pax/insmod-pax: 84: cannot create /dev/stderr: No such device or address
Jun 01 17:14:35 khteh-p17-2i sep5-load.sh[101555]: ./pax/insmod-pax: 84: cannot create /dev/stderr: No such device or address
Jun 01 17:14:35 khteh-p17-2i sep5-load.sh[101555]: ./pax/insmod-pax: 84: cannot create /dev/stderr: No such device or address
Jun 01 17:14:35 khteh-p17-2i sep5-load.sh[101462]: ERROR: failed to start or connect to required PAX service
Jun 01 17:14:35 khteh-p17-2i systemd[1]: sep5.service: Main process exited, code=exited, status=216/GROUP
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ An ExecStart= process belonging to unit sep5.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 216.
Jun 01 17:14:35 khteh-p17-2i systemd[1]: sep5.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ The unit sep5.service has entered the 'failed' state with result 'exit-code'.
Jun 01 17:14:35 khteh-p17-2i systemd[1]: Failed to start sep5.service - systemd script to load sep5 driver at boot time.
░░ Subject: A start job for unit sep5.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ A start job for unit sep5.service has finished with a failure.
░░ 
░░ The job identifier is 6886 and the job result is failed.
$ systemctl status sep5.service
× sep5.service - systemd script to load sep5 driver at boot time
     Loaded: loaded (/usr/lib/systemd/system/sep5.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Mon 2026-06-01 17:14:35 +08; 23min ago
 Invocation: 758ab62b9d6e42e78543de67e7e62d76
    Process: 101460 ExecStart=/usr/local/sbin/sep5-load.sh start (code=exited, status=216/GROUP)
   Main PID: 101460 (code=exited, status=216/GROUP)
   Mem peak: 8.7M
        CPU: 195ms

Jun 01 17:14:35 khteh-p17-2i sep5-load.sh[101555]: ./pax/insmod-pax: 84: cannot create /dev/stderr: No such device or address
Jun 01 17:14:35 khteh-p17-2i sep5-load.sh[101555]: ./pax/insmod-pax: 84: cannot create /dev/stderr: No such device or address
Jun 01 17:14:35 khteh-p17-2i sep5-load.sh[101555]: ./pax/insmod-pax: 84: cannot create /dev/stderr: No such device or address
Jun 01 17:14:35 khteh-p17-2i sep5-load.sh[101555]: ./pax/insmod-pax: 84: cannot create /dev/stderr: No such device or address
Jun 01 17:14:35 khteh-p17-2i sep5-load.sh[101555]: ./pax/insmod-pax: 84: cannot create /dev/stderr: No such device or address
Jun 01 17:14:35 khteh-p17-2i sep5-load.sh[101555]: ./pax/insmod-pax: 84: cannot create /dev/stderr: No such device or address
Jun 01 17:14:35 khteh-p17-2i sep5-load.sh[101462]: ERROR: failed to start or connect to required PAX service
Jun 01 17:14:35 khteh-p17-2i systemd[1]: sep5.service: Main process exited, code=exited, status=216/GROUP
Jun 01 17:14:35 khteh-p17-2i systemd[1]: sep5.service: Failed with result 'exit-code'.
Jun 01 17:14:35 khteh-p17-2i systemd[1]: Failed to start sep5.service - systemd script to load sep5 driver at boot time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions