From owner-freebsd-questions@FreeBSD.ORG Sun Dec 14 20:39:16 2008 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 EA2C81065675 for ; Sun, 14 Dec 2008 20:39:16 +0000 (UTC) (envelope-from 240olofsson@telia.com) Received: from av7-2-sn3.vrr.skanova.net (av7-2-sn3.vrr.skanova.net [81.228.9.182]) by mx1.freebsd.org (Postfix) with ESMTP id 848828FC1F for ; Sun, 14 Dec 2008 20:39:16 +0000 (UTC) (envelope-from 240olofsson@telia.com) Received: by av7-2-sn3.vrr.skanova.net (Postfix, from userid 502) id 9046E3874A; Sun, 14 Dec 2008 21:39:15 +0100 (CET) Received: from smtp3-1-sn3.vrr.skanova.net (smtp3-1-sn3.vrr.skanova.net [81.228.9.101]) by av7-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 4C1D13812D; Sun, 14 Dec 2008 21:39:15 +0100 (CET) Received: from [192.168.1.31] (90-230-141-139-no41.tbcn.telia.com [90.230.141.139]) by smtp3-1-sn3.vrr.skanova.net (Postfix) with ESMTP id E875237E4A; Sun, 14 Dec 2008 21:39:14 +0100 (CET) Message-ID: <49456EF2.1050902@telia.com> Date: Sun, 14 Dec 2008 21:39:14 +0100 From: Roger Olofsson <240olofsson@telia.com> User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Robert Richards References: <43c4e0a0812141200j52fd8951j68f4f804024bb785@mail.gmail.com> In-Reply-To: <43c4e0a0812141200j52fd8951j68f4f804024bb785@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Quite Stumped here, need suggestions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: raggen@raggens.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Dec 2008 20:39:17 -0000 Robert Richards skrev: > Hi All: > > I am running: FreeBSD 6.3-RELEASE-p5 #3: Sun Oct 5 15:31:05 EDT 2008 > On a Sager 8800 Laptop. I have had FreeBSD installed for about a year, > and all is working perfectly. I can bring up KDE, run many apps, all > without a problem, except for ONE recent development. Every so often > FreeBSD initiates a clean shutdown on it's own. Xwindows goes down > cleanly, kernel modules are unloaded, processes are stopped, drives > are cleanly dismounted, and the system is powered down. It's exactly > what you would expect if you issued a shutdown -h now command. No > core files are generated, and messages, even when the OS is brought up > with verbose logging shows nothing. > > After trying many things, including running with a previous kernel, a > GENERIC kernel, running in single-user mode, running minimalist, > etc.... I decided to buildworld and buildkernel and essentially > reinstall everything. > > While updating sources via cvsup, there was a shutdown. A subsequent > attempt completed successfully. I then cleared out /usr/obj and did a > make buildworld. After 39 minutes a shutdown. Repeated this, and a > shutdown happened after 7 minutes. I repeated this in single user > mode, with older kernels, with GENERIC kernel, same results, the > system shuts down cleanly at some point. Never at the same point or > doing the same task (Yes I used script as well; script simply exits > as if make said all done! ). It's as if a ghost-root issued a > shutdown -h command. > > One additional clue. If I bring the system up "without acpi" the > shutdown is instant, and unclean. No scripts are run, drives are left > dirty, but still no clue in the logs. > > I am now stumped! What could cause the system to shut down in this > fashion? With acpi active, the init scripts are executed in shutdown > mode. What could cause the kernel to believe it has received a command > to shutdown like this? > > I am not new to this stuff, but I have never seen anything like this. > I AM new to FreeBSD, I had been running Linux for years until > recently, and absolutely love the order, consistency, layout, and > clean architecture of this OS. But this is weird! > > Where to look? What to try? I am truly stumped here. > > Bob > > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.176 / Virus Database: 270.9.18/1848 - Release Date: 2008-12-14 12:28 > Hi Bob, Do the shutdowns appear after using the lap for some time? If that is the case then I'd guess it's a heat problem or a disk failing. Have you booted to single user and done fsck? /R