Date: Mon, 21 Jul 2014 19:27:56 -0700 From: Peter Grehan <grehan@freebsd.org> To: Prakhar Deep <prakhardeep@gmail.com> Cc: "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: Re: Panic: 32-bit PAE enabled OS with 4GB RAM and 2 vCPUs on Bhyve Message-ID: <53CDCC2C.8030608@freebsd.org> In-Reply-To: <CAFgRE9F1Dem3W-z76nxvxz8g%2B%2BZhV9hD9CFR-k=ELT0oqOoW7Q@mail.gmail.com> References: <CAP6teZd7ZNnUQCtjgahGweed8GWfrumB2cV-SPm8Sb9po5fydQ@mail.gmail.com> <CAFgRE9F1Dem3W-z76nxvxz8g%2B%2BZhV9hD9CFR-k=ELT0oqOoW7Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Prakhar, >> 1. Why are the pages mapped to AP are being zeroed when PGE flag is set for >> AP in it's CR4 ? >> > > It is hard to say but my guess would be that the 4 PDPTE registers in > the VMCS are not being properly updated during AP spinup. It would be > helpful to see the assembly instructions in the AP spinup code that > modify %cr0, %cr4 and %cr3 to know for sure. Further to what Neel is saying, are you setting the PAE bit in CR4 prior to setting PGE in CRO ? Is CR0 being set with a direct write, or a read/modify/write ? later, Peter.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53CDCC2C.8030608>