logo       

Re: having problem getting use of perforamance registers ... is my processo: msg#00068

Subject: Re: having problem getting use of perforamance registers ... is my processor supported?
Vasiili Galchin wrote:
> Hello,
> 
> I am trying to get oprofile running on Linux 2.6 (RedHat). Following is a 
> cat of /proc/cpuinfo:
> 
> processor : 0
> 
> vendor_id : GenuineIntel
> 
> cpu family : 15
> 
> model : 4
> 
> model name : Intel(R) Pentium(R) D CPU 2.66GHz
> 
> stepping : 7
> 
> cpu MHz : 2666.576
> 
> cache size : 1024 KB
> 
> physical id : 0
> 
> siblings : 2
> 
> core id : 0
> 
> cpu cores : 2
> 
> fpu : yes
> 
> fpu_exception : yes
> 
> cpuid level : 5
> 
> wp : yes
> 
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat 
> pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm pni monitor 
> ds_cpl tm2 cid cx16 xtpr
> 
> bogomips : 5342.17
> 
> clflush size : 64
> 
> cache_alignment : 128
> 
> address sizes : 36 bits physical, 48 bits virtual
> 
> power management:
> 
> processor : 1
> 
> vendor_id : GenuineIntel
> 
> cpu family : 15
> 
> model : 4
> 
> model name : Intel(R) Pentium(R) D CPU 2.66GHz
> 
> stepping : 7
> 
> cpu MHz : 2666.576
> 
> cache size : 1024 KB
> 
> physical id : 0
> 
> siblings : 2
> 
> core id : 1
> 
> cpu cores : 2
> 
> fpu : yes
> 
> fpu_exception : yes
> 
> cpuid level : 5
> 
> wp : yes
> 
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat 
> pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm pni monitor 
> ds_cpl tm2 cid cx16 xtpr
> 
> bogomips : 5332.05
> 
> clflush size : 64
> 
> cache_alignment : 128
> 
> address sizes : 36 bits physical, 48 bits virtual
> 
> power management:
> 
> 
> 
> You will note that "model" is 4. I noticed in arch/i386/oprofile/nmi_int.c 
> that there is a check in function p4_init:
> 
> if (cpu_model > 3)
> 
> return 0;
> 
> Does this mean that my processor is not supported in Oprofile and if so why?
> 
> Regards, Bill
> 

The following bugzilla addresses this very issue.

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=176601

I am not sure which distribution you are using, but this bug has been addressed 
in RHEL4U4 and FC5.

-Will

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>