#173 oprofile fail to detect i386/p6 cpu_type

closed-invalid
None
5
2008-12-29
2008-12-17
Anonymous
No

When I run opcontrol with following command on ubuntu intrepid:

opcontrol --start --vmlinux=/boot/vmlinux-debug-2.6.25-2-386

I have the following message:

cpu_type 'unset' is not valid
you should upgrade oprofile or force the use of timer mode

But when I run cat
/dev/oprofile/cpu_type

I have
i386/p6

The output of /proc/cpuinfo is

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 1.86GHz
stepping : 8
cpu MHz : 798.000
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up bts est tm2
bogomips : 1595.99
clflush size : 64
power management:

Discussion

  • The following email in the archive discusses the same issues:

    http://marc.info/?l=oprofile-list&m=122807757312500&w=2

    I suspect that the Ubuntu kernel pull in some patches from a slightly older upstream kernel. This has been fixed in a new upstream kernel. The Ubuntu kernel appears needs to get that backported into their kernel.

     
    • assigned_to: nobody --> maynardj
    • status: open --> closed-invalid