From owner-freebsd-current@FreeBSD.ORG Thu Jul 21 19:10:29 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51C581065670 for ; Thu, 21 Jul 2011 19:10:29 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-ey0-f176.google.com (mail-ey0-f176.google.com [209.85.215.176]) by mx1.freebsd.org (Postfix) with ESMTP id 4CDD78FC0A for ; Thu, 21 Jul 2011 19:10:27 +0000 (UTC) Received: by eya28 with SMTP id 28so2146245eya.21 for ; Thu, 21 Jul 2011 12:10:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=HWxjt/dl1sAQ4r/+1upSeW1AnPW3VChVqOhwWS9dyM4=; b=fRyxZafJE2uJgCgbHKoG/kC3DIuTtnbku1JNue9ErLgQ29zoPfEPuRP9gZzPAxZXVw D2nGCQux8Ghfmj4mR5NdelTX2QRQ2vuQ2pWCs0f0woCMq8hRW1sPPsrqnJaf1D/mtLoK 2u+OOPxhTlCIOEo4PoFmZ9oxq4wCCZR1vBDOc= MIME-Version: 1.0 Received: by 10.213.14.17 with SMTP id e17mr494750eba.94.1311275426644; Thu, 21 Jul 2011 12:10:26 -0700 (PDT) Received: by 10.213.11.17 with HTTP; Thu, 21 Jul 2011 12:10:26 -0700 (PDT) In-Reply-To: <201107211153.23979.jhb@freebsd.org> References: <4E263EFE.3040200@FreeBSD.org> <201107200904.45647.jhb@freebsd.org> <4E275529.7050802@FreeBSD.org> <201107211153.23979.jhb@freebsd.org> Date: Thu, 21 Jul 2011 14:10:26 -0500 Message-ID: From: Scot Hetzel To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Steve Wills , freebsd-current@freebsd.org, Bernhard Froehlich Subject: Re: em problem in virtualbox since the weekend X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2011 19:10:29 -0000 On Thu, Jul 21, 2011 at 10:53 AM, John Baldwin wrote: > Hmm, so there does look to be a reasonable _CRS method. =A0Oh, I think I = see > what I don't like: > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0DWordMemory (ResourceProducer, PosDecode, = MinNotFixed, MaxFixed, Cacheable, ReadWrite, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00x00000000, =A0 =A0 =A0 =A0 // Gra= nularity > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00x00000000, =A0 =A0 =A0 =A0 // Ran= ge Minimum > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00xFFDFFFFF, =A0 =A0 =A0 =A0 // Ran= ge Maximum > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00x00000000, =A0 =A0 =A0 =A0 // Tra= nslation Offset > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00x00000000, =A0 =A0 =A0 =A0 // Len= gth > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0,, _Y01, AddressRangeMemory, TypeS= tatic) > This patch fixed the problem with my recent install of FreeBSD 9.0 on VirtualBox. Thanks for the fix. Scot > It should be using MinFixed, not MinNotFixed. =A0Try this patch: > > Index: acpi_pcib_acpi.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- acpi_pcib_acpi.c =A0 =A0(revision 224217) > +++ acpi_pcib_acpi.c =A0 =A0(working copy) > @@ -207,10 +207,12 @@ acpi_pcib_producer_handler(ACPI_RESOURCE *res, voi > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0length =3D res->Data.ExtAd= dress64.AddressLength; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0break; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0} > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 if (length =3D=3D 0 || > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 res->Data.Address.MinAddressFixed != =3D ACPI_ADDRESS_FIXED || > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 res->Data.Address.MaxAddressFixed != =3D ACPI_ADDRESS_FIXED) > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 if (length =3D=3D 0) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0break; > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 if (min + length - 1 !=3D max && > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (res->Data.Address.MinAddressFixed = !=3D ACPI_ADDRESS_FIXED || > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 res->Data.Address.MaxAddressFixed != =3D ACPI_ADDRESS_FIXED)) > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 break; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0flags =3D 0; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0switch (res->Data.Address.ResourceType) { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0case ACPI_MEMORY_RANGE: > > -- > John Baldwin > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " >