NetBSD Problem Report #58265
From www@netbsd.org Fri May 17 14:06:39 2024
Return-Path: <www@netbsd.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 06E651A925E
for <gnats-bugs@gnats.NetBSD.org>; Fri, 17 May 2024 14:06:39 +0000 (UTC)
Message-Id: <20240517140637.8F48A1A925F@mollari.NetBSD.org>
Date: Fri, 17 May 2024 14:06:37 +0000 (UTC)
From: nia@pkgsrc.org
Reply-To: nia@pkgsrc.org
To: gnats-bugs@NetBSD.org
Subject: NetBSD/amd64 panics on resume in QEMU
X-Send-Pr-Version: www-1.0
>Number: 58265
>Category: port-amd64
>Synopsis: NetBSD/amd64 panics on resume in QEMU
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-amd64-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 17 14:10:00 +0000 2024
>Originator: nia
>Release: NetBSD 10.0
>Organization:
The NetBSD pmfoundation
>Environment:
NetBSD 10.0 amd64
>Description:
I want eap(4) to support power management, but I thought I'd try
suspending and resuming in plain QEMU (traditional non-paravirt
devices, no audio) first.
>How-To-Repeat:
1. Start qemu-system-x86_64 with "-monitor stdio"
2. From NetBSD, # sysctl -w hw.acpi.sleep.state=3
3. For the QEMU montior, "system_wakeup"
4. Observe kernel crash.
X86EMU_exec_one_byte() at X86EMU_exec_one_byte+0x17c0
X86EMU_exec() at X86EMU_exec+0x2f
vga_pci_resume() at vga_pci_resume+0x3f
device_pmf_driver_resume() at device_pmf_driver_resume+0x3d
pmf_device_resume() at pmf_device_resume+0x115
pmf_system_resume() at pmf_system_resume+0xb1
acpi_enter_sleep_state() at acpi_enter_sleep_state+0x187
sysctl_hw_acpi_sleepstate() at sysctl_hw_acpi_sleepstate+0xe1
sysctl_dispatch() at sysctl_dispatch+0xa5
sys___sysctl() at sys___sysctl+0xc5
syscall() at syscall+0x1fc
--- syscall (number 202) ---
syscall+0x1fc:
>Fix:
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.