Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4974 Discussions

vtune 2001 failing on Ubuntu 11.10

Evgeniy_G_
Beginner
617 Views
Hello I tried to install eveluation on Ubuntu 11.10 32 bit. Kernel ups and installation hangs forewer. Below my system info. ================================================= # uname Linux mews2206 3.0.0-24-generic-pae #40-Ubuntu SMP Tue Jul 24 15:55:26 UTC 2012 i686 i686 i386 GNU/Linux # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 11.10 Release: 11.10 Codename: oneiric # lsmod command stuck, killed. # Initiall error: /tmp/install.Zp3obY/li_gen_bash.LFcsMo: 6462: ./insmod-sep3: Permission denied #the file is indeed not executable ls -la ./intel.pset.root.mews2206_06.19.17.40.28.2013/tools/insmod-sep3 -rw-rw-r-- 1 root root 6332 2013-05-27 14:56 ./intel.pset.root.mews2206_06.19.17.40.28.2013/tools/insmod-sep3 # "ps afx" Excerpt: 1986 pts/0 S 0:00 | | \_ sudo -i 11987 pts/0 S 0:00 | | \_ -bash 12189 pts/0 S+ 0:00 | | \_ /bin/sh ./install.sh 12256 pts/0 S+ 0:00 | | \_ /tmp/intel.pset.root.mews2206_06.19.17.40.28.2013/32/install.32 --tmp-dir /tmp --log-file /tmp/intel.pset.root.mews2206_06.19.17.40.28.2013.l 19508 pts/0 S+ 0:00 | | \_ sh -c /tmp/vtune_amplifier_xe_2013_update8/./pset/install.sh --run /tmp/vtune_amplifier_xe_2013_update8/./CLI_install/rpm --chklic-path 19509 pts/0 S+ 0:00 | | \_ /bin/sh /tmp/vtune_amplifier_xe_2013_update8/./pset/install.sh --run /tmp/vtune_amplifier_xe_2013_update8/./CLI_install/rpm --chklic- 20662 pts/0 S+ 0:00 | | \_ /bin/sh ./rmmod-apwr 20678 pts/0 S+ 0:00 | | \_ /bin/sh ./rmmod-apwr 20679 pts/0 D+ 0:00 | | \_ lsmod 20680 pts/0 S+ 0:00 | | \_ cut -d -f 1 20681 pts/0 S+ 0:00 | | \_ grep apwr # relevant dmesg output [ 8424.289175] PAX: PMU arbitration service v1.0.1 has been started. [ 8424.289192] BUG: unable to handle kernel paging request at 45c05004 [ 8424.289243] IP: [] module_put+0x20/0x90 [ 8424.289267] *pdpt = 0000000028e36001 *pde = 0000000000000000 [ 8424.289290] Oops: 0002 [#1] SMP [ 8424.289305] Modules linked in: pax pci_stub vboxpci vboxnetadp vboxnetflt vboxdrv autofs4 kvm_intel kvm parport_pc ppdev nfsd nfs lockd fscache auth_rpcgss nfs_acl sunrpc binfmt_misc snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm i915 snd_seq_midi snd_rawmidi snd_seq_midi_event hp_wmi sparse_keymap snd_seq snd_timer snd_seq_device mei(C) psmouse tpm_infineon serio_raw snd drm_kms_helper drm i2c_algo_bit video wmi soundcore snd_page_alloc tpm_tis lp parport ahci usbhid hid libahci sata_sil24 e1000e [ 8424.289530] [ 8424.289537] Pid: 19506, comm: insmod Tainted: G C 3.0.0-24-generic-pae #40-Ubuntu Hewlett-Packard HP Compaq 6200 Pro MT PC/1497 [ 8424.289582] EIP: 0060:[] EFLAGS: 00210282 CPU: 0 [ 8424.289602] EIP is at module_put+0x20/0x90 [ 8424.289617] EAX: 0f900000 EBX: fa52d080 ECX: c18f2d2c EDX: f27f8000 [ 8424.289638] ESI: 00000000 EDI: fa52d080 EBP: f27f9f88 ESP: f27f9f70 [ 8424.289659] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 [ 8424.289678] Process insmod (pid: 19506, ti=f27f8000 task=eab899a0 task.ti=f27f8000) [ 8424.289704] Stack: [ 8424.289712] 00000000 b7fff918 f27f9f88 fa52d080 00000000 b7fff918 f27f9fac c108ba45 [ 8424.289747] 00000000 f27f9fac c1132935 eabda640 bffff4ab 0804c018 0804872c f27f8000 [ 8424.289783] c15664df 0804c018 0000210c 0804c008 0804872c b7fff918 bffff2a8 00000080 [ 8424.289818] Call Trace: [ 8424.289830] [] sys_init_module+0x105/0x210 [ 8424.289850] [] ? sys_close+0x75/0xd0 [ 8424.289868] [] sysenter_do_call+0x12/0x28 [ 8424.289885] Code: ff eb d0 90 8d b4 26 00 00 00 00 55 89 e5 83 ec 18 89 5d f4 89 75 f8 89 7d fc 3e 8d 74 26 00 85 c0 89 c7 74 1a 8b 80 78 01 00 00 [ 8424.289981] ff 40 04 8b 45 04 89 45 ec 3e 8d 74 26 00 83 3f 02 74 4b 8b [ 8424.290030] EIP: [] module_put+0x20/0x90 SS:ESP 0068:f27f9f70 [ 8424.290055] CR2: 0000000045c05004 [ 8424.357434] ---[ end trace 84e2e990c9d54f16 ]---
0 Kudos
14 Replies
Bernard
Valued Contributor I
617 Views

>>>IP: [<c1089460>] module_put+0x20/0x90>>>

This is probably the faulting IP inside module_put() function.From what I have been able to understand this function increments some use count and it is operating in kernel mode.Unfortunately there is no disassembly of code which led to crash only raw machine code bytes.This function receives a pointer to structure module so the first thing to check it can be thevalidity of the pointer,but there is no present any segfault signal so I suppose that pointer is valid.By reading the description of the module_put one of the causes of this function failure is when the module is removed.

0 Kudos
SergeyKostrov
Valued Contributor II
617 Views
>># Initiall error: >>/tmp/install.Zp3obY/li_gen_bash.LFcsMo: 6462: ./insmod-sep3: Permission denied Do you have right Access Rights to that folder?
0 Kudos
Bernard
Valued Contributor I
617 Views

:>>> unable to handle kernel paging request at 45c05004>>>

This is also interesting.I do not know if the failure of handling paging request can be related to kernel oops.

Can you provide a stack trace from GDB?

0 Kudos
Evgeniy_G_
Beginner
617 Views

Sergey Kostrov wrote:

>># Initiall error:
>>/tmp/install.Zp3obY/li_gen_bash.LFcsMo: 6462: ./insmod-sep3: Permission denied
Do you have right Access Rights to that folder?

Yes, but this file doesn't have executable bit.

0 Kudos
Bernard
Valued Contributor I
617 Views

It is kernel oops.

0 Kudos
SergeyKostrov
Valued Contributor II
617 Views
>>...Yes, but this file doesn't have executable bit... If this is a data file ( some kind of archive ) it doesn't need to have it, right? Also, why wouldn't you try to give All Access Rights to that folder?
0 Kudos
Peter_W_Intel
Employee
617 Views

>># Initiall error:
>>/tmp/install.Zp3obY/li_gen_bash.LFcsMo: 6462: ./insmod-sep3: Permission denied

>>#the file is indeed not executable
>>ls -la ./intel.pset.root.mews2206_06.19.17.40.28.2013/tools/insmod-sep3
>>-rw-rw-r-- 1 root root 6332 2013-05-27 14:56 ./intel.pset.root.mews2206_06.19.17.40.28.2013/tools/insmod-sep3

Was it possible reason that the user extracted (installation) tar file on Windows then copied whole directory onto Linux? 

0 Kudos
Bernard
Valued Contributor I
617 Views

>>>Was it possible reason that the user extracted (installation) tar file on Windows then copied whole directory onto Linux? >.>

There is also a kernel oops error reported. Do you think that this can be related to unsufficient user permission?

0 Kudos
Evgeniy_G_
Beginner
617 Views

Nope.
All was done under linux.

0 Kudos
Peter_W_Intel
Employee
617 Views

Evgeniy G. wrote:

Nope.
All was done under linux.

I don't know what happened on your side, are you using customized OS? Any changed in kernel?

Another idea is to install VTune Amplifier XE 2013 on regular OS, for example - RHEL, SUSE, etc. Then copy all directory (default - /opt/intel/vtune_amplifier_xe_2013 to the target, I mean your Ubuntu). You only need to do extra things:

1. cd /opt/intel/vtune_amplifier_xe_2013/sepdk/src, build drivers & install drivers.

2. run "source /opt/intel/vtune_amplifier_xe_2013/amplxe-vars.sh"

You can run amplxe-gui or amplxe-cl as usual. You can see there is no installation required in my suggestion.

0 Kudos
Evgeniy_G_
Beginner
617 Views
here the informatuion I succded to extract with gdb: root@mews2206:~# gdb /tmp/intel.pset.root.mews2206_06.27.10.36.03.2013/32/install.32 15879 GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-linux-gnu". For bug reporting instructions, please see: <>... WARNING: you are using an old gdb (7.3-2011.08); did you run TreeConfig.sh/set_env.py? Limit on string chars or array elements to print is 1000. /tmp/intel.pset.root.mews2206_06.27.10.36.03.2013/32/install.32: No such file or directory. Attaching to process 15879 Reading symbols from /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013/32/install.32...(no debugging symbols found)...done. warning: Could not load shared library symbols for ./activation_libFNP.so. Do you need "set solib-search-path" or "set sysroot"? Reading symbols from /lib/i386-linux-gnu/libdl.so.2...Reading symbols from /usr/lib/debug/lib/i386-linux-gnu/libdl-2.13.so...done. done. Loaded symbols for /lib/i386-linux-gnu/libdl.so.2 Reading symbols from /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013/32/libxml2.so.2...done. Loaded symbols for /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013/32/libxml2.so.2 Reading symbols from /lib/i386-linux-gnu/libm.so.6...Reading symbols from /usr/lib/debug/lib/i386-linux-gnu/libm-2.13.so...done. done. Loaded symbols for /lib/i386-linux-gnu/libm.so.6 Reading symbols from /lib/i386-linux-gnu/libgcc_s.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/i386-linux-gnu/libgcc_s.so.1 Reading symbols from /lib/i386-linux-gnu/libc.so.6...Reading symbols from /usr/lib/debug/lib/i386-linux-gnu/libc-2.13.so...done. done. Loaded symbols for /lib/i386-linux-gnu/libc.so.6 Reading symbols from /lib/i386-linux-gnu/libpthread.so.0...Reading symbols from /usr/lib/debug/lib/i386-linux-gnu/libpthread-2.13.so...done. [Thread debugging using libthread_db enabled] done. Loaded symbols for /lib/i386-linux-gnu/libpthread.so.0 Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /lib/i386-linux-gnu/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/i386-linux-gnu/libz.so.1 Reading symbols from /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013/32/activation.so...(no debugging symbols found)...done. Loaded symbols for /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013/32/activation.so Reading symbols from /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013/32/libexpat.so.0...done. Loaded symbols for /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013/32/libexpat.so.0 Reading symbols from /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013/32/libssl.so.1.0.0...(no debugging symbols found)...done. Loaded symbols for /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013/32/libssl.so.1.0.0 Reading symbols from /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013/32/libcrypto.so.1.0.0...(no debugging symbols found)...done. Loaded symbols for /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013/32/libcrypto.so.1.0.0 Reading symbols from /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013/32/libares.so...(no debugging symbols found)...done. Loaded symbols for /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013/32/libares.so Reading symbols from /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013/32/libMinAxis.so...(no debugging symbols found)...done. Loaded symbols for /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013/32/libMinAxis.so Reading symbols from /usr/lib/i386-linux-gnu/libstdc++.so.5...(no debugging symbols found)...done. Loaded symbols for /usr/lib/i386-linux-gnu/libstdc++.so.5 Reading symbols from /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013/32/libssl.so.0.9.7...(no debugging symbols found)...done. Loaded symbols for /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013/32/libssl.so.0.9.7 Reading symbols from /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013/32/libcrypto.so.0.9.7...(no debugging symbols found)...done. Loaded symbols for /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013/32/libcrypto.so.0.9.7 Reading symbols from /lib/i386-linux-gnu/libnss_dns.so.2...Reading symbols from /usr/lib/debug/lib/i386-linux-gnu/libnss_dns-2.13.so...done. done. Loaded symbols for /lib/i386-linux-gnu/libnss_dns.so.2 Reading symbols from /lib/i386-linux-gnu/libresolv.so.2...Reading symbols from /usr/lib/debug/lib/i386-linux-gnu/libresolv-2.13.so...done. done. Loaded symbols for /lib/i386-linux-gnu/libresolv.so.2 0xb7fdf424 in __kernel_vsyscall () (gdb) bt #0 0xb7fdf424 in __kernel_vsyscall () #1 0xb7d7481b in waitpid () at ../sysdeps/unix/syscall-template.S:82 #2 0xb7d129d3 in do_system ( line=0xbfff6d70 "/tmp/vtune_amplifier_xe_2013_update8/./pset/install.sh --run /tmp/vtune_amplifier_xe_2013_update8/./CLI_install/rpm --chklic-path /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013/32/../tools --c AMPL_PWR_X86 --l /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013.log --t /tmp/install.xvqpxY --silent /tmp/li_silent_cfg.HFSjUN 1>> /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013.log 2>> /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013.log") at ../sysdeps/posix/system.c:149 #3 0xb7d12e8a in __libc_system ( line=0xbfff6d70 "/tmp/vtune_amplifier_xe_2013_update8/./pset/install.sh --run /tmp/vtune_amplifier_xe_2013_update8/./CLI_install/rpm --chklic-path /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013/32/../tools --c AMPL_PWR_X86 --l /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013.log --t /tmp/install.xvqpxY --silent /tmp/li_silent_cfg.HFSjUN 1>> /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013.log 2>> /tmp/intel.pset.root.mews2206_06.27.10.50.25.2013.log") at ../sysdeps/posix/system.c:190 #4 0x0806fb3f in install_component. () #5 0x0806f54d in pset_install_selected_products () #6 0x00000000 in ?? ()
0 Kudos
Bernard
Valued Contributor I
617 Views

This is a different call stack so do you still have a kernel oops?

0 Kudos
Evgeniy_G_
Beginner
617 Views

have an Oops, installer is stuck.
lsmod is impossible, etc...

0 Kudos
Bernard
Valued Contributor I
617 Views

I meant to obtain call stack during the rash with GDB and if this is not possible can you post (opened by GDB) saved dump of oops?

0 Kudos
Reply