Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 2007 07:41:49 +1300
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Gilbert Cao <hika@bsdmon.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Incorrect kernel time on laptop boot
Message-ID:  <20070118184149.GC8400@osiris.chen.org.nz>
In-Reply-To: <23251.82.226.60.41.1169109343.squirrel@bigfugu.bsdmon.com>
References:  <23251.82.226.60.41.1169109343.squirrel@bigfugu.bsdmon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 18, 2007 at 09:35:43AM +0100, Gilbert Cao wrote:
> 
> Hi the list,
> 
> I currently experienced a problem with my Sony Vaio VGN-FE31B laptop.
> Each time I boot, the kernel time seems to be set with the wrong date time.
> When I poweroff the machine, wait for some minutes and reboot again, the
> kernel time is set with a few seconds after the "wrong" time on shutdown.

If you're dual-booting with Windows, the cause is that Windows will
set the BIOS to wall-time, while FreeBSD sets the BIOS to UTC. One way
to fix this is to run tzsetup and set FreeBSD to run with wall-time.

Cheers.
-- 
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
  If you're right 90% of the time, why quibble about the remaining 3%?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070118184149.GC8400>