From owner-acpi-jp@jp.freebsd.org  Fri Sep 29 13:30:13 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id NAA99129;
	Fri, 29 Sep 2000 13:30:13 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from shidahara1.planet.sci.kobe-u.ac.jp (shidahara1.planet.sci.kobe-u.ac.jp [133.30.50.200])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id NAA99121;
	Fri, 29 Sep 2000 13:30:10 +0900 (JST)
	(envelope-from takawata@shidahara1.planet.sci.kobe-u.ac.jp)
Received: from shidahara1.planet.sci.kobe-u.ac.jp (localhost [127.0.0.1])
	by shidahara1.planet.sci.kobe-u.ac.jp (8.9.3/8.9.3) with ESMTP id NAA28176;
	Fri, 29 Sep 2000 13:28:04 +0900 (JST)
	(envelope-from takawata@shidahara1.planet.sci.kobe-u.ac.jp)
Message-Id: <200009290428.NAA28176@shidahara1.planet.sci.kobe-u.ac.jp>
To: msmith@freebsd.org
Cc: acpi-jp@jp.freebsd.org, iwasaki@jp.freebsd.org
In-reply-to: Your message of "Thu, 28 Sep 2000 11:19:43 MST."
             <200009281819.e8SIJhA01660@mass.osd.bsdi.com>
Date: Fri, 29 Sep 2000 13:28:04 +0900
From: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: acpi-jp 686
Subject: [acpi-jp 686] Re: My system hang with ACPI kernel thread 
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: takawata@shidahara1.planet.sci.kobe-u.ac.jp

In message <200009281819.e8SIJhA01660@mass.osd.bsdi.com>, Mike Smith wrote:
>diff -u -r1.416 files
>--- conf/files	2000/09/23 22:21:39	1.416
>+++ conf/files	2000/09/27 10:17:04
>@@ -75,7 +75,8 @@
> #dev/aac/aac_debug.c	optional aac
> dev/aac/aac_disk.c	optional aac
> dev/aac/aac_pci.c	optional aac pci
>-dev/acpi/acpi.c		count acpi
>+dev/acpi/acpi.c		optional acpi
>+dev/acpi/acpi_io.c	optional acpi
> dev/acpi/acpi_powerres.c	optional	acpi
> dev/acpi/aml/aml_amlmem.c	optional	acpi
> dev/acpi/aml/aml_common.c	optional	acpi

The 'dev/acpi/acpi.c' line  should be count for now.
#define NACPI 1
is needed not for acpi module it self, but needed for i386/i386/bios.c and
i386/i386/machdep.c

To get rid of it,
1.Move ACPI bios detection code to acpi probe 
(export some utility function is needed ,and spliting pnpbios driver 
will be better  design,IMHO.)

2.Export Int15h E820H-compatible format of memory map.
It may be good design to eject the real memory detection code 
to boot loader.This is not only solve this problem,but also 
solve Libretto30 16bpp X problem cleanly(*).

(*)
To use X on Libretto30 with 16bpp mode,15M-16M range memory 
should not be used.And BIOS cannot detect it,so 
user should override memory detection. see

http://www.jp.freebsd.org/cgi/cvsweb.cgi/PAO3/src/sys/i386/i386/machdep.c?r1=1.6&r2=1.7&cvsroot=freebsd-jp

Takanori Watanabe
<a href="http://www.planet.sci.kobe-u.ac.jp/~takawata/key.html">
Public Key</a>
Key fingerprint =  2C 51 E2 78 2C E1 C5 2D  0F F1 20 A3 11 3A 62 2A 
