From owner-acpi-jp@jp.FreeBSD.org Wed Jul  3 14:29:05 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g635T5489414;
	Wed, 3 Jul 2002 14:29:05 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from tasogare.imasy.or.jp (root@tasogare.imasy.or.jp [202.227.24.5])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id g635T4n89409
	for <acpi-jp@jp.FreeBSD.org>; Wed, 3 Jul 2002 14:29:04 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Received: from localhost (iwa@tasogare.imasy.or.jp [202.227.24.5])
	by tasogare.imasy.or.jp (8.11.6+3.4W/8.11.6/tasogare) with ESMTP/inet id g635SsZ69239;
	Wed, 3 Jul 2002 14:28:55 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Date: Wed, 03 Jul 2002 14:28:28 +0900 (JST)
Message-Id: <20020703.142828.39150198.iwasaki@jp.FreeBSD.org>
To: acpi-jp@jp.FreeBSD.org, robert.moore@intel.com
From: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
In-Reply-To: <B9ECACBD6885D5119ADC00508B68C1EA053DDCA8@orsmsx107.jf.intel.com>
References: <B9ECACBD6885D5119ADC00508B68C1EA053DDCA8@orsmsx107.jf.intel.com>
X-Mailer: Mew version 2.1 on Emacs 20.7 / Mule 4.0 (HANANOEN)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+020630
X-Sequence: acpi-jp 1656
Subject: [acpi-jp 1656] Re: Intel's acpi 
Errors-To: owner-acpi-jp@jp.FreeBSD.org
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: iwasaki@jp.FreeBSD.org

Hi,

> +can't fetch resources for \\_SB_.PCI0.ISA_.LNK6 - AE_BAD_DATA
> +can't fetch resources for \\_SB_.PCI0.ISA_.LNK7 - AE_BAD_DATA
> 
> This comes from the execution of the _CRS method and the resulting
> extraction of the resource data.

Yes, I also noticed that the following added code to 20020611 return
AE_BAD_DATA.  It seems my machine's BIOS has wrong resource data
setting.

--- rsirq.c     23 Feb 2002 05:10:40 -0000      1.1.1.8
+++ rsirq.c     1 Jul 2002 21:39:53 -0000
@@ -183,18 +183,25 @@
 
     for (i = 0, Index = 0; Index < 16; Index++)
     {
-        if((Temp16 >> Index) & 0x01)
+        if ((Temp16 >> Index) & 0x01)
         {
             OutputStruct->Data.Irq.Interrupts[i] = Index;
             i++;
         }
     }
+
+    if (i == 0)
+    {
+        /* Zero interrupts is invalid! */
+
+        return_ACPI_STATUS (AE_BAD_DATA);
+    }


> I've added additional error messages to the resource code to help isolate
> these BAD_DATA errors.

Thanks.
