From owner-freebsd-questions@FreeBSD.ORG Thu Jan 18 18:42:36 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ECC7916A412 for ; Thu, 18 Jan 2007 18:42:36 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (chen.org.nz [202.89.146.5]) by mx1.freebsd.org (Postfix) with ESMTP id 17B4513C459 for ; Thu, 18 Jan 2007 18:42:35 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 8E93B7E863; Fri, 19 Jan 2007 07:41:49 +1300 (NZDT) Date: Fri, 19 Jan 2007 07:41:49 +1300 From: Jonathan Chen To: Gilbert Cao Message-ID: <20070118184149.GC8400@osiris.chen.org.nz> References: <23251.82.226.60.41.1169109343.squirrel@bigfugu.bsdmon.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <23251.82.226.60.41.1169109343.squirrel@bigfugu.bsdmon.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Incorrect kernel time on laptop boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jan 2007 18:42:37 -0000 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 ---------------------------------------------------------------------- If you're right 90% of the time, why quibble about the remaining 3%?