From owner-freebsd-virtualization@FreeBSD.ORG Sun Nov 30 02:31:29 2014 Return-Path: Delivered-To: virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D4596841; Sun, 30 Nov 2014 02:31:29 +0000 (UTC) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 68839694; Sun, 30 Nov 2014 02:31:29 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id ex7so21482565wid.15 for ; Sat, 29 Nov 2014 18:31:27 -0800 (PST) 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; bh=KR8vMwGwVgQ9p04EZcxQTYi1uQa9ZQQKT9XTDdFXw9A=; b=ygvtKqM86WAOgrbR3VFh1ffJW3yuGGuOwYFWR+Nf2lJ9uqSbR5CKPa43Ebnp1Zorj6 RtnY62gYP215kiwAetHSKmt50x/Psg4GoPXgvRlCofYHBxFdOlRTipeT/8w0kZ9s7qNB cFXMOyHSDCjLD4rh4FkwfmO31mpnbJtbr5LS/auhMzOgKvPfH1qHqCSM0Wlj2X0Kug8v yULv0hp9EHWBIuNQ3I9aUUuvcx4nwOfaIGjq3kBl5ONejAiIHWHxt2/dIeezfRjghAbi /69jvGAUkGZK7FesFE2NPfHU/8FadWe5Dsl0sng6BbdJCn4E+Prs0ltQwvVHYof6mexu Qm9w== MIME-Version: 1.0 X-Received: by 10.194.243.164 with SMTP id wz4mr83201469wjc.129.1417314687606; Sat, 29 Nov 2014 18:31:27 -0800 (PST) Received: by 10.27.12.168 with HTTP; Sat, 29 Nov 2014 18:31:27 -0800 (PST) In-Reply-To: <54789699.7030507@freebsd.org> References: <54773CF8.2020306@freebsd.org> <54789699.7030507@freebsd.org> Date: Sat, 29 Nov 2014 18:31:27 -0800 Message-ID: Subject: Re: bhyve failure From: Neel Natu To: Julian Elischer Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2014 02:31:29 -0000 Hi Julian, On Fri, Nov 28, 2014 at 7:36 AM, Julian Elischer wrote: > On 11/28/14, 3:12 AM, Neel Natu wrote: >> >> Hi Julian, >> >> On Thu, Nov 27, 2014 at 7:02 AM, Julian Elischer >> wrote: >>> >>> I added WITNESS to a kernel I've been running and during boot I got this >>> result: >>> >>> vm exit[0] >>> reason VMX >>> rip 0xffffffff8078c1a7 >>> inst_length 7 >>> status 0 >>> exit_reason 2 >> >> That's a triple fault (from sys/amd64/vmm/intel/vmcs.h) >> >> #define EXIT_REASON_TRIPLE_FAULT 2 >> >> >>> qualification 0x0000000000000000 >>> inst_type 0 >>> inst_error 0 >>> Abort trap (core dumped) >>> >>> anyone have a decoder ring? >>> >> A few questions to narrow this down: >> >> Did you add WITNESS to the guest kernel or the host kernel when this >> happened? > > yes I added it to the guest kernel.. I suspect it ay be related to this, > especially since there was a kernel module loaded that was not recompiled. > I'm trying to ascertain now whether a withness kernel requires special > handling for its modules. > > >> >> Is this readily reproducible? > > don't know yet. > Its interesting that the guest went all the way to a triple fault instead of stopping at the double fault handler. I'll be happy to track this down if there is a reliably repro case (guest binaries would be sufficient). best Neel >> >> Can you share the host and guest revision numbers? > > > guest is custom sources based on stable-10 on the same day as 10.0 was > released.basically whatever svn revision# was on 10.0 but on the stable > branch. > host is > FreeBSD 10.1-BETA1 #0 r271671: Tue Sep 16 09:31:23 PDT 2014 > > > > >> >> best >> Neel >> >>> julian >>> _______________________________________________ >>> freebsd-virtualization@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization >>> To unsubscribe, send any mail to >>> "freebsd-virtualization-unsubscribe@freebsd.org" > >