VM Panic with FreeBSD-13.0-CURRENT-362037-amd64-vm.raw

Michael Dexter editor at callfortesting.org
Sat Jun 13 04:56:54 UTC 2020


Hello,

The official FreeBSD snapshot FreeBSD-13.0-CURRENT-362037-amd64-vm.raw 
appears to panic as a guest under 12.1p5 and 12.1p1.

Boot syntax:

sh /usr/share/examples/bhyve/vmrun.sh -c 1 -t tap0 -d <img> vm

I have tried it with one and two vCPUs, and the -a and -A flags to vmrun.sh.

Most boots panic at:

btext() at btext+0x2c
KDB: enter: panic

Some get to this until destroyed externally:

Trying to mount root from ufs:/dev/gpt/rootfs [rw]...
Assertion failed: (error == 0), function emulate_inout, file 
/usr/src/usr.sbin/bhyve/inout.c, line 232. 
                                                        Abort trap

I have tried both the unmodified image and it truncated to 10G.

Full output below.

Any suggestions?

Thank you!

Michael Dexter


Loading kernel...
/boot/kernel/kernel text=0x15a2f10 data=0x140 data=0x1b7f58+0x4470a8 
syms=[0x8+0x17bb60+0x8+0x19bc58]
Loading configured modules...
can't find '/boot/entropy'
can't find '/etc/hostid'
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
---<<BOOT>>---
Copyright (c) 1992-2020 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.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 13.0-CURRENT-362037 #0 r362037: Fri Jun 12 19:15:16 PDT 2020
 
root at update:/pub/build/362037/obj/pub/build/362037/src/amd64.amd64/sys/GENERIC 
amd64
FreeBSD clang version 10.0.1 (git at github.com:llvm/llvm-project.git 
llvmorg-10.0.1-rc1-0-gf79cd71e145)
WARNING: WITNESS option enabled, expect reduced performance.
VT: init without driver.
CPU: Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz (2593.44-MHz K8-class CPU)
   Origin="GenuineIntel"  Id=0x206d7  Family=0x6  Model=0x2d  Stepping=7
 
Features=0x9f83fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,
SSE2,SS,HTT,PBE>
 
Features2=0x9e9e6217<SSE3,PCLMULQDQ,DTES64,DS_CPL,SSSE3,CX16,xTPR,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AESNI,XSA
VE,OSXSAVE,AVX,HV>
   AMD Features=0x24100800<SYSCALL,NX,Page1GB,LM>
   AMD Features2=0x1<LAHF>
   Structured Extended Features3=0x400<MD_CLEAR>
   XSAVE Features=0x1<XSAVEOPT>
   TSC: P-state invariant
Hypervisor: Origin = "bhyve bhyve "
real memory  = 536870912 (512 MB)
avail memory = 478793728 (456 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: < >
kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x0
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff80c23677
stack pointer           = 0x28:0xffffffff8211db90
frame pointer           = 0x28:0xffffffff8211db90
code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = resume, IOPL = 0
current process         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0
time = 1
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 
0xffffffff8211d840
vpanic() at vpanic+0x182/frame 0xffffffff8211d890
panic() at panic+0x43/frame 0xffffffff8211d8f0
trap_fatal() at trap_fatal+0x387/frame 0xffffffff8211d950
trap_pfault() at trap_pfault+0x99/frame 0xffffffff8211d9b0
trap() at trap+0x2a5/frame 0xffffffff8211dac0
calltrap() at calltrap+0x8/frame 0xffffffff8211dac0
--- trap 0xc, rip = 0xffffffff80c23677, rsp = 0xffffffff8211db90, rbp = 
0xffffffff8211db90 ---
topo_promote_child() at topo_promote_child+0x7/frame 0xffffffff8211db90
topo_probe() at topo_probe+0x3e2/frame 0xffffffff8211dc40
cpu_mp_start() at cpu_mp_start+0x2dc/frame 0xffffffff8211dc50
mp_start() at mp_start+0x9a/frame 0xffffffff8211dc60
mi_startup() at mi_startup+0xec/frame 0xffffffff8211dcb0
btext() at btext+0x2c
KDB: enter: panic
[ thread pid 0 tid 0 ]
Stopped at      kdb_enter+0x37: movq    $0,0x10c8846(%rip)
db>
[1] 0:bhyve* 
           "update" 20:04 12-Jun-20




More information about the freebsd-virtualization mailing list