Date: Sat, 14 Oct 2023 17:33:09 +0000 From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 274389] bhyve in 15-CURRENT unable to boot OpenBSD anymore Message-ID: <bug-274389-27103-bAA6hYAhGp@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-274389-27103@https.bugs.freebsd.org/bugzilla/> References: <bug-274389-27103@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274389 Mark Johnston <markj@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org --- Comment #1 from Mark Johnston <markj@FreeBSD.org> --- > 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<optimized out>, file=3D<optimiz= ed out>, line=3Dline@entry=3D703, failedexpr=3D<optimized out>) 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<optimized out>, bus=3D<optimized= out>, slot=3D<optimized out>, func=3D<optimized out>, coff=3D<optimized out>,=20 bytes=3D<optimized out>, valp=3D0x7fffdeff5d0c) at /usr/home/markj/src/freebsd/usr.sbin/bhyve/pci_emul.c:2375 #7 0x0000000001059614 in pci_emul_cfgdata (ctx=3D<optimized out>, in=3D749= 046, port=3D<optimized out>, bytes=3D0, eax=3D<optimized out>, arg=3D<optimized = out>) 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= <optimized out>) 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= <optimized out>) 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274389-27103-bAA6hYAhGp>