From owner-freebsd-stable Tue Dec 10 19:36: 7 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1847D37B404 for ; Tue, 10 Dec 2002 19:36:04 -0800 (PST) Received: from drugs.dv.isc.org (drugs.dv.isc.org [130.155.191.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DA7E43EC2 for ; Tue, 10 Dec 2002 19:36:01 -0800 (PST) (envelope-from marka@drugs.dv.isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.12.5/8.12.5) with ESMTP id gBB3ZttB047413; Wed, 11 Dec 2002 14:35:55 +1100 (EST) (envelope-from marka@drugs.dv.isc.org) Message-Id: <200212110335.gBB3ZttB047413@drugs.dv.isc.org> To: Evren Yurtesen Cc: freebsd-stable@FreeBSD.ORG From: Mark.Andrews@isc.org Subject: Re: (2) timezone bug? In-reply-to: Your message of "Wed, 11 Dec 2002 05:09:47 +0200." Date: Wed, 11 Dec 2002 14:35:55 +1100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > OK I will read the manuals but the tzsetup asks me > > "Is this machine's CMOS clock set to UTC? If it is set to local time, or > you don't know, please choose NO here!" > > I wonder why it asks this then? Selecting yes or no doesnt effect > anything? Are you sure? Selecting No will create /etc/wall_cmos_clock and selecting Yes will remove /etc/wall_cmos_clock. Mark > Evren > > > On Wed, 11 Dec 2002 Mark.Andrews@isc.org wrote: > > > > > > and why do I need to tell that? > > > > Because you want to have the current time in both Windows and > > FreeBSD and Windows assumes that the CMOS clock is a wall clock. > > > > > cant the tzsetup program set it automatically? > > > > That's not tzsetup purpose. It assumes the kernel is returning > > UTC and arranges for local time to be returned based on that. > > > > Teaching the kernel that the cmos clock is running with wall clock > > time is adjkerntz purpose. > > > > > Is it enough if I only create this file? > > > > No. You will also need to inform the kernel and reset the cmos > > clock to wall clock time. I suggest that you read the manual > > pages for tzsetup and adjkerntz. > > > > Also you need to take care the first time you re-boot into windows > > after a daylight savings switch. > > > > Mark > > > > > Evren > > > > > > On Wed, 11 Dec 2002 Mark.Andrews@isc.org wrote: > > > > > > > > > > > It sounds like you have not told the system that you are using > > > > wall clock time and it defaults to using UTC. > > > > > > > > /etc/wall_cmos_clock > > > > > > > > Mark > > > > > > > > > I wonder if this is a bug in the tzsetup system... > > > > > I set my timezone and everything works fine although it says EEST whe > n I > > > > > am used to see GMT+2. > > > > > But the main problem is that when I set the timezone then 2 hours are > > > > > substracted from my bios clock after I use ntpdate and operating syst > em > > > > > shows correct time by adding 2 hours. Now this is not a big problem i > f my > > > > > computer clock is wrong normally but I sometimes boot to windoze and > it > > > > > shows 2 hours early =) everytime I boot to FreeBSD and back to Windoz > e. > > > > > > > > > > What do you say? this is a bug or? How do I prevent this from happeni > ng > > > > > all the time? > > > > > > > > > > Evren > > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > > > with "unsubscribe freebsd-stable" in the body of the message > > > > -- > > > > Mark Andrews, Internet Software Consortium > > > > 1 Seymour St., Dundas Valley, NSW 2117, Australia > > > > PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews@isc.org > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-stable" in the body of the message > > -- > > Mark Andrews, Internet Software Consortium > > 1 Seymour St., Dundas Valley, NSW 2117, Australia > > PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews@isc.org > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- Mark Andrews, Internet Software Consortium 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews@isc.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message