LWN.net Logo

Quote of the week

This patch causes a CONFIG_PREEMPT=y, CONFIG_PREEMPT_BKL=y, CONFIG_DEBUG_PREEMPT=y kernel on a ppc64 G5 to hang immediately after displaying the penguins, but apparently not before having set the hardware clock backwards 101 years.

After having carefully reviewed the above description and having decided that these effects were not a part of the patch's design intent I have temporarily set it aside, thanks.

-- Andrew Morton


(Log in to post comments)

Quote of the week

Posted Mar 18, 2005 7:35 UTC (Fri) by njhurst (guest, #6022) [Link]

I regularly have a problem with my pismo reseting its clock to 1904 (the start of the mac clock) when I let the battery go completely flat. I wonder if it's the same problem?

The biggest problem is that ntp-date refuses to restore a clock that is too far behind. I have a little script which sets the clock to the atime of a file to fix this, but I wish someone would fix it properly :)

Quote of the week

Posted Mar 24, 2005 14:35 UTC (Thu) by Luyseyal (guest, #15693) [Link]

> The biggest problem is that ntp-date refuses to restore a clock that is too
> far behind. I have a little script which sets the clock to the atime of a
> file to fix this, but I wish someone would fix it properly :)

I would use hwclock, first, to set the Mac clock and then set the O/S time. You could even write a simple script to set the hwclock to a recent value (e.g., 2005-03-24) on boot.

USD$0.02,
-l

Copyright © 2005, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds