Wieder mal NVRAM!!!

  • hi,
    ich hab meine altes board durch ein anderes(mATX) ersetzt.
    nun funktzt nvram nicht mehr.
    ich dachte mir - nagut das letzte mal hat mir Bistr-o-Math HIER geholfen - nun möchte ich es mal selbst schaffen. :]
    ich hab ne C't-distri und auch nvram installiert.
    bin dann mittels guess-helper.sh skript die ganze sache durch gegangen.


    hab dann die neue nvram-wakeup.conf nach /etc kopiert und dann das hier eingegeben:

    Code
    nvram-wakeup -C nvram-wakeup.conf -s $((`date +%s` + 20 * 60)) --nowrite


    aber damit bringt er mir folgenden fehler:
    vdr:/etc# nvram-wakeup -C nvram-wakeup.conf -s $((`date +%s` + 20 * 60)) --nowrite
    nvram-wakeup: nvram-wakeup.conf: 15: Syntax error: unknown variable name
    nvram-wakeup: Reading configuration file returned with errors.
    vdr:/etc#


    hier mal die datei nvram-wakeup.conf:



    ################################################
    ## Mainboard autodetection information:
    ##
    ## - Mainboard vendor: "Gigabyte Technology Co., Ltd."
    ## - Mainboard type: "GA-8SIMLH"
    ## - Mainboard revision: "1.x"
    ## - BIOS vendor: "Award Software International, Inc."
    ## - BIOS version: "6.00 PG"
    ## - BIOS release: "11/19/2003"


    addr_stat = 0x32
    addr_day = 0x33
    addr_rtc_day = 0x33
    addr_hour = 0x34
    addr_rtc_hour = 0x34
    addr_min = 0x35
    addr_rtc_min = 0x35
    addr_sec = 0x36
    addr_rtc_sec = 0x36
    addr_chk_h = 0x6E
    addr_chk_l = 0x6F



    und hier die guess-error.log:




    $Id: guess.c,v 1.21 2004/02/06 23:52:37 bistr-o-math Exp $
    Opened file 31.23.59.59+ readonly...
    Opened file 11.12.13.14+ readonly...
    Opened file 01.00.00.00+ readonly...
    Opened file 01.00.00.00- readonly...
    Couldn't read byte 0x80 from 31.23.59.59+
    Assuming size of files 128 bytes
    guess: Opening /dev/mem in O_RDONLY mode...
    guess: _DMI_ table found: base: 0xF0120, size: 0x401, count: 33
    guess: data block 1 at offset 0x000: type 0, size 0x014 ( 20)
    guess: found string "Award Software International, Inc."
    guess: found string "6.00 PG"
    guess: found string "11/19/2003"
    guess: data block 2 at offset 0x04B: type 1, size 0x019 ( 25)
    guess: data block 3 at offset 0x06D: type 2, size 0x008 ( 8)
    guess: found string "Gigabyte Technology Co., Ltd."
    guess: found string "GA-8SIMLH"
    guess: found string "1.x"
    guess: data block 4 at offset 0x0A4: type 3, size 0x011 ( 17)
    guess: data block 4 at offset 0x0A4: type 3, size 0x011 ( 17)
    guess: data block 4 at offset 0x0A4: type 3, size 0x011 ( 17)
    guess: data block 5 at offset 0x0BE: type 4, size 0x023 ( 35)
    guess: data block 6 at offset 0x10A: type 4, size 0x023 ( 35)
    guess: data block 7 at offset 0x158: type 5, size 0x014 ( 20)
    guess: data block 8 at offset 0x16F: type 6, size 0x00C ( 12)
    guess: data block 9 at offset 0x17F: type 6, size 0x00C ( 12)
    guess: data block 10 at offset 0x18F: type 7, size 0x013 ( 19)
    guess: data block 11 at offset 0x1B2: type 7, size 0x013 ( 19)
    guess: data block 12 at offset 0x1D5: type 8, size 0x009 ( 9)
    guess: data block 13 at offset 0x1ED: type 8, size 0x009 ( 9)
    guess: data block 14 at offset 0x207: type 8, size 0x009 ( 9)
    guess: data block 15 at offset 0x217: type 8, size 0x009 ( 9)
    guess: data block 16 at offset 0x228: type 8, size 0x009 ( 9)
    guess: data block 17 at offset 0x239: type 8, size 0x009 ( 9)
    guess: data block 18 at offset 0x24A: type 8, size 0x009 ( 9)
    guess: data block 19 at offset 0x25F: type 8, size 0x009 ( 9)
    guess: data block 20 at offset 0x27D: type 9, size 0x00D ( 13)
    guess: data block 21 at offset 0x28F: type 9, size 0x00D ( 13)
    guess: data block 22 at offset 0x2A1: type 9, size 0x00D ( 13)
    guess: data block 23 at offset 0x2B3: type 9, size 0x00D ( 13)
    guess: data block 24 at offset 0x2C5: type 8, size 0x009 ( 9)
    guess: data block 25 at offset 0x2D5: type 13, size 0x016 ( 22)
    guess: data block 26 at offset 0x326: type 16, size 0x00F ( 15)
    guess: data block 27 at offset 0x338: type 17, size 0x01B ( 27)
    guess: data block 28 at offset 0x373: type 17, size 0x01B ( 27)
    guess: data block 29 at offset 0x3AE: type 19, size 0x00F ( 15)
    guess: data block 30 at offset 0x3C0: type 20, size 0x013 ( 19)
    guess: data block 31 at offset 0x3D6: type 20, size 0x013 ( 19)
    guess: data block 32 at offset 0x3EC: type 32, size 0x00B ( 11)
    guess: data block 33 at offset 0x3FA: type 127, size 0x004 ( 4)
    guess: Following DMI entries found:
    guess: - Mainboard vendor: "Gigabyte Technology Co., Ltd."
    guess: - Mainboard type: "GA-8SIMLH"
    guess: - Mainboard revision: "1.x"
    guess: - BIOS vendor: "Award Software International, Inc."
    guess: - BIOS version: "6.00 PG"
    guess: - BIOS release: "11/19/2003"
    checking 0x32: 0x05 0x05 0x05 0x04
    checking 0x33: 0x1F 0x0B 0x01 0x01
    checking 0x34: 0x17 0x0C 0x00 0x00
    checking 0x35: 0x3B 0x0D 0x00 0x00
    checking 0x36: 0x3B 0x0E 0x00 0x00
    checking 0x6E: 0x09 0x09 0x08 0x08
    checking 0x6F: 0xA5 0x2B 0xFA 0xF9


    so!!! X(


    und jetzt weis ich trotzdem nicht mehr weiter!!!


    hat einer eine idee????

  • Du musst die Zeilen:

    Code
    addr_rtc_[hour / minute / seconds]


    durch

    Code
    rtc_time = on


    ersetzen.


    Muesste dann funktionieren


    Gruß Arnd

    VDR: 1.3.37
    Kernel: 2.6.15
    AMD2600XP / 256MB-RAM / MSI KT6-Delta (ms-6590-2.0)


  • nein, du musst die Zeilen

    Code
    addr_rtc_day = 0x33
    addr_rtc_hour = 0x34
    addr_rtc_min = 0x35
    addr_rtc_sec = 0x36

    ganz rausschmeissen.


    es scheint sich in guess ein Fehler eingeschlichen zu haben.



    durch

    Code
    rtc_time = on

    werden die Zeilen nur dann ersetzt, wenn die Werte so 0x73, 0x75 und 0x77 sind.

  • danke für die schnelle hilfe!!!


    EOD


    hab ich gemacht - hat aber leider nichts gebracht!!


    ImEd


    bei deinem tip war's leider auch das selbe.


    Bistr-o-Math


    auch wenn ich die rtc-zeilen alle lösche kommt immer noch diese meldung:


    vdr:/etc# nvram-wakeup -C nvram-wakeup.conf -s $((`date +%s` + 20 * 60)) --nowrit
    nvram-wakeup: nvram-wakeup.conf: 13: Syntax error: unknown variable name
    nvram-wakeup: Reading configuration file returned with errors.
    vdr:/etc#



    hier nochmal meine geänderte nvram-wakeup.conf:
    ______________________________________________


    ################################################
    ## Mainboard autodetection information:
    ##
    ## - Mainboard vendor: "Gigabyte Technology Co., Ltd."
    ## - Mainboard type: "GA-8SIMLH"
    ## - Mainboard revision: "1.x"
    ## - BIOS vendor: "Award Software International, Inc."
    ## - BIOS version: "6.00 PG"
    ## - BIOS release: "11/19/2003"


    addr_stat = 0x32
    addr_day = 0x33
    addr_hour = 0x34
    addr_min = 0x35
    addr_sec = 0x36
    addr_chk_h = 0x6E
    addr_chk_l = 0x6F
    ___________________________________________


    und nun???

  • Zitat

    Original von T-Bone1806


    auch wenn ich die rtc-zeilen alle lösche kommt immer noch diese meldung:


    Code
    vdr:/etc# nvram-wakeup -C nvram-wakeup.conf -s $((`date +%s` + 20 * 60)) --nowrit
    nvram-wakeup: nvram-wakeup.conf: 13: Syntax error: unknown variable name
    nvram-wakeup: Reading configuration file returned with errors.
    vdr:/etc#


    was genau steht in der Zeile 13? Hast du irgendwo wetere Leerzeilen?



    Die Zeilen sehen alle gut aus

  • Zitat

    Original von ImEd
    habe mir deine config gespeichert und mal durch nvram-wakeup rennen lassen.... hatte keine syntax-probleme...


    ist es möglich das deine config ein dosfile ist?


    hab's gerade auch als DOS file probiert, geht auch

  • probierst du nvram-wakeup schon mit -A (für directisa)
    nvram-wakeup -D -N -A -C config



    blödsinn von mir - geht ja um syntaxfehler..... sorry... ?(

  • Zitat

    Original von ImEd
    probierst du nvram-wakeup schon mit -A (für directisa)
    nvram-wakeup -D -N -A -C config


    an -A bzw --directisa kann es nicht liegen. Es sind Probleme beim Einlesen der Configuratiosdatei. Ausserdem sind die Adressen alle klein, so dass man kein --directisa braucht.


    die Debug-Ausgabe sollte mehr Information verschaffen. z.B. hier (mit einer absichtlich geaenderten Datei):


    (die Datei heisst bei mir 'te')

  • Zitat

    kannst du bitte

    Code
    nvram-wakeup --debug -C nvram-wakeup.conf  --nowrite

    laufen lassen


    da kommt das hier raus:


    vdr:/etc# nvram-wakeup --debug -C nvram-wakeup.conf --nowrite
    nvram-wakeup: Printing debug messages enbled.
    nvram-wakeup: $Id: nvram-wakeup.h,v 1.26 2003/08/07 17:14:40 bistr-o-math Exp $
    nvram-wakeup: $Id: nvram-wakeup-mb.h,v 1.115 2003/03/18 13:44:04 bistr-o-math Exp $
    nvram-wakeup: $Id: nvram-wakeup.c,v 1.60 2003/08/06 13:46:32 bistr-o-math Exp $
    nvram-wakeup: Opening nvram-wakeup.conf in 'r' mode...
    nvram-wakeup: nvram-wakeup.conf: 2: comment: ################################################
    nvram-wakeup: nvram-wakeup.conf: 3: comment: ## Mainboard autodetection information:
    nvram-wakeup: nvram-wakeup.conf: 4: comment: ##
    nvram-wakeup: nvram-wakeup.conf: 5: comment: ## - Mainboard vendor: "Gigabyte Technology Co., Ltd."
    nvram-wakeup: nvram-wakeup.conf: 6: comment: ## - Mainboard type: "GA-8SIMLH"
    nvram-wakeup: nvram-wakeup.conf: 7: comment: ## - Mainboard revision: "1.x"
    nvram-wakeup: nvram-wakeup.conf: 8: comment: ## - BIOS vendor: "Award Software International, Inc."
    nvram-wakeup: nvram-wakeup.conf: 9: comment: ## - BIOS version: "6.00 PG"
    nvram-wakeup: nvram-wakeup.conf: 10: comment: ## - BIOS release: "11/19/2003"
    nvram-wakeup: nvram-wakeup.conf: 12: name : addr_stat
    nvram-wakeup: nvram-wakeup.conf: 12: value : 0x32
    nvram-wakeup: nvram-wakeup.conf: 13: name : addr_day
    nvram-wakeup: nvram-wakeup.conf: 13: value : 0x33
    nvram-wakeup: nvram-wakeup.conf: 13: Syntax error: unknown variable name
    nvram-wakeup: Reading configuration file returned with errors.

  • mir ist aufgefallen, dass du nicht die neueste version von nvram-wakeup verwendest... könnte es daran liegen?


    bei mir hats mit dieser version geklappt:

    Code
    nvram-wakeup: $Id: nvram-wakeup.h,v 1.30 2004/02/06 23:54:44 bistr-o-math Exp $
    nvram-wakeup: $Id: nvram-wakeup.c,v 1.65 2004/02/06 23:54:17 bistr-o-math Exp $
  • Haste mal probiert Zeile 13 komplett zu löschen und neu zuschreiben ?


    Vielleicht hängen am Ende der Zeile irgendwelche Steuerzeichen, die der Editor nicht anzeigt ?

    VDR: 1.3.37
    Kernel: 2.6.15
    AMD2600XP / 256MB-RAM / MSI KT6-Delta (ms-6590-2.0)

  • Zitat

    Original von ImEd
    mir ist aufgefallen, dass du nicht die neueste version von nvram-wakeup verwendest... könnte es daran liegen?


    ja. genau. du hast die alte Version von nvram-wakeup und die neue Version von guess.
    (wie das zustande kommt, weiss ich nicht)
    entweder nimmst du einfach die neue Version von nvram-wakeup (0.95),
    oder ersetzt addr_day mit addr_date und nimmst die alte version von nvram-wakeup.

Jetzt mitmachen!

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