- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'd just like to report that building sepdk driver on Linux kernel 6.1 does fail.
On LTS 5.15 it works perfectly.
Here is the output of the failing build attempt:
sudo ./build-driver -ni
[sudo] password for root:
C compiler version: 12.2.1
Make version: 4.4
Kernel version: 6.1.9-arch1-1
Cleaning workspaces ...
Done
Building socperf driver ...
Done
Building sep driver ...
/home/intel/oneapi_2023_0_0/vtune/2023.0.0/sepdk/src/linuxos.c: In function ‘linuxos_Enum_Modules_For_Process’:
/home/intel/oneapi_2023_0_0/vtune/2023.0.0/sepdk/src/linuxos.c:537:23: error: ‘struct mm_struct’ has no member named ‘mmap’
537 | for (mmap = mm->mmap; mmap; mmap = mmap->vm_next) {
| ^~
/home/intel/oneapi_2023_0_0/vtune/2023.0.0/sepdk/src/linuxos.c:537:48: error: ‘struct vm_area_struct’ has no member named ‘vm_next’
537 | for (mmap = mm->mmap; mmap; mmap = mmap->vm_next) {
| ^~
make[2]: *** [scripts/Makefile.build:250: /home/intel/oneapi_2023_0_0/vtune/2023.0.0/sepdk/src/linuxos.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:2005: /home/intel/oneapi_2023_0_0/vtune/2023.0.0/sepdk/src] Error 2
make: *** [Makefile:215: default] Error 2
Failed to build the drivers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting in intel communities.
Please be informed that Driverless Perf based collections on ADL is supported by Linux kernel since 5.15.5. Thats why you are facing issue when trying to building sepdk driver on Linux kernel 6.1, which is beyond 5.15.
Please refer the below link
If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue.
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting in intel communities.
Please be informed that Driverless Perf based collections on ADL is supported by Linux kernel since 5.15.5. Thats why you are facing issue when trying to building sepdk driver on Linux kernel 6.1, which is beyond 5.15.
Please refer the below link
If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your answer.
Indeed it works. It was quite a long time I didn't use vtune & co, and I was still trained to build and launch the driver.
Sorry for the nuisance.
Daniel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Glad to know that your issue is resolved.
Thanks for accepting our solution. If you need further assistance, please post a new question as this thread will no longer be monitored by Intel.
Thanks
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page