Community
cancel
Showing results for 
Search instead for 
Did you mean: 
YannGolanski
Beginner
135 Views

Fedora 10 linux install?

Does anyone have managed to get Vtune to work under Fedora 10?

0 Kudos
7 Replies
Peter_W_Intel
Employee
135 Views

Latest VTune Performance Analyzer 9.1 for Linux* supports Redhat? Fedora 8/9 only, Fedora 10 has not been fully tested yet.

Regards, Peter

Ravi_V_Intel
Employee
135 Views

I have it working under Fedora 9. What kind of issues do you encounter when you run Fedora 10? I believe you will need to build the VTune Analyzer driver afresh (for this, you will need to pull in the relevant linux packages with the Linux headers). Were you able to successfully build the VTune Analyzer driver? Also, as Peter observes, VTune Analyzer is not yet tested on Fedora 10. If you continue to experience any problems, please let me know the ISO you used for installing Fedora 10 and I can try the same one.

YannGolanski
Beginner
135 Views

Quoting - RAVI (Intel)

I have it working under Fedora 9. What kind of issues do you encounter when you run Fedora 10? I believe you will need to build the VTune Analyzer driver afresh (for this, you will need to pull in the relevant linux packages with the Linux headers). Were you able to successfully build the VTune Analyzer driver? Also, as Peter observes, VTune Analyzer is not yet tested on Fedora 10. If you continue to experience any problems, please let me know the ISO you used for installing Fedora 10 and I can try the same one.

Ravi,

I have not installed it yet. I was just seeing if I could install it. I will download it now and try. I will update this thread with my findings. My system is:

; uname -a
Linux yk-dev-yg.corp.nanometrics.com 2.6.27.5-94.fc10.i686 #1 SMP Mon Nov 10 15:51:55 EST 2008 i686 i686 i386 GNU/Linux
; cat /etc/fedora-release
Fedora release 10 (Cambridge)

YannGolanski
Beginner
135 Views

I downloaded vtune_linux_9.1 and installed it. The install works fine but I cannot build a module. I tried start vtune and it did start (both command line and graphical). I will not get a chance to look at it for a little while -- busy with other less interesting things -- but should be able to play with it before Friday.

Building the module by hand did not work either. The same error happened.

Here is the error I have in case it is of interest:


===============================================================================
INSTALLATION WARNINGS

Intel VTune Performance Analyzer 9.1 for Linux* installation
-------------------------------------------------------------------------------

WARNING: Checking if a pre-built sampling driver exists for your kernel ... no.

Attempting to compile the driver ...
WARNING: Driver compilation failed. For more details, please
see /var/log/vtune_driver_compilation.log

WARNING: failed to load sampling driver.

WARNING: Sampling driver for your system was not installed.
If you want to use sampling, please go to /opt/intel/vtune/vdk/src
and build driver manually. For additional info on how to build a driver,
please refer to /opt/intel/vtune/vdk/src/doc/HOWTO-BUILD-VTUNE-DRIVER.


Press to continue.

--------------------------------------------------------------------------------

Searching a pre-built driver vtune_drv-x32-2.6.27.5-94.fc10.i686smp.ko ...
FAILED

Building the driver for you kernel ...
C compiler to use: [ /usr/bin/gcc ]
Make command to use: [ /usr/bin/make ]
Kernel source directory: [ /lib/modules/2.6.27.5-94.fc10.i686/source ]

checking for template makefile ... Makefile.in
checking for kernel headers ... /lib/modules/2.6.27.5-94.fc10.i686/source/include
checking if C compiler is working ... yes
checking if C compiler supports anonymous structs and unions ... yes
checking architecture ... i686
checking kernel version ... 2.6.27.5-94.fc10.i686
checking whether kernel modules can be built ... yes
checking if UP or SMP ... SMP
checking for module license ... GPL
checking whether to use NMI ... no
checking if LBRs are supported ... yes
checking if mmap_*_read is supported ... no
checking if mm.h is available ... yes
checking if for_each_process is exported ... yes
checking if task_struct has a parent field... yes
checking which type of remap to use ... remap_pfn_range
checking if read_trylock is available ... yes
checking if write_trylock is available ... yes
checking if set_user_nice is available ... yes
checking if msecs_to_jiffies is available ... yes
checking for kernel symbol file ... /boot/System.map-2.6.27.5-94.fc10.i686
checking if kernel exports CPU frequency ... yes
checking if kernel profile hooks exist ... yes
checking if tasklist_lock is exported ... no
checking if kernel percpu segment is used ... yes (fs)

rm -f vtune.o random.o pcg.o per_cpu_buffer.o os_dependent.o user_status.o plugin.o utility.o vtune.o random.o pcg.o per_cpu_buffer.o os_dependent.o user_status.o plugin.o utility.o vtlib32.o vtxsys32.o vtlibcommon32.o apic32.o profile_hooks.o .*.cmd built-in.o .*.o.d vtune_drv.o vtune_drv.ko vtune_drv.mod.* Module*.symvers Module*.markers modules.order
rm -rf .tmp_versions
rm -f vtune_drv-x32-2.6.27.5-94.fc10.i686smp.ko
/usr/bin/make "V=0" -C /lib/modules/2.6.27.5-94.fc10.i686/build SUBDIRS=/opt/intel/vtune/vdk/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.27.5-94.fc10.i686'
CC /opt/intel/vtune/vdk/src/vtune.o
/opt/intel/vtune/vdk/src/vtune.c: In function 'build_vt_sys_info':
/opt/intel/vtune/vdk/src/vtune.c:312: error: too many arguments to function 'on_each_cpu'
/opt/intel/vtune/vdk/src/vtune.c:429: error: too many arguments to function 'on_each_cpu'
/opt/intel/vtune/vdk/src/vtune.c: In function 'find_thread_id':
/opt/intel/vtune/vdk/src/vtune.c:769: error: implicit declaration of function 'find_task_by_pid'
cc1: warnings being treated as errors
/opt/intel/vtune/vdk/src/vtune.c:769: error: assignment makes pointer from integer without a cast
/opt/intel/vtune/vdk/src/vtune.c: In function 'samp_read_cpu_perf_counters':
/opt/intel/vtune/vdk/src/vtune.c:829: error: too many arguments to function 'on_each_cpu'
/opt/intel/vtune/vdk/src/vtune.c: In function 'build_tsc_list':
/opt/intel/vtune/vdk/src/vtune.c:863: error: too many arguments to function 'on_each_cpu'
/opt/intel/vtune/vdk/src/vtune.c: In function 'start_sampling_ex':
/opt/intel/vtune/vdk/src/vtune.c:3238: error: too many arguments to function 'smp_call_function'
/opt/intel/vtune/vdk/src/vtune.c: In function 'vdrv_init_emon_regs':
/opt/intel/vtune/vdk/src/vtune.c:3600: error: too many arguments to function 'on_each_cpu'
/opt/intel/vtune/vdk/src/vtune.c: In function 'vdrv_start_EBS':
/opt/intel/vtune/vdk/src/vtune.c:3626: error: too many arguments to function 'on_each_cpu'
/opt/intel/vtune/vdk/src/vtune.c: In function 'vdrv_resume_EBS':
/opt/intel/vtune/vdk/src/vtune.c:3652: error: too many arguments to function 'on_each_cpu'
/opt/intel/vtune/vdk/src/vtune.c: In function 'vdrv_stop_EBS':
/opt/intel/vtune/vdk/src/vtune.c:3678: error: too many arguments to function 'on_each_cpu'
/opt/intel/vtune/vdk/src/vtune.c: At top level:
/opt/intel/vtune/vdk/src/vtune.c:4408: error: unknown field 'nopfn' specified in initializer
/opt/intel/vtune/vdk/src/vtune.c:4408: error: initialization from incompatible pointer type
make[2]: *** [/opt/intel/vtune/vdk/src/vtune.o] Error 1
make[1]: *** [_module_/opt/intel/vtune/vdk/src] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.27.5-94.fc10.i686'
make: *** [default] Error 2


Installing sampling driver boot script ...
Copying /opt/intel/vtune/vdk/vtune to /etc/rc.d/init.d ... done.
Configuring autoload of sampling driver for runlevels 2 through 5 ... done.

Loading the driver ...

Warning: sampling driver "vtune_drv-x32-2.6.27.5-94.fc10.i686smp.ko"
was not found in directory "/opt/intel/vtune/vdk" !

This means you may need to build a driver from the provided
driver sources. Please see the driver README for instructions.

YannGolanski
Beginner
135 Views


the above thread has the same error. It is due to the kernel 2.6.27 series changing library call so that they are not backwards compatible. It seems that the only way is to wait till a new version of Vtune comes out.
YannGolanski
Beginner
135 Views

The latest Intel VTune Performance Analyzer 9.1 Update 1 for Linux works fine on Fedora 10. I have been running it with call graphs, sampling and following the tuitorials.

Thanks to the staff at Intel for making this work!
mrtomdar
Beginner
135 Views

hello!! Very interesting discussion glad that I came across such informative post. Keep up the good work friend.
Reply