From owner-freebsd-virtualization@freebsd.org Sat Jun 13 04:56:53 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EDF0B329085 for ; Sat, 13 Jun 2020 04:56:53 +0000 (UTC) (envelope-from editor@callfortesting.org) Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49kQLD3qdpz4Xjd for ; Sat, 13 Jun 2020 04:56:52 +0000 (UTC) (envelope-from editor@callfortesting.org) Received: by mail-pj1-x102a.google.com with SMTP id s88so4717276pjb.5 for ; Fri, 12 Jun 2020 21:56:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=callfortesting-org.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=Nx48F1YRnD9b3Qbj1QVSE6EE5xgMZKs6kxoEIA6G9i0=; b=SAk8brRA+hrkM4JEI19Mdd26eR97ucaxkVS67DywgiorX4e86E/qt/qsqR7+p8BX3C XIaHSyFojVBZ0Ka56MxdeI06o1Rwrfa+ueGlCe1V75VFQCET8t4HiFj3Z3sZ1gmXynab KCbFYMC3tYHZ4PiJk9W7CMXMnJbejerst0UwUlrKt1kIM2tzCCVfV+mnNNekNmUuwWIR Y+PWpauA+lfw8/53WzRV8smbcTDV2WAh1m9r+5tJKp6/1j/Jz+pkO3831uuahlhLNQcE qaR798ZWhTPlTQNN1QoBAzVzXYsMEylgI1k7yginoSYfIxh3nD9BEudRUy8CG+V/h2bd a9QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=Nx48F1YRnD9b3Qbj1QVSE6EE5xgMZKs6kxoEIA6G9i0=; b=IBj/a2q8+FZwDPuVJ+tcOok6muNXnXI7LC1M57jV3jdKedPA2q57f6Zuv5nKamqz7e wWaTsMbogMbk0V4RaQHeJfxC59GJZI+JsD4/A0OSD2lbp7DRjzJ9GCrro7HgbVOaOv5C mcxsOve0pyh7M99/hFJcM5nH6Y0gxP3i5qrL1HGr5XWqlINSSgI2nAkqRyzODYXSGTX5 4PXnu0uaycDAxjq90NW8Mj6/AXxv/wOAEhySC/Bc6ZalZh9e8CYGouJm8r65tBnlJkHQ igYcqiiim2ZnfjafTcRBcbmFWG4kUHeesP7VyxYOMs4CUzLNce7exYtCW0fDN+HAROwb yTUQ== X-Gm-Message-State: AOAM532oWoSZ1FksD5RyFSBabwbTO1NOlRzfJ5H52VTa0AmlGGW9efwf YKMD95azV3P1eec5UOlfqf54tNK91lpVqw== X-Google-Smtp-Source: ABdhPJyPK4juhzuqFUVccZo26m72NnodQLUrq0B2RgjkKRWhnTq4gI06P+t+PBhOViLLZ9JkTejRaw== X-Received: by 2002:a17:902:bb85:: with SMTP id m5mr13713420pls.23.1592024210657; Fri, 12 Jun 2020 21:56:50 -0700 (PDT) Received: from macbook-2.local (c-73-157-156-137.hsd1.or.comcast.net. [73.157.156.137]) by smtp.gmail.com with ESMTPSA id i22sm7470124pfo.92.2020.06.12.21.56.49 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Jun 2020 21:56:50 -0700 (PDT) To: "freebsd-virtualization@freebsd.org" From: Michael Dexter Subject: VM Panic with FreeBSD-13.0-CURRENT-362037-amd64-vm.raw Message-ID: <08ae57c6-58dc-9be7-0f6c-9dcc3a563333@callfortesting.org> Date: Fri, 12 Jun 2020 21:56:47 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49kQLD3qdpz4Xjd X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=callfortesting-org.20150623.gappssmtp.com header.s=20150623 header.b=SAk8brRA; dmarc=none; spf=none (mx1.freebsd.org: domain of editor@callfortesting.org has no SPF policy when checking 2607:f8b0:4864:20::102a) smtp.mailfrom=editor@callfortesting.org X-Spamd-Result: default: False [-0.53 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[callfortesting-org.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-0.27)[-0.272]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.77)[-0.771]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; DMARC_NA(0.00)[callfortesting.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.82)[0.816]; DKIM_TRACE(0.00)[callfortesting-org.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::102a:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[73.157.156.137:received] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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, 13 Jun 2020 04:56:54 -0000 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 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 ---<>--- 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@update:/pub/build/362037/obj/pub/build/362037/src/amd64.amd64/sys/GENERIC amd64 FreeBSD clang version 10.0.1 (git@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 Features2=0x9e9e6217 AMD Features=0x24100800 AMD Features2=0x1 Structured Extended Features3=0x400 XSAVE Features=0x1 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