Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5250 토론

Issue with VTune sampling driver on Ubuntu 24.04

Xuanhao
초급자
1,651 조회수

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 포인트
6 응답
yuzhang3_intel
중재자
1,594 조회수

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 포인트
Xuanhao
초급자
1,571 조회수

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 포인트
yuzhang3_intel
중재자
1,569 조회수

Can you get the output of the command line below:

$ sep -version

0 포인트
Xuanhao
초급자
1,564 조회수
0 포인트
yuzhang3_intel
중재자
1,478 조회수

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 포인트
Xuanhao
초급자
1,432 조회수

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

0 포인트
응답