Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
4554 Discussions

[ERROR] enum_modules_for_process_end: unable to get lock on mmap_sem!

paseante
Beginner
124 Views
Hi,
I'm trying to run VTune 9.1 for Linux on Debian GNU/Linux 5.0 Lenny, but I am finding some problems.
The first run starts without problems, but after some seconds, the profiled process halts, and I have to tell VTune to kill it (which when running the program normally never happens). After that, not even the process name is detected, it is displayed under "Other32 unresolved addresses".
If I do a dmesg, I get:
VSD: VTune Performance Analyzer SMP sampling driver v0.9518 has been loaded.
VSD: IDT vector 0x30 will be used for handling PMU interrupts
VSD: [ERROR] enum_modules_for_process_end: unable to get lock on mmap_sem!
VSD: [ERROR] enum_modules_for_process: unable to get lock on mmap_sem!
VSD: [ERROR] enum_modules_for_process_end: unable to get lock on mmap_sem!
VSD: [ERROR] enum_modules_for_process: unable to get lock on mmap_sem!
VSD: [ERROR] enum_modules_for_process_end: unable to get lock on mmap_sem!
I am running a2.6.20.21 kernel with minor modifications. The CPU is an Intel Xeon quad-core.
0 Kudos
1 Reply
Peter_W_Intel
Employee
124 Views
Hello,

I suppose that Debain* 5.0 standard distro is kernel 2.6.26-1 based. Error message indicates the root-cause was from vtune driver.

I suggest to test the tool on standard Linux* distro, and take risk to use on modified systems - not passed testing on them (even if vtune driver was built/loaded successfully by the user).

Regards, Peter
Reply