- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Brand new to vtune, on a Centos Linux machine. "uname -r" gives "3.10.0-327.el7.x86_64".
When I installed vtune, it said
The install program cannot detect the kernel source directory for OS kernel
version 3.10.0-327.el7.x86_64. If kernel sources are already installed to custom
directory, set up this parameter in Advanced Options -> Driver Build Options
dialog.
To install kernel headers, execute one of the following commands specific to
your operating system:
- CentOS / Red Hat Enterprise Linux
- On a system with the default kernel, install the kernel-devel package:
sudo yum install kernel-devel-3.10.0-327.el7.x86_64
- On a system with the PAE kernel, install the kernel-PAE package:
sudo yum install kernel-PAE-devel-3.10.0-327.el7.x86_64
When I try to run that final "yum" line, I get:
No package kernel-PAE-devel-3.10.0-327.el7.x86_64 available.
When I run either vtune-self-checker.sh or try to set up a Microarchitecture Exploration inside the vtune GUI,
they tell me "vtune: Error: This analysis type requires either an access to system-wide monitoring in the Linux perf subsystem or installation of the VTune Profiler drivers (see the "Sampling Drivers" help topic for further details). "
How do I install the VTune Profiler drivers?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey Steve,
The error message suggests to install perf or vtune drivers. So to resolve the issue you could try any one among the 2 below alternatives:
alternative 1: Install perf
You can install perf on centos with the below command
sudo yum install perf gawk
alternative 2:
You could build vtune drivers by using the below command:
cd {VTUNE_INSTALLATION_PATH}/sepdk/src/ ./build-driver -ni --kernel-version="3.10.0-327.el7.x86_64" --kernel-src-dir="/usr/src/kernels/3.10.0-327.el7.x86_64"
Also find below a more detailed documentation on building drivers in the below link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My /usr/src/kernels is empty. Is there something I can do or am I out of luck?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
FYI, I do have a /lib/modules/3.10.0-327.el7.x86_64/source which is a symlink to the non-existent /usr/src/kernels/3.10.0-327.el7.x86_64.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Steve.
Did you try 'sudo yum install kernel-devel-3.10.0-327.el7.x86_64'?
if the package is not avalable you could try to download and install it directly.
for example, 'sudo rpm -ivh kernel-devel-3.10.0-327.el7.x86_64.rpm' from
https://buildlogs.centos.org/c7.1511.00/kernel/20151119220809/3.10.0-327.el7.x86_64/ ;
Kirill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve,
Have you tried out the steps provided ?. Do the resolve your issue.
Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That resolved my issue, thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the confirmation we are closing this case. Please feel free to raise a new thread for further issues.
![](/skins/images/C4F7392A5C68ACA60290C9576F107044/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