Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2013 00:58:18 -0700
From:      hiren panchasara <hiren.panchasara@gmail.com>
To:        =?UTF-8?Q?Bernhard_Fr=C3=B6hlich?= <decke@freebsd.org>
Cc:        "freebsd-emulation@freebsd.org" <freebsd-emulation@freebsd.org>
Subject:   Re: Virtualbox deadlocks on starting guest
Message-ID:  <CALCpEUGY6yUxkchzxtj=idhRQ0kUNN258Jhy-Z%2BHpQKKHLi2SA@mail.gmail.com>
In-Reply-To: <CAE-m3X098seuDA03vvxwKxomm8qS9w7nbgcs4-4FY5YL1PWoTQ@mail.gmail.com>
References:  <CALCpEUEZa2UX%2BPJ81r1eoqAsTLon7RYskf=5y%2BtrAgdUf3e5BQ@mail.gmail.com> <CALCpEUG2bksktnteKo1WO3W9y33P8PaJk7QfWdjtwY_fHwSCFQ@mail.gmail.com> <CAE-m3X098seuDA03vvxwKxomm8qS9w7nbgcs4-4FY5YL1PWoTQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 7, 2013 at 11:45 PM, Bernhard Fr=C3=B6hlich <decke@freebsd.org>=
 wrote:
> I would start by updating to the latest virtualbox version and please
> make sure that the
> virtualbox-ose-kmod port is compiled with DEBUG option enabled. This
> will add debugging
> symbols to the kernel module.
> Then it would be good to obtain a kernel stacktrace via a kernel
> crashdump or break to the
> kernel debugger when the deadlock happens. Probably you need to
> recompile your kernel
> with those debugging knobs:
>
> http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-deadl=
ocks.html
>
> Btw do you run BHyVe and VirtualBox on the same machine? This sounds
> like the beginning
> of lot's of problems. You could try to unload all byhve kernel modules
> and see if the
> problem still persists after that.

wow, so I guess that was it.

unloading vmm.ko and if_tap.ko "fixed" it for me :-)

Why would it be that way?

Thanks a ton,
Hiren
>
>
> On Mon, Jul 8, 2013 at 5:14 AM, hiren panchasara
> <hiren.panchasara@gmail.com> wrote:
>> Anyone? any pointers to debug this?
>>
>> cheers,
>> Hiren
>>
>> On Sat, Jul 6, 2013 at 12:28 PM, hiren panchasara
>> <hiren.panchasara@gmail.com> wrote:
>>> Hi all,
>>>
>>> I have:
>>>
>>> flymockour-l7% uname -a
>>> FreeBSD flymockour-l7.corp.yahoo.com 10.0-CURRENT FreeBSD 10.0-CURRENT
>>> #4 r252757M: Thu Jul  4 23:06:03 PDT 2013
>>> root@flymockour-l7.corp.yahoo.com:/usr/obj/usr/home/hirenp/head/sys/GEN=
ERIC
>>>  amd64
>>> flymockour-l7%
>>> flymockour-l7% pkg info | grep -i virtualbox
>>> virtualbox-ose-4.2.14_1        A general-purpose full virtualizer for
>>> x86 hardware
>>> virtualbox-ose-kmod-4.2.14     VirtualBox kernel module for FreeBSD
>>> flymockour-l7%
>>> flymockour-l7% groups
>>> wheel operator vboxusers fuse
>>>
>>> flymockour-l7% kldstat | grep -i vbox
>>> 12    1 0xffffffff82a60000 519b8    vboxdrv.ko
>>> flymockour-l7% kldstat | grep -i vmm
>>> 11    1 0xffffffff828dd000 182c50   vmm.ko
>>> flymockour-l7%
>>>
>>> I start virtualbox as myself (not root) from cli and whenever I try to
>>> launch any guest (be it freebsd, ubuntu or windows) laptop deadlocks
>>> right away and I have to hard reset.
>>>
>>> This has been happening for many months but now I have decided to sit
>>> down and fix it.
>>>
>>> I believe I am missing something simple as I do not see any other such =
reports.
>>>
>>> cheers,
>>> Hiren
>> _______________________________________________
>> freebsd-emulation@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
>> To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.=
org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALCpEUGY6yUxkchzxtj=idhRQ0kUNN258Jhy-Z%2BHpQKKHLi2SA>