From owner-freebsd-current@FreeBSD.ORG Wed Feb 24 15:04:34 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8704106566B for ; Wed, 24 Feb 2010 15:04:34 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from mail.itac.at (mail.itac.at [91.205.172.9]) by mx1.freebsd.org (Postfix) with ESMTP id 457C78FC18 for ; Wed, 24 Feb 2010 15:04:34 +0000 (UTC) Received: from [91.205.172.21] (helo=webmail.bluelife.at) by mail.itac.at with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1NkImu-0005EY-W9; Wed, 24 Feb 2010 16:04:33 +0100 MIME-Version: 1.0 Date: Wed, 24 Feb 2010 16:04:33 +0100 From: Bernhard Froehlich To: Giovanni Trematerra In-Reply-To: <4e6cba831002240602gaffcee3lb8964096431d875f@mail.gmail.com> References: <27714203.post@talk.nabble.com> <4e6cba831002240602gaffcee3lb8964096431d875f@mail.gmail.com> Message-ID: <83c3f6f36a82e27255b39206b0391900@bluelife.at> X-Sender: decke@bluelife.at User-Agent: RoundCube Webmail/0.3.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 0.7 (/) X-Spam-Report: Spam detection software, running on the system "mail.itac.at", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Wed, 24 Feb 2010 15:02:30 +0100, Giovanni Trematerra wrote: > 2010/2/24 Bernhard Fröhlich : >> >>>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? [...] Content analysis details: (0.7 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP 3.4 FH_DATE_PAST_20XX The date is grossly in the future. -1.3 AWL AWL: From: address is in the auto white-list Cc: freebsd-current@freebsd.org Subject: Re: Virtualbox X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2010 15:04:35 -0000 On Wed, 24 Feb 2010 15:02:30 +0100, Giovanni Trematerra wrote: > 2010/2/24 Bernhard Fröhlich : >> >>>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/