bhyve coredump on 11.0-ALPHA6
Lars Engels
lars.engels at 0x20.net
Sat Jul 9 20:23:01 UTC 2016
I wanted to give TrueOS Desktop a try using the new GOP bhyve.
When I start the virtual machine and connect with tightvnc bhyve
crashes:
/bhyve/TrueOSDesktop > gdb /usr/sbin/bhyve bhyve.core
Core was generated by `bhyve'.
Program terminated with signal 11, Segmentation fault.
#0 0x000000000042c41e in pci_xhci_reset_slot (sc=0x801b3c000, slot=1) at /usr/src/usr.sbin/bhyve/pci_xhci.c:707
707 dev = XHCI_SLOTDEV_PTR(sc, slot);
(gdb) bt full
#0 0x000000000042c41e in pci_xhci_reset_slot (sc=0x801b3c000, slot=1) at /usr/src/usr.sbin/bhyve/pci_xhci.c:707
dev = (struct pci_xhci_dev_emu *) 0x0
#1 0x000000000042a693 in pci_xhci_reset (sc=0x801b3c000) at /usr/src/usr.sbin/bhyve/pci_xhci.c:359
i = 1
#2 0x0000000000429c91 in pci_xhci_init (ctx=0x801a1b080, pi=0x801a42c80, opts=0x0) at /usr/src/usr.sbin/bhyve/pci_xhci.c:2779
sc = (struct pci_xhci_softc *) 0x801b3c000
error = 0
#3 0x000000000041c28b in pci_emul_init (ctx=0x801a1b080, pde=0x654f90, bus=0, slot=30, func=0, fi=0x801a21c70) at /usr/src/usr.sbin/bhyve/pci_emul.c:749
pdi = (struct pci_devinst *) 0x801a42c80
err = 0
#4 0x000000000041bd49 in init_pci (ctx=0x801a1b080) at /usr/src/usr.sbin/bhyve/pci_emul.c:1109
mr = {name = 0x9 <Address 0x9 out of bounds>, flags = 9, handler = 0x650bf36715e07822, arg1 = 0x0, arg2 = 140737488348512, base = 4389931, size = 0}
pde = (struct pci_devemu *) 0x654f90
bi = (struct businfo *) 0x801a20000
si = (struct slotinfo *) 0x801a21c40
fi = (struct funcinfo *) 0x801a21c70
lowmem = 18446735284888420640
bus = 0
slot = 30
func = 0
error = 0
#5 0x000000000040a715 in main (argc=1, argv=0x7fffffffe778) at /usr/src/usr.sbin/bhyve/bhyverun.c:913
c = -1
error = 0
gdb_port = 0
err = 0
bvmcons = 0
max_vcpus = 16
mptgen = 1
memflags = 0
rtc_localtime = 1
ctx = (struct vmctx *) 0x801a1b080
rip = 26
memsize = 4294967296
optstr = 0x446057 "abehuwxACHIPSWYp:g:c:s:m:l:U:"
Current language: auto; currently minimal
(gdb)
The command I used to start was:
bhyve -c 2 -m 4096 -w -H \
-s 0,hostbridge \
-s 3,ahci-cd,/ISOs/TrueOS-Desktop-11.0-CURRENTJULY2016-07-08-2016-x64-DVD.iso \
-s 4,ahci-hd,disk0.img \
-s 5,virtio-net,tap0 \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
-s 29,fbuf,tcp=0.0.0.0:5900,w=800,h=600,wait \
-s 30,xhci \
-s 31,lpc -l com1,stdio \
vm0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 603 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20160709/1fef48ae/attachment.sig>
More information about the freebsd-virtualization
mailing list