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 <waltd...@waltdnes.org>
I don't run "desktop environments"; I run useful applications

Reply via email to