From nobody Sat Oct 14 17:33:09 2023 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 4S79Sj364Qz4x37m for ; Sat, 14 Oct 2023 17:33:09 +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 4S79Sj231Lz4R8H for ; Sat, 14 Oct 2023 17:33:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697304789; a=rsa-sha256; cv=none; b=XRA6xMOxtOdvdwvVaRVkLKYrDHIYM6lENimL3vHJL4/qUwGB9Ayi9FxUU+aHJTTIee9vmq PORyEqPYCrGW9BbCKxcTuTvdefx95vPsiulwz2IEa1m+cBR2mn2a++qYzyH5dqIaXVtN10 ephm1ey5/bcCxR0qU1u7B9LwXyoG2GshTKaAxq7uLXUoxoam1hPh9PsB3PaL43bhzhgqo6 mjqcZ4LI/Z29udKuhBgUqT8KOaEff+Cx7eAWpDqSUKBJyAGQl1rjhGKoCEWDnLhDMh1rGs B9/fSOORR8OsVEk37Rm1gNy13BH846JsPNCjJNNxpBHQWzo7Chcrf3CsNl8aAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697304789; 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: in-reply-to:in-reply-to:references:references; bh=FM2tU49PXc3GIsm7fRP1RgVEryy3SvFHpj7JxQByTa4=; b=tPkPVdL+/CmZZwdtzbTOMRiCIDDaJ9Xdd1Xo61aJTrIDJbh3ZzmB77BGJGKgmV8mzh1Fhg TO5Wn1xDlscc2NSaINhrG3fuEmJJ+dj+2TXQWjQtshpMp4gQazxCJOeOcDgVE3DkTnQkH2 rOIclqIiVe8wdiaw9/AdMylf6lLPvwK2GJpq2l1UdtEb3eyM7MgAeuZTvszYL6uYw8XzMr gtZQ502MkWrP1GkTa9Z/qMWfflBZ97BK0pE9DKwZYAnYKj6eizcjVNLOLP36bEcQpzFsf2 PtOGPuDfnVyn+2SxdEweezeYM4kc0EXVryenjMfJ8xrCfK6xAI7IiFVq3B4KtA== 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 4S79Sj16Fqzft1 for ; Sat, 14 Oct 2023 17:33:09 +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 39EHX9UG023347 for ; Sat, 14 Oct 2023 17:33:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39EHX93f023346 for virtualization@FreeBSD.org; Sat, 14 Oct 2023 17:33:09 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 274389] bhyve in 15-CURRENT unable to boot OpenBSD anymore Date: Sat, 14 Oct 2023 17:33:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: bhyve, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274389 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org --- Comment #1 from Mark Johnston --- > This has worked up until about a month ago. Can you convert this into a pair of known-good and known-bad revisions? Th= at is, what is the last revision where this worked, and what is the first revi= sion where it doesn't? When I try booting the OpenBSD 7.3 installer, I hit an assertion failure in modify_bar_registration(): 697 assert(error =3D=3D 0); (gdb) bt #0 thr_kill () at thr_kill.S:4 #1 0x00000008016f83b4 in __raise (s=3Ds@entry=3D6) at /root/freebsd/lib/libc/gen/raise.c:50 #2 0x00000008017aa4c9 in abort () at /root/freebsd/lib/libc/stdlib/abort.c= :65 #3 0x00000008016db741 in __assert (func=3D, file=3D, line=3Dline@entry=3D703, failedexpr=3D) at /root/freebsd/lib/libc/gen/assert.c:49 #4 0x0000000001059205 in modify_bar_registration (pi=3D0x801e32600, idx=3D= 0, registration=3Dregistration@entry=3D1) at /usr/home/markj/src/freebsd/usr.sbin/bhyve/pci_emul.c:703 #5 0x0000000001058ceb in register_bar (pi=3D0xb6df6, idx=3D6) at /usr/home/markj/src/freebsd/usr.sbin/bhyve/pci_emul.c:720 #6 0x0000000001058af9 in pci_cfgrw (in=3D, bus=3D, slot=3D, func=3D, coff=3D,=20 bytes=3D, valp=3D0x7fffdeff5d0c) at /usr/home/markj/src/freebsd/usr.sbin/bhyve/pci_emul.c:2375 #7 0x0000000001059614 in pci_emul_cfgdata (ctx=3D, in=3D749= 046, port=3D, bytes=3D0, eax=3D, arg=3D) at /usr/home/markj/src/freebsd/usr.sbin/bhyve/pci_emul.c:2451 #8 0x000000000106e1b9 in emulate_inout (ctx=3D0x801e19500, vcpu=3D0x801e1b= 070, vmexit=3Dvmexit@entry=3D0x7fffdeff5ec8) at /usr/home/markj/src/freebsd/usr.sbin/bhyve/amd64/inout.c:223 #9 0x000000000106b9f0 in vmexit_inout (ctx=3D0xb6df6, vcpu=3D0x6, vmrun=3D= ) at /usr/home/markj/src/freebsd/usr.sbin/bhyve/amd64/vmexit.c:84 #10 0x000000000104b610 in vm_loop (ctx=3D0x801e19500, vcpu=3D0x801e1b070) at /usr/home/markj/src/freebsd/usr.sbin/bhyve/bhyverun.c:523 #11 0x000000000104a217 in fbsdrun_start_thread (param=3D0x801e25030) at /usr/home/markj/src/freebsd/usr.sbin/bhyve/bhyverun.c:434 #12 0x000000080162aac5 in thread_start (curthread=3D0x801e15f00) at /root/freebsd/lib/libthr/thread/thr_create.c:290 #13 0x0000000000000000 in ?? () Backtrace stopped: Cannot access memory at address 0x7fffdeff6000 (gdb) frame 4 #4 0x0000000001059205 in modify_bar_registration (pi=3D0x801e32600, idx=3D= 0, registration=3Dregistration@entry=3D1) at /usr/home/markj/src/freebsd/usr.sbin/bhyve/pci_emul.c:703 703 assert(error =3D=3D 0); (gdb) p pi $2 =3D (struct pci_devinst *) 0x801e32600 (gdb) p pi->pi_bar[0] $3 =3D {type =3D PCIBAR_IO, size =3D 128, addr =3D 0, lobits =3D 1 '\001'} (gdb) frame 9 #9 0x000000000106b9f0 in vmexit_inout (ctx=3D0xb6fa6, vcpu=3D0x6, vmrun=3D= ) at /usr/home/markj/src/freebsd/usr.sbin/bhyve/amd64/vmexit.c:84 84 error =3D emulate_inout(ctx, vcpu, vme) (gdb) p vme->u.inout $3 =3D {bytes =3D 4, in =3D 0, string =3D 0, rep =3D 0, port =3D 3324, eax = =3D 0} --=20 You are receiving this mail because: You are the assignee for the bug.=