Leider bekomme ich den nvram-wakeup auf einem ASRock 939A785GMH/128M nicht zum laufen.
Bin RTC-Methode bisher gescheidert und möchte jetzt gerne nvram-wakeup ausprobieren. Das ich es bereits auf anderen (unterstützen) Systemen eingesetzt habe, hoffe ich die Grundvoraussetzungen erfüllt zu haben: nvram module laden, genug Rechte, etc.
Das das Mainboard (noch) nicht unterstützt wird habe ich die guess-helper-Prozedure mit "unkown" durchgeführt und am Ende sowohl in "guess-directisa" als auch in "guess-nvram-module" die gleiche nvram-wakeup.conf vorgefunden:
root@vdr1:~# cat /etc/nvram-wakeup.conf
################################################
## Mainboard autodetection information:
##
## - Mainboard vendor: "ASRock"
## - Mainboard type: "939A785GMH/128M"
## - Mainboard revision: ""
## - BIOS vendor: "American Megatrends Inc."
## - BIOS version: "P1.00"
## - BIOS release: "09/23/2009"
addr_min = 0x5D
addr_sec = 0x5E
addr_day = 0x63
addr_hour = 0x64
addr_chk_h = 0x30
addr_chk_l = 0x31
Alles anzeigen
Bein ausführen des nvram-wakeup erhalte ich folgende Ausgabe:
root@vdr1:~# nvram-wakeup -D -C /etc/nvram-wakeup.conf --directisa -s $(date +%s -d +10minutes)
nvram-wakeup: Printing debug messages enbled.
nvram-wakeup: $Id: nvram-wakeup.h 923 2009-05-17 18:17:11Z tiber $
nvram-wakeup: $Id: nvram-wakeup.c 902 2008-09-19 20:29:46Z tiber $
nvram-wakeup: $Id: nvram-wakeup-mb.c 870 2008-09-06 20:48:34Z tiber $
nvram-wakeup: $Id: bios.c 858 2006-07-09 06:59:27Z bistr-o-math $
nvram-wakeup: $Id: gmt-test.c 762 2004-07-21 12:19:57Z bistr-o-math $
nvram-wakeup: $Id: byteops.c 381 2003-03-18 13:44:07Z bistr-o-math $
nvram-wakeup: $Id: nvramops.c 682 2004-05-03 22:40:13Z bistr-o-math $
nvram-wakeup: $Id: guess.c 835 2005-03-16 22:43:39Z bistr-o-math $
nvram-wakeup: $Id: biosinfo.c 835 2005-03-16 22:43:39Z bistr-o-math $
nvram-wakeup: $Id: tools.c 912 2009-05-17 17:19:06Z tiber $
nvram-wakeup: $Id: readconf.c 752 2004-07-20 14:20:36Z bistr-o-math $
nvram-wakeup: $Id: cat_nvram.c 682 2004-05-03 22:40:13Z bistr-o-math $
nvram-wakeup: $Id: rtc.c 381 2003-03-18 13:44:07Z bistr-o-math $
nvram-wakeup: $Id: time.c 727 2004-06-26 07:21:23Z bistr-o-math $
nvram-wakeup: Built at: Jun 2 2009 09:06:39
nvram-wakeup: Direct ISA access enabled.
nvram-wakeup: Opening /etc/nvram-wakeup.conf in 'r' mode...
nvram-wakeup: /etc/nvram-wakeup.conf: 2: comment: ################################################
nvram-wakeup: /etc/nvram-wakeup.conf: 3: comment: ## Mainboard autodetection information:
nvram-wakeup: /etc/nvram-wakeup.conf: 4: comment: ##
nvram-wakeup: /etc/nvram-wakeup.conf: 5: comment: ## - Mainboard vendor: "ASRock"
nvram-wakeup: /etc/nvram-wakeup.conf: 6: comment: ## - Mainboard type: "939A785GMH/128M"
nvram-wakeup: /etc/nvram-wakeup.conf: 7: comment: ## - Mainboard revision: ""
nvram-wakeup: /etc/nvram-wakeup.conf: 8: comment: ## - BIOS vendor: "American Megatrends Inc."
nvram-wakeup: /etc/nvram-wakeup.conf: 9: comment: ## - BIOS version: "P1.00"
nvram-wakeup: /etc/nvram-wakeup.conf: 10: comment: ## - BIOS release: "09/23/2009"
nvram-wakeup: /etc/nvram-wakeup.conf: 12: name : addr_min
nvram-wakeup: /etc/nvram-wakeup.conf: 12: value : 0x5D
nvram-wakeup: /etc/nvram-wakeup.conf: 13: name : addr_sec
nvram-wakeup: /etc/nvram-wakeup.conf: 13: value : 0x5E
nvram-wakeup: /etc/nvram-wakeup.conf: 14: name : addr_day
nvram-wakeup: /etc/nvram-wakeup.conf: 14: value : 0x63
nvram-wakeup: /etc/nvram-wakeup.conf: 15: name : addr_hour
nvram-wakeup: /etc/nvram-wakeup.conf: 15: value : 0x64
nvram-wakeup: /etc/nvram-wakeup.conf: 16: name : addr_chk_h
nvram-wakeup: /etc/nvram-wakeup.conf: 16: value : 0x30
nvram-wakeup: /etc/nvram-wakeup.conf: 17: name : addr_chk_l
nvram-wakeup: /etc/nvram-wakeup.conf: 17: value : 0x31
nvram-wakeup: Closing /etc/nvram-wakeup.conf ...
nvram-wakeup: Using following bios info:
nvram-wakeup: need_reboot = 0
nvram-wakeup: addr_chk_h = 0x30
nvram-wakeup: addr_chk_l = 0x31
nvram-wakeup: addr_chk_h2 = 0x00
nvram-wakeup: addr_chk_l2 = 0x00
nvram-wakeup: addr_stat = 0xFFFFFFFF
nvram-wakeup: addr_mon = 0x00
nvram-wakeup: addr_day = 0x63
nvram-wakeup: addr_wdays = 0x00
nvram-wakeup: addr_hour = 0x64
nvram-wakeup: addr_min = 0x5D
nvram-wakeup: addr_sec = 0x5E
nvram-wakeup: shift_stat = 0
nvram-wakeup: shift_mon = 0
nvram-wakeup: shift_day = 0
nvram-wakeup: shift_wdays = 0
nvram-wakeup: shift_hour = 0
nvram-wakeup: shift_min = 0
nvram-wakeup: shift_sec = 0
nvram-wakeup: rtc_time = 0
nvram-wakeup: rtc_day = 0x00
nvram-wakeup: rtc_mon = 0x00
nvram-wakeup: rtc_day_0_is_c0 = 0
nvram-wakeup: rtc_mon_0_is_c0 = 0
nvram-wakeup: reset_day = 0
nvram-wakeup: reset_mon = 0
nvram-wakeup: nr_stat = 1
nvram-wakeup: nr_mon = 4
nvram-wakeup: nr_day = 5
nvram-wakeup: nr_hour = 5
nvram-wakeup: nr_min = 6
nvram-wakeup: nr_sec = 6
nvram-wakeup: nr_rtc_day = 6
nvram-wakeup: nr_rtc_mon = 5
nvram-wakeup: nr_wdays = 7
nvram-wakeup: bcd = 0
nvram-wakeup: day_hack = 0
nvram-wakeup: upper_method = 0
nvram-wakeup: chk_method = 0
nvram-wakeup: Opening /dev/rtc in O_RDONLY mode...
nvram-wakeup: Hardware clock: 2010-04-30 09:15:12
nvram-wakeup: rtc.tm_isdst : 1
nvram-wakeup: rtc.tm_gmtoff: 7200
nvram-wakeup: diff : 7200
nvram-wakeup: RTC is running in UTC/GMT!
nvram-wakeup: Test (this should be the current time of the hardware clock): Fri Apr 30 09:15:12 2010
nvram-wakeup: Requesting permissions for io ports 0x70...0x75
nvram-wakeup: The size of NVRAM is 128 bytes.
nvram-wakeup: 0000000: 0000 0030 0030 0E80 02FF FF00 00FF 3F10
nvram-wakeup: 0000010: 0000 3FFF 3F10 0000 3F31 0030 4747 4747
nvram-wakeup: 0000020: 0785 FFFF 20FF BFFE 0600 0000 0000 0030
nvram-wakeup: 0000030: 1A83 FF3F 1000 003F 0000 0000 0000 4B33
nvram-wakeup: 0000040: 0000 0C32 6219 0580 0000 0000 0000 0000
nvram-wakeup: 0000050: 004B D600 0000 00FF 0000 F441 195E 4000
nvram-wakeup: 0000060: BC00 0000 0800 0000 0000 2143 6587 D0FF
nvram-wakeup: 0000070: A9FF 1235 1525 0908 0630 0410 2602 0080
nvram-wakeup: addr_stat (0xFFFFFFFF) is beyond the end of nvram
Alles anzeigen
Am Ende scheitert der Versuch immer mit:
"nvram-wakeup: addr_stat (0xFFFFFFFF) is beyond the end of nvram"
Auch ohne den Parameter --directisa ist keine Verbesserung möglich.
Habe zwar schon Postings gefunden, die vorschlagen andere chipsets (intel, vtxx, ...) auszuprobieren - habe aber Abstand davon genommen, da ich keinen Hinweis auf meine Chipset (AMD 785 / SB 710) bzw. ähnliche Chipsets gefunden haben.
Anbei noch die guess-error.log(s):
root@vdr1:~# cat guess-directisa/guess-error.log
$Id: guess.c 835 2005-03-16 22:43:39Z bistr-o-math $
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: 0xFB5A0, size: 0x616, count: 31
guess: data block 1 at offset 0x000: type 0, size 0x018 ( 24)
guess: found string "American Megatrends Inc."
guess: found string "P1.00"
guess: found string "09/23/2009"
guess: data block 2 at offset 0x043: type 1, size 0x01B ( 27)
guess: data block 3 at offset 0x0E9: type 2, size 0x00F ( 15)
guess: found string "ASRock"
guess: found string "939A785GMH/128M"
guess: found string ""
guess: data block 4 at offset 0x16C: type 3, size 0x015 ( 21)
guess: data block 5 at offset 0x1DE: type 4, size 0x02A ( 42)
guess: data block 6 at offset 0x29F: type 7, size 0x013 ( 19)
guess: data block 7 at offset 0x2BC: type 7, size 0x013 ( 19)
guess: data block 8 at offset 0x2D9: type 7, size 0x013 ( 19)
guess: data block 9 at offset 0x2F6: type 5, size 0x018 ( 24)
guess: data block 10 at offset 0x310: type 6, size 0x00C ( 12)
guess: data block 11 at offset 0x323: type 6, size 0x00C ( 12)
guess: data block 12 at offset 0x336: type 6, size 0x00C ( 12)
guess: data block 13 at offset 0x349: type 6, size 0x00C ( 12)
guess: data block 14 at offset 0x35C: type 9, size 0x011 ( 17)
guess: data block 15 at offset 0x373: type 9, size 0x011 ( 17)
guess: data block 16 at offset 0x38A: type 9, size 0x011 ( 17)
guess: data block 17 at offset 0x3A2: type 9, size 0x011 ( 17)
guess: data block 18 at offset 0x3BA: type 16, size 0x00F ( 15)
guess: data block 19 at offset 0x3CB: type 19, size 0x00F ( 15)
guess: data block 20 at offset 0x3DC: type 17, size 0x01C ( 28)
guess: data block 21 at offset 0x43D: type 20, size 0x013 ( 19)
guess: data block 22 at offset 0x452: type 17, size 0x01C ( 28)
guess: data block 23 at offset 0x4B3: type 20, size 0x013 ( 19)
guess: data block 24 at offset 0x4C8: type 17, size 0x01C ( 28)
guess: data block 25 at offset 0x529: type 126, size 0x013 ( 19)
guess: data block 26 at offset 0x53E: type 17, size 0x01C ( 28)
guess: data block 27 at offset 0x59F: type 126, size 0x013 ( 19)
guess: data block 28 at offset 0x5B4: type 32, size 0x014 ( 20)
guess: data block 29 at offset 0x5CA: type 41, size 0x00B ( 11)
guess: data block 30 at offset 0x5ED: type 41, size 0x00B ( 11)
guess: data block 31 at offset 0x610: type 127, size 0x004 ( 4)
guess: /dev/mem: Operation not permitted
checking 0x30: 0x1B 0x1A 0x1A 0x1A
checking 0x31: 0x09 0x8F 0x5E 0x3E
checking 0x5D: 0x7B 0x4D 0x40 0x40
checking 0x5E: 0x7B 0x4E 0x40 0x40
checking 0x63: 0x1F 0x0B 0x01 0x01
checking 0x64: 0x17 0x0C 0x00 0x00
Alles anzeigen
root@vdr1:~# cat guess-nvram-module/guess-error.log
$Id: guess.c 835 2005-03-16 22:43:39Z bistr-o-math $
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 0x72 from 31.23.59.59+
Assuming size of files 114 bytes
guess: Opening /dev/mem in O_RDONLY mode...
guess: _DMI_ table found: base: 0xFB5A0, size: 0x616, count: 31
guess: data block 1 at offset 0x000: type 0, size 0x018 ( 24)
guess: found string "American Megatrends Inc."
guess: found string "P1.00"
guess: found string "09/23/2009"
guess: data block 2 at offset 0x043: type 1, size 0x01B ( 27)
guess: data block 3 at offset 0x0E9: type 2, size 0x00F ( 15)
guess: found string "ASRock"
guess: found string "939A785GMH/128M"
guess: found string ""
guess: data block 4 at offset 0x16C: type 3, size 0x015 ( 21)
guess: data block 5 at offset 0x1DE: type 4, size 0x02A ( 42)
guess: data block 6 at offset 0x29F: type 7, size 0x013 ( 19)
guess: data block 7 at offset 0x2BC: type 7, size 0x013 ( 19)
guess: data block 8 at offset 0x2D9: type 7, size 0x013 ( 19)
guess: data block 9 at offset 0x2F6: type 5, size 0x018 ( 24)
guess: data block 10 at offset 0x310: type 6, size 0x00C ( 12)
guess: data block 11 at offset 0x323: type 6, size 0x00C ( 12)
guess: data block 12 at offset 0x336: type 6, size 0x00C ( 12)
guess: data block 13 at offset 0x349: type 6, size 0x00C ( 12)
guess: data block 14 at offset 0x35C: type 9, size 0x011 ( 17)
guess: data block 15 at offset 0x373: type 9, size 0x011 ( 17)
guess: data block 16 at offset 0x38A: type 9, size 0x011 ( 17)
guess: data block 17 at offset 0x3A2: type 9, size 0x011 ( 17)
guess: data block 18 at offset 0x3BA: type 16, size 0x00F ( 15)
guess: data block 19 at offset 0x3CB: type 19, size 0x00F ( 15)
guess: data block 20 at offset 0x3DC: type 17, size 0x01C ( 28)
guess: data block 21 at offset 0x43D: type 20, size 0x013 ( 19)
guess: data block 22 at offset 0x452: type 17, size 0x01C ( 28)
guess: data block 23 at offset 0x4B3: type 20, size 0x013 ( 19)
guess: data block 24 at offset 0x4C8: type 17, size 0x01C ( 28)
guess: data block 25 at offset 0x529: type 126, size 0x013 ( 19)
guess: data block 26 at offset 0x53E: type 17, size 0x01C ( 28)
guess: data block 27 at offset 0x59F: type 126, size 0x013 ( 19)
guess: data block 28 at offset 0x5B4: type 32, size 0x014 ( 20)
guess: data block 29 at offset 0x5CA: type 41, size 0x00B ( 11)
guess: data block 30 at offset 0x5ED: type 41, size 0x00B ( 11)
guess: data block 31 at offset 0x610: type 127, size 0x004 ( 4)
guess: /dev/mem: Operation not permitted
checking 0x30: 0x1B 0x1A 0x1A 0x1A
checking 0x31: 0x09 0x8F 0x5E 0x3E
checking 0x5D: 0x7B 0x4D 0x40 0x40
checking 0x5E: 0x7B 0x4E 0x40 0x40
checking 0x63: 0x1F 0x0B 0x01 0x01
checking 0x64: 0x17 0x0C 0x00 0x00
Alles anzeigen