From owner-acpi-jp@jp.FreeBSD.org Tue Mar 23 05:09:53 2004
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id i2MK9rZ29337;
	Tue, 23 Mar 2004 05:09:53 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from root.org (root.org [67.118.192.226])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with SMTP/inet id i2MK9qd29332
	for <acpi-jp@jp.FreeBSD.org>; Tue, 23 Mar 2004 05:09:52 +0900 (JST)
	(envelope-from nate@root.org)
Received: (qmail 34226 invoked by uid 1000); 22 Mar 2004 20:09:46 -0000
From: Nate Lawson <nate@root.org>
To: Ion-Mihai Tetcu <itetcu@apropo.ro>
cc: freebsd-current@freebsd.org, acpi-jp@jp.FreeBSD.org
In-Reply-To: <20040322215656.6e460fa0@it.buh.cameradicommercio.ro>
Message-ID: <20040322120722.E34213@root.org>
References: <20040322192654.2f24ef17@it.buh.cameradicommercio.ro>
 <20040322111119.P33933@root.org> <20040322215656.6e460fa0@it.buh.cameradicommercio.ro>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Mon, 22 Mar 2004 12:09:46 -0800
X-Sequence: acpi-jp 3132
Subject: [acpi-jp 3132] Re: ACPI (_PRS has invalid type 7) problem / regression
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: nate@root.org
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+040307

On Mon, 22 Mar 2004, Ion-Mihai Tetcu wrote:
> On Mon, 22 Mar 2004 11:33:36 -0800 (PST)
> Nate Lawson <nate@root.org> wrote:
> > > The change must have happen between 2004_03_04 and 2004_03_18.
> >
> > I don't think it was the _PRS changes on 3/18 and 3/20.  I'm suspecting
> > the ACPI-CA import of 0311.  You can revert all changes to acpi_pcib.c by
> > copying this file over sys/dev/acpica/acpi_pcib.c and recompiling your
> > kernel:
> >
> > http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/acpica/acpi_pcib.c?rev=1.36&content-type=text/plain
> >
> > I suspect it won't change anything for you but please test this to be
> > sure.
>
> I'm doing it right now, thank you.
> (Recompiling the acpi.ko wouldn't be enough ?)

Yes, recompiling just the acpi kernel module would be fine.

> > Your ASL returns a different interrupt link resource based on an external
> > variable DEID.  It may be thinking it's in PIC mode and returning the IRQ
> > resource instead of APIC mode and the Interrupt resource.  See the section
> > for ALKC to see what I'm talking about.
>
> Where do I find this section ?

Device (ALKC) in your ASL.

One other thing you might try if reverting acpi_pcib.c doesn't help is to
set hw.acpi.serialize_method=0 at the loader prompt.  If that doesn't
work, set hw.acpi.osi_name=0 at the prompt.  Then try both.

-Nate
