Number: 57007
Category: kern
Synopsis: NetBSD/amd64 9.99.99 on AMD Ryzen 7 5800U is very unstable
Confidential: no
Severity: serious
Priority: medium
Responsible: kern-bug-people
State: open
Class: sw-bug
Submitter-Id: net
Arrival-Date: Mon Sep 12 19:35:00 +0000 2022
Originator: Ryo ONODERA
Release: NetBSD 9.99.99
Organization:
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Environment:
System: NetBSD brownie 9.99.99 NetBSD 9.99.99 (DTRACE8) #9: Mon Sep 12 12:30:43 JST 2022 ryoon@brownie:/usr/world/9.99/amd64/obj/sys/arch/amd64/compile/DTRACE8 amd64
Architecture: x86_64
Machine: amd64
Description:
After this commit
https://mail-index.netbsd.org/source-changes/2022/09/12/msg140933.html
NetBSD/amd64 under HP Envy 13 ay1000 (AMD Ryzen 7 5800U) panics.
In some case, I cannot get kernel coredumps.
The backtraces from crash(8) are as follows.
$ crash -M netbsd.16.core -N netbsd.16
Crash version 9.99.99, image version 9.99.99.
crash: _kvm_kvatop(0)
Kernel compiled without options LOCKDEBUG.
System panicked: trap
Backtrace from time of crash is available.
crash> bt
__kernel_end() at 0
kern_reboot() at sys_reboot
vpanic() at vpanic+0x18d
panic() at vprintf
trap() at startlwp
--- trap (number 6) ---
copyin() at copyin+0x2f
ubc_uiomove() at ubc_uiomove+0x104
ffs_write() at ffs_write+0x265
VOP_WRITE() at VOP_WRITE+0xa6
vn_write() at vn_write+0x10e
dofilewrite() at dofilewrite+0x80
sys_write() at sys_write+0x49
syscall() at syscall+0x1fc
--- syscall (number 4) ---
syscall+0x1fc:
crash>
$ crash -M netbsd.0.core -N netbsd.0
Crash version 9.99.99, image version 9.99.99.
crash: _kvm_kvatop(0)
Kernel compiled without options LOCKDEBUG.
System panicked: fpudna from kernel, ip 0xffffffff806cd916, trapframe 0xffffd30423673c90
Backtrace from time of crash is available.
crash> bt
__kernel_end() at 0
kern_reboot() at sys_reboot
vpanic() at vpanic+0x18d
panic() at vprintf
fpudna() at fpu_set_default_cw
Xtrap07() at Xtrap07+0xb5
uvm_swap_io() at uvm_swap_io+0x4c3
swapcluster_flush() at swapcluster_flush+0x50
uvm_pageout() at uvm_pageout+0x391
crash>
And after this commit
https://mail-index.netbsd.org/source-changes/2022/09/12/msg140933.html
my situation becomes worse.
My environment suddenly stops and I cannot get kernel coredumps.
How-To-Repeat:
Run NetBSD/amd64 9.99.99 on HP Envy 13 ay1000 laptop.
Fix:
I have no idea.
Unformatted: