RTC hctosys disabled for 32-bit systems

Russell King (Oracle) linux at armlinux.org.uk
Thu Sep 1 06:46:39 PDT 2022


On Thu, Sep 01, 2022 at 03:12:57PM +0200, Arnd Bergmann wrote:
> Ah, I forgot that systemd actually needs it. So I guess there is
> currently no way to use systemd on 32-bit machines that are
> meant to survive 2038, regardless of whether systemd and glibc are
> built with a 64-bit time_t or not, right?
> 
> Is there perhaps a way to change the logic in a way that
> it does not depend on the current time but instead depends
> on a property of the RTC device itself, so we make systems
> break immediately instead of by surprise in 2038?

Are you seriously suggesting to cause regressions on systems where
the RTC can send the kernel's timekeeping back to the early 1900s,
rather than printing a big fat warning message in the kernel log?

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!



More information about the linux-arm-kernel mailing list