Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2021 17:57:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 255191] Booting DragonFlyBSD results in Failed to emulate instruction sequence output
Message-ID:  <bug-255191-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255191

            Bug ID: 255191
           Summary: Booting DragonFlyBSD results in Failed to emulate
                    instruction sequence output
           Product: Base System
           Version: 13.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bhyve
          Assignee: virtualization@FreeBSD.org
          Reporter: pierre-alain.toret@protonmail.com

Hello,

I haveve installed FreeBSD 13.0 and I am trying to virtualize DragonFlyBSD
5.8.3 with the following command line :

sh /usr/share/examples/bhyve/vmrun.sh -c 1 -m 512M -d /path/to/dfly.img  -i=
 -I
/path/to/dfly-x86_64-5.8.3_REL.iso dfly

But this results in the following output :

Launching virtual machine "dfly" ...
Consoles: userboot

FreeBSD/amd64 User boot lua, Revision 1.2
Consoles: userboot

FreeBSD/amd64 User boot 4th, Revision 1.2
/
/boot/kernel/kernel text=3D0xb95180 data=3D0xf68000 syms=3D[0x8+0xfcfc0+0x8=
+0xbc50c]
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
Copyright (c) 2003-2020 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.
Unhandled memory access to 0x100000000

Failed to emulate instruction sequence [ 813c8f5f4d505f742483c20439d37f ] at
0xffffffff80bebe43
Abort trap


>From the DragonFlyBSD people, I got that particular sequence as :
/home/justin/release/5_8/sys/platform/pc64/x86_64/mptable.c:377
ffffffff80bebe40:       48 63 ca                movslq %edx,%rcx
ffffffff80bebe43:       81 3c 8f 5f 4d 50 5f    cmpl=20=20
$0x5f504d5f,(%rdi,%rcx,4)
ffffffff80bebe4a:       74 24                   je     ffffffff80bebe70
<mptable_search_sig+0x60>
/home/justin/release/5_8/sys/platform/pc64/x86_64/mptable.c:376 (discrimina=
tor
2)
ffffffff80bebe4c:       83 c2 04                add    $0x4,%edx
ffffffff80bebe4f:       39 d3                   cmp    %edx,%ebx
ffffffff80bebe51:       7f ed                   jg     ffffffff80bebe40
<mptable_search_sig+0x30>

Those lines are from
https://gitweb.dragonflybsd.org/dragonfly.git/blob/refs/heads/DragonFly_REL=
EASE_5_8:/sys/platform/pc64/x86_64/mptable.c#l376

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255191-27103>