From owner-freebsd-acpi@FreeBSD.ORG Mon Oct 18 17:33:42 2010 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id A056F106566C; Mon, 18 Oct 2010 17:33:42 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-acpi@FreeBSD.org Date: Mon, 18 Oct 2010 13:33:26 -0400 User-Agent: KMail/1.6.2 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201010181333.29143.jkim@FreeBSD.org> Cc: vbox@freebsd.org, Bernhard Froehlich Subject: Re: VirtualBox: Compile problems with ACPICA 20101013 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: Mon, 18 Oct 2010 17:33:42 -0000 On Monday 18 October 2010 05:44 am, Bernhard Froehlich wrote: > Hi guys! > > VirtualBox has a compile problem with latest acpica. I've talked to > the VirtualBox developers and they think it's an acpica problem > which should be fixed upstream. Can we somehow file a bugreport or > create a patch to fix that in acpica? Excerpt rom ACPI 4.0a: --------------------------------------------------- Each Compatible Device ID must be either: o A valid HID value (a 32-bit compressed EISA type ID or a string such as "ACPI0004"). o A string that uses a bus-specific nomenclature. For example, _CID can be used to specify the PCI ID. --------------------------------------------------- Since it is not a valid HID value, you can only say it may be a bus-specific nomenclature at best. However, it looks like an ISA device to me and probably it is just a bogus ID. In fact, I googled a bit and it only exists on some Intel Mac models, it seems. You can just remove the entire _CID unless it is absolutely necessary, which is very unlikely. :-) Jung-uk Kim > Compile error: > kBuild: iasl DevicesR3 - > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/ >VBox/Devices/PC/vbox.dsl > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/ >VBox/Devices/PC/vbox.dsl 736: Name (_CID, > "smc-napa") > Error 4001 - > String must be entirely > alphanumeric ^ (smc-napa) > > ASL Input: > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/ >VBox/Devices/PC/vbox.dsl - 1305 lines, 46193 bytes, 288 keywords > Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 404 > Optimizations > > > I have found the commit that introduces this additional checks: > http://git.moblin.org/cgit.cgi/acpica/commit/?id=b66fd716e0b9b5389e >544c58df189c817f316c3b > > and here is the dsl file from virtualbox: > http://www.virtualbox.org/browser/trunk/src/VBox/Devices/PC/vbox.ds >l#L781 > > > Thanks!