* Cpufreq for 2.4: what is the best source?
@ 2003-08-15 10:18 Bas Mevissen
2003-08-15 15:41 ` Dominik Brodowski
0 siblings, 1 reply; 10+ messages in thread
From: Bas Mevissen @ 2003-08-15 10:18 UTC (permalink / raw)
To: Cpufreq
Hi all,
What is the best source for CPUFREQ for a 2.4.22-rc2 kernels? Is it the
2.4.22-rc2-ac1 kernel version or the 2.4 tarballs on
ftp://ftp.linux.org.uk/pub/linux/cpufreq/ or the LINUX_2_4 tag from CVS?
(BTW I want to use it with a P4-M CPU)
Does someone know when codemonkey comes on-line again? Or is there
another place where I can find up to date documentation?
Regards,
Bas.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Cpufreq for 2.4: what is the best source?
2003-08-15 10:18 Cpufreq for 2.4: what is the best source? Bas Mevissen
@ 2003-08-15 15:41 ` Dominik Brodowski
2003-08-15 16:53 ` Georg Sauthoff
2003-08-18 9:37 ` Bas Mevissen
0 siblings, 2 replies; 10+ messages in thread
From: Dominik Brodowski @ 2003-08-15 15:41 UTC (permalink / raw)
To: Bas Mevissen; +Cc: Cpufreq
On Fri, Aug 15, 2003 at 12:18:32PM +0200, Bas Mevissen wrote:
>
> Hi all,
>
> What is the best source for CPUFREQ for a 2.4.22-rc2 kernels? Is it the
> 2.4.22-rc2-ac1 kernel version or the 2.4 tarballs on
> ftp://ftp.linux.org.uk/pub/linux/cpufreq/ or the LINUX_2_4 tag from CVS?
Either 2.4.22-rc2-ac1 or the latest 2.4 backport on www.codemonkey.org.uk -
but as that's offline at the moment, I'd try -ac. Or 2.6.0-test3-bk-current
:)
> Does someone know when codemonkey comes on-line again? Or is there
> another place where I can find up to date documentation?
IIRC there's zero extra documentation on "codemonkey.org.uk"
The best documentation is within the linux kernel sources [2.4.-patched,
2.4-ac, or 2.6.] in Documentation/cpu-freq/
Dominik
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Cpufreq for 2.4: what is the best source?
2003-08-15 15:41 ` Dominik Brodowski
@ 2003-08-15 16:53 ` Georg Sauthoff
2003-08-15 17:39 ` Russell King
2003-08-15 19:40 ` Dominik Brodowski
2003-08-18 9:37 ` Bas Mevissen
1 sibling, 2 replies; 10+ messages in thread
From: Georg Sauthoff @ 2003-08-15 16:53 UTC (permalink / raw)
To: Cpufreq
On Friday 15 August 2003 17:41, Dominik Brodowski wrote:
Hi,
> On Fri, Aug 15, 2003 at 12:18:32PM +0200, Bas Mevissen wrote:
> > What is the best source for CPUFREQ for a 2.4.22-rc2 kernels? Is it the
> > 2.4.22-rc2-ac1 kernel version or the 2.4 tarballs on
> > ftp://ftp.linux.org.uk/pub/linux/cpufreq/ or the LINUX_2_4 tag from CVS?
> Either 2.4.22-rc2-ac1 or the latest 2.4 backport on www.codemonkey.org.uk -
> but as that's offline at the moment, I'd try -ac. Or 2.6.0-test3-bk-current
>
> :)
unfortunely I can't use -ac 2.4. Kernels ... (because of my hardware and not
2.6. because of a Cisco VPN). Is (or was) www.codemonkey.org.uk really the
only place, to get the cpufreq backports against vanilla 2.4. kernels?
What about cvs? And the ftp location mentioned by Bas Mevissen is outdated?
BTW I need cpufreq for Pentium M.
Regards
Georg Sauthoff
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Cpufreq for 2.4: what is the best source?
2003-08-15 16:53 ` Georg Sauthoff
@ 2003-08-15 17:39 ` Russell King
2003-08-15 19:40 ` Dominik Brodowski
1 sibling, 0 replies; 10+ messages in thread
From: Russell King @ 2003-08-15 17:39 UTC (permalink / raw)
To: Georg Sauthoff; +Cc: Cpufreq
On Fri, Aug 15, 2003 at 06:53:30PM +0200, Georg Sauthoff wrote:
> unfortunely I can't use -ac 2.4. Kernels ... (because of my hardware and not
> 2.6. because of a Cisco VPN). Is (or was) www.codemonkey.org.uk really the
> only place, to get the cpufreq backports against vanilla 2.4. kernels?
>
> What about cvs? And the ftp location mentioned by Bas Mevissen is outdated?
The ftp is updated each night. Whether it contains anything useful
depends on whether people check the changes into the cvs tree(s).
If people want a 2.4-ac snapshot and the maintainers are willing to
create a cvs branch for them, its pretty simple to add it to nightly
scripts.
--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Cpufreq for 2.4: what is the best source?
2003-08-15 16:53 ` Georg Sauthoff
2003-08-15 17:39 ` Russell King
@ 2003-08-15 19:40 ` Dominik Brodowski
1 sibling, 0 replies; 10+ messages in thread
From: Dominik Brodowski @ 2003-08-15 19:40 UTC (permalink / raw)
To: Georg Sauthoff; +Cc: Cpufreq
On Fri, Aug 15, 2003 at 06:53:30PM +0200, Georg Sauthoff wrote:
> On Friday 15 August 2003 17:41, Dominik Brodowski wrote:
>
> Hi,
>
> > On Fri, Aug 15, 2003 at 12:18:32PM +0200, Bas Mevissen wrote:
>
> > > What is the best source for CPUFREQ for a 2.4.22-rc2 kernels? Is it the
> > > 2.4.22-rc2-ac1 kernel version or the 2.4 tarballs on
> > > ftp://ftp.linux.org.uk/pub/linux/cpufreq/ or the LINUX_2_4 tag from CVS?
>
> > Either 2.4.22-rc2-ac1 or the latest 2.4 backport on www.codemonkey.org.uk -
> > but as that's offline at the moment, I'd try -ac. Or 2.6.0-test3-bk-current
> >
> > :)
>
> unfortunely I can't use -ac 2.4. Kernels ... (because of my hardware and not
> 2.6. because of a Cisco VPN). Is (or was) www.codemonkey.org.uk really the
> only place, to get the cpufreq backports against vanilla 2.4. kernels?
Yes.
> What about cvs? And the ftp location mentioned by Bas Mevissen is outdated?
The ftp location takes the latest cvs sources. And the CVS sources aren't
kept up to date for the 2.4. backports.
Dominik
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Cpufreq for 2.4: what is the best source?
2003-08-15 15:41 ` Dominik Brodowski
2003-08-15 16:53 ` Georg Sauthoff
@ 2003-08-18 9:37 ` Bas Mevissen
2003-08-18 17:53 ` Dominik Brodowski
1 sibling, 1 reply; 10+ messages in thread
From: Bas Mevissen @ 2003-08-18 9:37 UTC (permalink / raw)
To: Dominik Brodowski; +Cc: Bas Mevissen, Cpufreq
Dominik Brodowski wrote:
>
> Either 2.4.22-rc2-ac1 or the latest 2.4 backport on www.codemonkey.org.uk -
> but as that's offline at the moment, I'd try -ac. Or 2.6.0-test3-bk-current
> :)
>
Can someone please make a backport of CPUFREQ to 2.4.22-rc2? The -ac has
a new scheduler (backport from 2.6?) and that breaks swsusp for the
moment. So I would like to go for 2.4.22-rc2 (or later) with the -ac
patches.
It seems that more people are waiting for a 2.4.22+swsusp+cpufreq, so it
is not a waste of time.
Regards,
Bas.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Cpufreq for 2.4: what is the best source?
2003-08-18 9:37 ` Bas Mevissen
@ 2003-08-18 17:53 ` Dominik Brodowski
2003-08-18 22:08 ` Bas Mevissen
2003-08-21 11:07 ` Bas Mevissen
0 siblings, 2 replies; 10+ messages in thread
From: Dominik Brodowski @ 2003-08-18 17:53 UTC (permalink / raw)
To: Bas Mevissen; +Cc: Bas Mevissen, Cpufreq
On Mon, Aug 18, 2003 at 11:37:24AM +0200, Bas Mevissen wrote:
> Dominik Brodowski wrote:
>
> >
> >Either 2.4.22-rc2-ac1 or the latest 2.4 backport on www.codemonkey.org.uk -
> >but as that's offline at the moment, I'd try -ac. Or 2.6.0-test3-bk-current
> >:)
> >
>
> Can someone please make a backport of CPUFREQ to 2.4.22-rc2? The -ac has
> a new scheduler (backport from 2.6?) and that breaks swsusp for the
> moment. So I would like to go for 2.4.22-rc2 (or later) with the -ac
> patches.
>
> It seems that more people are waiting for a 2.4.22+swsusp+cpufreq, so it
> is not a waste of time.
Already done. As Dave's site isn't yet back online, it can temporarily be
accessed at
http://www.brodo.de/cpufreq_tmp/cpufreq-2.4.22-rc2-1__.gz
Dominik
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Cpufreq for 2.4: what is the best source?
2003-08-18 17:53 ` Dominik Brodowski
@ 2003-08-18 22:08 ` Bas Mevissen
2003-08-21 11:07 ` Bas Mevissen
1 sibling, 0 replies; 10+ messages in thread
From: Bas Mevissen @ 2003-08-18 22:08 UTC (permalink / raw)
To: Dominik Brodowski, Bas Mevissen; +Cc: Bas Mevissen, Cpufreq
[-- Attachment #1: Type: text/plain, Size: 1820 bytes --]
On Monday 18 August 2003 19:53, Dominik Brodowski wrote:
>
> Already done. As Dave's site isn't yet back online, it can temporarily be
> accessed at
> http://www.brodo.de/cpufreq_tmp/cpufreq-2.4.22-rc2-1__.gz
>
Hmmm. A few problems with this patch:
1) double quotes "userspace" governor configuration text confuse make
menuconfig. So it shows no help text. Escaping them didn't help, so I made a
new text. Note that this is a problem in the -ac too.
--- linux-2.4.22-rc2-sgm1/arch/i386/config.in.orig 2003-08-18
19:37:12.000000000 +0200
+++ linux-2.4.22-rc2-sgm1/arch/i386/config.in 2003-08-18 20:32:59.000000000
+0200
@@ -201,7 +201,7 @@
bool ' CPU frequency table helpers' CONFIG_CPU_FREQ_TABLE
define_bool CONFIG_CPU_FREQ_PROC_INTF y
comment 'CPUFreq governors'
- bool ' "userspace" for userspace frequency scaling'
CONFIG_CPU_FREQ_GOV_USERSPACE
+ bool ' Support for governing from userspace' CONFIG_CPU_FREQ_GOV_USERSPACE
define_bool CONFIG_CPU_FREQ_24_API y
comment 'CPUFreq processor drivers'
dep_tristate ' AMD Mobile K6-2/K6-3 PowerNow!' CONFIG_X86_POWERNOW_K6
$CONFIG_CPU_FREQ_TABLE
2) Compile error from speedstep-lib.c caused by exported symbols. Patch below:
--- linux-2.4.22-rc2-sgm1/arch/i386/kernel/Makefile.orig 2003-08-18
20:58:28.000000000 +0200
+++ linux-2.4.22-rc2-sgm1/arch/i386/kernel/Makefile 2003-08-18
21:56:15.000000000 +0200
@@ -14,7 +14,7 @@
O_TARGET := kernel.o
-export-objs := mca.o mtrr.o msr.o cpuid.o microcode.o i386_ksyms.o time.o
setup.o
+export-objs := mca.o mtrr.o msr.o cpuid.o microcode.o i386_ksyms.o time.o
setup.o speedstep-lib.o
obj-y := process.o semaphore.o signal.o entry.o traps.o irq.o vm86.o \
ptrace.o i8259.o ioport.o ldt.o setup.o time.o sys_i386.o \
Files attached for convieniance :-)
Regards,
Bas.
[-- Attachment #2: cpufreq_config.diff --]
[-- Type: text/x-diff, Size: 670 bytes --]
--- linux-2.4.22-rc2-sgm1/arch/i386/config.in.orig 2003-08-18 19:37:12.000000000 +0200
+++ linux-2.4.22-rc2-sgm1/arch/i386/config.in 2003-08-18 20:32:59.000000000 +0200
@@ -201,7 +201,7 @@
bool ' CPU frequency table helpers' CONFIG_CPU_FREQ_TABLE
define_bool CONFIG_CPU_FREQ_PROC_INTF y
comment 'CPUFreq governors'
- bool ' "userspace" for userspace frequency scaling' CONFIG_CPU_FREQ_GOV_USERSPACE
+ bool ' Support for governing from userspace' CONFIG_CPU_FREQ_GOV_USERSPACE
define_bool CONFIG_CPU_FREQ_24_API y
comment 'CPUFreq processor drivers'
dep_tristate ' AMD Mobile K6-2/K6-3 PowerNow!' CONFIG_X86_POWERNOW_K6 $CONFIG_CPU_FREQ_TABLE
[-- Attachment #3: cpufreq_speedstep_lib_build_fix.diff --]
[-- Type: text/x-diff, Size: 552 bytes --]
--- linux-2.4.22-rc2-sgm1/arch/i386/kernel/Makefile.orig 2003-08-18 20:58:28.000000000 +0200
+++ linux-2.4.22-rc2-sgm1/arch/i386/kernel/Makefile 2003-08-18 21:56:15.000000000 +0200
@@ -14,7 +14,7 @@
O_TARGET := kernel.o
-export-objs := mca.o mtrr.o msr.o cpuid.o microcode.o i386_ksyms.o time.o setup.o
+export-objs := mca.o mtrr.o msr.o cpuid.o microcode.o i386_ksyms.o time.o setup.o speedstep-lib.o
obj-y := process.o semaphore.o signal.o entry.o traps.o irq.o vm86.o \
ptrace.o i8259.o ioport.o ldt.o setup.o time.o sys_i386.o \
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Cpufreq for 2.4: what is the best source?
2003-08-18 17:53 ` Dominik Brodowski
2003-08-18 22:08 ` Bas Mevissen
@ 2003-08-21 11:07 ` Bas Mevissen
2003-08-21 17:22 ` Ducrot Bruno
1 sibling, 1 reply; 10+ messages in thread
From: Bas Mevissen @ 2003-08-21 11:07 UTC (permalink / raw)
To: Dominik Brodowski; +Cc: Bas Mevissen, Cpufreq
Dominik Brodowski wrote:
>
> Already done. As Dave's site isn't yet back online, it can temporarily be
> accessed at
> http://www.brodo.de/cpufreq_tmp/cpufreq-2.4.22-rc2-1__.gz
>
How up to date is this one? It looks like it doesn't work with a ICH4
P4-M combination. With 2.6.0-test3 it works out of the box.
With speedstep_ich.o and (..._lib.o) loaded, I get:
cd /proc/sys/cpu ; cat *
2000000 # speed_max, which is correct
0 # speed_min
0 # spped_max
BTW where can I find documentation about how to set a different policy
with the patch above? The documentation in the tree deliberately doesn't
detail it...
(I mean setting the policy with e.g. echo userspace >/proc/cpufreq)
Bas.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Cpufreq for 2.4: what is the best source?
2003-08-21 11:07 ` Bas Mevissen
@ 2003-08-21 17:22 ` Ducrot Bruno
0 siblings, 0 replies; 10+ messages in thread
From: Ducrot Bruno @ 2003-08-21 17:22 UTC (permalink / raw)
To: Bas Mevissen; +Cc: Dominik Brodowski, Bas Mevissen, Cpufreq
> (I mean setting the policy with e.g. echo userspace >/proc/cpufreq)
echo 0%100%userspace > /proc/cpufreq
--
Ducrot Bruno
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2003-08-21 17:22 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-15 10:18 Cpufreq for 2.4: what is the best source? Bas Mevissen
2003-08-15 15:41 ` Dominik Brodowski
2003-08-15 16:53 ` Georg Sauthoff
2003-08-15 17:39 ` Russell King
2003-08-15 19:40 ` Dominik Brodowski
2003-08-18 9:37 ` Bas Mevissen
2003-08-18 17:53 ` Dominik Brodowski
2003-08-18 22:08 ` Bas Mevissen
2003-08-21 11:07 ` Bas Mevissen
2003-08-21 17:22 ` Ducrot Bruno
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.