https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255191

            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: [email protected]
          Reporter: [email protected]

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=0xb95180 data=0xf68000 syms=[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  
$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 (discriminator
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_RELEASE_5_8:/sys/platform/pc64/x86_64/mptable.c#l376

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"[email protected]"

Reply via email to