On Thu, Dec 08, 2011 at 12:09:14AM +0000, Thor Lancelot Simon wrote: > On Sun, Dec 04, 2011 at 04:24:13PM +0000, Chuck Silvers wrote: > > Module Name: src > > Committed By: chs > > Date: Sun Dec 4 16:24:13 UTC 2011 > > > > Modified Files: > > src/sys/arch/amd64/amd64: locore.S machdep.c > > src/sys/arch/amd64/include: types.h > > src/sys/arch/x86/include: pmap.h > > src/sys/arch/x86/x86: pmap.c > > > > Log Message: > > map all of physical memory using large pages. > > ported from openbsd years ago by Murray Armfield, > > updated for changes since then by me. > > This change causes my 2-cpu, x86-64 VirtualBox VM to hang hard > immediately on boot, regardless of how I build the kernel. If I build > the kernel with DEBUG, it hangs immediately after printing > "kernel text is mapped with 6 large pages and 442 normal pages". > > In fact, it hangs so hard that it makes VirtualBox throw a fatal error > when I try to reset the VM. > > I understand this change is _not_ causing trouble for some others, but > it sure does for me. Can we back it out temporarily, and what can I
Please don't back it out but just don't define __HAVE_DIRECT_MAP in types.h. I'm looking at how Xen can make good use of it and I'd prefer to not see it go away now :) -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --