Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Oct 95 23:12 WET DST
From:      uhclem%nemesis@fw.ast.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/767: Configure-time does time-warp on non-UTC CMOS - FDIV031
Message-ID:  <m0t149J-000IyUC@nemesis.lonestar.org>
Resent-Message-ID: <199510060510.WAA10030@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         767
>Category:       misc
>Synopsis:       Configure-time does time-warp on non-UTC CMOS - FDIV031
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct  5 22:10:01 PDT 1995
>Last-Modified:
>Originator:     Frank Durda IV
>Organization:
none
>Release:        FreeBSD 2.1.0-951005-SNAP
>Environment:

Freshly installed 951005 SNAP

>Description:

During the installation process, if you answer all time configuration
questions truthfully and accurately and your CMOS time is not UTC time,
the confirmation prompt will show that your system is now
roughly 6 hours and 30 days back in the past,  and it asks you if
this is right.  

If you say 'no', the only way to get the date and time to appear correct
at this prompt is to lie and say the CMOS is set to UTC time.  But when you
reboot, the system time will be very wrong.

However, if you stick to your CMOS settings (CMOS==local time) and then
lie by answering the "Is this reasonable" question "Yes" even though it
shows it is last month, when you reboot the system date and time will
be correct.

The problem for the average user is knowing when to answer the
questions truthfully and to wonder if they have to pay the electric
bill for last month again.  :-)


>How-To-Repeat:

In the Configure Time section of the installation process,
enter 22:42  (10:42PM), which is the wall clock time where you are, AND
the CMOS time where you are.  CMOS is also set to October 5, 1995,
or 10/05/95 (WH) and 05/10/95 (EH) depending on your area of origin.

Specify North America, United States, Central Time Zone
Tell it that the CMOS is equal to the local time, NOT UTC time.

System responds with "Does 17:42:43  5.9.1995 CDT look reasonable?"
                           **          *

Note it is now the 5th of September(!), and that is a tad in the past.

The configure-time code for managing CMOS=="local time" was broken in
earlier versions, but not so badly.

>Fix:
	
Not known.  Using UTC for CMOS is not an option due to use of other
operating systems on same computer.

It would also be nice if the date was displayed in the dd-mmm-yy[yy]
format so that there would not be additional confusion over WH vs
EH date formats.

					Frank Durda IV
					uhclem%nemesis@fw.ast.com

>Audit-Trail:
>Unformatted:



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