From owner-freebsd-emulation@FreeBSD.ORG Thu Apr 29 22:37:37 2010 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [69.147.83.40]) by hub.freebsd.org (Postfix) with ESMTP id 295D8106566B; Thu, 29 Apr 2010 22:37:36 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-emulation@FreeBSD.org Date: Thu, 29 Apr 2010 18:37:26 -0400 User-Agent: KMail/1.6.2 References: <4BD9FBA3.1050707@protected-networks.net> In-Reply-To: <4BD9FBA3.1050707@protected-networks.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_oog2LGYkzQHTdzv" Message-Id: <201004291837.29355.jkim@FreeBSD.org> Cc: Subject: Re: VirtualBox 3.2.0-beta-1 fails to compile on -current X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 22:37:38 -0000 --Boundary-00=_oog2LGYkzQHTdzv Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thursday 29 April 2010 05:35 pm, Michael Butler wrote: > Something is amiss with the ACPI code .. > > kBuild: Compiling DevicesR3 - > /usr/home/imb/svn/virtualbox-ose/work/VirtualBox-3.2.0_OSE/src/VBox >/Devices/PC/DevPIC.cpp kBuild: Compiling DevicesR3 - > /usr/home/imb/svn/virtualbox-ose/work/VirtualBox-3.2.0_OSE/src/VBox >/Devices/PC/DevACPI.cpp kBuild: iasl DevicesR3 - > /usr/home/imb/svn/virtualbox-ose/work/VirtualBox-3.2.0_OSE/src/VBox >/Devices/PC/vbox.dsl > /usr/home/imb/svn/virtualbox-ose/work/VirtualBox-3.2.0_OSE/src/VBox >/Devices/PC/vbox.dsl 998: 0xdfdfffff, > // Range Length (calculated > Error 4118 - > Length is not equal to fixed Min/Max window ^ > > ASL Input: > /usr/home/imb/svn/virtualbox-ose/work/VirtualBox-3.2.0_OSE/src/VBox >/Devices/PC/vbox.dsl - 1305 lines, 46225 bytes, 288 keywords > Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 404 The fixed range check is newly added feature of ACPICA 20100428. - sys/contrib/dev/acpica/changes.txt iASL: Implemented Min/Max/Len/Gran validation for address resource descriptors. This change implements validation for the address fields that are common to all address-type resource descriptors. These checks are implemented: Checks for valid Min/Max, length within the Min/Max window, valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as per table 6-40 in the ACPI 4.0a specification. Also split the large aslrestype1.c and aslrestype2.c files into five new files. ACPICA BZ 840. If the comment in the vbox.dsl is correct, the range will be dynamically patched at runtime. Please try the attached patch. It's against 3.1.6 but the line seems the same. At least, it should work around the build problem. ;-) Jung-uk Kim --Boundary-00=_oog2LGYkzQHTdzv Content-Type: text/plain; charset="iso-8859-1"; name="vbox.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="vbox.diff" --- src/VBox/Devices/PC/vbox.dsl.orig 2010-03-25 15:56:03.000000000 -0400 +++ src/VBox/Devices/PC/vbox.dsl 2010-04-29 18:17:24.000000000 -0400 @@ -1073,7 +1073,7 @@ 0xffdfffff, // Max = 4GB - 2MB 0x00000000, // Translation - 0xdfdfffff, // Range Length (calculated + 0xffe00000, // Range Length (calculated // dynamically) , // Optional field left blank , // Optional field left blank --Boundary-00=_oog2LGYkzQHTdzv--