From owner-acpi-jp@jp.freebsd.org  Sat Feb 24 06:56:01 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id GAA39613;
	Sat, 24 Feb 2001 06:56:01 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id GAA39606
	for <acpi-jp@jp.freebsd.org>; Sat, 24 Feb 2001 06:55:59 +0900 (JST)
	(envelope-from gallatin@cs.duke.edu)
Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30])
	by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id QAA26384;
	Fri, 23 Feb 2001 16:55:55 -0500 (EST)
Received: (from gallatin@localhost)
	by grasshopper.cs.duke.edu (8.11.2/8.9.1) id f1NLtPh87308;
	Fri, 23 Feb 2001 16:55:25 -0500 (EST)
	(envelope-from gallatin@cs.duke.edu)
From: Andrew Gallatin <gallatin@cs.duke.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14998.56397.93642.417117@grasshopper.cs.duke.edu>
Date: Fri, 23 Feb 2001 16:55:25 -0500 (EST)
To: John Baldwin <jhb@freebsd.org>
Cc: msmith@freebsd.org, acpi-jp@jp.freebsd.org
In-Reply-To: <XFMail.010223135133.jhb@FreeBSD.org>
References: <14998.52839.389426.155188@grasshopper.cs.duke.edu>
	<XFMail.010223135133.jhb@FreeBSD.org>
X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: acpi-jp 1076
Subject: [acpi-jp 1076] RE: status of ACPI based power-mgmnt in -current?
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: gallatin@cs.duke.edu


John Baldwin writes:
 > 
 > On 23-Feb-01 Andrew Gallatin wrote:
 > > 
 > > Hi,
 > > 
 > > I've been playing with FreeBSD-current's ACPI features on a Dell
 > > PowerEdge-4400.  I cannot seem to make the machine power-off, nor can
 > > I suspend it.   Can somebody help?
 > > 
 > > I've attempted to power the machine off via:
 > ># acpiconf -e
 > ># halt -p
 > > 
 > > I then see this on the serial console:
 > > 
 > >   Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped
 > >   Waiting (max 60 seconds) for system process `syncer' to stop...stopped
 > > 
 > >   syncing disks... 
 > >   done
 > >   Uptime: 8m2s
 > >   Power system off using ACPI...
 > > 
 > > 
 > > However, the machine is still up and running (power LED on, all 8
 > > disks spinning, etc).  If I attempt to press the power button, I see
 > > one "stray irq 9" on console.
 > 
 > Let me guess, in your ACPI dump it says you have an INT_MODEL of APIC?  I have
 > similar problems on my SMP boxes here.  I think that currently the ACPI code
 > doesn't handle this right, (APIC INT_MODEL) as it tries to register the PIC IRQ
 > 9 for its interrupt, rather than intpin 9 on the i/o apic, but Mike Smith might
 > be more knowledgable about this.

Yes:

<....>
INT_MODEL=APIC
SCI_INT=9
SMI_CMD=0xb0, ACPI_ENABLE=0x69, ACPI_DISABLE=0x6a, S4BIOS_REQ=0x0
<....>

However: The machine is uniprocessor, and I'm not using the PIC, not
the APIC.

Drew
