NetBSD Problem Report #53786
From www@NetBSD.org Sat Dec 15 06:23:36 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 206CA7A1B1
for <gnats-bugs@gnats.NetBSD.org>; Sat, 15 Dec 2018 06:23:36 +0000 (UTC)
Message-Id: <20181215062334.F179A7A222@mollari.NetBSD.org>
Date: Sat, 15 Dec 2018 06:23:34 +0000 (UTC)
From: santhosh.raju@gmail.com
Reply-To: santhosh.raju@gmail.com
To: gnats-bugs@NetBSD.org
Subject: NetBSD/i386 8.0 refuses to boot in bhyve (FreeBSD 11.x/12.x)
X-Send-Pr-Version: www-1.0
>Number: 53786
>Category: port-i386
>Synopsis: NetBSD/i386 8.0 refuses to boot in bhyve (FreeBSD 11.x/12.x)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-i386-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Dec 15 06:25:00 +0000 2018
>Closed-Date: Thu May 16 15:25:47 +0000 2019
>Last-Modified: Thu May 16 15:25:47 +0000 2019
>Originator: Santhosh Raju
>Release: 8.0
>Organization:
>Environment:
FreeBSD planet-express 11.2-RELEASE-p4 FreeBSD 11.2-RELEASE-p4 #0: Thu Sep 27 08:16:24 UTC 2018 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
NetBSD/i386 8.0 fails to boot in bhyve under both FreeBSD 11.2 an FreeBSD 12.0
When attempting to boot in bhyve (with debugging on in bhyve) the following message appears in the bhyve.log and bhyve terminates.
vm exit[0]
reason VMX
rip 0x00000000c091f843
inst_length 7
status 0
exit_reason 2
qualification 0x0000000000000000
inst_type 0
inst_error 0
Looking into the VMX reference manual an exit_reason 2 implies a Triple fault occurred in the logical processor.
Attempting to boot NetBSD/amd64 8.0 under the exact same conditions work without issues.
>How-To-Repeat:
Configure a bhyve instance and try booting the NetBSD/i386 8.0 ISO.
>Fix:
I do not know how to debug / fix this problem.
But I would be more than happy to help investigate this further if someone can help / guide / handhold me into figuring out where exactly this problem lies.
>Release-Note:
>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: port-i386/53786: NetBSD/i386 8.0 refuses to boot in bhyve
(FreeBSD 11.x/12.x)
Date: Sat, 15 Dec 2018 09:55:44 +0100
This is a bhyve issue, not a NetBSD one.
Martin
From: Santhosh Raju <santhosh.raju@gmail.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: port-i386/53786: NetBSD/i386 8.0 refuses to boot in bhyve
(FreeBSD 11.x/12.x)
Date: Sat, 15 Dec 2018 14:53:38 +0530
On Sat, Dec 15, 2018 at 2:26 PM Martin Husemann <martin@duskware.de> wrote:
>
> This is a bhyve issue, not a NetBSD one.
If you can provide me with a bit more of information as to why it is a
bhyve issue and not NetBSD I could raise a bug with FreeBSD and follow
it up there.
All I have now to go on is the output of the bhyve.log that I posted
in the original ticket.
>
> Martin
--
Santhosh
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org, santhosh.raju@gmail.com
Subject: Re: port-i386/53786: NetBSD/i386 8.0 refuses to boot in bhyve
(FreeBSD 11.x/12.x)
Date: Sat, 15 Dec 2018 12:56:47 +0100
On Sat, Dec 15, 2018 at 09:25:01AM +0000, Santhosh Raju wrote:
> If you can provide me with a bit more of information as to why it is a
> bhyve issue and not NetBSD I could raise a bug with FreeBSD and follow
> it up there.
Well, it boots on real hardware, in VirtualBox, QEMU, XEN, ...
Unless you see some part of the kernel output already and it fails in
some virtualization specific device drivers it is hard to imagine
this could not be a fault of the virtualization environment.
Martin
From: Santhosh Raju <santhosh.raju@gmail.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: port-i386/53786: NetBSD/i386 8.0 refuses to boot in bhyve
(FreeBSD 11.x/12.x)
Date: Sat, 15 Dec 2018 19:56:48 +0530
On Sat, Dec 15, 2018 at 5:26 PM Martin Husemann <martin@duskware.de> wrote:
>
> On Sat, Dec 15, 2018 at 09:25:01AM +0000, Santhosh Raju wrote:
> > If you can provide me with a bit more of information as to why it is a
> > bhyve issue and not NetBSD I could raise a bug with FreeBSD and follow
> > it up there.
>
> Well, it boots on real hardware, in VirtualBox, QEMU, XEN, ...
>
> Unless you see some part of the kernel output already and it fails in
> some virtualization specific device drivers it is hard to imagine
> this could not be a fault of the virtualization environment.
>
Alright, it makes sense from a birds eye view.
Let me raise a ticket with FreeBSD and see what the response is.
Thank you for the insight.
> Martin
--
Santhosh
State-Changed-From-To: open->closed
State-Changed-By: fox@NetBSD.org
State-Changed-When: Thu, 16 May 2019 15:25:47 +0000
State-Changed-Why:
Not a NetBSD issue.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.