From nobody Tue Nov 15 10:00:59 2022 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NBMBh2C2Dz4hWQY for ; Tue, 15 Nov 2022 10:01:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NBMBh0bPdz44FN for ; Tue, 15 Nov 2022 10:01:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668506460; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cDUrKD4ZNdv0KS2XvqTgk4FS9Zh7fkNiAWQmS/hBatQ=; b=ilFtUKGGnbe95J9hqdriV4vhMWLd9XtKt1IidRMHxH11Jq0N9L0KvxtjrwFzCC9LfId/EH iWQE5+yfyXdLyDfH+YEFq90TJon1tfLvwrKFCSj8/7plpajCvoemTRiAOZmSWcwgXCsnxG UibtHhi9ToYizlyr+wn0vvh81hOz10Of/XJTEjgozHkQUiWY5bOrTYjc60xZ2UIOMqukFN D7kWVTozYOito8UG0T5jvMTnOD6nMAe9OQ6CV02FPwKCSyEm3x+BIOJIwDgwIFSNTFGPIy vP/7TvOt1p+hiU6yJQWZCzGhmQYuDKvR8viEvFxzGByVR+0oE33LYYQNqqofPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668506460; a=rsa-sha256; cv=none; b=A3eSCs4Nx5bZuu0DgXe80jMTmm8r5l/XXP4d7FbmMC6vSDn/97E1nbRWSD7uCK1kuRSxpd 5ewt6rI15rKZS0NJ7ximu7BQ5LBGjVeP7c4MILUfpu0mcYMwgA7iNtb1iRqjISPjn8PRdK B1yeSRWoCN6acgRVTvB7SdahsXNsxUVboOeFRUSOJSgYGFofDZCHZouXY4tGJ9mESmmjAP BAWVA0txWlHwi8V7acNtpGk3Xs6uoDzGm7gkuN96OWK4yaHnYhb1lYeETxxbYBrBLfPc0o jkEz2Gm27QIIt3AGquqtw9CBzNqyKfN4cogsZ9Xs9cIp2qQTkN79+mupwxYS0g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NBMBg6lbzzJDh for ; Tue, 15 Nov 2022 10:00:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2AFA0xDU054547 for ; Tue, 15 Nov 2022 10:00:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2AFA0xJ2054546 for virtualization@FreeBSD.org; Tue, 15 Nov 2022 10:00:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 267779] bhyve crashes host kernel: panic: rendezvous not in progress Date: Tue, 15 Nov 2022 10:00:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267779 Bug ID: 267779 Summary: bhyve crashes host kernel: panic: rendezvous not in progress Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Keywords: crash Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: bz@FreeBSD.org For testing purposes I am restarting a FreeBSD in FreeBSd bhyve instance mo= re or less in a loop. It has 1 PCI passthru in case that matters, a local file based disk. During guest boot, often while printing CPU/TLB information the host will p= anic after a few iterations; I updated main to last night and it still happens: panic: rendezvous not in progress cpuid =3D 3 time =3D 1668475188 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe011567d= 790 vpanic() at vpanic+0x151/frame 0xfffffe011567d7e0 panic() at panic+0x43/frame 0xfffffe011567d840 vm_exit_rendezvous() at vm_exit_rendezvous+0x6a/frame 0xfffffe011567d850 vmx_run() at vmx_run+0x276c/frame 0xfffffe011567d9a0 vm_run() at vm_run+0x223/frame 0xfffffe011567daa0 vmmdev_ioctl() at vmmdev_ioctl+0x507/frame 0xfffffe011567db40 devfs_ioctl() at devfs_ioctl+0xcd/frame 0xfffffe011567db90 vn_ioctl() at vn_ioctl+0x131/frame 0xfffffe011567dca0 devfs_ioctl_f() at devfs_ioctl_f+0x1e/frame 0xfffffe011567dcc0 kern_ioctl() at kern_ioctl+0x202/frame 0xfffffe011567dd30 sys_ioctl() at sys_ioctl+0x12a/frame 0xfffffe011567de00 amd64_syscall() at amd64_syscall+0x12e/frame 0xfffffe011567df30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe011567df30 --- syscall (54, FreeBSD ELF64, ioctl), rip =3D 0x4802ffe533a, rsp =3D 0x480bf115e58, rbp =3D 0x480bf115f10 --- #11 kdb_enter (why=3D, msg=3D) at /worktrees/wireless-dev/sys/kern/subr_kdb.c:509 #12 0xffffffff80bec6b2 in vpanic (fmt=3D, ap=3Dap@entry=3D0xfffffe011567d820) at /worktrees/wireless-dev/sys/kern/kern_shutdown.c:967 #13 0xffffffff80bec453 in panic ( fmt=3D0xffffffff81e8de70 "p\336)\201\377\377\377\377") at /worktrees/wireless-dev/sys/kern/kern_shutdown.c:903 #14 0xffffffff82557f2a in vm_exit_rendezvous (vm=3D, vcpuid= =3D0, vcpuid@entry=3D3, rip=3D18446744071581284439, rip@entry=3D0) at /worktrees/wireless-dev/sys/amd64/vmm/vmm.c:1699 #15 0xffffffff82570b1c in vmx_run (arg=3D0xfffffe0114abf000, vcpu=3D0, rip=3D-2128267177, pmap=3D0xfffffe00e0e3e530, evinfo=3D0x1) at /worktrees/wireless-dev/sys/amd64/vmm/intel/vmx.c:3070 #16 0xffffffff82558223 in vm_run (vm=3D0xfffffe00e0502000, vmrun=3Dvmrun@entry=3D0xfffff8000437bb00) at /worktrees/wireless-dev/sys/amd64/vmm/vmm.c:1775 #17 0xffffffff8255b917 in vmmdev_ioctl (cdev=3D, cmd=3D, data=3D0xfffff8000437bb00 "\003", fflag=3D, td=3D) at /worktrees/wireless-dev/sys/amd64/vmm/vmm_dev.c:504 #18 0xffffffff80a7bd0d in devfs_ioctl (ap=3D0xfffffe011567dba8) at /worktrees/wireless-dev/sys/fs/devfs/devfs_vnops.c:933 #19 0xffffffff80cf6201 in vn_ioctl (fp=3D0xfffff8000a0cd140, com=3D, data=3D0xfffff8000437bb00, active_cred=3D0xfffff80428875b00, td=3D0x0) at /worktrees/wireless-dev/sys/kern/vfs_vnops.c:1699 #20 0xffffffff80a7c3be in devfs_ioctl_f (fp=3D0xffffffff81e8de70 , com=3D0, data=3D0xffffffff81253857, cred=3D0x1, td=3D0x0) at /worktrees/wireless-dev/sys/fs/devfs/devfs_vnops.c:864 #21 0xffffffff80c644a2 in fo_ioctl (fp=3D0xfffff8000a0cd140, com=3D32306928= 65, data=3D0x1c200001, active_cred=3D0x1, td=3D) at /worktrees/wireless-dev/sys/sys/file.h:365 #22 kern_ioctl (td=3Dtd@entry=3D0xfffffe0114aefe40, fd=3D, com=3Dcom@entry=3D3230692865, data=3D0x1c200001 , data@entry=3D0xfffff8000437bb00 "\003") at /worktrees/wireless-dev/sys/kern/sys_generic.c:803 #23 0xffffffff80c641ea in sys_ioctl (td=3D0xfffffe0114aefe40, uap=3D0xfffffe0114af0238) at /worktrees/wireless-dev/sys/kern/sys_generic.c:711 #24 0xffffffff810d33be in syscallenter (td=3D) at /worktrees/wireless-dev/sys/amd64/amd64/../../kern/subr_syscall.c:189 #25 amd64_syscall (td=3D0xfffffe0114aefe40, traced=3D0) at /worktrees/wireless-dev/sys/amd64/amd64/trap.c:1200 #26 #27 0x000004802ffe533a in ?? () --=20 You are receiving this mail because: You are the assignee for the bug.=