Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2007 17:44:14 GMT
From:      Jin Guojun <j_guojun@lbl.gov>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/114970: Wrong system time (last) when machine is crashed due to lose power
Message-ID:  <200707271744.l6RHiEK5021630@www.freebsd.org>
Resent-Message-ID: <200707271750.l6RHo1nW094490@freefall.freebsd.org>

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

>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:
>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:



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