From owner-acpi-jp@jp.FreeBSD.org Sat Jul 13 02:37:16 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g6CHbGD25512;
	Sat, 13 Jul 2002 02:37:16 +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 g6CHbDn25492
	for <acpi-jp@jp.FreeBSD.org>; Sat, 13 Jul 2002 02:37:13 +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 g6CHb5h14326;
	Sat, 13 Jul 2002 02:37:05 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Date: Sat, 13 Jul 2002 02:36:49 +0900 (JST)
Message-Id: <20020713.023649.122826481.iwasaki@jp.FreeBSD.org>
To: acpi-jp@jp.FreeBSD.org, haro@h4.dion.ne.jp
Cc: iwasaki@freebsd.org
From: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
In-Reply-To: <20020712010324T.haro@h4.dion.ne.jp>
References: <20020712010324T.haro@h4.dion.ne.jp>
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+020713
X-Sequence: acpi-jp 1675
Subject: [acpi-jp 1675] Re: Panic after import of 20020611 ACPICA
Errors-To: owner-acpi-jp@jp.FreeBSD.org
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: iwasaki@jp.FreeBSD.org

> Hi Iwasaki-san,
> 
> After the import of 20020611 ACPICA, I'm getting panic on system boot,
> due to handling error for PCI intrrupt routing.
> BTW, my PC is a Sony Vaio PCG-V505V/BP.
> 
> I've attached the dmesg for troubled 20020611 version of acpi.ko, and
> same kernel with 20020404 version of acpi.ko module.
> 
> FYI, I'll look into the problem myself, this weekend.

Hmm, does attached patch solve your problem?

Thanks

Index: rsio.c
===================================================================
RCS file: /home/ncvs/src/sys/contrib/dev/acpica/rsio.c,v
retrieving revision 1.1.1.7
diff -u -r1.1.1.7 rsio.c
--- rsio.c	9 Jul 2002 17:51:30 -0000	1.1.1.7
+++ rsio.c	12 Jul 2002 17:33:59 -0000
@@ -501,12 +501,14 @@
             i++;
         }
     }
+#if 0
     if (i == 0)
     {
         /* Zero channels is invalid! */
 
         return_ACPI_STATUS (AE_BAD_DATA);
     }
+#endif
     OutputStruct->Data.Dma.NumberOfChannels = i;
 
 
Index: rsirq.c
===================================================================
RCS file: /home/ncvs/src/sys/contrib/dev/acpica/rsirq.c,v
retrieving revision 1.1.1.9
diff -u -r1.1.1.9 rsirq.c
--- rsirq.c	9 Jul 2002 17:51:30 -0000	1.1.1.9
+++ rsirq.c	12 Jul 2002 17:34:08 -0000
@@ -190,12 +190,14 @@
         }
     }
 
+#if 0
     if (i == 0)
     {
         /* Zero interrupts is invalid! */
 
         return_ACPI_STATUS (AE_BAD_DATA);
     }
+#endif
     OutputStruct->Data.Irq.NumberOfInterrupts = i;
 
     /*


