From seth@lazarus.cryptonym.net  Thu Aug 12 19:11:06 2004
Return-Path: <seth@lazarus.cryptonym.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CCA8416A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 12 Aug 2004 19:11:06 +0000 (GMT)
Received: from lazarus.cryptonym.net (lazarus.cryptonym.net [66.159.225.213])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9EEC843D46
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 12 Aug 2004 19:11:06 +0000 (GMT)
	(envelope-from seth@lazarus.cryptonym.net)
Received: from lazarus.cryptonym.net (niaytf@localhost.cryptonym.net [127.0.0.1])
	by lazarus.cryptonym.net (8.12.10/8.12.10) with ESMTP id i7CJB5Q6004973
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 12 Aug 2004 12:11:06 -0700 (PDT)
	(envelope-from seth@lazarus.cryptonym.net)
Received: (from seth@localhost)
	by lazarus.cryptonym.net (8.12.10/8.12.10/Submit) id i7CJB5W8004972;
	Thu, 12 Aug 2004 12:11:05 -0700 (PDT)
	(envelope-from seth)
Message-Id: <200408121911.i7CJB5W8004972@lazarus.cryptonym.net>
Date: Thu, 12 Aug 2004 12:11:05 -0700 (PDT)
From: Seth <bsd@cryptonym.net>
Reply-To: Seth <bsd@cryptonym.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Unexpected graceful shutdowns
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         70378
>Category:       misc
>Synopsis:       Unexpected graceful shutdowns
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 12 19:20:18 GMT 2004
>Closed-Date:    Thu Aug 12 20:19:42 GMT 2004
>Last-Modified:  Fri Aug 13 02:40:21 GMT 2004
>Originator:     Seth
>Release:        FreeBSD 5.2.1-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD munged 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #1: Fri Jun 11 22:47:47 PDT 2004 seth@munged:/usr/src/sys/i386/compile/KERNEL-A i386


>Description:

On 4 August 2004 the machine unexpectedly shut down and rebooted.  The
only logs are as follows:

Aug  4 09:01:40 lazarus kernel: Shutting down daemon processes:

followed by user processes and syslog notifying of SIGTERM.

The system came back up 2 minutes later with filesystems marked as clean.

On 11 August 2004 the machine did the same thing:

Aug 11 14:01:29 lazarus kernel: Shutting down daemon processes:

followed by the same process messages.  System came back up clean.

kldstat shows
Id Refs Address    Size     Name
 1    7 0xc0400000 368cdc   kernel
 2    1 0xc0769000 50dbc    acpi.ko
 3    1 0xc45cc000 19000    linux.ko

so it's possible that it's acpi doing it.  There are no temperature
sensors on this motherboard, but I have sensors on the disks, and
they show the following temps immediately prior to shutdown:
(temps in C, 4 disks probed).


Aug  4 09:00:01 lazarus root: temperature: 33 36 31 36
Aug 11 14:00:01 lazarus root: temperature: 35 36 32 38

The processor is a 1GHz P3 with its own fan (confirmed operational).

>How-To-Repeat:

It appears that this might be a weekly thing, but I only have two
datapoints.  There's nothing in cron that would cause this.
>Fix:

Unknown.  What I'd really like is a way to turn on logging that would
help pinpoint the problem.  Is there any way to rule out acpi?  Any
other suggestions for logging / forensics would be great.

>Release-Note:
>Audit-Trail:

From: Spam Sucks <spamsux9999@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org
Cc:  
Subject: Re: misc/70378: Unexpected graceful shutdowns
Date: Thu, 12 Aug 2004 12:30:45 -0700 (PDT)

 On second thought, I'm not sure this is appropriate as
 a PR.  I'll ask the lists first.  Please close.
 
 Thanks.
 
 
 
 		
 __________________________________
 Do you Yahoo!?
 Yahoo! Mail is new and improved - Check it out!
 http://promotions.yahoo.com/new_mail
State-Changed-From-To: open->closed 
State-Changed-By: ceri 
State-Changed-When: Thu Aug 12 20:19:24 GMT 2004 
State-Changed-Why:  
Closed at submitter's request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70378 

From: Gregory Bond <gnb@itga.com.au>
To: Seth <bsd@cryptonym.net>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: misc/70378: Unexpected graceful shutdowns 
Date: Fri, 13 Aug 2004 12:32:39 +1000

 I saw a similar situation once a long time ago. It turned out to be a script 
 run as root that had a logic bug that meant it wound up doing "kill -INT 1"....
 
 
>Unformatted:
