all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: Christopher Allan Webber <cwebber@dustycloud.org>
Cc: 22274@debbugs.gnu.org
Subject: bug#22274: GuixSD resets hardware clock (on Lenovo x200 with libreboot)
Date: Thu, 31 Dec 2015 15:27:23 -0500	[thread overview]
Message-ID: <87lh8amkic.fsf@netris.org> (raw)
In-Reply-To: <87ege42bg6.fsf@dustycloud.org> (Christopher Allan Webber's message of "Wed, 30 Dec 2015 09:24:49 -0600")

Christopher Allan Webber <cwebber@dustycloud.org> writes:

> I recently installed GuixSD on the laptop I got fresh from Minifree.  I
> was happy to see how much worked, but I've noticed a bug that occurs in
> GuixSD but not in Debian.
>
> In Debian I can set the hardware clock (with `hwclock -w`) and if I
> reboot back into Debian again, I still have the same hardware clock.
>
> If I reboot into GuixSD, at some point in the boot process it resets my
> hardware clock to 1970!  If I reboot into Debian again after that, it's
> 1970 there also.

Very strange.  FWIW, I've used Libreboot X60 and X200 laptops running
GuixSD quite extensively -- they are my primary development machines --
and I've never seen anything like this.

One possibility that comes to mind is that perhaps your hardware clock
battery is dead, and that sometimes Debian is able to hide that fact by
setting the date via NTP or something.  Can you try running "hwclock -r"
after a cold boot into Debian and see what it says?

> Any idea what could be causing this?  I noticed that if I rebooted it
> at the time that it asked me for a passphrase to decrypt /home/ that it
> didn't reset the clock, though maybe I should test that again.

If you're sharing /home between Debian and GuixSD, I wonder if going
back and forth between two different versions of GNOME while sharing the
data in dot-files/directories is causing a problem?

This in turn makes me wonder if the clock is truly being reset during
the GuixSD boot process, or if it might be happening during login to
your desktop environment.  Please try the following:

* Cold boot into Debian.
* Set the hardware clock (hwclock -w).
* Read the hardware clock to verify that it works (hwclock -r).
* Reboot into GuixSD.
* Log in to a text console as root and check both the system clock
  (date) and the hardware clock (hwclock -r).

     Thanks,
       Mark

  reply	other threads:[~2016-01-02  3:52 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-30 15:24 bug#22274: GuixSD resets hardware clock (on Lenovo x200 with libreboot) Christopher Allan Webber
2015-12-31 20:27 ` Mark H Weaver [this message]
2016-01-04  3:37   ` Christopher Allan Webber
2016-01-01 15:28 ` Ludovic Courtès
2016-01-04  3:39   ` Christopher Allan Webber
2016-01-04 15:02     ` Ludovic Courtès
2016-01-05 15:40       ` Christopher Allan Webber
2016-01-14 18:55         ` Christopher Allan Webber
2016-01-15  9:35           ` Ludovic Courtès
2016-01-17 16:51             ` Christopher Allan Webber
2016-01-18 16:58               ` Christopher Allan Webber
2016-01-18 19:42                 ` Christopher Allan Webber
2016-01-18 22:42                   ` Ludovic Courtès
2016-01-18 23:11                     ` Christopher Allan Webber
2016-01-19 16:33                   ` Mark H Weaver
2016-01-19 17:07                     ` Ludovic Courtès
2016-01-19 17:11                       ` Mark H Weaver
2016-01-19 21:50                       ` Christopher Allan Webber
2016-02-02  8:17                         ` Mark H Weaver
2016-02-05 13:08                           ` Ludovic Courtès
2016-02-05 15:23                             ` Mark H Weaver
2016-01-12  7:19 ` bug#22274: epochfail Francis Rowe
2016-01-12 19:03   ` Leo Famulari
2016-01-18 17:02   ` Christopher Allan Webber

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=87lh8amkic.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=22274@debbugs.gnu.org \
    --cc=cwebber@dustycloud.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.