On Wed, 24 Feb 2010 15:02:30 +0100, Giovanni Trematerra <giovanni.tremate...@gmail.com> wrote: > 2010/2/24 Bernhard Fröhlich <de...@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?
According to aeichner that should not happen as all memory allocated there is locked. He's at the moment having a look at the other vtophys calls. -- Bernhard Fröhlich http://www.bluelife.at/ _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"