Date: Thu, 21 Jul 2011 14:10:26 -0500 From: Scot Hetzel <swhetzel@gmail.com> To: John Baldwin <jhb@freebsd.org> Cc: Steve Wills <swills@freebsd.org>, freebsd-current@freebsd.org, Bernhard Froehlich <decke@freebsd.org> Subject: Re: em problem in virtualbox since the weekend Message-ID: <CACdU%2Bf8K39f_Bn-tPRhoLDN%2BsJWXJJ0C1jT4Y-uAAjH_jfTqnw@mail.gmail.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 21, 2011 at 10:53 AM, John Baldwin <jhb@freebsd.org> 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= " >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACdU%2Bf8K39f_Bn-tPRhoLDN%2BsJWXJJ0C1jT4Y-uAAjH_jfTqnw>