cpufreq Archive on lore.kernel.org
 help / color / mirror / Atom feed
* longhaul gives /proc/sys/cpu/0/speed-m{in,max} = 0
@ 2003-12-30 13:38 Ian McConnell
  2004-01-01 17:55 ` Francesco Poli
  0 siblings, 1 reply; 3+ messages in thread
From: Ian McConnell @ 2003-12-30 13:38 UTC (permalink / raw)
  To: cpufreq

I'm trying to set up cpu speed control with my VIA EPIA C3 800Mhz.

> x86info
Family: 6 Model: 7 Stepping: 8
CPU Model : VIA C3 (Samuel 2) [C5B]

I downloaded and installed vanilla linux-2.4.23 with
cpufreq-LINUX_2_4-20031230.tar.gz and setting

CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
CONFIG_CPU_FREQ_PROC_INTF=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_24_API=y
# CONFIG_X86_POWERNOW_K6 is not set
# CONFIG_X86_POWERNOW_K7 is not set
# CONFIG_X86_POWERNOW_K8 is not set
CONFIG_X86_LONGHAUL=m
# CONFIG_X86_SPEEDSTEP_PIIX4 is not set
# CONFIG_X86_SPEEDSTEP_SMI is not set
# CONFIG_X86_SPEEDSTEP_ICH is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_P4_CLOCKMOD is not set
# CONFIG_X86_LONGRUN is not set
# CONFIG_X86_GX_SUSPMOD is not set


This seems to work correctly as I get 

longhaul: VIA C3 'Ezra' [C5C] CPU detected. Longhaul v1 supported.
longhaul: MinMult=3.0x MaxMult=6.0x
longhaul: FSB: 133MHz Lowestspeed=399MHz Highestspeed=798MHz

> cat /proc/cpufreq 
          minimum CPU frequency  -  maximum CPU frequency  -  policy
CPU  0          399 kHz ( 50 %)  -        798 kHz (100 %)  -  performance

however I also have

> more /proc/sys/cpu/0/speed*
::::::::::::::
/proc/sys/cpu/0/speed
::::::::::::::
0
::::::::::::::
/proc/sys/cpu/0/speed-max
::::::::::::::
0
::::::::::::::
/proc/sys/cpu/0/speed-min
::::::::::::::
0

Is this right? speed-min and speed-max are both zero so I can't use any
of the userspace speed throttling programs such as cpuspeed-1.1.
Also if /proc/sys/cpu/0/speed = 0, how do I tell what speed my machine is
running at?


Recompiling the kernel with longhaul built in (ie not a module) didn't make
any difference.


I also tried a stock binary kernel 2.6.0, but when I load longhaul.o, the
machine hangs after printing out:

longhaul: VIA C3 'Ezra' [C5C] CPU detected. Longhaul v1 supported.
longhaul: MinMult=3.0x MaxMult=6.0x
longhaul: FSB: 0MHz Lowestspeed=0MHz Highestspeed=0MHz
longhaul: FSB:0 Mult:10.0x


I did have some success with the longhaul and governor modules from
    http://www3.sympatico.ca/howlettfamily/epia/longhaul-1.2.tar.gz
The longhaul module worked ok with vanilla 2.4.23, but the governor module
hangs my machine after a few hours.


Unfortunately, I'm a bit stuck as what to try next as both
   http://blade5.bvu.edu/wiki
   http://www.codemonkey.org.uk/
seem to be down now.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-01-02 16:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-30 13:38 longhaul gives /proc/sys/cpu/0/speed-m{in,max} = 0 Ian McConnell
2004-01-01 17:55 ` Francesco Poli
2004-01-02 16:33   ` Ian McConnell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox