- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I tried to install Intel® oneAPI Base Toolkit using "apt install intel-basekit", but intel-oneapi-vtune package is not installed completly.
ERROR: modpost: "__SCT__apic_call_write" [/opt/intel/oneapi/vtune/2024.0/sepdk/src/sep5.ko] undefined!
ERROR: modpost: "__SCK__apic_call_write" [/opt/intel/oneapi/vtune/2024.0/sepdk/src/sep5.ko] undefined!
ERROR: modpost: "__SCT__apic_call_read" [/opt/intel/oneapi/vtune/2024.0/sepdk/src/sep5.ko] undefined!
ERROR: modpost: "__SCK__apic_call_read" [/opt/intel/oneapi/vtune/2024.0/sepdk/src/sep5.ko] undefined!
OS: Ubuntu 24.04 with 6.6.0-14-generic
I have this messages:
sudo apt install --reinstall intel-oneapi-vtune
[sudo] password for qa:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libopenblas-dev libopenblas-pthread-dev libopenblas0 libpython3-all-dev libpython3.12-dev libxsimd-dev python3-all-dev python3-beniget python3-gast python3-ply python3-pythran python3.12-dev
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 488 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://apt.repos.intel.com/oneapi all/main amd64 intel-oneapi-vtune amd64 2024.0.1-11 [488 MB]
Fetched 488 MB in 37s (13.1 MB/s)
(Reading database ... 319706 files and directories currently installed.)
Preparing to unpack .../intel-oneapi-vtune_2024.0.1-11_amd64.deb ...
Warning: no socwatch driver was found loaded in the kernel.
Using C compiler = gcc
Using kernel build dir = /lib/modules/6.6.0-14-generic/build
No module symvers file found
Using common inc dir = /opt/intel/oneapi/vtune/2024.0/sepdk/src/socwatch/socwatch_driver/../common/include
"/lib/modules/6.6.0-14-generic/build/include/linux/cpufreq.h" exists!
Using file name sw_driver
Make args = KERNEL_SRC_DIR=/lib/modules/6.6.0-14-generic/build CPUFREQ_FIX_BACKPORTED=1 DO_DEBUG_BUILD=0 DO_PROFILING=0 COMMON_INC_DIR=/opt/intel/oneapi/vtune/2024.0/sepdk/src/socwatch/socwatch_driver/../common/include MODULE_SYMVERS_FILE= FILE_NAME=sw_driver
make -C /lib/modules/6.6.0-14-generic/build M=/opt/intel/oneapi/vtune/2024.0/sepdk/src/socwatch/socwatch_driver clean
make[1]: Entering directory '/usr/src/linux-headers-6.6.0-14-generic'
make[1]: Leaving directory '/usr/src/linux-headers-6.6.0-14-generic'
Warning: no vtsspp driver was found loaded in the kernel.
CLEAN /opt/intel/oneapi/vtune/2024.0/sepdk/src/vtsspp
Warning: the following driver(s) were not found loaded in the kernel: sep5.
Warning: no vtsspp driver was found loaded in the kernel.
Warning: skipping SOCWATCH driver unload, not built
Warning: the following driver(s) were not found loaded in the kernel: socperf3.
The PAX service is not loaded anymore.
No previously installed pax driver boot script was found.
Stop and disable sep5.service ...
Removed "/etc/systemd/system/multi-user.target.wants/sep5.service".
done.
rm -f sep5*.ko
make[1]: Entering directory '/opt/intel/oneapi/vtune/2024.0/sepdk/src/pax'
rm -f *.o .*.o.cmd .*.o.d .*.ko.cmd .*.ko.unsigned.cmd *.gcno .cache.mk *.o.ur-safe .*.o.tmp *.mod .*.mod.cmd
rm -f pax.ko pax.ko.unsigned pax-x32_64-6.6.0-14-genericsmp.ko
rm -f Module.symvers Modules.symvers *.mod.c modules.order Module.markers .modules.order.cmd .Module.symvers.cmd
rm -rf .tmp_versions
rm -f pax*.ko
make[1]: Leaving directory '/opt/intel/oneapi/vtune/2024.0/sepdk/src/pax'
make[1]: Entering directory '/opt/intel/oneapi/vtune/2024.0/sepdk/src/socperf/src'
rm -f *.o .*.o.cmd .*.o.d .*.ko.cmd .*.ko.unsigned.cmd *.gcno .cache.mk *.o.ur-safe .*.o.tmp *.mod .*.mod.cmd
rm -f socperf3.ko socperf3.ko.unsigned
rm -f socperf3*x32_64-6.6.0-14-genericsmp.ko
rm -f Module.symvers Modules.symvers *.mod.c modules.order Module.markers .modules.order.cmd .Module.symvers.cmd
rm -rf .tmp_versions
rm -f socperf3*.ko
make[1]: Leaving directory '/opt/intel/oneapi/vtune/2024.0/sepdk/src/socperf/src'
Unpacking intel-oneapi-vtune (2024.0.1-11) over (2024.0.1-11) ...
Setting up intel-oneapi-vtune (2024.0.1-11) ...
C compiler version: 13.2.0
Make version: 4.3
Kernel version: 6.6.0-14-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-7ubuntu1) 13.2.0
You are using: gcc (Ubuntu 13.2.0-13ubuntu1) 13.2.0
Skipping BTF generation for /opt/intel/oneapi/vtune/2024.0/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-7ubuntu1) 13.2.0
You are using: gcc (Ubuntu 13.2.0-13ubuntu1) 13.2.0
/opt/intel/oneapi/vtune/2024.0/sepdk/src/sys64.o: warning: objtool: SYS_Get_GDT_Base+0x3: 'naked' return found in RETHUNK build
/opt/intel/oneapi/vtune/2024.0/sepdk/src/sys64.o: warning: objtool: SYS_IO_Delay+0x0: 'naked' return found in RETHUNK build
ERROR: modpost: "__SCT__apic_call_write" [/opt/intel/oneapi/vtune/2024.0/sepdk/src/sep5.ko] undefined!
ERROR: modpost: "__SCK__apic_call_write" [/opt/intel/oneapi/vtune/2024.0/sepdk/src/sep5.ko] undefined!
ERROR: modpost: "__SCT__apic_call_read" [/opt/intel/oneapi/vtune/2024.0/sepdk/src/sep5.ko] undefined!
ERROR: modpost: "__SCK__apic_call_read" [/opt/intel/oneapi/vtune/2024.0/sepdk/src/sep5.ko] undefined!
make[3]: *** [scripts/Makefile.modpost:145: /opt/intel/oneapi/vtune/2024.0/sepdk/src/Module.symvers] Error 1
make[2]: *** [/usr/src/linux-headers-6.6.0-14-generic/Makefile:1869: modpost] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make: *** [Makefile:224: default] Error 2
Failed to build the drivers
Warning: the following driver(s) were not found loaded in the kernel: sep5.
Warning: no vtsspp driver was found loaded in the kernel.
Warning: skipping SOCWATCH driver unload, not built
Warning: the following driver(s) were not found loaded in the kernel: socperf3.
The PAX service is not loaded anymore.
PYTHON is set to python3
ERROR: sep5 driver "sep5-x32_64-6.6.0-14-genericsmp.ko"
was not found in directory "." !
This means you may need to build sep5 driver from the provided
driver sources. Please see the driver README for instructions.
Note: Ensure that the driver is built for kernel version 6.6.0-14-generic
Configuring sep5 boot script with the following options:
driver files = /opt/intel/oneapi/vtune/2024.0/sepdk/src/.
Creating systemd load script /usr/local/sbin/sep5-load.sh ...
done.
Creating systemd boot config file /lib/systemd/system/sep5.service ...
done.
Configuring autoload of sep5.service service ...
Created symlink /etc/systemd/system/multi-user.target.wants/sep5.service → /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 ...
done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It looks VTune driver fails to build on the kernel. Need to check if the 2024.0 supports the kernel. Let me check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is one known issue, which will be fixed in VTune 2024.1. Maybe you can use perf or user-mode sampling instead of SEP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have the same problem. And using perf or user-mode sampling does not seem to give as precise profiling data. When will be approximately released VTune 2024.1 ?
Thanks, best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't know the accurate distribution date, 2024.1 should be released in next month.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the confirmation.
![](/skins/images/7B0AB6865064EAE32B30EC9A4E94B48A/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page