Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #71489

Bug#785419: Bug#855203: hwclock-set: Synchronize from hwclock despite systemd presence

Path csiph.com!eternal-september.org!reader02.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From "Rick Thomas" <rbthomas@pobox.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#785419: Bug#855203: hwclock-set: Synchronize from hwclock despite systemd presence
Date Mon, 10 May 2021 00:10:01 +0200
Message-ID <CcZMB-36m-1@gated-at.bofh.it> (permalink)
References <tb7lE-5n-13@gated-at.bofh.it> <tfcd4-2gJ-27@gated-at.bofh.it> <tftQC-6g8-11@gated-at.bofh.it> <tfXvj-1v9-13@gated-at.bofh.it> <tm5gw-2nQ-67@gated-at.bofh.it> <CcAuS-2Gy-11@gated-at.bofh.it> <pqyCm-8g9-7@gated-at.bofh.it> <CcAuS-2Gy-11@gated-at.bofh.it>
X-Original-To "Salvatore Bonaccorso" <carnil@debian.org>, "Lukas Wunner" <lukas@wunner.de>, 785419@bugs.debian.org
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Sun May 9 22:03:09 2021
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.75
Reply-To "Rick Thomas" <rbthomas@pobox.com>, 785419@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 785419
X-Debian-Pr-Package src:linux
X-Debian-Pr-Keywords moreinfo upstream
X-Debian-Pr-Source linux
X-Me-Sender <xms:o1uYYL9lou2EaxWTuI_kV4TAoum4xn_zYSdIM-J91rxEbtre6M5Ylw> <xme:o1uYYHsImcstNLMuXhkmhpUgxE-nSdN5vPllJNNbfVLGmDrBrKyJcPxqphjVzMRIK LWo55O_Yud8UVpEzg>
X-Me-Proxy-Cause gggruggvucftvghtrhhoucdtuddrgeduledrvdegjedgtdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreerjeenucfhrhhomhepfdftihgt khcuvfhhohhmrghsfdcuoehrsghthhhomhgrshesphhosghogidrtghomheqnecuggftrf grthhtvghrnhepieeukeegvdejteegueekkeetleffleehuddvffejvdduiedvffdvveel feeijefgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprhgsthhhohhmrghssehpohgsohigrdgtohhm
X-Me-Proxy <xmx:o1uYYJB2i6CNK7ENVDTxOr6OuYJPN1-cwjKAMqiwzvZtAp9UK5HVkA> <xmx:o1uYYHdHihmDLrtsOYpm6VV-TBP9Zow8b2ebGhnvayHqme6FdYtUrQ> <xmx:o1uYYAMcDWwSizPZGJbDSYw_1Vyrn-9v8uVtfvQpLV4FrQ_i4NfF7w> <xmx:pFuYYNogiVLnxl-BbxW-ZlDvUPs5KSa7EPuK-DetzV2higUck6nSTw>
X-Mailer MessagingEngine.com Webmail Interface
User-Agent Cyrus-JMAP/3.5.0-alpha0-448-gae190416c7-fm-20210505.004-gae190416
MIME-Version 1.0
Content-Type text/plain
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1663624
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 44
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc "Andreas Henriksson" <andreas@fatal.se>, 855203@bugs.debian.org, 785445@bugs.debian.org
X-Original-Date Sun, 09 May 2021 15:00:47 -0700
X-Original-Message-ID <7763443d-ff53-4d08-ac57-2db2f4e4b80d@www.fastmail.com>
X-Original-References <20170215125530.GA16667@h08.hostsharing.net> <20170226185606.GA23012@fatal.se> <20170227133434.GA23735@h08.hostsharing.net> <20170228212024.GA1658@fatal.se> <20170317185531.GA32580@h08.hostsharing.net> <YJbgMHfU/q6dmylo@eldamar.lan> <20150516005500.1136.66406.reportbug@cube.rcthomas.org> <YJbgMHfU/q6dmylo@eldamar.lan>
Xref csiph.com linux.debian.bugs.dist:1058475 linux.debian.kernel:71489

Cross-posted to 2 groups.

Show key headers only | View raw


On Sat, May 8, 2021, at 12:02 PM, Salvatore Bonaccorso wrote:
> Control: tags -1 + moreinfo
> 
> Hi,
> 
> Ist this still an issue or has been fixed in meanwhile? I'm going
> through some older src:linux associated buts and noticed that it was
> considered here to reassign it to util-linux.
> 
> Is the problem still present?
> 
> Further:
> 
> On Fri, Mar 17, 2017 at 07:55:31PM +0100, Lukas Wunner wrote:
> [...]
> > @Rick Thomas: Could you verify if the attached patch solves this issue
> > for you?
> 
> Were you able to test the proposed patch?
> 
> Regards,
> Salvatore

Thanks for following up on this!

No, I got side-tracked by a family medical issue (now all resolved and OK) and never was able to test the patches.  Sorry!

Nevertheless, I can verify that the problem _is_ still with us.  I'm running

    rbthomas@cube:~$ uname -a
    Linux cube 4.19.0-16-armmp #1 SMP Debian 4.19.181-1 (2021-03-19) armv7l GNU/Linux
    rbthomas@cube:~$ cat /etc/debian_version 
    10.9

on a Cubox-i4Pro.   It still shows as having two RealTime clocks.  The one named /dev/rtc0 still looses it's time when I unplug/replug the device, while /dev/rtc1 still does manage to carry-over.  Unfortunately, the kernel still uses rtc0 to set system time when rebooting.

The workaround I use (such as it is) is to run ntpsec with the "-g" option, which allows the first system clock adjustment to be more than 1000 seconds. ( I also have to remember to reset rtc0 after a power outage.)

Along the same lines, I recently got a Raspberry Pi4B 4GB, and was somewhat surprised to find that it did not have a RT clock at all unless you buy an add-on hat for it.  So we not only have to deal with devices with two RT clocks, but also devices with zero RT clocks.

I'm not much of a software developer, so if you want me to test something, please provide it in the form of a ".deb" that I can install,  rather than a set of patches I have to apply.

Thanks!
Rick

Back to linux.debian.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#785419: Bug#855203: hwclock-set: Synchronize from hwclock despite systemd presence Salvatore Bonaccorso <carnil@debian.org> - 2021-05-08 21:10 +0200
  Processed: Re: Bug#785419: Bug#855203: hwclock-set: Synchronize  from hwclock despite systemd presence "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-05-08 21:30 +0200
  Bug#785419: Bug#855203: hwclock-set: Synchronize from hwclock despite systemd presence "Rick Thomas" <rbthomas@pobox.com> - 2021-05-10 00:10 +0200

csiph-web