all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Allan Webber <cwebber@dustycloud.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 22274@debbugs.gnu.org
Subject: bug#22274: GuixSD resets hardware clock (on Lenovo x200 with libreboot)
Date: Tue, 05 Jan 2016 09:40:57 -0600	[thread overview]
Message-ID: <87fuycyqpm.fsf@dustycloud.org> (raw)
In-Reply-To: <87r3hxbd7b.fsf@gnu.org>

Ludovic Courtès writes:

>> So I did this, and it stopped resetting the hardware clock for Debian as
>> well when I rebooted into Guix.
>
> Could you check in /var/log/messages or nearby if there were relevant
> messages from ntpd?
>
> I wouldn’t expect it to reset the date.  I always run it on my laptop,
> and nothing ever went havoc, whether or not networking access was
> available.

I'll check it.  Maybe it never reset the date or the hardware clock at
all, and some attempt of me trying to run 'hwclock -w' on a system set
to 1969 set the date???  I'll look further.

It could be that it had failed to read the hardware clock all along in
recent updates, but never did anything about writing to the hardware
clock.

>> It also makes me think that there's no reason we should have
>> ntp-service-type in %desktop-services, though that's a separate issue.
>
> Maybe, I’m open to discussion.  My impression is that it’s “usually”
> enabled by default on desktop distros.  Then again I’ve been told that
> tlsdate would be sufficient and safer.

Hm ok!

>> Not only that, but I verified that my friend Aeva hits the *same*
>> "problem" and "solution"...!
>
> Same hardware?

Same hardware, both of us got x200 Libreboot-enabled laptops from
Minifree.  She doesn't have Debian on hers though, only GuixSD,
so I was not able to check as many things.

Hilariously, we both found it most visible because we noticed SSL certs
being marked invalid because the machine thought they certs wouldn't be
valid for another 45ish years :)

>> *** Most recent Guix system (Linux-Libre 4.3.3) ***
>>
>> bash-4.3$ date
>> Wed Dec 31 18:01:42 CST 1969
>> bash-4.3$ sudo hwclock -r
>> hwclock: ioctl(RTC_RD_TIME) to /dev/rtc to read the time failed: Invalid argument
>
> Anything in /var/log/messages, tty12, or similar?
>
> Could it be a driver issue?
>
> Works for me (a Dell laptop) with recentish GuixSD:
>
> --8<---------------cut here---------------start------------->8---
> $ sudo hwclock -r
> Mon 04 Jan 2016 03:59:40 PM CET  .950405 seconds
> $ uname -a
> Linux pluto 4.3.3-gnu #1 SMP Wed Dec 16 18:40:47 UTC 2015 x86_64 GNU/Linux
> --8<---------------cut here---------------end--------------->8---

I'll check /var/log/messages and report back after next reboot into Guix.

>> When I'm not on a train I can try building the "current" system with
>> Linux-Libre 4.2.5 and see if it's really the kernel.
>
> Yes, that would be helpful!  It would be nice to check with other X200
> users too.
>
> Thanks for investigating!
>
> Ludo’.

Okay, I'll try all these things as soon as I'm not tethering from a
phone :)

  reply	other threads:[~2016-01-05 16:38 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
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 [this message]
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=87fuycyqpm.fsf@dustycloud.org \
    --to=cwebber@dustycloud.org \
    --cc=22274@debbugs.gnu.org \
    --cc=ludo@gnu.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.