From owner-freebsd-virtualization@freebsd.org Sat Jul 9 20:23:01 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95E4FB7653C for ; Sat, 9 Jul 2016 20:23:01 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7DB3519B5 for ; Sat, 9 Jul 2016 20:23:01 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: by mailman.ysv.freebsd.org (Postfix) id 79436B7653B; Sat, 9 Jul 2016 20:23:01 +0000 (UTC) Delivered-To: virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 78EB8B7653A for ; Sat, 9 Jul 2016 20:23:01 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "0x20.net", Issuer "StartCom Class 1 DV Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1392619B4 for ; Sat, 9 Jul 2016 20:23:00 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 5AE556E0081 for ; Sat, 9 Jul 2016 22:22:57 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id u69KMvx6048460 for ; Sat, 9 Jul 2016 22:22:57 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id u69KMvhH047663 for virtualization@freebsd.org; Sat, 9 Jul 2016 22:22:57 +0200 (CEST) (envelope-from lars) Date: Sat, 9 Jul 2016 22:22:57 +0200 From: Lars Engels To: virtualization@freebsd.org Subject: bhyve coredump on 11.0-ALPHA6 Message-ID: <20160709202256.GV15808@e-new.0x20.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="t1CmwkW5H+10rlDA" Content-Disposition: inline X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p23 User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2016 20:23:01 -0000 --t1CmwkW5H+10rlDA Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=3D0x801b3c000, slot=3D1) = at /usr/src/usr.sbin/bhyve/pci_xhci.c:707 707 dev =3D XHCI_SLOTDEV_PTR(sc, slot); (gdb) bt full #0 0x000000000042c41e in pci_xhci_reset_slot (sc=3D0x801b3c000, slot=3D1) = at /usr/src/usr.sbin/bhyve/pci_xhci.c:707 dev =3D (struct pci_xhci_dev_emu *) 0x0 #1 0x000000000042a693 in pci_xhci_reset (sc=3D0x801b3c000) at /usr/src/usr= =2Esbin/bhyve/pci_xhci.c:359 i =3D 1 #2 0x0000000000429c91 in pci_xhci_init (ctx=3D0x801a1b080, pi=3D0x801a42c8= 0, opts=3D0x0) at /usr/src/usr.sbin/bhyve/pci_xhci.c:2779 sc =3D (struct pci_xhci_softc *) 0x801b3c000 error =3D 0 #3 0x000000000041c28b in pci_emul_init (ctx=3D0x801a1b080, pde=3D0x654f90,= bus=3D0, slot=3D30, func=3D0, fi=3D0x801a21c70) at /usr/src/usr.sbin/bhyve= /pci_emul.c:749 pdi =3D (struct pci_devinst *) 0x801a42c80 err =3D 0 #4 0x000000000041bd49 in init_pci (ctx=3D0x801a1b080) at /usr/src/usr.sbin= /bhyve/pci_emul.c:1109 mr =3D {name =3D 0x9
, flags =3D 9, hand= ler =3D 0x650bf36715e07822, arg1 =3D 0x0, arg2 =3D 140737488348512, base = =3D 4389931, size =3D 0} pde =3D (struct pci_devemu *) 0x654f90 bi =3D (struct businfo *) 0x801a20000 si =3D (struct slotinfo *) 0x801a21c40 fi =3D (struct funcinfo *) 0x801a21c70 lowmem =3D 18446735284888420640 bus =3D 0 slot =3D 30 func =3D 0 error =3D 0 #5 0x000000000040a715 in main (argc=3D1, argv=3D0x7fffffffe778) at /usr/sr= c/usr.sbin/bhyve/bhyverun.c:913 c =3D -1 error =3D 0 gdb_port =3D 0 err =3D 0 bvmcons =3D 0 max_vcpus =3D 16 mptgen =3D 1 memflags =3D 0 rtc_localtime =3D 1 ctx =3D (struct vmctx *) 0x801a1b080 rip =3D 26 memsize =3D 4294967296 optstr =3D 0x446057 "abehuwxACHIPSWYp:g:c:s:m:l:U:" Current language: auto; currently minimal (gdb)=20 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-x= 64-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=3D0.0.0.0:5900,w=3D800,h=3D600,wait \ -s 30,xhci \ -s 31,lpc -l com1,stdio \ vm0 --t1CmwkW5H+10rlDA Content-Type: application/pgp-signature -----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----- --t1CmwkW5H+10rlDA--