NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-amd64/58265: NetBSD/amd64 panics on resume in QEMU
>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:
Home |
Main Index |
Thread Index |
Old Index