From nobody@FreeBSD.org  Fri Jul 27 17:44:15 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 305F616A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 27 Jul 2007 17:44:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 15B6913C45B
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 27 Jul 2007 17:44:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l6RHiERQ021631
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 27 Jul 2007 17:44:14 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l6RHiEK5021630;
	Fri, 27 Jul 2007 17:44:14 GMT
	(envelope-from nobody)
Message-Id: <200707271744.l6RHiEK5021630@www.freebsd.org>
Date: Fri, 27 Jul 2007 17:44:14 GMT
From: Jin Guojun <j_guojun@lbl.gov>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Wrong system time (last) when machine is crashed due to lose power
X-Send-Pr-Version: www-3.0

>Number:         114970
>Category:       kern
>Synopsis:       Wrong system time (last) when machine is crashed due to lose power
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 27 17:50:01 GMT 2007
>Closed-Date:    
>Last-Modified:  Sat Jul 28 08:36:01 GMT 2007
>Originator:     Jin Guojun
>Release:        6.2-RELEASE
>Organization:
LBL
>Environment:
FreeBSD bsd-ms 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Tue May 29 15:34:22 PDT 2007     root@bsd-ms:/usr/src/sys/i386/compile/SMP.MM  i386

>Description:
gjin             ttyv0                     Fri Jul 27 10:24   still logged in
reboot           ~                         Fri Jul 27 10:23
gjin             ttyv0                     Thu Jul 26 15:34 - crash  (18:49)
reboot           ~                         Thu Jul 26 15:33
shutdown         ~                         Thu Jul 26 15:32
root             ttyv0                     Thu Jul 26 15:14 - shutdown  (00:17)
reboot           ~                         Thu Jul 26 15:14
shutdown         ~                         Thu Jul 26 15:12
root             ttyv0                     Thu Jul 26 15:08 - shutdown  (00:03)
reboot           ~                         Thu Jul 26 15:08
shutdown         ~                         Thu Jul 26 15:06

When power outage or other thing happened to cause machine down, the last
did not provide a correct down time when this happened. The crash line
shows the time duration when the machine is rebooted, not the machine was
crashed.
>How-To-Repeat:
Logon as a user and unplug the power. Wait for a hour or longer then power
on the machine, then type last command to check the timestamp.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
