Skip to contentSkip to conversation

Bug: Pentium M not always detected by CPUFREQ

DISCUSSION Holger Schurig 3 participants 5 messages Nov 21, 2006 – Nov 28, 2006

lore
Share & tools
lore
#0 lore raw

Hi !

One module thinks that I have a Pentium M, the other doesn't. Which module is right?

# modprobe p4-clockmod
p4-clockmod: Warning: Pentium M detected. The speedstep_centrino 
module offers voltage scaling in addition of frequency scaling. 
You should use that instead of p4-clockmod, if possible.
p4-clockmod: P4/Xeon(TM) CPU On-Demand Clock Modulation available

Okay, so I'll try that:

# rmmod p4-clockmod
# modprobe speedstep-centrino
FATAL: Error inserting speedstep_centrino 
(/lib/modules/2.6.19-rc6/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.ko): 
No such device
# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 9
model name      : Intel(R) Celeron(R) processor            600MHz
stepping        : 5
cpu MHz         : 598.093
cache size      : 64 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 mce cx8 apic sep mtrr 
pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe
bogomips        : 1196.88

So far I can only say that speedstep-centrino doesn't have an entry for a CPU with a mere 600 MHz. May this be the problem?

#1 lore raw
Quoted 29 lines · Holger Schurig

Hi !

One module thinks that I have a Pentium M, the other doesn't. Which module is right?

model name : Intel(R) Celeron(R) processor 600MHz
stepping : 5
cpu MHz : 598.093
cache size : 64 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 mce cx8 apic sep mtrr
pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe
bogomips : 1196.88

So far I can only say that speedstep-centrino doesn't have an entry for a CPU with a mere 600 MHz. May this be the problem? -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 2 lines
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org
#2 lore raw
In reply to Holger Schurig
Quoted 10 lines · Holger Schurig

Hi !

One module thinks that I have a Pentium M, the other doesn't. Which module is right?

# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 9
model name      : Intel(R) Celeron(R) processor            600MHz

you don't have a pentium M

Quoted 16 lines

stepping : 5
cpu MHz : 598.093
cache size : 64 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 mce cx8 apic sep mtrr
pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe
bogomips : 1196.88

Quoted 3 lines

So far I can only say that speedstep-centrino doesn't have an entry for a CPU with a mere 600 MHz. May this be the problem ?

as far as I know Celeron processors don't have actual frequency control capabilities (and no p4-clockmod doesn't count, that doesn't save you any energy realistically)....

Signature · 2 lines
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org
#3 lore raw
Quoted 1 line

you don't have a pentium M

In that case p4-clockmod has a bug, because it said that I have one.

#4 lore raw
Quoted 4 lines · Holger Schurig
Quoted 1 line

you don't have a pentium M

In that case p4-clockmod has a bug, because it said that I have one.

That bug should be fixed in -mm, cpufreq-git and 2.6.20.

Thanks,
Dominik