Subject: Re: clock problem ...
To: None <hubert.feyrer@informatik.fh-regensburg.de>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 01/26/2000 21:39:12
On Tue, Jan 25, 2000 at 11:05:02PM +0100, Hubert Feyrer wrote:
> On Tue, 25 Jan 2000, Andrew Todorov wrote:
> > How can I setup my NetBSD clock to be equal to BIOS clock ?
> 
> If adjusting /etc/localtime doesn't help, and you're multi-booting other
> operating systems, playing with the RTC_OFFSET option in your kernel
> config may help. Here's what I use:
> 
> options         RTC_OFFSET=-60  # hardware clock is this many mins. west of GMT

You can also patch an existing kernel binary with gdb:
gdb --write /netbsd
set rtc_offset=-60
quit


--
Manuel Bouyer <bouyer@antioche.eu.org>
--