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

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

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


  • 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

  • Zitat

    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

  • Zitat

    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


    Zitat

    [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/t…to-build-a-fedora-kernel/


    And after successful compilation, install and reboot when I use

    Zitat

    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

    Zitat

    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.

  • Zitat

    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.


    Zitat

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



    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.

  • Zitat

    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.


    Zitat

    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

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

    Dateien

  • Zitat

    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.

  • 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

    2 Mal editiert, zuletzt von mk75 ()

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!