public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] My machine wakes up from hibernation in GMT time !?!?
Date: Tue, 10 Mar 2015 18:42:28 -0400	[thread overview]
Message-ID: <20150310224228.GA3322@waltdnes.org> (raw)
In-Reply-To: <2270844.mkx9NTk9Bi@navi>

On Tue, Mar 10, 2015 at 02:54:04PM -0400, Fernando Rodriguez wrote
> On Tuesday, March 10, 2015 1:05:58 PM Walter Dnes wrote:
> > On Tue, Mar 10, 2015 at 03:39:05AM -0400, Fernando Rodriguez wrote
> > > 
> > > Are you using OpenRC?
> > > If so, do you have the hwclock init script set to run at boot?
> > 
> >   Yes and yes.  "/sbin/rc-update show boot" shows it.  "rc-status boot"
> > also shows it.
> 
> Do you have CONFIG_RTC_HCTOSYS set on your kernel?  If so it's because
> you're using localtime and the kernel sets it to UTC.  Either disable
> that option or if you need localtime for windows you can also set
> windows to use UTC.
> https://wiki.archlinux.org/index.php/Time#UTC_in_Windows

  No Windows on this machine.  I do keep 2 kernels, and select via lilo.
This is an insurance policy in case a kernel update goes didastrously
wrong; i.e. it's unbootable.  I just did an update, which pulled in a
new kernel.  I updated to it, and it now comes up OK, both from "reboot"
and from hibernate-to-disk followed by restore-from-disk.  I don't
understand...

1) why it stopped working properly for a while
2) why it's working properly now

  Here's what I have in my .config in both the current linux-3.18.7-gentoo
and the previous linux-3.17.8-gentoo-r1

CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y
# CONFIG_RTC_HCTOSYS is not set
CONFIG_RTC_SYSTOHC=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


      reply	other threads:[~2015-03-10 22:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-10  2:20 [gentoo-user] My machine wakes up from hibernation in GMT time !?!? Walter Dnes
2015-03-10  7:39 ` Fernando Rodriguez
2015-03-10 17:05   ` Walter Dnes
2015-03-10 18:54     ` Fernando Rodriguez
2015-03-10 22:42       ` Walter Dnes [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150310224228.GA3322@waltdnes.org \
    --to=waltdnes@waltdnes.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox