From owner-freebsd-current@FreeBSD.ORG Tue Aug 19 16:37:24 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A995016A4BF; Tue, 19 Aug 2003 16:37:24 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0814243FA3; Tue, 19 Aug 2003 16:37:24 -0700 (PDT) (envelope-from davidxu@FreeBSD.org) Received: from localhost (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h7JNbLUp025360; Tue, 19 Aug 2003 16:37:22 -0700 (PDT) (envelope-from davidxu@FreeBSD.org) From: David Xu To: John Baldwin , Stephen Montgomery-Smith Date: Wed, 20 Aug 2003 07:40:24 +0800 User-Agent: KMail/1.5.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308200740.24284.davidxu@FreeBSD.org> cc: freebsd-current@FreeBSD.org Subject: Re: ACPI on Tyan Motherboard X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: davidxu@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2003 23:37:25 -0000 On Wednesday 20 August 2003 02:49, John Baldwin wrote: > > Here's how it works: The BIOS/hardware monitor the power button. When an > OS tells the BIOS that it is ACPI, then the BIOS doesn't do an instant turn > off when the power button is pressed, but waits to do so until the power > button has been held down for 4 seconds. If the power button after 4 > seconds doesn't work, it's still a hardware problem. FreeBSD can not fix > your hardware problem. When you press the power button with an ACPI OS > running, the hardware sends an interrupt to the OS. The OS then shuts down > and asks the BIOS (via ACPI) to power off the machine. If the machine > doesn't physically turn off, it's because your BIOS is screwed up and > didn't handle the power down command properly. The fact that the 4 second > trick (which as above bypasses FreeBSD completely and has the BIOS call > that power down method itself) produces the same broken results means that > this bug is in your hardware. > > FreeBSD sleeps for a bit when it does a halt -p as a workaround for broken > IDE disks which claim that writes have hit the media when they are still in > the disks cache, so that is a separate issue. > > If you want more info on ACPI and how it works, feel free to head on over > to www.acpi.info and read the spec for yourself. Windows 2000 can shutdown my Tiger 230T in very short time, while FreeBSD is always timeouted with halt -p. I dont't think it is hardware or BIOS problem, FreeBSD must be wrong in something, just like FreeBSD ATA bug for my Tiger 230T, all OS I have in hand work fine, only FreeBSD does not. David Xu