[mythtv-users] shut down OK, reboot nogo

Hika van den Hoven hikavdh at gmail.com
Mon Oct 27 23:19:47 UTC 2014


Hoi Daryl,

Monday, October 27, 2014, 11:35:03 PM, you wrote:





> On Mon, Oct 27, 2014 at 1:13 AM, Hika van den Hoven <hikavdh at gmail.com> wrote:

> Hoi Daryl,
>  

>  Sunday, October 26, 2014, 11:20:23 PM, you wrote:
>  
 >> Greetings Mythizens,I found this in
 >> "/var/log/mythtv/hwclockrebootTime.log" and either my math skills
 >> have really gone south since I retired or my box doesn't know how to subtract anymore:
>  
>  
>  
>  Current Time      ->>Sat Oct 18 00:15:04 EDT 2014
>  
>  Shutting down for ->>06hrs:39Mins
>  
>  Wake up at approx.->>Sat Oct 18 11:55:00 EDT 2014
>  
 >> ------------------------------------------------------
>  
>  Current Time      ->>Sat Oct 18 15:37:47 EDT 2014
>  
>  Shutting down for ->>19hrs:02Mins
>  
>  Wake up at approx.->>Sat Oct 18 15:39:47 EDT 2014
>  
 >> ------------------------------------------------------
>  
>  Current Time      ->>Sat Oct 18 23:35:19 EDT 2014
>  
>  Shutting down for ->>06hrs:19Mins
>  
>  Wake up at approx.->>Sun Oct 19 10:55:00 EDT 2014
>  
 >> ------------------------------------------------------
>  
>  Current Time      ->>Mon Oct 20 00:00:00 EDT 2014
>  
>  Shutting down for ->>00hrs:55Mins
>  
>  Wake up at approx.->>Mon Oct 20 05:55:00 EDT 2014
>  
 >> ------------------------------------------------------
>  
>  Current Time      ->>Mon Oct 20 12:15:03 EDT 2014
>  
>  Shutting down for ->>00hrs:38Mins
>  
>  Wake up at approx.->>Mon Oct 20 17:54:00 EDT 2014
>  
 >> ------------------------------------------------------
>  
>  Current Time      ->>Mon Oct 20 17:00:15 EDT 2014
>  
>  Shutting down for ->>19hrs:53Mins
>  
>  Wake up at approx.->>Mon Oct 20 17:54:00 EDT 2014
>  
 >> ------------------------------------------------------
>  
>  Current Time      ->>Tue Oct 21 00:28:16 EDT 2014
>  
>  Shutting down for ->>12hrs:25Mins
>  
>  Wake up at approx.->>Tue Oct 21 17:54:00 EDT 2014
>  
 >> ------------------------------------------------------
>  
>  Current Time      ->>Tue Oct 21 10:42:24 EDT 2014
>  
>  Shutting down for ->>02hrs:11Mins
>  
>  Wake up at approx.->>Tue Oct 21 17:54:00 EDT 2014
>  
 >> ------------------------------------------------------
>  
>  Current Time      ->>Tue Oct 21 23:52:22 EDT 2014
>  
>  Shutting down for ->>13hrs:01Mins
>  
>  Wake up at approx.->>Wed Oct 22 17:54:00 EDT 2014
>  
 >> ------------------------------------------------------
>  
>  Current Time      ->>Thu Oct 23 00:41:42 EDT 2014
>  
>  Shutting down for ->>12hrs:12Mins
>  
>  Wake up at approx.->>Thu Oct 23 17:54:00 EDT 2014
>  
 >> ------------------------------------------------------
>  
>  Current Time      ->>Fri Oct 24 00:17:01 EDT 2014
>  
>  Shutting down for ->>12hrs:36Mins
>  
>  Wake up at approx.->>Fri Oct 24 17:54:00 EDT 2014
>  
 >> ------------------------------------------------------
>  
>  Current Time      ->>Fri Oct 24 11:11:24 EDT 2014
>  
>  Shutting down for ->>01hrs:42Mins
>  
>  Wake up at approx.->>Fri Oct 24 17:54:00 EDT 2014
>  
 >> ------------------------------------------------------
>  
>  Current Time      ->>Sat Oct 25 00:51:15 EDT 2014
>  
>  Shutting down for ->>11hrs:03Mins
>  
>  Wake up at approx.->>Sat Oct 25 16:55:00 EDT 2014
>  
 >> ------------------------------------------------------
>  
>  Current Time      ->>Sun Oct 26 17:04:32 EDT 2014
>  
>  Shutting down for ->>19hrs:49Mins
>  
>  Wake up at approx.->>Sun Oct 26 17:54:00 EDT 2014
>  
>  
>  
>  
>  
 >> Can anyone tell me how to correct this, and if this is indeed why
 >> the box doesn't wakeup on time?    Daryl
>  
>  

> What is your shift from GMT? I all the time see it waking up 5 hours
>  to late or 5 hours - 24 houres to early. Also know that if properly
>  setup your bios clock is running GMT so the wakeup in bios must be set
>  in GMT. So look at the settings of your bios wakeup program.
>  
>  Tot mails,
>    Hika                            mailto:hikavdh at gmail.com
>  
> I am -04:00, just like New York and Toronto, BIOS is in UTC and I
> haven't changed that, this used to work before a couple of crashes
> and cloned or rsync'd OS restores.  

> Using Bill's wakeup_test.sh it should work: (batt status always
> returns dead from this script, but OK from "cat /proc/sys/driver/rtc"

> daryl at daryl-A780L3C:~$ sudo ./wakeup_test.sh
> [sudo] password for daryl: 
> rtc_time        : 22:30:55
> rtc_date        : 2014-10-27
> alrm_time       : 22:31:55
> alrm_date       : 2014-10-27
> alarm_IRQ       : yes
> alrm_pending    : no
> update IRQ enabled      : no
> periodic IRQ enabled    : no
> periodic IRQ frequency  : 1024
> max user IRQ frequency  : 64
> 24hr            : yes
> periodic_IRQ    : no
> update_IRQ      : no
> HPET_emulated   : yes
> BCD             : yes
> DST_enable      : no
> periodic_freq   : 1024
> batt_status     : dead
> daryl at daryl-A780L3C:~$ 

So to get it strait, it's always easy to think the wrong way with
time. It's waking up at +1 GMT (like here). Do you have daylight
saving? It ended here this weekend, we were at +2 GMT, so with you
that then would be -3 GMT. If daylight saving also ended there with
you, do you now see a different shift? Not that I have a real idea,
but just to narrow things doen.

Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list