From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 5 11:45:32 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE50C106564A for ; Fri, 5 Aug 2011 11:45:32 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from groupware.itac.at (groupware.itac.at [91.205.172.99]) by mx1.freebsd.org (Postfix) with ESMTP id 726B38FC15 for ; Fri, 5 Aug 2011 11:45:32 +0000 (UTC) Received: from home.bluelife.at (93.104.210.95) by groupware.itac.at (Axigen) with (AES256-SHA encrypted) ESMTPSA id 290AED; Fri, 5 Aug 2011 13:45:41 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Fri, 05 Aug 2011 13:45:31 +0200 From: Bernhard Froehlich To: m irya In-Reply-To: References: <427080d79cbe9c9bf25538540d9acb7b@bluelife.at> Message-ID: X-Sender: decke@bluelife.at User-Agent: Roundcube Webmail/0.5.3 X-AxigenSpam-Level: 1 X-CTCH-RefID: str=0001.0A0B0208.4E3BD7DB.004E,ss=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Cc: freebsd-emulation@freebsd.org Subject: Re: VirtualBox/fbsd9/amd64 + Ubuntu11.04 guest = crash on install X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2011 11:45:32 -0000 On Fri, 5 Aug 2011 13:58:16 +0300, m irya wrote: > 2011/8/4 Bernhard Froehlich : >> I think we found the cause of the issue. Could you please throw this >> patch in emulators/virtualbox-ose/files/ and rebuild the port? And then >> please try to reproduce the problem without enabling Host I/O caching. >> >> http://home.bluelife.at/patches/patch-src-VBox-Runtime-r3-freebsd-fileaio-freebsd.cpp >> >> The patch is still untested so please be careful. >> >> -- >> Bernhard Froehlich >> http://www.bluelife.at/ >> > > Back with the test results: > 1) w/o the patch and Host I/O caching for SATA off: Ubuntu-LTS > crashes on boot > 2) w/o the patch and Host I/O caching on: works (so the source of the > problem is correct) > 3) with the patch and caching off: works (so the patch somehow makes > it better) > > Now i'm proceeding with another test case: installing Win7 Home Basic: > 1) w/o the patch and caching off: VBox dies on early installation stage > 2) w/ the patch and caching off: proceeds further, but still dies at a > random point of time while copying files Could you please also generate a stacktrace for this case? I also know a few Windows 7 crashes that are not related to i/o but happen if you enable more than 1 vCPU. So you are probably hitting another bug or some other async i/o bug. > 3) w/ the patch and caching on: finally installed > > i'll do more testing with debug enabled next week. Thanks a lot for your feedback! -- Bernhard Fröhlich http://www.bluelife.at/