[HOWTO] AMD Geode NX 1750 auf PC-Chips M811 als stromsparender VDR - Patch für 2.6.33 online

  • 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.

    #67

    Debian 5 - 64bit diskless - Linux 2.6.33-rc4 - 1.6.0-13ctvdr2 - DVB Kernel - FuSi DVB-C 4MB, FW f12623 - TT C1500 - AC Light - 2x DVB-T
    EP-8KDA7I & Sempron64 - 62W - Harmony 655 - lirc-0.8.6-CVS - gLCD Umbau - TV: Samsung LE40B750 U1 PXZG SQ01 - PS3 slim für Blu-Ray - DLNA: MiniDLNA 1.0.16.3
    obsolet:AMD Geode & M811

  • 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.

    #67

    Debian 5 - 64bit diskless - Linux 2.6.33-rc4 - 1.6.0-13ctvdr2 - DVB Kernel - FuSi DVB-C 4MB, FW f12623 - TT C1500 - AC Light - 2x DVB-T
    EP-8KDA7I & Sempron64 - 62W - Harmony 655 - lirc-0.8.6-CVS - gLCD Umbau - TV: Samsung LE40B750 U1 PXZG SQ01 - PS3 slim für Blu-Ray - DLNA: MiniDLNA 1.0.16.3
    obsolet:AMD Geode & M811

  • 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.

    #67

    Debian 5 - 64bit diskless - Linux 2.6.33-rc4 - 1.6.0-13ctvdr2 - DVB Kernel - FuSi DVB-C 4MB, FW f12623 - TT C1500 - AC Light - 2x DVB-T
    EP-8KDA7I & Sempron64 - 62W - Harmony 655 - lirc-0.8.6-CVS - gLCD Umbau - TV: Samsung LE40B750 U1 PXZG SQ01 - PS3 slim für Blu-Ray - DLNA: MiniDLNA 1.0.16.3
    obsolet:AMD Geode & M811

  • Werde das mal mit meinem Athlon XP @1000Mhz testen.
    Muss man das was beachten bezüglich den Motherboards?

    2x TT-C 1501 +1x TT-S2-1600 an Q6600
    1x Reelbox light

  • Eigentlich nicht. Die CPU muss aber das herunter takten unterstützen (fid Flag, siehe cat /proc/cpuinfo).

    #67

    Debian 5 - 64bit diskless - Linux 2.6.33-rc4 - 1.6.0-13ctvdr2 - DVB Kernel - FuSi DVB-C 4MB, FW f12623 - TT C1500 - AC Light - 2x DVB-T
    EP-8KDA7I & Sempron64 - 62W - Harmony 655 - lirc-0.8.6-CVS - gLCD Umbau - TV: Samsung LE40B750 U1 PXZG SQ01 - PS3 slim für Blu-Ray - DLNA: MiniDLNA 1.0.16.3
    obsolet:AMD Geode & M811

  • 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.

    #67

    Debian 5 - 64bit diskless - Linux 2.6.33-rc4 - 1.6.0-13ctvdr2 - DVB Kernel - FuSi DVB-C 4MB, FW f12623 - TT C1500 - AC Light - 2x DVB-T
    EP-8KDA7I & Sempron64 - 62W - Harmony 655 - lirc-0.8.6-CVS - gLCD Umbau - TV: Samsung LE40B750 U1 PXZG SQ01 - PS3 slim für Blu-Ray - DLNA: MiniDLNA 1.0.16.3
    obsolet:AMD Geode & M811

  • 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.

    #67

    Debian 5 - 64bit diskless - Linux 2.6.33-rc4 - 1.6.0-13ctvdr2 - DVB Kernel - FuSi DVB-C 4MB, FW f12623 - TT C1500 - AC Light - 2x DVB-T
    EP-8KDA7I & Sempron64 - 62W - Harmony 655 - lirc-0.8.6-CVS - gLCD Umbau - TV: Samsung LE40B750 U1 PXZG SQ01 - PS3 slim für Blu-Ray - DLNA: MiniDLNA 1.0.16.3
    obsolet:AMD Geode & M811

  • Quote

    Original 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 :)

    silence: Ubuntu 9.10 | Asus M3N78-VM | AMD 4450e | TT-budget S2-1600 DVB-S2 | 5 X 1TB Raid5 | vdr (1.7.10) | xbmc opdenkamp master | Optoma HD65 Beamer | Samsung LE37B530 LCD | Onkyo 605 AVR | Heco Victa 700/300/100/25A

  • Quote

    Originally 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

    Edited once, last by vykupitel (June 22, 2009 at 11:16 PM).

  • Quote

    Original 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

    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

    Quote

    modprobe 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

    Quote

    modprobe 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

    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.

    Edited once, last by vykupitel (June 24, 2009 at 11:24 PM).

  • Quote

    Original 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.

    Quote

    And 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.

    Code
    modprobe powernow_k7 overwrite_table=1 fsb=100000 multiplier=50,60,70,80,90,105

    #67

    Debian 5 - 64bit diskless - Linux 2.6.33-rc4 - 1.6.0-13ctvdr2 - DVB Kernel - FuSi DVB-C 4MB, FW f12623 - TT C1500 - AC Light - 2x DVB-T
    EP-8KDA7I & Sempron64 - 62W - Harmony 655 - lirc-0.8.6-CVS - gLCD Umbau - TV: Samsung LE40B750 U1 PXZG SQ01 - PS3 slim für Blu-Ray - DLNA: MiniDLNA 1.0.16.3
    obsolet:AMD Geode & M811

  • 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.

    #67

    Debian 5 - 64bit diskless - Linux 2.6.33-rc4 - 1.6.0-13ctvdr2 - DVB Kernel - FuSi DVB-C 4MB, FW f12623 - TT C1500 - AC Light - 2x DVB-T
    EP-8KDA7I & Sempron64 - 62W - Harmony 655 - lirc-0.8.6-CVS - gLCD Umbau - TV: Samsung LE40B750 U1 PXZG SQ01 - PS3 slim für Blu-Ray - DLNA: MiniDLNA 1.0.16.3
    obsolet:AMD Geode & M811

  • 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:

    Code
    [    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
    Code
    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.

    Meine Hardware

    VDR1: ASRock K10N78M pro, Sempron 140, picoPSU; yavdr 0.3a
    VDR2: ZOTAC ZBOX ID84 PLUS; Transcend TS64GSSD340 64GB SSD; yavdr 0.5.0
    VDR3: Server, 2x 2TB, Asus M3N78-EM;L4M-Twin S2 ver 6.5+L4M-Flex S2; in 19" IPC-C330; yavdr 0.5.0
    VDR4: ASRock N68C-S UCC, Sempron 140, ASUS EN210, KNC1 DVB-C, picoPSU; yavdr 0.3a
    NAS: Synology DS107+
    -----

  • Quote

    Original 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.

    Quote

    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:

    Code
    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 ?

    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:

    Code
    zaphod:~# modprobe powernow_k7 overwrite_table=1 fsb=100000 multiplier=50,60,70,80,90,105


    HTH

    #67

    Debian 5 - 64bit diskless - Linux 2.6.33-rc4 - 1.6.0-13ctvdr2 - DVB Kernel - FuSi DVB-C 4MB, FW f12623 - TT C1500 - AC Light - 2x DVB-T
    EP-8KDA7I & Sempron64 - 62W - Harmony 655 - lirc-0.8.6-CVS - gLCD Umbau - TV: Samsung LE40B750 U1 PXZG SQ01 - PS3 slim für Blu-Ray - DLNA: MiniDLNA 1.0.16.3
    obsolet:AMD Geode & M811

  • 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.

    Code
    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'
    Code
    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#


    Code
    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.

    Files

    Meine Hardware

    VDR1: ASRock K10N78M pro, Sempron 140, picoPSU; yavdr 0.3a
    VDR2: ZOTAC ZBOX ID84 PLUS; Transcend TS64GSSD340 64GB SSD; yavdr 0.5.0
    VDR3: Server, 2x 2TB, Asus M3N78-EM;L4M-Twin S2 ver 6.5+L4M-Flex S2; in 19" IPC-C330; yavdr 0.5.0
    VDR4: ASRock N68C-S UCC, Sempron 140, ASUS EN210, KNC1 DVB-C, picoPSU; yavdr 0.3a
    NAS: Synology DS107+
    -----

  • Quote

    Original 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.

    #67

    Debian 5 - 64bit diskless - Linux 2.6.33-rc4 - 1.6.0-13ctvdr2 - DVB Kernel - FuSi DVB-C 4MB, FW f12623 - TT C1500 - AC Light - 2x DVB-T
    EP-8KDA7I & Sempron64 - 62W - Harmony 655 - lirc-0.8.6-CVS - gLCD Umbau - TV: Samsung LE40B750 U1 PXZG SQ01 - PS3 slim für Blu-Ray - DLNA: MiniDLNA 1.0.16.3
    obsolet:AMD Geode & M811

  • Ich habs ausprobiert aber hat leider nicht funktioniert. Immer noch die selbe Meldung mit dem invalid argument.

    Code
    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:

    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:


    Code
    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
    Meine Hardware

    VDR1: ASRock K10N78M pro, Sempron 140, picoPSU; yavdr 0.3a
    VDR2: ZOTAC ZBOX ID84 PLUS; Transcend TS64GSSD340 64GB SSD; yavdr 0.5.0
    VDR3: Server, 2x 2TB, Asus M3N78-EM;L4M-Twin S2 ver 6.5+L4M-Flex S2; in 19" IPC-C330; yavdr 0.5.0
    VDR4: ASRock N68C-S UCC, Sempron 140, ASUS EN210, KNC1 DVB-C, picoPSU; yavdr 0.3a
    NAS: Synology DS107+
    -----

    Edited 2 times, last by mk75 (July 22, 2009 at 8:49 PM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!