NetBSD Problem Report #56524
From gson@gson.org Fri Nov 26 19:20:21 2021
Return-Path: <gson@gson.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id A02CD1A9239
for <gnats-bugs@gnats.NetBSD.org>; Fri, 26 Nov 2021 19:20:21 +0000 (UTC)
Message-Id: <20211126192008.569F6254286@guava.gson.org>
Date: Fri, 26 Nov 2021 21:20:08 +0200 (EET)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: NVMM: Unexpected VM exit code 0xffffffffffffffff [hw=0x31]
X-Send-Pr-Version: 3.95
>Number: 56524
>Category: kern
>Synopsis: NVMM: Unexpected VM exit code 0xffffffffffffffff [hw=0x31]
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 26 19:25:00 +0000 2021
>Originator: Andreas Gustafsson
>Release: NetBSD 9.2
>Organization:
>Environment:
System: NetBSD guido.araneus.fi
Architecture: x86_64
Machine: amd64
>Description:
I had been successfully running a FreeBSD guest on a NetBSD host using
qemu -accel nvmm for several days, but today I found that the qemu
process had dumped core:
qemu-system-x86_64: NVMM: Unexpected VM exit code 0xffffffffffffffff [hw=0x31]
qemu-system-x86_64: NVMM: Failed to execute a VCPU.
[1] Abort trap (core dumped) qemu-system-x86_64 -hda freebsd12a.qcow -m 204...
The qemu command line was:
qemu-system-x86_64 -hda freebsd12a.qcow -m 2048 -accel nvmm -smp 8 -nographic -netdev tap,id=eth,ifname=tap0,script=no,downscript=no -device e1000,netdev=eth,mac=52:54:00:00:00:01
and the core file shows this backtrace:
(gdb) bt
#0 0x000078d330b679aa in _lwp_kill () from /usr/lib/libc.so.12
#1 0x000078d330b6725a in abort () at /usr/src/lib/libc/stdlib/abort.c:74
#2 0x00000001b5bcbb19 in nvmm_vcpu_exec (cpu=cpu@entry=0x78d3369af240) at ../target/i386/nvmm/nvmm-all.c:1022
#3 0x00000001b5bd7c21 in qemu_nvmm_cpu_thread_fn (arg=arg@entry=0x78d3369af240) at ../target/i386/nvmm/nvmm-accel-ops.c:45
#4 0x00000001b5eabd02 in qemu_thread_start (args=<optimized out>) at ../util/qemu-thread-posix.c:541
#5 0x000078d33100c072 in pthread__create_tramp (cookie=0x78d3369c6000) at /usr/src/lib/libpthread/pthread.c:592
#6 0x000078d330a87bb0 in ?? () from /usr/lib/libc.so.12
#7 0x0000000000200000 in ?? ()
#8 0x0000000000000000 in ?? ()
>How-To-Repeat:
>Fix:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.