Date: Wed, 24 Feb 2010 16:04:33 +0100 From: Bernhard Froehlich <decke@bluelife.at> To: Giovanni Trematerra <giovanni.trematerra@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: Virtualbox Message-ID: <83c3f6f36a82e27255b39206b0391900@bluelife.at> In-Reply-To: <4e6cba831002240602gaffcee3lb8964096431d875f@mail.gmail.com> References: <E1NjxUk-0007m6-Nr@clue.co.za> <27714203.post@talk.nabble.com> <4e6cba831002240602gaffcee3lb8964096431d875f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 24 Feb 2010 15:02:30 +0100, Giovanni Trematerra <giovanni.trematerra@gmail.com> wrote: > 2010/2/24 Bernhard Fröhlich <decke@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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?83c3f6f36a82e27255b39206b0391900>