From owner-freebsd-acpi@FreeBSD.ORG Tue Sep 21 07:04:07 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F32BC1065694; Tue, 21 Sep 2010 07:04:06 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id D4DCE8FC13; Tue, 21 Sep 2010 07:04:05 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id KAA26842; Tue, 21 Sep 2010 10:04:03 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1OxwtX-000Np0-EL; Tue, 21 Sep 2010 10:04:03 +0300 Message-ID: <4C9858E2.4060602@icyb.net.ua> Date: Tue, 21 Sep 2010 10:04:02 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20100918 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: freebsd-acpi@freebsd.org References: <20100921001533.803ef029.daniel.bilik@neosystem.cz> In-Reply-To: <20100921001533.803ef029.daniel.bilik@neosystem.cz> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Daniel Bilik Subject: Re: acpi0: Could not initialise SystemMemory handler: AE_NOT_EXIST X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2010 07:04:07 -0000 on 21/09/2010 01:15 Daniel Bilik said the following: > I've tried to get FreeBSD run on HP Mini 5102, but both 8-STABLE and > 9-CURRENT fail to attach ACPI: > cpu0 (BSP): APIC ID: 0 > cpu1 (AP/HT): APIC ID: 1 > ioapic0: Changing APIC ID to 1 > ioapic0 irqs 0-23 on motherboard > kbd1 at kbdmux0 > acpi0: on motherboard > ACPI Error: No handler for Region [PMIO] (0xffffff00024b1d00) [SystemIO] (20100331/evregion-487) > ACPI Error: Region SystemIO(0x1) has no handler (20100331/exfldio-383) > ACPI Error (psparse-0633): Method parse/execution failed [\_SB_.PCI0.GSWS] (Node 0xffffff00024c63e0), AE_NOT_EXIST > ACPI Error (psparse-0633): Method parse/execution failed [\_SB_.SSMI] (Node 0xffffff00024af400), AE_NOT_EXIST > ACPI Error (psparse-0633): Method parse/execution failed [\_SB_.PCI0.GFX0._REG] (Node 0xffffff00024ac9e0), AE_NOT_EXIST > acpi0: Could not initialise SystemMemory handler: AE_NOT_EXIST Hmm, seems like a dependency problem with address space handlers? I.e. registration of SystemMemory handler requires SystemIO handler to be already installed? BTW, it seems that NetBSD 5 has the block that installs the handlers under 'notyet'. Also, it seems that AcpiEnableSubsystem() also installs the default handlers, if not already installed, but without calling _REG methods. I mean the call to AcpiEvExecuteRegMethods at the end of AcpiInstallAddressSpaceHandler. Or, is this a general ACPICA issue of calling _REG that it shouldn't actually call? Perhaps a bug in AcpiEvRegRun? P.S. Link to ASL of supposedly this machine that I googled up: http://tavvva.net/data/hp_mini_5102-acpidump.txt -- Andriy Gapon