Trying to run DragonFly under bhyve
Willem Jan Withagen
wjw at digiware.nl
Wed May 28 10:03:35 UTC 2014
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
More information about the freebsd-virtualization
mailing list