[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ntpd: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
From: |
Matias Jose Seco Baccanelli |
Subject: |
Re: ntpd: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized |
Date: |
Mon, 4 Nov 2019 18:09:29 +0100 |
Eccomi!
On Sun, 3 Nov 2019 15:23:01 -0500
Leo Famulari <address@hidden> wrote:
>
> Hm... I'm not sure but I have a guess.
>
> By default, ntpd will not change your clock if it is very wrong. If it
> is only a couple minutes wrong, then ntpd will slowly adjust the time,
> but if it is wrong by some large threshold, ntpd will simply give up.
>
> However, you can run ntpd with '-g, --panicgate', which will allow
> ntpd to make big adjustments to your clock. In Guix, this is called
> 'allow-large-adjustment?' and we made it the default in September
> 2019. [1]
I tried launching ntpd with root adding the specified options, but it
actually returns the following issue:
ntpd[1162]: Command line: ntpd -g --panicgate
ntpd[1164]: proto: precision = 1.746 usec (-19)
ntpd[1164]: getconfig: Couldn't open </etc/ntp.conf>: No such file or
directory ntpd[1164]: unable to bind to wildcard address :: - another
process may be running - EXITING
couldn't simply kill the running process since it would respawn
instantly.
> Maybe your system has not been updated since then? As root, can you
> check with `guix describe` and let us know exactly what it says?
Indeed i didn't update root's profile since this system's
installation back on Jul 22!
Generation 1 Jul 22 2019 19:17:54
file name: /var/guix/profiles/system-1-link
canonical file name:
/gnu/store/8ls7mlpn7vx2szd7ayy8isryjnfkab3w-system label: GNU with
Linux-Libre 5.1.2 bootloader: grub
root device: UUID: 9b3e267c-cb01-4121-a7d1-9d5b60a2e5cf
kernel:
/gnu/store/mmnl20fg05w8gzzsp4d8dvagmdn1vjil-linux-libre-5.1.2/bzImage
Generation 2 Nov 04 2019 14:38:46 (current) file name:
/var/guix/profiles/system-2-link canonical file name:
/gnu/store/l4xssjf25si0zkfwqmp3lir2a4x8zjh0-system label: GNU with
Linux-Libre 5.3.8 bootloader: grub
root device: UUID: 9b3e267c-cb01-4121-a7d1-9d5b60a2e5cf
kernel:
/gnu/store/9l8z8k5ya6g9vwzn1jcba9qdlfhf6xhd-linux-libre-5.3.8/bzImage
I imagine reason why pull generations only shows the last one:
Generation 1 Nov 04 2019 10:17:44 (current)
guix d258d9c
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: d258d9c7d222e6b64531c14293f41bd8d62ea4f7
> If that's the root cause, try doing, as root, `guix pull && guix
> system reconfigure [...] && reboot` to get the new NTP service. Or
> you could try a more targeted fix by adding the
> 'allow-large-adjustment? #t' flag to your config.scm. Please ask on
> IRC #guix if you need help :)
>
> [1]
> https://git.savannah.gnu.org/cgit/guix.git/commit/?id=08b4a10fa6bc535cd99d65f0233dd027153878eb
The new generation actually introduces two unexpected elements:
a. At the login section it proposes both gnome and mate environment
(which is correctly usable only the latter)
b. Once i login on Mate's de, i'm unable to use any menu's application
(suggests something similar to "unable to spawn proccess
gio-launch-desktop - missing directory")
I wonder if i actually performed corectly root's commands, by accessing
it via "sudo su -", is it the right way? (i remember there was a better
one but couldn't find it on the manual)
As you suggest i'll bring this quest onto irc so i can solve it
in shared mode
Grazie mille!
Matias Jose Seco Baccanelli
pgpe7oBbXovpN.pgp
Description: OpenPGP digital signature