- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Has anyone managed to build a version of the VDK which runs on this kernel? Building modules has changed in 2.6, and I'm having trouble getting the VDK to build - it hits compilation errors during configure which fools it into setting up the wrong values.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Has anyone managed to build a version of the VDK which runs on this kernel? Building modules has changed in 2.6, and I'm having trouble getting the VDK to build - it hits compilation errors during configure which fools it into setting up the wrong values.
The PTU which was to have releasedabout now includes prebuilt driver for 2.6.18-92.el5 (works for me). I assume it was built with the gcc 4.1.2 which comes along with that kernel. I wouldn't be surprised if you had difficulty with an older vdk or a newer gcc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1) install kernel-source-*.rpm for kernel 2.6.xyz
2) cd /usr/src/linux-2.6.xyz
3) make mrproper
4) make cloneconfig
5) make prepare
Then run VDK ./build-driver script to build the sampling driver.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please post the actual compile errors you get when you attempt to build the driver? Also, which version of Intel Vtune Analyzer are you using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The PTU which was to have releasedabout now includes prebuilt driver for 2.6.18-92.el5 (works for me). I assume it was built with the gcc 4.1.2 which comes along with that kernel. I wouldn't be surprised if you had difficulty with an older vdk or a newer gcc.
Where can I get hold of this PTU?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please post the actual compile errors you get when you attempt to build the driver? Also, which version of Intel Vtune Analyzer are you using?
Here's one of the errors that one of the simple test programs created during the configure stage gets:
In file included from /usr/src/linux/include/asm/thread_info.h:16,
from /usr/src/linux/include/linux/thread_info.h:21,
from /usr/src/linux/include/linux/preempt.h:9,
from /usr/src/linux/include/linux/spinlock.h:49,
from /usr/src/linux/include/linux/capability.h:45,
from /usr/src/linux/include/linux/sched.h:44,
from /usr/src/linux/include/linux/mm.h:4,
from vtunetemptest.c:4:
/usr/src/linux/include/asm/processor.h:80: error: CONFIG_X86_L1_CACHE_SHIFT undeclared here (not in a function)
I've played around with this a bit and got further, on to other errors, but there's no obvious end in sight.
This is after installing the kernel source rpm and doing the make steps in the README (e.g. mrproper). It's using the latest evaluation download, which I think is 9.1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1) install kernel-source-*.rpm for kernel 2.6.xyz
2) cd /usr/src/linux-2.6.xyz
3) make mrproper
4) make cloneconfig
5) make prepare
Then run VDK ./build-driver script to build the sampling driver.
There's no make target for cloneconfig. If you mean oldconfig, I've tried that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Where can I get hold of this PTU?
http://software.intel.com/sites/code-downloads/
http://software.intel.com/en-us/articles/intel-performance-tuning-utility-31-update-3
indicates that the PTU update did occur over a week ago.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using the PTU worked. Thanks.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page