Skip to contentSkip to conversation

New: p4-clockmod reports wrong MHz in /proc/cpuinfo desktop P4

Bug 7186 [email protected] 1 participant 1 message Sep 22, 2006

lore
Share & tools
lore
#0 lore raw

http://bugzilla.kernel.org/show_bug.cgi?id=7186

           Summary: p4-clockmod reports wrong MHz in /proc/cpuinfo desktop
                    P4
    Kernel Version: 2.6.18
            Status: NEW
          Severity: low
             Owner: [email protected]
         Submitter: [email protected]
                CC: [email protected]

Most recent kernel where this bug did not occur:
This always occurs since 2.6.16. No idea about earlier versions.

Distribution:
Gentoo. Verified bug with vanilla kernel.
Bug was originally filed at:

    http://bugs.gentoo.org/show_bug.cgi?id=141234
Possibly related:
    Bug 6367

Hardware Environment:
Dell Dimension 8100
Pentium 4 1300 MHz w/ RDRAM from mid-2001

Software Environment:

    N/A

Problem Description:
p4-clockmod produces wrong MHz statistics in /proc/cpuinfo Simple benchmark with Perl script adding 1000s of integers shows that the
frequency scaling works correctly and that the CPU is not being over-clocked.

Steps to reproduce:

#### (1) without p4-clockmod loaded:

# cat /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 15
model		: 0
model name	: Intel(R) Pentium(R) 4 CPU 1300MHz
stepping	: 7
cpu MHz		: 1285.413
cache size	: 256 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 sep mtrr pge mca cmov pat 
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips	: 2573.13

#### (2) with p4-clockmod loaded:

# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
525000 787500 1050000 1312500 1575000 1837500 2100000
# cat /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 15
model		: 0
model name	: Intel(R) Pentium(R) 4 CPU 1300MHz
stepping	: 7
cpu MHz		: 2100.000
cache size	: 256 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 sep mtrr pge mca cmov pat 
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips	: 2573.13

------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.