From owner-freebsd-virtualization@FreeBSD.ORG Wed May 28 10:03:35 2014 Return-Path: Delivered-To: virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 66054ABA for ; Wed, 28 May 2014 10:03:35 +0000 (UTC) Received: from smtp.digiware.nl (smtp.digiware.nl [31.223.170.169]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2447F2403 for ; Wed, 28 May 2014 10:03:34 +0000 (UTC) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 1EE791534D1; Wed, 28 May 2014 12:03:33 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hnFquyWB_73W; Wed, 28 May 2014 12:03:26 +0200 (CEST) Received: from [IPv6:2001:4cb8:3:1:5cbb:e5e6:6f86:6c35] (unknown [IPv6:2001:4cb8:3:1:5cbb:e5e6:6f86:6c35]) by smtp.digiware.nl (Postfix) with ESMTP id 76050153434; Wed, 28 May 2014 12:03:26 +0200 (CEST) Message-ID: <5385B471.9020703@digiware.nl> Date: Wed, 28 May 2014 12:03:29 +0200 From: Willem Jan Withagen Organization: Digiware Management b.v. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Tycho Nightingale Subject: Re: Trying to run DragonFly under bhyve References: <53852A48.9080703@digiware.nl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18 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: Wed, 28 May 2014 10:03:35 -0000 On 2014-05-28 2:22, Tycho Nightingale wrote: > > On May 27, 2014, at 8:14 PM, Willem Jan Withagen wrote: > >> When I do this under AMD I get: >> >> Copyright (c) 2003-2013 The >> DragonFly Project. >> Copyright (c) 1992-2003 The FreeBSD Project. >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >> The Regents of the University of California. All rights reserved. >> Failed to emulate instruction at 0xffffffff8096052c >> Abort trap (core dumped) >> >> To conclude which instruction this is, I need to get at the bytes of >> that instruction... but that stays hidden in the vmm-driver. >> >> Any easy way to get this back into userspace? > > You could try 'objdump -d' on a copy of the guest's kernel to find the relevant instruction. Would that work? I'd expect things to be reloaded and shuffled around... But I'm going to take a peek at the loader code... Since Peter suggests that DFLY has a loader that is not compatible with what the bhyve loader does at the moment. And further: On 2014-05-28 6:34, Anish wrote:> >Failed to emulate instruction at 0xffffffff8096052c > Abort trap (core dumped) > > You can also analyze the coredump of bhyve > $gdb /usr/sbin/bhyve bhyve.core > > Look at vie->inst[] from one of stack frame. > > -Anish I'll give it a spin. Thanx, --WjW