From: Ian McConnell <ian@emit.demon.co.uk>
To: cpufreq@www.linux.org.uk
Subject: longhaul gives /proc/sys/cpu/0/speed-m{in,max} = 0
Date: Tue, 30 Dec 2003 13:38:25 +0000 [thread overview]
Message-ID: <87n09aa0j2.fsf@emit.demon.co.uk> (raw)
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.
next reply other threads:[~2003-12-30 13:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-30 13:38 Ian McConnell [this message]
2004-01-01 17:55 ` longhaul gives /proc/sys/cpu/0/speed-m{in,max} = 0 Francesco Poli
2004-01-02 16:33 ` Ian McConnell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87n09aa0j2.fsf@emit.demon.co.uk \
--to=ian@emit.demon.co.uk \
--cc=cpufreq@www.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox