Date: Mon, 31 Oct 2022 14:26:56 +0000 From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 267468] resuming bhyve after ^Z panics kernel: vcpu already halted Message-ID: <bug-267468-27103@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267468 Bug ID: 267468 Summary: resuming bhyve after ^Z panics kernel: vcpu already halted Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Keywords: bhyve, crash Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: bz@FreeBSD.org I had a bhyve instance suspended from shell job control (^Z) and on `fg` go= t a kernel panic. Unread portion of the kernel message buffer: panic: vcpu already halted cpuid =3D 11 time =3D 1667225968 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe011507f= 8f0 vpanic() at vpanic+0x151/frame 0xfffffe011507f940 panic() at panic+0x43/frame 0xfffffe011507f9a0 vm_run() at vm_run+0xc9a/frame 0xfffffe011507faa0 vmmdev_ioctl() at vmmdev_ioctl+0x507/frame 0xfffffe011507fb40 devfs_ioctl() at devfs_ioctl+0xcd/frame 0xfffffe011507fb90 vn_ioctl() at vn_ioctl+0x131/frame 0xfffffe011507fca0 devfs_ioctl_f() at devfs_ioctl_f+0x1e/frame 0xfffffe011507fcc0 kern_ioctl() at kern_ioctl+0x202/frame 0xfffffe011507fd30 sys_ioctl() at sys_ioctl+0x12a/frame 0xfffffe011507fe00 amd64_syscall() at amd64_syscall+0x12e/frame 0xfffffe011507ff30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe011507ff30 --- syscall (54, FreeBSD ELF64, sys_ioctl), rip =3D 0xd976740e25a, rsp =3D 0xd97f5ce5e58, rbp =3D 0xd97f5ce5f10 --- #13 0xffffffff80beb283 in panic ( fmt=3D0xffffffff81e8de70 <cnputs_mtx> "\006\264)\201\377\377\377\377") at /usr/home/bz/Sources/worktrees/test/sys/kern/kern_shutdown.c:903 #14 0xffffffff82557c9a in vm_handle_hlt (vm=3D0xfffffe00e04ee000, vcpuid=3D<optimized out>, intr_disabled=3D<optimized out>, retu=3D<optimized out>) at /usr/home/bz/Sources/worktrees/test/sys/amd64/vmm/vmm.c:1357 #15 vm_run (vm=3D0xfffffe00e04ee000, vmrun=3Dvmrun@entry=3D0xfffff8000ab25a= 00) at /usr/home/bz/Sources/worktrees/test/sys/amd64/vmm/vmm.c:1798 #16 0xffffffff8255a917 in vmmdev_ioctl (cdev=3D<optimized out>, cmd=3D<optimized out>, data=3D0xfffff8000ab25a00 "\001", fflag=3D<optimized out>, td=3D<optimized out>) at /usr/home/bz/Sources/worktrees/test/sys/amd64/vmm/vmm_dev.c:504 #17 0xffffffff80a7b25d in devfs_ioctl (ap=3D0xfffffe011507fba8) at /usr/home/bz/Sources/worktrees/test/sys/fs/devfs/devfs_vnops.c:933 #18 0xffffffff80cf56e1 in vn_ioctl (fp=3D0xfffff8000a4d6730, com=3D<optimized out>, data=3D0xfffff8000ab25a00, active_cred=3D0xfffff802d0ffb500, td=3D0x0) at /usr/home/bz/Sources/worktrees/test/sys/kern/vfs_vnops.c:1699 #19 0xffffffff80a7b90e in devfs_ioctl_f (fp=3D0xffffffff81e8de70 <cnputs_mt= x>, com=3D0, data=3D0xffffffff81250ecd, cred=3D0x1, td=3D0x0) at /usr/home/bz/Sources/worktrees/test/sys/fs/devfs/devfs_vnops.c:864 #20 0xffffffff80c63502 in fo_ioctl (fp=3D0xfffff8000a4d6730, com=3D32306928= 65, data=3D0x1c200001, active_cred=3D0x1, td=3D<optimized out>) at /usr/home/bz/Sources/worktrees/test/sys/sys/file.h:365 #21 kern_ioctl (td=3Dtd@entry=3D0xfffffe0114b951e0, fd=3D<optimized out>, com=3Dcom@entry=3D3230692865, data=3D0x1c200001 <error: Cannot access memory at address 0x1c200001>, data@entry=3D0xfffff8000ab25a00 "\001") at /usr/home/bz/Sources/worktrees/test/sys/kern/sys_generic.c:803 #22 0xffffffff80c6324a in sys_ioctl (td=3D0xfffffe0114b951e0, uap=3D0xfffffe0114b955d8) at /usr/home/bz/Sources/worktrees/test/sys/kern/sys_generic.c:711 #23 0xffffffff810d13be in syscallenter (td=3D<optimized out>) at /usr/home/bz/Sources/worktrees/test/sys/amd64/amd64/../../kern/subr_syscall= .c:189 #24 amd64_syscall (td=3D0xfffffe0114b951e0, traced=3D0) at /usr/home/bz/Sources/worktrees/test/sys/amd64/amd64/trap.c:1200 #25 <signal handler called> #26 0x00000d976740e25a in ?? () Backtrace stopped: Cannot access memory at address 0xd97f5ce5e58 Sources were from (around) Oct 17. Cannot say which head revision due to a local tree which has been integrated since. --=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-267468-27103>