Update für linux-2.6.29.1 online gestellt:
powernow-k7-manual-2.6.29.1_enev_kilroy.patch.gz im Hauptbeitrag
PS. Ich kann den Patch nicht mehr testen, da mein VDR neue Hardware bekommen hat.
Update für linux-2.6.29.1 online gestellt:
powernow-k7-manual-2.6.29.1_enev_kilroy.patch.gz im Hauptbeitrag
PS. Ich kann den Patch nicht mehr testen, da mein VDR neue Hardware bekommen hat.
Update für linux-2.6.29.2 online gestellt:
powernow-k7-manual-2.6.29.2_enev_kilroy.patch.gz im Hauptbeitrag
PS. Ich kann den Patch nicht mehr testen, da mein VDR neue Hardware bekommen hat.
Update für linux-2.6.29.3 online gestellt:
powernow-k7-manual-2.6.29.3_enev_kilroy.patch.gz im Hauptbeitrag
PS. Ich kann den Patch nicht mehr testen, da mein VDR neue Hardware bekommen hat.
Werde das mal mit meinem Athlon XP @1000Mhz testen.
Muss man das was beachten bezüglich den Motherboards?
Eigentlich nicht. Die CPU muss aber das herunter takten unterstützen (fid Flag, siehe cat /proc/cpuinfo).
Update für linux-2.6.29.4 online gestellt:
powernow-k7-manual-2.6.29.4_enev_kilroy.patch.gz im Hauptbeitrag
PS. Ich kann den Patch nicht mehr testen, da mein VDR neue Hardware bekommen hat.
Update für linux-2.6.30 online gestellt:
powernow-k7-manual-2.6.30_enev_kilroy.patch.gz im Hauptbeitrag
PS. Ich kann den Patch nicht mehr testen, da mein VDR neue Hardware bekommen hat.
Hallo,
hat jemand schon den Patch für den ctvdr - etobi- Kernel kompiliert und könnte mir das deb zur Verfügung stellen?
Leider bekommt mein vdr das nicht hin und bricht des öfteren mitten im kompilieren ab.
Danke und Gruß,
moses123
QuoteOriginal von Moses123
Hallo,hat jemand schon den Patch für den ctvdr - etobi- Kernel kompiliert und könnte mir das deb zur Verfügung stellen?
Leider bekommt mein vdr das nicht hin und bricht des öfteren mitten im kompilieren ab.
Danke und Gruß,
moses123
Ich würde auch interesse anmelden
QuoteOriginally posted by kilroy
Update für linux-2.6.29.4 online gestellt:powernow-k7-manual-2.6.29.4_enev_kilroy.patch.gz im Hauptbeitrag
PS. Ich kann den Patch nicht mehr testen, da mein VDR neue Hardware bekommen hat.
Hello kilroy,
could you please put online powernow-k7-manual-2.6.29.4_enev_kilroy.patch.gz again? I would like to try it on my Fedora 11 kernel.
Thanks in advance
QuoteOriginal von vykupitel
could you please put online powernow-k7-manual-2.6.29.4_enev_kilroy.patch.gz again? I would like to try it on my Fedora 11 kernel.
Here you are!
So I'd like to post my spec:
MB: Tyan Tiger MPX (S2466)
CPU: 2x original 2800+ MP Barton
Quote[root@doma log]# uname -a
Linux doma.vykupitel.eu 2.6.29.4-167.fc11.i686.PAE #1 SMP Wed May 27 17:28:22 EDT 2009 i686 athlon i386 GNU/Linux
QuoteDisplay More[root@doma log]# cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 10
model name : AMD Athlon(tm) Processor
stepping : 0
cpu MHz : 800.023
cache size : 512 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 cx8 apic mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow
bogomips : 1600.04
clflush size : 32
power management: ts fid vidprocessor : 1
vendor_id : AuthenticAMD
cpu family : 6
model : 10
model name : AMD Athlon(tm) Processor
stepping : 0
cpu MHz : 800.023
cache size : 512 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 cx8 apic mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow
bogomips : 1599.81
clflush size : 32
power management: ts fid vid
So I modified .config from old_config with changes from this forum.
Then I've applied given patch in spec file and compiled kernel through rpmbuild like this:http://www.littlepiphany.com/technology/how…-fedora-kernel/
And after successful compilation, install and reboot when I use
Quotemodprobe powernow-k7 msr_force=1
and for my surprise I simply haven't seen anything in /var/log/messages which is really annoying :-/
When I use
Quotemodprobe powernow-k8
I could seen in /var/log/messages error about cpu ID which is good because I know that this module is working but I cannot say the same about patched powernow-k7 module.
I also could build unpatched powernow-k7 module and this is log from dmesg
QuoteDisplay More
powernow: PowerNOW! Technology present. Can scale: frequency and voltage.
cpufreq-core: trying to register driver powernow-k7
cpufreq-core: adding CPU 0
powernow-k7: FSB: 133MHz
powernow: Trying ACPI perflib
powernow: ACPI perflib can not be used in this platform
powernow: ACPI and legacy methods failed
powernow: See http://www.codemonkey.org.uk/projects/cpufreq/powernow-k7.html
cpufreq-core: initialization failed
cpufreq-core: adding CPU 1
cpufreq-core: initialization failed
cpufreq-core: no CPU initialized for driver powernow-k7
cpufreq-core: unregistering CPU 0
cpufreq-core: unregistering CPU 1
So does anybody have any idea what I'm doing wrong? Is there anybody who successfully ran this patch on SMP board? When I used CPU_MSR in Windows I could reach full freq from my two babies.
QuoteOriginal von vykupitel
So I'd like to post my spec:
MB: Tyan Tiger MPX (S2466)
CPU: 2x original 2800+ MP Barton
I can't say, if the patch is running in a SMP environment.
QuoteAnd after successful compilation, install and reboot when I use
and for my surprise I simply haven't seen anything in /var/log/messages which is really annoying :-/
You have to use a modprobe line like in "2.2. Manual Frequency Table Patch", e.g.
Thanks for help but I unfortunately found that this patch is not working on SMB board and Fedora kernel. So I hardwired multiplier on sockets and my rig is working as I expected.
Again, thanks for your help and your work kilroy.
Best regards.
Update für linux-2.6.30.1 online gestellt:
powernow-k7-manual-2.6.30.1_enev_kilroy.patch.gz im Hauptbeitrag
PS. Ich kann den Patch nicht mehr testen, da mein VDR neue Hardware bekommen hat.
Hallo,
ich versuche die Frequenzanpassung mit dem GEODE auf einem K7S41 Board und Ubuntu 9.04 zum laufen zu bringen.
Kann mir jemand den Unterschied zwischen dem k7-msr und powernow-k7-manual
Patch erklären ?
Da ich für mein 2.6.28 Linux nur den powernow-k7-manual patch gefunden habe, habe
ich den Kernel nur mit diesem Patch kompiliert (dauert 5h mit dem GEODE!!) . Leider funktioniert dann das Frequenz skalieren trotzdem nicht:
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : AMD Geode(tm) NX 1750+
stepping : 1
cpu MHz : 1410.455
cache size : 256 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 cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow up
bogomips : 2820.91
clflush size : 32
power management: ts fid vid
Display More
[ 0.000000] Linux version 2.6.28.9-powernow-fix (root@VDR2) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #1 SMP Sun Jul 19 12:49:06 CEST 2009 (Ubuntu 2.6.28-13.45-generic)
[ 9.537990] powernow-k8: Processor cpuid 681 not supported
[ 9.538024] powernow: PowerNOW! Technology present. Can scale: frequency and voltage.
[ 9.545998] powernow: No PST tables match this cpuid (0x781)
[ 9.546002] powernow: This is indicative of a broken BIOS.
[ 9.546004] powernow: Trying ACPI perflib
[ 9.546011] powernow: ACPI perflib can not be used in this platform
[ 9.546014] powernow: ACPI and legacy methods failed
[ 9.546017] powernow: See http://www.codemonkey.org.uk/projects/cpufreq/powernow-k7.html
powernowd: PowerNow Daemon v1.00, (c) 2003-2008 John Clemens
powernowd: Settings:
powernowd: verbosity: 1
powernowd: mode: 1 (AGGRESSIVE)
powernowd: step: 100 MHz (100000 kHz)
powernowd: lowwater: 20 %
powernowd: highwater: 80 %
powernowd: poll interval: 1000 ms
powernowd: Found 1 scalable unit: -- 1 'CPU' per scalable unit
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq: No such file or directory
PowerNowd encountered and error and could not start.
Please make sure that:
- You are running a v2.6.7 kernel or later
- That you have sysfs mounted /sys
- That you have the core cpufreq and cpufreq-userspace
modules loaded into your kernel
- That you have the cpufreq driver for your cpu loaded,
(for example: powernow-k7), and that it works. Check
'dmesg' for errors.
If all of the above are true, and you still have problems,
please email the author: clemej@alum.rpi.edu
Display More
root@VDR2:/usr/src/linux# modprobe powernow_k7 msr_force=1
FATAL: Module powernow_k7 not found.
Also nehme ich mal an das der MSR Patch fehlt. Gibt es für 2.6.28 auch eine Version ? Oder ist vielleicht der Patch schon in 2.6.28 enthalten ?
Sorry, wenn ich mit meinem Linux-Halbwissen evtl. triviale Sachen übersehe.
QuoteOriginal von mk75
Kann mir jemand den Unterschied zwischen dem k7-msr und powernow-k7-manual
Patch erklären ?
Die technische Umsetzung differiert. Details kann ich Dir nach der langen Zeit nicht mehr nennen.
QuoteDa ich für mein 2.6.28 Linux nur den powernow-k7-manual patch gefunden habe, habe
ich den Kernel nur mit diesem Patch kompiliert (dauert 5h mit dem GEODE!!) . Leider funktioniert dann das Frequenz skalieren trotzdem nicht:Coderoot@VDR2:/usr/src/linux# modprobe powernow_k7 msr_force=1 FATAL: Module powernow_k7 not found.
Also nehme ich mal an das der MSR Patch fehlt. Gibt es für 2.6.28 auch eine Version ? Oder ist vielleicht der Patch schon in 2.6.28 enthalten ?
Ich habe das Gefühl, dass Du die zwei Patche vermischt. Oben schreibst Du vom "manual" Patch und per modprobe nutzt Du aber die "msr" Variante. Ich würde Dir zum "powernow-k7-manual-2.6.28_enev_kilroy.patch.gz" raten. Der modprobe Aufruf lautet dann:
HTH
Mit "Unterschied" meinte ich, was ist der funktionale Unterschied beider Patches ? Muss man beide installieren ? Oder reicht nur einer ?
Ich habe jetzt von "Hand" nochmal beide Patches in die letzte powernow-k7.c von 2.8.28.9 eingebaut und versucht das ganze nochmal
zu kompilieren, leider ohne Erfolg.
root@VDR2:/usr/src/cpufreq# make
make -C /lib/modules/2.6.28.9-powernow-fix/build M=/usr/src/cpufreq modules
make[1]: Betrete Verzeichnis '/usr/src/linux-source-2.6.28'
Building modules, stage 2.
MODPOST 1 modules
make[1]: Verlasse Verzeichnis '/usr/src/linux-source-2.6.28'
root@VDR2:/usr/src/cpufreq# cp powernow-k7.ko /lib/modules/2.6.28.9-powernow-fix/kernel/arch/x86/kernel/cpu/cpufreq/.
root@VDR2:/usr/src/cpufreq# cp powernow-k7.o /lib/modules/2.6.28.9-powernow-fix/kernel/arch/x86/kernel/cpu/cpufreq/.
root@VDR2:/usr/src/cpufreq# depmod -a
root@VDR2:/usr/src/cpufreq#
root@VDR2:/usr/src/cpufreq# cp powernow-k7.ko /lib/modules/2.6.28.9-powernow-fix/kernel/arch/x86/kernel/cpu/cpufreq/.
root@VDR2:/usr/src/cpufreq# cp powernow-k7.o /lib/modules/2.6.28.9-powernow-fix/kernel/arch/x86/kernel/cpu/cpufreq/.
root@VDR2:/usr/src/cpufreq# depmod -a
root@VDR2:/usr/src/cpufreq#
root@VDR2:/usr/src/cpufreq# modprobe powernow_k7 msr_force=1
FATAL: Error inserting powernow_k7 (/lib/modules/2.6.28.9-powernow-fix/kernel/arch/x86/kernel/cpu/cpufreq/powernow-k7.ko): Invalid argument
root@VDR2:/usr/src/cpufreq# modprobe powernow_k7 overwrite_table=1 fsb=100000 multiplier=50,60,70,80,90,105
FATAL: Error inserting powernow_k7 (/lib/modules/2.6.28.9-powernow-fix/kernel/arch/x86/kernel/cpu/cpufreq/powernow-k7.ko): Invalid argument
Anbei meine powernow-k7.c vielleicht hilft es weiter.
QuoteOriginal von mk75
Mit "Unterschied" meinte ich, was ist der funktionale Unterschied beider Patches ? Muss man beide installieren ? Oder reicht nur einer ?
Du darfst nur einen Patch benutzen. In meinen Augen ist "2.2. Manual Frequency Table Patch" der flexiblere. Tausche in Deinem Kernel-Quell-Verzeichnis powernow_k7.c nochmal gegen das Original aus. Patche mit powernow-k7-manual-2.6.28_enev_kilroy.patch.gz und übersetze das Modul (make modules). Dabei wird nicht der ganze Kernel neu gebaut. Dann make modules_install und modprobe powernow_k7. In /var/log/syslog das Ergebnis nachsehen.
Ich habs ausprobiert aber hat leider nicht funktioniert. Immer noch die selbe Meldung mit dem invalid argument.
root@VDR2:/usr/src/linux# lsmod
Module Size Used by
video 25232 0
output 11136 1 video
input_polldev 12040 0
w83627hf 31760 0
hwmon_vid 11520 1 w83627hf
lp 17156 0
parport 42476 1 lp
snd_intel8x0 37660 0
snd_ac97_codec 112292 1 snd_intel8x0
ac97_bus 9984 1 snd_ac97_codec
snd_pcm 82948 2 snd_intel8x0,snd_ac97_codec
snd_timer 29320 1 snd_pcm
snd 62500 4 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
sis_agp 15488 1
soundcore 15456 1 snd
i2c_sis96x 12548 0
pcspkr 10752 0
agpgart 42440 1 sis_agp
serio_raw 13572 0
snd_page_alloc 17160 2 snd_intel8x0,snd_pcm
shpchp 40340 0
usbhid 42208 0
sis900 28160 0
mii 13568 1 sis900
Display More
Jul 22 19:35:24 VDR2 kernel: [ 9.533375] powernow-k8: Processor cpuid 681 not supported
Jul 22 19:35:24 VDR2 kernel: [ 9.533408] powernow: PowerNOW! Technology present. Can scale: frequency and voltage.
Jul 22 19:35:24 VDR2 kernel: [ 9.541376] powernow: No PST tables match this cpuid (0x781)
Jul 22 19:35:24 VDR2 kernel: [ 9.541379] powernow: This is indicative of a broken BIOS.
Jul 22 19:35:24 VDR2 kernel: [ 9.541382] powernow: Trying ACPI perflib
Jul 22 19:35:24 VDR2 kernel: [ 9.541388] powernow: ACPI perflib can not be used in this platform
Jul 22 19:35:24 VDR2 kernel: [ 9.541391] powernow: ACPI and legacy methods failed
Jul 22 19:35:24 VDR2 kernel: [ 9.541394] powernow: See http://www.codemonkey.org.uk/projects/cpufreq/powernow-k7.html
Jul 22 19:35:24 VDR2 kernel: [ 20.068865] powernow_k7: module is already loaded
Jul 22 20:14:22 VDR2 kernel: [ 2359.438322] powernow_k7: module is already loaded
Jul 22 20:16:34 VDR2 kernel: [ 2491.523597] powernow_k7: module is already loaded
Jul 22 20:17:50 VDR2 kernel: [ 2567.334133] powernow_k7: module is already loaded
Jul 22 20:21:13 VDR2 kernel: [ 2770.291185] powernow_k7: module is already loaded
Jul 22 20:21:56 VDR2 kernel: [ 2813.304667] powernow_k7: module is already loaded
Jul 22 20:22:04 VDR2 kernel: [ 2821.881329] powernow_k7: module is already loaded
Jul 22 20:25:30 VDR2 kernel: [ 3027.734131] powernow_k7: module is already loaded
Display More
root@VDR2:/usr/src/linux# modinfo powernow-k7
filename: /lib/modules/2.6.28.9-powernow-fix/kernel/arch/x86/kernel/cpu/cpufreq/powernow-k7.ko
license: GPL
description: Powernow driver for AMD K7 processors.
author: Dave Jones <davej@redhat.com>
srcversion: F3DFF8435E39BD141DD29B7
depends:
vermagic: 2.6.28.9 SMP mod_unload modversions 586
parm: acpi_force:Force ACPI to be used. (int)
parm: overwrite_table:overwrite table with manually settings (int)
parm: fsb:(MHz) overrides the calculated FSB (uint)
parm: multiplier:Specifiy up to 10 multipliers, multiply them by 10: 5->50, 5.5->55 (array of int)
parm: voltage:Specify voltages in respect to the given multipliers, specify them in mV: 1.275V -> 1275 (array of int)
parm: switch_latency:Set state transition latency in microseconds (default 200us) (int)
Display More
root@VDR2:/usr/src/linux# modprobe powernow-k7
FATAL: Error inserting powernow_k7 (/lib/modules/2.6.28.9-powernow-fix/kernel/arch/x86/kernel/cpu/cpufreq/powernow-k7.ko): Invalid argument
Ich hab mir mal das syslog angesehen und was von k8 gelesen. Das hat mich ein bisschen verwundert. In der .config Datei habe ich einige ungereimtheiten festgestellt. Unter anderem war K8 und K7 aktiviert.
Ich würde das .config File nun folgendermassen einstellen:
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
CONFIG_CPU_FREQ_DEBUG=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_STAT_DETAILS=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
#
# CPUFreq processor drivers
#
# CONFIG_X86_ACPI_CPUFREQ is not set
# CONFIG_X86_POWERNOW_K6 is not set
CONFIG_X86_POWERNOW_K7=m
CONFIG_X86_POWERNOW_K7_ACPI=y
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_POWERNOW_K8_ACPI is not set
# CONFIG_X86_GX_SUSPMOD is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO_TABLE is not set
# CONFIG_X86_SPEEDSTEP_ICH is not set
# CONFIG_X86_SPEEDSTEP_SMI is not set
# CONFIG_X86_P4_CLOCKMOD is not set
# CONFIG_X86_CPUFREQ_NFORCE2 is not set
# CONFIG_X86_LONGRUN is not set
# CONFIG_X86_LONGHAUL is not set
CONFIG_X86_E_POWERSAVER=m
Display More
Und dann nochmal über Nacht kompilieren. Bei mir sind andere Parameter zur Verfügung als am Anfang der Beschreibung des HowTos. Deswegen bin ich bei einigen nicht sicher, z.b. E_Powersaver und was ich bei DEV_GOV einstellen soll ....
Was ich auch sehr komisch finde das ich die Meldung erhalte das Modul sei geladen. Komischerweise kann ich es vorher nicht entladen:
root@VDR2:/usr/src/linux# date
Mi 22. Jul 20:46:50 CEST 2009
root@VDR2:/usr/src/linux# modprobe -r powernow-k7
root@VDR2:/usr/src/linux# modprobe powernow-k7
FATAL: Error inserting powernow_k7 (/lib/modules/2.6.28.9-powernow-fix/kernel/arch/x86/kernel/cpu/cpufreq/powernow-k7.ko): Invalid argument
root@VDR2:/usr/src/linux# tail -n 1 /var/log/syslog | grep powernow
Jul 22 20:46:56 VDR2 kernel: [ 4313.737736] powernow_k7: module is already loaded
Don’t have an account yet? Register yourself now and be a part of our community!