From owner-freebsd-questions@FreeBSD.ORG Mon Nov 19 00:39:30 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9539116A468 for ; Mon, 19 Nov 2007 00:39:30 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 1413E13C45D for ; Mon, 19 Nov 2007 00:39:29 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id lAJ0cqt2026108; Sun, 18 Nov 2007 16:38:54 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id lAJ0cnjf026107; Sun, 18 Nov 2007 16:38:49 -0800 (PST) (envelope-from kline) Date: Sun, 18 Nov 2007 16:38:48 -0800 From: Gary Kline To: n j , "Anthony M. Rasat" , freebsd-questions@freebsd.org Message-ID: <20071119003848.GB26008@thought.org> References: <92bcbda50711180451h5db8f4ady6e2d21da80d32548@mail.gmail.com> <20071118163747.36C5F4AB7D@mail.kaltimpost.net> <92bcbda50711181312l1dc6b26cteaad3c8db11e17b6@mail.gmail.com> <20071118225849.GA84995@slackbox.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071118225849.GA84995@slackbox.xs4all.nl> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 21 of service to the Unix community. Cc: Subject: Re: Unexpected shutdown X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 00:39:30 -0000 On Sun, Nov 18, 2007 at 11:58:49PM +0100, Roland Smith wrote: > On Sun, Nov 18, 2007 at 10:12:34PM +0100, n j wrote: > > I know there are many possibilities out there, but I am pondering this > > for the whole day and ruled out everything that came to mind. So, any > > other ideas - even humorous - are welcome. > > Since it was a regular shutdown as opposed to a panic, something must > have triggered that shutdown. > > UPS drivers can shut the system down, but you seemed to have ruled > that out? > > It could be triggered by the acpi_thermal driver. Check system > temperatures with sysctl or mbmon. > > Roland If the system both shutdown *and* rebooted, I had the same inexplicable thing happen to me many times. It began happening to my Dell 8200 (hmm?) say, three months ago, and I believe I solved the problem about 6 weeks ago. There was some unknown fs fault in my /var slice. Just by sheer chance, I watched my server abruptly powered down when something [maybe] tried to write to /var/* and failed. At first I thought it was bad memory; then, just-maybe, a bad drive. (The drive is new, and 512MB of the DDR is also new.) I also thought it was a heat problem, and that I needed another fan. ... . Long story short, I saved /var /, then found something I couldn't remove. chflags did no good. Finally I did a /bin/rm -rf /var. After I added it back, newfs'd it, and copied back the stuff, no-more-spontaneous-and-random reboots. gary PS: it was fsck that couldn't fix the bad spot. The fault was related to an inode allocation snafu. but i've never hacked any fs code, so .... > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org