Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Aug 2011 13:45:31 +0200
From:      Bernhard Froehlich <decke@bluelife.at>
To:        m irya <xmirya@gmail.com>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: VirtualBox/fbsd9/amd64 + Ubuntu11.04 guest = crash on install
Message-ID:  <b44fd7a2b05b205d5d0d0f3086a2bba1@bluelife.at>
In-Reply-To: <CAK8LArO_uL6p_Q68jaKkMjtaQTxS52PufuXBWTHMvHM6DkOuXQ@mail.gmail.com>
References:  <CAK8LArNYCJJ9b9%2BKjaKiw_GV7kjR7oy7aAdJ7ce9Re4AO8x90w@mail.gmail.com> <427080d79cbe9c9bf25538540d9acb7b@bluelife.at> <CAK8LArO_TRH34y4r8FdyZjuO8V_UZ9sasLbfTKdnn1Z2_ZR7FA@mail.gmail.com> <c7127f3f98bbd2de2bb3abb10833912d@bluelife.at> <ea20b3765fb2bb0b6cd827132bac7d84@bluelife.at> <CAK8LArO_uL6p_Q68jaKkMjtaQTxS52PufuXBWTHMvHM6DkOuXQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 5 Aug 2011 13:58:16 +0300, m irya wrote:
> 2011/8/4 Bernhard Froehlich <decke@freebsd.org>:
>> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b44fd7a2b05b205d5d0d0f3086a2bba1>