Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
4751 Discussions

emon SEP and PAX driver build

ShankarRatneshwaran
909 Views

After installing the oneAPI base toolkit on my Linux machine, emon dosent seem to see the SEP and PAX drivers

----------------------------

 shankar@b7r22u36:/opt/intel/oneapi/vtune/latest/sepdk/src$ emon -v
EMON Version .............. V11.30
Copyright(C) 1993-2020 Intel Corporation. All rights reserved.
Application Build Date: Nov 25 2021 at 08:58:16
SEP Driver Version: Error retrieving SEP driver version
PAX Driver Version: Error retrieving PAX driver version
Perf Kernel Version: 5.11.0-44-generic
Collection Mode: Driver
Device Type ............... Intel(R) Xeon(R) Processor code named Icelake
EMON Database ............. icelake_server
Platform type ............. 125
Error: No further information is available since drivers are not loaded.
Failed to communicate with sep driver. Please check if driver is properly loaded
Problem accessing the sampling driver. The driver may need to be (re)installed with appropriate group/file permissions

---------------------------------

The solution according to documentation seems to be 

$ cd <install-dir>/sepdk/src
$ ./insmod-sep -q
 
Dosent seem to solve the problem

----------------------------

shankar@b7r22u36:/opt/intel/oneapi/vtune/latest/sepdk/src$ ./insmod-sep -q
pax driver is loaded and owned by group "vtune" with file permissions "660".
socperf3 driver is not correctly loaded.
sep5 driver is not correctly loaded.

socwatch driver is loaded and owned by group "vtune" with file permissions "660".

vtsspp driver is loaded and owned by group "vtune" with file permissions "660".
shankar@b7r22u36:/opt/intel/oneapi/vtune/latest/sepdk/src$ emon -v
EMON Version .............. V11.30
Copyright(C) 1993-2020 Intel Corporation. All rights reserved.
Application Build Date: Nov 25 2021 at 08:58:16
SEP Driver Version: Error retrieving SEP driver version
PAX Driver Version: Error retrieving PAX driver version
Perf Kernel Version: 5.11.0-44-generic
Collection Mode: Driver
Device Type ............... Intel(R) Xeon(R) Processor code named Icelake
EMON Database ............. icelake_server
Platform type ............. 125
Error: No further information is available since drivers are not loaded.
Failed to communicate with sep driver. Please check if driver is properly loaded
Problem accessing the sampling driver. The driver may need to be (re)installed with appropriate group/file permissions

-------------------------------

Tried to build the drivers but that seems to be erroring out at the very end 

--------------------------------

************ Built drivers are copied to /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/drivers directory ************
Done
mv: target 'socwatch2_15-x32_64-5-x32_64-5.11.0-44-genericsmp.ko' is not a directory
make: *** [Makefile:224: default] Error 1

Failed to build the drivers

-----------------------------------

 

 

0 Kudos
5 Replies
AthiraM_Intel
Moderator
884 Views

Hi,


Thankyou for posting in Intel Communities. 


Could you please try to install the sampling driver again.


cd <install-dir>/sepdk/src

./build-driver


Please follow the below link for more information to build the driver.


https://www.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-analysis-target/...


If the issue still persists please share the following details:


  1. OS you are using
  2. VTune version
  3. Hardware you are using


Thanks.






ShankarRatneshwaran
870 Views

Issue is still there. The clue to solving the issue is actually a bad mv statement in the Makefile

-------------------------

mv: target 'socwatch2_15-x32_64-5-x32_64-5.11.0-44-genericsmp.ko' is not a directory

-------------------------

The build is actually successful but he mv statement above errors out

Versions

1. OS NAME="Ubuntu"  VERSION="21.04 (Hirsute Hippo)"

2. Vtune : Intel(R) oneAPI VTune(TM) Profiler 2022.0.0 (build 621730)

3. Hardware : Intel(R) Xeon(R) Platinum 8380 CPU @ 2.10GHz

 

AthiraM_Intel
Moderator
847 Views

Hi,

 

Thanks for sharing the details.

Could you please upgrade the VTune to the latest release ( 2022.1.0) and let us know whether your issue is resolved?

 

VTune 2022.1.0 is available for download as a standalone tool at  https://www.intel.com/content/www/us/en/developer/articles/tool/oneapi-standalone-components.html#vt... 

or as part of oneAPI Base Toolkit at https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html

 

 

Thanks.

 

AthiraM_Intel
Moderator
780 Views

Hi,


Could you please give us an update? Is your issue resolved?


Thanks


AthiraM_Intel
Moderator
700 Views

Hi,


We assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Thanks.


Reply