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

Issue with VTune sampling driver on Ubuntu 24.04

Xuanhao
Beginner
570 Views

Hello,

I am encountering an error with Hardware Event-Based Sampling in Intel VTune Profiler 2025.0.1 on Ubuntu 24.04.1 LTS (Kernel 6.8.0-52-generic).

Problem Summary:

  • Error:  Current OS kernel does not support driverless collection on hybrid CPUs. Consider loading the VTune Profiler sampling driver using root credentials or updating the OS kernel.
  • Driver Status: After running ./insmod-sep -r, drivers claim to load successfully, but ./insmod-sep -q reports they are "not correctly loaded."

System Details:

  • OS: Ubuntu 24.04.1 LTS

  • Kernel: 6.8.0-52-generic
  • VTune Version: 2025.0.1

 

I've attached some more details please see my attachments.

 

Best wishes,

Xuanhao

0 Kudos
6 Replies
yuzhang3_intel
Moderator
513 Views

Execute 'rmmod-sep -R' command line to remove all drivers from kernel and then execute 'insmod-sep -r -g  vtune' again.

 

BTW, did you build the driver using the current kernel version, right?

 

0 Kudos
Xuanhao
Beginner
490 Views

Yes, I built the driver using the current kernel version.

Here are the commands I ran: 'rmmod-sep -R'  'build-driver -ni'  'insmod-sep -r -g  vtune'  'insmod-sep -q'  'boot-script --install -g vtune'.

 

The output of 'sudo ./insmod-sep -q' confirms that the drivers are loaded correctly:

pax driver is loaded and owned by group "vtune" with file permissions "660". socperf3 driver is loaded and owned by group "vtune" with file permissions "660". sep5 driver is loaded and owned by group "vtune" with file permissions "660". socwatch2_15 driver is loaded and owned by group "vtune" with file permissions "660".

 

But I'm still encountering an error: Current OS kernel does not support driverless collection on hybrid CPUs. Consider loading the VTune Profiler sampling driver using root credentials or updating the OS kernel.

 

I've attached the results of './vtune-self-checker.sh' in log.txt.

0 Kudos
yuzhang3_intel
Moderator
488 Views

Can you get the output of the command line below:

$ sep -version

0 Kudos
Xuanhao
Beginner
483 Views
0 Kudos
yuzhang3_intel
Moderator
397 Views

It looks like the sep and pax drivers are not available.

You can download the latest VTune release 2025.1 to try again. After installation, you can use '...sepdk/src/insmod-sep -q' (vtune installation path) command line to query the drivers.

0 Kudos
Xuanhao
Beginner
351 Views

Thank you for your help. After re-completing the above operations and reboot, the sep and pax drivers were successfully added.

0 Kudos
Reply