From owner-freebsd-questions@FreeBSD.ORG Sun Dec 14 20:36:23 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 0442B1065672 for ; Sun, 14 Dec 2008 20:36:23 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id ABC8B8FC0C for ; Sun, 14 Dec 2008 20:36:22 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by an-out-0708.google.com with SMTP id c2so818857anc.13 for ; Sun, 14 Dec 2008 12:36:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=o7AdTB0KZA99+tOBvEmjUMNga7+K9iyomZ1AYyJla24=; b=tangA3RHlD/Qx3iGF7n1UEr1WJUOov05nmrpp+gYn7ZLr0wVNaCmAUE4lxOOEbbSGL Bs4wGAELKIZN5zggBN0CLzfCA7v7BnHhfT6MNAO6dn4ul8jbrmTgvHcN4ewzr9+ttqtB AcopDqbYF6MWqk87i83sxYbKHzhBgXwIhAlLc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=d9u6nDuKFsZr8bbVz8RiZMMcf9hIOvsEt9A4qpngmsyeg/43OISDlsfUqDeMm08W2s 02pTiGqHEe0g6+JyvCvvLov0NoIbmcJoUFFtTSsZo4Kc6n8VEK3YG8DJ8QGTxXCQlAaM wMYj6DAkm+pXvQVh+rSGGmcvQWhBecK/wdsbg= Received: by 10.231.16.129 with SMTP id o1mr70390iba.9.1229286981662; Sun, 14 Dec 2008 12:36:21 -0800 (PST) Received: by 10.231.10.130 with HTTP; Sun, 14 Dec 2008 12:36:21 -0800 (PST) Message-ID: <3a142e750812141236x7308cc84u2ecc2aefc25fb7d4@mail.gmail.com> Date: Sun, 14 Dec 2008 21:36:21 +0100 From: "Paul B. Mahol" To: "Robert Richards" In-Reply-To: <43c4e0a0812141200j52fd8951j68f4f804024bb785@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <43c4e0a0812141200j52fd8951j68f4f804024bb785@mail.gmail.com> 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Dec 2008 20:36:23 -0000 On 12/14/08, Robert Richards wrote: > 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. Maybe it is "overheat" problem, look at temperature sensors. But something should be displayed in "dmesg" and "last" output. Read /var/log/dmesg.old -- Paul