Re: Upgrade 2.6.11 with VDR nvram-wakeup does not wakeup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



UseNet-Posting-Nospam-74308-@xxxxxxxxxxxxxxxxx(Rainer Zocholl)  28.05.05 00:07

>Using

>http://www.vdr-wiki.de/wiki/index.php/Debian_mit_2.6.9er_/_2.6.10er_Ke
>rnel_f%FCr _VDR_aufsetzen

>the upgrade was relatively painless.

>The gain of 2.6 is, that USB(DVB and Storage) is much better
>supported, and the DVB drivers including DVB-T are part of the kernel!

>Now let's wait if the box is stable now...

One problem is there:

 nvram-wakeup 2.6.11:
nvram-wakeup: ioctl RTC_ALM_READ: Invalid argument

Readme says:
   NOTE for Kernels 2.6.x: You must enable "Enhanced RTC support". the
   "generic /dev/rtc" is not enough.

I had made the RTC in modules, that was not sufficient.
Compiling them inti kernekl solved that problem.
Which step do i miss so that "my" modules are never started?

Dis:
make
make-kpkg kernel_image --revision=dvb.0 --initrd
dpkg -i ../kernel-image-2.6.11_dvb.0_i386.deb

What is missing?

I made the same experience with the Sis-900 Ethernet module which
was only loaded as module first.
OTOH i had to edit a shell script to get the DVB-T drivers loaded...




But the most serious problem:

nvram-wakeup shuts down the box gracefully, but the box does not 
wake up anymore!

I am using the CSV verion of nvram-wakeup and did not had that problem
with 2.4.29 on teh same board and same conf.



msi:~/video/nvram/nvram-wakeup# nvram-wakeup -D ; date
 Printing debug messages enbled.
 $Id: nvram-wakeup.h,v 1.38 2005/03/16 22:43:39 bistr-o-math Exp $
 $Id: nvram-wakeup.c,v 1.78 2005/03/16 23:41:35 bistr-o-math Exp $
 $Id: nvram-wakeup-mb.c,v 1.279 2005/05/11 11:51:17 bistr-o-math Exp $
 $Id: bios.c,v 1.6 2004/01/23 12:00:04 bistr-o-math Exp $
 $Id: gmt-test.c,v 1.17 2004/07/21 12:19:57 bistr-o-math Exp $
 $Id: byteops.c,v 1.6 2003/03/18 13:44:03 bistr-o-math Exp $
 $Id: nvramops.c,v 1.3 2004/05/03 22:40:13 bistr-o-math Exp $
 $Id: guess.c,v 1.24 2005/03/16 22:43:39 bistr-o-math Exp $
 $Id: biosinfo.c,v 1.8 2005/03/16 22:43:39 bistr-o-math Exp $
 $Id: tools.c,v 1.3 2004/01/23 12:04:21 bistr-o-math Exp $
 $Id: readconf.c,v 1.12 2004/07/20 14:20:36 bistr-o-math Exp $
 $Id: cat_nvram.c,v 1.3 2004/05/03 22:40:13 bistr-o-math Exp $
 $Id: rtc.c,v 1.6 2003/03/18 13:44:07 bistr-o-math Exp $
 $Id: time.c,v 1.5 2004/06/26 07:21:23 bistr-o-math Exp $
 Built at: May 28 2005 20:32:39
 Opening /dev/mem in O_RDONLY mode...
 _DMI_ table found: base: 0xF0630, size: 0x2F0, count: 21
 data block   1 at offset 0x000: type   0, size 0x014 ( 20)
 found string "American Megatrends Inc."
 found string "P1.70"
 found string "04/27/2004"
 data block   2 at offset 0x03F: type   1, size 0x019 ( 25)
 data block   3 at offset 0x080: type   2, size 0x008 (  8)
 found string ""
 found string "K7S8XE+"
 found string "1.0"
 data block   4 at offset 0x0B0: type   3, size 0x011 ( 17)
 data block   5 at offset 0x0FC: type   4, size 0x020 ( 32)
 data block   6 at offset 0x188: type   7, size 0x013 ( 19)
 data block   7 at offset 0x1AB: type   7, size 0x013 ( 19)
 data block   8 at offset 0x1CE: type   5, size 0x016 ( 22)
 data block   9 at offset 0x1E6: type   6, size 0x00C ( 12)
 data block  10 at offset 0x1F9: type   6, size 0x00C ( 12)
 data block  11 at offset 0x20C: type   6, size 0x00C ( 12)
 data block  12 at offset 0x21F: type   9, size 0x00D ( 13)
 data block  13 at offset 0x232: type   9, size 0x00D ( 13)
 data block  14 at offset 0x245: type   9, size 0x00D ( 13)
 data block  15 at offset 0x258: type   9, size 0x00D ( 13)
 data block  16 at offset 0x26B: type   9, size 0x00D ( 13)
 data block  17 at offset 0x27E: type   9, size 0x00D ( 13)
 data block  18 at offset 0x291: type   8, size 0x009 (  9)
 data block  19 at offset 0x2A3: type  12, size 0x005 (  5)
 data block  20 at offset 0x2DD: type  64, size 0x00B ( 11)
 data block  21 at offset 0x2EA: type 127, size 0x004 (  4)
 Following DMI entries found:
  - Mainboard vendor:   ""
  - Mainboard type:     "K7S8XE+"
  - Mainboard revision: "1.0"
  - BIOS vendor:        "American Megatrends Inc."
  - BIOS version:       "P1.70"
  - BIOS release:       "04/27/2004"
 Using infowriter "asrock_k7s8xep" (automatically detected)
 Using following bios info:
    need_reboot      = -1
    addr_chk_h       = 0x30
    addr_chk_l       = 0x31
    addr_chk_h2      = 0x00
    addr_chk_l2      = 0x00
    addr_stat        = 0x51
    addr_mon         = 0x00
    addr_day         = 0x53
    addr_wdays       = 0x00
    addr_hour        = 0x54
    addr_min         = 0x55
    addr_sec         = 0x56
    shift_stat       = 5
    shift_mon        = 0
    shift_day        = 0
    shift_wdays      = 0
    shift_hour       = 0
    shift_min        = 0
    shift_sec        = 0
    rtc_time         = 1
    rtc_day          = 0x70
    rtc_mon          = 0x00
    rtc_day_0_is_c0  = 1
    rtc_mon_0_is_c0  = 0
    reset_day        = 1
    reset_mon        = 0
    nr_stat          = 1
    nr_mon           = 4
    nr_day           = 5
    nr_hour          = 5
    nr_min           = 6
    nr_sec           = 6
    nr_rtc_day       = 8
    nr_rtc_mon       = 5
    nr_wdays         = 7
    bcd              = 0
    day_hack         = 0
    upper_method     = 0
    chk_method       = 0
 Opening /dev/rtc in O_RDONLY mode...
 Hardware clock: 2005-05-28 20:37:35
 rtc.tm_isdst : 1
 rtc.tm_gmtoff: 7200
 diff         : 0
 RTC is running in localtime!
 Test (this should be the current time of the hardware clock): Sat May 28 20:37:35 2005
 Opening /dev/nvram in O_RDONLY mode...
 The size of NVRAM is 114 bytes.
 [some dump that maybe contain a password removed]
 value of the addr_stat    byte is: 0x21.
 value of the addr_day     byte is: 0x1C.
 value of the addr_hour    byte is: 0x90.
 value of the addr_min     byte is: 0x19.
 value of the addr_sec     byte is: 0x80.
 value of the rtc_day      byte is: 0x28.
 value of the addr_chk_h   byte is: 0x98.
 value of the addr_chk_l   byte is: 0x26.
 Opening /dev/rtc in O_RDONLY mode...
 Checksum is: 0x9826.

All values are displayed as they are stored in the nvram/rtc.
(and do not correspond necessarily to the system date/time)

WakeUp  : Enabled (0x21)
Day     : 28 (0x1C)
Hour    : 16 (0x90)
Minute  : 25 (0x19)
Second  : 00 (0x80)
rtcDay  : 28 (0x28)
rtcHour : 16
rtcMin  : 25
rtcSec  : 00
Checksum: 0x9826

Sat May 28 20:37:35 CEST 2005



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux