From owner-freebsd-questions@FreeBSD.ORG Wed Jan 31 01:24:50 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D519016A402 for ; Wed, 31 Jan 2007 01:24:50 +0000 (UTC) (envelope-from jvender@owensboro.net) Received: from zoot.cinergycom.net (zoot.cinergycom.net [216.135.3.11]) by mx1.freebsd.org (Postfix) with ESMTP id B443113C4A3 for ; Wed, 31 Jan 2007 01:24:50 +0000 (UTC) (envelope-from jvender@owensboro.net) Received: from evvlinlwt-nas-03-s394.cinergycom.net ([216.135.27.140]) by zoot.cinergycom.net with esmtpa (Exim 4.52) id 1HC4DR-0002h6-Q4 for freebsd-questions@freebsd.org; Tue, 30 Jan 2007 19:24:50 -0600 From: Joe Vender To: freebsd-questions@freebsd.org Date: Tue, 30 Jan 2007 19:20:47 -0600 User-Agent: KMail/1.9.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701301920.48499.jvender@owensboro.net> X-CCC-Authenticated: jvender@owensboro.net zoot.cinergycom.net 216.135.27.140 20070131012450Z 84cb550ad8a0291c0f5c0592b64208b5 X-CCC-Cleanmail-Virus-Signature: d4c0394427b9d261ae082c3af18fba6e Subject: Re: FreeBSD 6.1 & 6.2 hanging and/or spontaneous rebooting 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: Wed, 31 Jan 2007 01:24:50 -0000 I think I've fixed the spontaneous reboot and system hang problem I've been having with FBSD 6.1 & 6.2 as described in earlier threads of the same subject. I'm now using FBSD 6.2 to send this message. What I did was to set a hint in /boot/device.hints and also /boot/loader.conf to disable acpi hint.acpi.0.disabled="1" and then I set a hint to enable apm hint.apm.0.disabled="0" hint.apm.0.flags="0x20" plus I set apm and apmd to start at boot in /etc/rc.conf apm_enable="YES" apmd_enable="YES" and in /boot/loader.conf, I put apm_load="YES" The messages log shows that APM is being detected, and the computer now fully powers down via "shutdown -p now". I've a suggestion. It would be nice if freebsd could try to detect if acpi is supported on the computer in which it is being installed, and if none is found, it should completely disable acpi and then check if apm is supported. It should then set the appropriate settings to enable the correct power management support for the computer. This would prevent this particular spontaneous rebooting and hanging on old computers like mine which are pre-acpi but have apm support. So far, I haven't had any problems using KPPP. I've been up for over an hour and I've never been able keep the computer up for this long before making these changes. Joe Vender