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

Installing intel-oneapi-vtune failed on Ubuntu 24.04 LTS (Linux kernel 6.8.0-45)

ytxmobile
Beginner
573 Views

I am installing intel-oneapi-vtune on my ThinkBook 16+ 2024 laptop (Ultra 9 185H) running Ubuntu 24.04 LTS. My Linux kernel version is 6.8.0-45.

 

When I ran sudo apt install intel-oneapi-vtune I got the following error with sep5:

Configuring sep5 boot script with the following options:
driver files = /opt/intel/oneapi/vtune/2024.3/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 ...
done.

 

Running systemctl status sep5.service gives the following:

Oct 07 21:26:29 tianxing-thinkbook-16-g6-imh systemd[1]: Starting sep5.service - systemd script to load sep5 driver at boot time...
Oct 07 21:26:29 tianxing-thinkbook-16-g6-imh sep5-load.sh[21845]: Loading the sep5 driver:
Oct 07 21:26:29 tianxing-thinkbook-16-g6-imh groupmod[21905]: group changed in /etc/group (group vtune/1001)
Oct 07 21:26:29 tianxing-thinkbook-16-g6-imh sep5-load.sh[21846]: The sep5 driver is already loaded! Use ./rmmod-sep to unload it.
Oct 07 21:26:29 tianxing-thinkbook-16-g6-imh systemd[1]: sep5.service: Main process exited, code=exited, status=236/SMACK_PROCESS_LABEL
Oct 07 21:26:29 tianxing-thinkbook-16-g6-imh systemd[1]: sep5.service: Failed with result 'exit-code'.
Oct 07 21:26:29 tianxing-thinkbook-16-g6-imh systemd[1]: Failed to start sep5.service - systemd script to load sep5 driver at boot time.

 

And running journalctl -xeu sep5.service gives the following:

Oct 07 21:26:29 tianxing-thinkbook-16-g6-imh systemd[1]: sep5.service: Main process exited, code=exited, status=236/SMACK_PROCESS_LABEL
░░ 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 236.
Oct 07 21:26:29 tianxing-thinkbook-16-g6-imh 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'.
Oct 07 21:26:29 tianxing-thinkbook-16-g6-imh 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 7185 and the job result is failed.

 

I have attached the outputs of all the three commands.

What should I do to fix the problem and make sep5 run successfully? Thanks.

Labels (1)
0 Kudos
1 Reply
Jennifer_D_Intel
Moderator
504 Views

This appears to be a known issue when installing VTune using apt. It loads the drivers, but the systemd script to autoload the drivers at bootup starts the sep5 service which can't run because the drivers are already loaded. The development team is looking into this issue. In the meantime, you can run the following:

$ sudo /opt/intel/oneapi/vtune/2024.3/sepdk/src/rmmod-sep

$ sudo /opt/intel/oneapi/vtune/2024.3/sepdk/src/boot-script -i

0 Kudos
Reply