From owner-acpi-jp@jp.FreeBSD.org Sun May  4 02:53:41 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id h43HrfU34921;
	Sun, 4 May 2003 02:53:41 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from harmony.village.org (warner@rover.bsdimp.com [204.144.255.66])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id h43HrdY34916
	for <acpi-jp@jp.FreeBSD.org>; Sun, 4 May 2003 02:53:39 +0900 (JST)
	(envelope-from imp@bsdimp.com)
Received: from localhost (warner@rover2.village.org [10.0.0.1])
	by harmony.village.org (8.12.8/8.12.3) with ESMTP id h43HrVA7029983;
	Sat, 3 May 2003 11:53:31 -0600 (MDT)
	(envelope-from imp@bsdimp.com)
Message-Id: <20030503.115322.59654295.imp@bsdimp.com>
To: nate@root.org
Cc: scott_long@btc.adaptec.com, thomas.sparrevohn@eds.com,
   acpi-jp@jp.FreeBSD.org
From: "M. Warner Losh" <imp@bsdimp.com>
In-Reply-To: <Pine.BSF.4.21.0305031039180.607-100000@root.org>
References: <3EB2ABE2.6000704@btc.adaptec.com>
	<Pine.BSF.4.21.0305031039180.607-100000@root.org>
X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Sat, 03 May 2003 11:53:22 -0600
X-Sequence: acpi-jp 2174
Subject: [acpi-jp 2174] Re: HEADSUP: acpi 0228 in the tree
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: imp@bsdimp.com
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030405

In message: <Pine.BSF.4.21.0305031039180.607-100000@root.org>
            Nate Lawson <nate@root.org> writes:
: On Fri, 2 May 2003, Scott Long wrote:
: > Ok, let me restate:
: > 
: > Before last night, I was running 5-current as of April 10.  No ACPI
: > warnings happened after boot, and soft-power off worked.  Now with
: > 5-current as of May 2, 2003, 0230 GMT, soft power off doesn't work right
: > and I get lots of warnings during normal uptime as described above.
: > This isn't a complaint about a broken BIOS, this is feedback (which I
: > beleive you asked for) of regressions from the latest import.
: 
: Warner just imported a fix for hwregs.c from 0424.  Does it help?  I still
: do not think importing all of 0424 is the right answer for 5.1 but
: bringing in specific fixes from the vendor is fine with me (Thanks
: Warner!)  Intel guys, is there any other fix we should bring in from 0424
: that still applies to 0228?

I don't know if all of 0424 is necessary or not.  I just felt that
halt -p breaking was too big a problem to not fix...  I was sweating
bullets as I typed the import command, I must admit :-)

: If it doesn't help, please do "acpidump -o scottl.dsdt > scottl.asl" and
: mail me a URL.  I'm hoping to spend some time in amldb today to see if I
: can find any other problems.

http://people.freebsd.org/~imp/acpi/imp.dsdt
http://people.freebsd.org/~imp/acpi/imp.asl

is where my output is.  I have a ATI Rage 128 Mobility MF (AGP) on my
Dell.  Like I've said before, it suspends just fine (both -s 1 and -s
3, but not -s 4 due to no partition on my disk[*]).  However, resume
doesn't turn the card back on right.  It did through october or
november or so, but stopped working then and hasn't started back up
again.  I too get the useless:
    ACPI-0293: *** Warning: Buffer created with zero length in AML
        -0166: *** Error: UtAllocate: Attempt to allocate zero bytes
error messages, for no reason that's obvious from the messages (other
than in the deep bowls of acpi, it detected a small bogosity).

Warner

[*] If someone can tell me how to setup a disk partition, I'd love to
start testing it...
