Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 May 2014 12:03:29 +0200
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        Tycho Nightingale <tycho.nightingale@pluribusnetworks.com>
Cc:        "freebsd-virtualization@freebsd.org" <virtualization@freebsd.org>
Subject:   Re: Trying to run DragonFly under bhyve
Message-ID:  <5385B471.9020703@digiware.nl>
In-Reply-To: <DD032CB7-048F-4C6F-923D-10D84C841C12@pluribusnetworks.com>
References:  <53852A48.9080703@digiware.nl> <DD032CB7-048F-4C6F-923D-10D84C841C12@pluribusnetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5385B471.9020703>