Subject: Re: clock on netbsd and NT
To: schaecsn <schaecsn@gmx.de>
From: Robert Elz <kre@munnari.OZ.AU>
List: port-alpha
Date: 11/21/2001 15:22:07
    Date:        Tue, 20 Nov 2001 23:59:08 -0800
    From:        schaecsn <schaecsn@gmx.de>
    Message-ID:  <3BFB5ECC.E1C11A8C@gmx.de>

  | Who is right, NT or Netbsd? Anyway, is there a way to convince one OS to
  | adapt to the other time scheme?

On the assumption that alpha NT uses the clock the same way that OSF1
does, you could try

	options        CLOCK_COMPAT_OSF1 

in your kernel config file.

There's no real "right" here, just different ideas of when the time
epoch should be (the only number that would have anything to recommend
it over any other number would be the time of the big bang, if only
anyone knew exactly when that happened...)

Since (unlike on i386's) the vendor time base for the hardware clock
is at least sane, there are probably arguments that that is what NetBSD
should always use, simply translating that (always, not conditioned on
an option) to the unix epoch for internal use (and back again when the
time is updated).   Of course, now, that would be something of a wrench
for all the NetBSD alphas that never dual boot anything, and are quite
happy with what they have.

kre