Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jul 2016 22:22:57 +0200
From:      Lars Engels <lars.engels@0x20.net>
To:        virtualization@freebsd.org
Subject:   bhyve coredump on 11.0-ALPHA6
Message-ID:  <20160709202256.GV15808@e-new.0x20.net>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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



[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQF8BAEBCgBmBQJXgV0gXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF
NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1t8+8H/AsgFowUfPPEhn7Oe6JYQaWS
QgZTV5simvPQdQzB2bkZMexk/CzFMmiFjD7pkNJ6wOQjAQfkMoACz5xAJSFg01MC
g0IQutv5GjGwp14d3eO/YCfYa4Kmtan5VBSEo1IeOY0Z5W6GojkFDQdyx6fNJNVu
ti4dDpQZbcX7L0A/rdRLZ3NIuVy63qWhUSMW9X0QEOmf7/7vm/Du7AP8boBcPl9U
wwDIZ02ZFDL1xajcxPbl17paFiVMAXK9Ig4jfsMp8h5RcK2GINZRVeJxtKiV4OFT
PnA2k0/zXo2u6LyypEUnL1p5aG7JIy5xs7Xso6630+zyS1ZWmJp7+q2TRmcsSe4=
=ZWW2
-----END PGP SIGNATURE-----

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