Re: Trying to run DragonFly under bhyve

2014-05-28 Thread Willem Jan Withagen

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 0x8096052c
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 
0x8096052c

> 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

___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Trying to run DragonFly under bhyve

2014-05-27 Thread Anish
>Failed to emulate instruction at 0x8096052c
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


On Tue, May 27, 2014 at 5: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 0x8096052c
> 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?
>
> --WjW
>
>
> ___
> freebsd-virtualization@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "
> freebsd-virtualization-unsubscr...@freebsd.org"
>
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Trying to run DragonFly under bhyve

2014-05-27 Thread Tycho Nightingale

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 0x8096052c
> 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.

Tycho
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Trying to run DragonFly under bhyve

2014-05-27 Thread Willem Jan Withagen
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 0x8096052c
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?

--WjW


___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"