Package: cpufrequtils
Version: 002-4
Severity: normal
Hi,
/etc/init.d/loadcpufreq includes some logic to guess the appropriate
frequency scaling module for the current CPU. For VIA CPUs it has:
CentaurHauls*)
# VIA
if [ $CPU_FAMILY == 6 ]; then
MODULE=longhaul;
fi
;;
'longhaul' is the correct module for the VIA C3, but for the VIA C7 the
correct module is 'e_powersaver'.
I believe that it's necessary to look at the 'model' field from
/proc/cpuinfo to determine whether the processor is a C3 or a C7.
Here's the contents of /proc/cpuinfo on a C3 box:
processor : 0
vendor_id : CentaurHauls
cpu family : 6
model : 9
model name : VIA Nehemiah
stepping : 8
cpu MHz : 1002.329
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr cx8 sep mtrr pge cmov pat
mmx fxsr sse rng rng_en ace ace_en
bogomips : 2006.99
and here it is for a C7 box:
processor : 0
vendor_id : CentaurHauls
cpu family : 6
model : 10
model name : VIA Esther processor 1200MHz
stepping : 9
cpu MHz : 400.004
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce apic sep mtrr pge
cmov pat clflush acpi mmx fxsr sse sse2 tm nx up pni est tm2 rng rng_en
ace ace_en ace2 ace2_en phe phe_en pmm pmm_en
bogomips : 800.64
clflush size : 64
Regards,
Phil.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]