Subject: Re: CVS commit: src/sys/kern
To: None <gdamore@netbsd.org>
From: Perry E. Metzger <perry@piermont.com>
List: source-changes
Date: 09/03/2006 12:08:12
Garrett D'Amore <gdamore@netbsd.org> writes:
> Module Name:	src
> Committed By:	gdamore
> Date:		Sun Sep  3 05:25:05 UTC 2006
>
> Modified Files:
> 	src/sys/kern: kern_todr.c
>
> Log Message:
> Incorporate changes from x86/i386 as follows:
>
> 1) don't set a clock when panicing during early boot
> 2) if the filesystem time is newer than the rtc time (by at least 2 days) then
> revert to the filesystem time.

Two days is probably too little. One routinely gets situations where
machines get confused and file system time exceeds RTC time by quite a
bit.

On the x86 port, we used to use a much larger margin -- years in
fact. That might be excessive, but two days is too small.

Perry