From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 8 11:43:49 2013 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 85995BE5; Mon, 8 Jul 2013 11:43:49 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ea0-x22b.google.com (mail-ea0-x22b.google.com [IPv6:2a00:1450:4013:c01::22b]) by mx1.freebsd.org (Postfix) with ESMTP id EC3D316E5; Mon, 8 Jul 2013 11:43:48 +0000 (UTC) Received: by mail-ea0-f171.google.com with SMTP id m14so2896671eaj.30 for ; Mon, 08 Jul 2013 04:43:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=wD/NX2sn7FYMTz9vSZQiaMbSYNxaawqYLWVO7hsEYRg=; b=GTslwlpSrVlCxd7ibybjB5PzrdhAPlM8KM/uwByTw+G36ItrjEof2q7I4zNCRZ/LTz vlt/TX1K5KgJDm92Ny15lh1WN0sy+FDBS/yG+Hi60Lw9HFxZb2iczzod0kUR1UT8MphH XpwFwvjXRGm/pus/YSsI+D9sPGX/5p2YZMCUF6ZIgpc2kK1gjTjbT6QhZySYdwJPPH8R hgAWHyTAe64Nn8DNFWtdAYoL5WgmGBeFfn3vNJOIGEQdqwwi62W2eK+/LIGFIsYjfHDp HK8LD/YK1DZiFQGpTsgsr5FfHDfqTrFSQoMTwgBYl3FjfpVnQ3KPQmhcWIsQhHqz6yUp OSpA== MIME-Version: 1.0 X-Received: by 10.15.31.9 with SMTP id x9mr23589756eeu.103.1373270298644; Mon, 08 Jul 2013 00:58:18 -0700 (PDT) Received: by 10.14.119.203 with HTTP; Mon, 8 Jul 2013 00:58:18 -0700 (PDT) In-Reply-To: References: Date: Mon, 8 Jul 2013 00:58:18 -0700 Message-ID: Subject: Re: Virtualbox deadlocks on starting guest From: hiren panchasara To: =?UTF-8?Q?Bernhard_Fr=C3=B6hlich?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-emulation@freebsd.org" X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 08 Jul 2013 11:43:49 -0000 On Sun, Jul 7, 2013 at 11:45 PM, Bernhard Fr=C3=B6hlich = 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 > wrote: >> Anyone? any pointers to debug this? >> >> cheers, >> Hiren >> >> On Sat, Jul 6, 2013 at 12:28 PM, hiren panchasara >> 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"