Patch to fix VirtualBox with recent kernel versions

Alexander Eichner alexeichi at yahoo.de
Tue Mar 2 09:37:19 UTC 2010


Adam K Kirchhoff wrote:
> On 02/27/10 16:28, Alexander Eichner wrote:
> >> Von: Adam K Kirchhoff<adamk at voicenet.com>
> >> Betreff: Re: Patch to fix VirtualBox with recent kernel versions
> >> An: freebsd-emulation at freebsd.org
> >> Datum: Donnerstag, 25. Februar, 2010 01:10 Uhr
> >> On 02/24/2010 04:50 PM, Alexander
> >> Eichner wrote:
> >>      
> >>> Hi,
> >>>
> >>> as promised to decke here is the final patch to fix
> >>>        
> >> VirtualBox with recent FreeBSD kernel versions. As it is
> >> quite different to the one posted to freebsd-current please
> >> test it first before including it in the port. The problem
> >> seems to be 32bit specific and I don't have a 32bit FreeBSD
> >> system here to test unfortunately.
> >>      
> >>> Regards,
> >>> Alexander Eichner
> >>>
> >>> PS: the OSE repository is working again. :)
> >>>
> >>>        
> >> I tried the patch on one of my machines here and it's still
> >> aborting:
> >>
> >>
> >> !!Assertion Failed!!
> >> Expression: paPages[i].Phys != 0&&  paPages[i].Phys
> >> != NIL_RTHCPHYS&&  !(paPages[i].Phys&
> >> PAGE_OFFSET_MASK)
> >> Location  :
> >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.2_OSE/src/VBox/VMM/MMHyper.cpp(610)
> >> int MMR3HyperMapPages(VM*, void*, RTR0PTR, size_t, const
> >> SUPPAGE*, const char*, RTGCPTR64*)
> >> i=0x4 Phys=0000000000000000 Heap
> >>
> >>
> >> Adam
> >>      
> > Hi,
> >
> > attached is a new version of the patch. I tested it on 32bit FreeBSD 8
> >
> > Regards,
> > Alexander Eichner
> >
> >    
> 
> I'm sorry to say, but I'm getting the exact same Assertion Failed error 
> as before with this new patch.  The only difference this time is that 
> i=0x7 instead of i=0x4.
> 
> Adam
> 
> _______________________________________________
> freebsd-emulation at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
> To unsubscribe, send any mail to "freebsd-emulation-unsubscribe at freebsd.org"

That's not good. Everything works just fine here now on a 32bit FreeBSD
8.0 host. Can you give some information of your host (RAM, CPU, ...) and
the guest configuration please? Do you have any special kernel options
set?

Regards,
Alexander



More information about the freebsd-emulation mailing list