Re: Virtualbox

From: Giovanni Trematerra <giovanni.trematerra_at_gmail.com>
Date: Wed, 24 Feb 2010 15:02:30 +0100
2010/2/24 Bernhard Fröhlich <decke_at_bluelife.at>:
>
>>Hi
>>
>>Has anyone managed to make Virtualbox work on 9-Current?  Since
>>installing 3.1.2-OSE VMs, all brand new, abort on startup.
>>
>>The last part of the log seems pertinent:
>>
>>00:00:15.481 !!Assertion Failed!!
>>00:00:15.481 Expression: paPages[i].Phys != 0 && paPages[i].Phys !=
> NIL_RTHCPHYS && >!(paPages[i].Phys & PAGE_OFFSET_MASK)
>>00:00:15.481 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*)
>>00:00:15.482 i=0x0 Phys=0000000000000000 Heap
>>
>>Does anyone have any ideas?
>
>
> Thanks for the report. I've talked to Alexander Eichner and he gave me a
> patch that could
> fix that problem. Could you please try to build the virtualbox-ose-kmod port
> with that patch?
> If it works we will include it in the port update coming quite soon.
>
> http://pastebin.ca/1808090
>
> If that does not help please create a backtrace from the vbox coredump and
> send the vbox.log.

There are other point in src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c
where vtophys is misused as in rtR0MemObjNativeGetPagePhysAddr.
Using pmap_extract might be insufficient, what if the page will be swapped out?

>
> Thanks!
>
> --
> Bernhard Fröhlich
> http://www.bluelife.at/
> --
> View this message in context: http://old.nabble.com/Virtualbox-tp27705983p27714203.html
> Sent from the freebsd-current mailing list archive at Nabble.com.
>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Wed Feb 24 2010 - 13:02:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:01 UTC