From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 761EA138CBD for ; Tue, 10 Mar 2015 22:42:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BFC7E088D; Tue, 10 Mar 2015 22:42:31 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 448FBE0883 for ; Tue, 10 Mar 2015 22:42:30 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Avw7APOG1lRLd/JN/2dsb2JhbABBGoMGUlqIBrp6hWsEAgKBAgtEAQEBAQEBfIQNAQU6HDMLGAkTEg8FJRABJogtDTfNXwEBAQEGAQEBARoEj38WgwCBFAWPG1SCfIVbgRmFMIVrgn+BeYFFIoICHIFsIjEBgkEBAQE X-IPAS-Result: Avw7APOG1lRLd/JN/2dsb2JhbABBGoMGUlqIBrp6hWsEAgKBAgtEAQEBAQEBfIQNAQU6HDMLGAkTEg8FJRABJogtDTfNXwEBAQEGAQEBARoEj38WgwCBFAWPG1SCfIVbgRmFMIVrgn+BeYFFIoICHIFsIjEBgkEBAQE X-IronPort-AV: E=Sophos;i="5.09,536,1418101200"; d="scan'208";a="113231639" Received: from 75-119-242-77.dsl.teksavvy.com (HELO waltdnes.org) ([75.119.242.77]) by ironport2-out.teksavvy.com with SMTP; 10 Mar 2015 18:42:28 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Tue, 10 Mar 2015 18:42:28 -0400 From: "Walter Dnes" Date: Tue, 10 Mar 2015 18:42:28 -0400 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] My machine wakes up from hibernation in GMT time !?!? Message-ID: <20150310224228.GA3322@waltdnes.org> References: <20150310022039.GA15212@waltdnes.org> <2077053.GMNJHiK0Fb@navi> <20150310170558.GA17216@waltdnes.org> <2270844.mkx9NTk9Bi@navi> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2270844.mkx9NTk9Bi@navi> User-Agent: Mutt/1.5.23 (2014-03-12) X-Archives-Salt: 4c49664e-5b31-449e-8f58-20bc06a020cd X-Archives-Hash: c6927d5d5a77491e07424f4af09491fc 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 I don't run "desktop environments"; I run useful applications