On Sun, Apr 10 2022, Jeremie Courreges-Anglas <j...@wxcvbn.org> wrote: > On Fri, Oct 08 2021, Jeremie Courreges-Anglas <j...@wxcvbn.org> wrote: >> riscv64.ports was running dpb(1) with two other members in the build >> cluster. A few minutes ago I found it in ddb(4). The report is short, >> sadly, as the machine doesn't return from the 'bt' command. >> >> The machine is acting both as an NFS server and and NFS client. > > Here's a crash during 7.1 packages build, on riscv64-4.p, a ports build > cluster member and NFS client.
Two CPUs panic in pool_do_get. The kernel is -current plus a patch to be able to break into ddb(4) from the serial console. The machine is sitting in ddb(4) in case people want more details. OpenBSD/riscv64 (riscv64.ports.openbsd.org) (console) login: panic: pool_dicg po: vp fr_eet: v p dirie d: sa mo 0x ffff:f cg2b752000; teffaff ddr 0xfff2ff02 i0020 0; or fxff 0x0fcxfb0f20022 99fs1e 0x0 0x4e7f5e3861 f 08 Stopped at panic+0x106: addi a0,zero,256 TID PID UID PR FLAGS PFLAGS CPU COMMAND * 80878 4262 55 0x2 0 0 sed 486573 30570 55 0x2 0 2 c++ 255837 83800 55 0x100002 0 1 sh 121019 99938 0 0x14000 0x200 3 zerothread panic() at panic+0x106 pool_do_get() at pool_do_get+0x286 pool_get() at pool_get+0x78 pmap_vp_enter() at pmap_vp_enter+0xe6 pmap_enter() at pmap_enter+0x140 uvm_fault_lower() at uvm_fault_lower+0x674 uvm_fault() at uvm_fault+0x150 do_trap_user() at do_trap_user+0x116 cpu_exception_handler_user() at cpu_exception_handler_user+0x7c end of kernel end trace frame: 0x30, count: 6 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{0}> show panic *cpu0: pool_do_get: vp free list modified: page 0xffffffc22b752000; item addr 0 xffffffc22b002000; offset 0x0=0xffffffc2299fd1e8 != 0x4e7f5e386147f608 cpu1: pool_do_get: vp free list modified: page 0xffffffc22b752000; item addr 0 xffffffc22b002000; offset 0x0=0xffffffc2299fd1e8 != 0x4e7f5e386147f608 ddb{0}> mach ddb 1 Stopped at ipi_intr+0x22: c.li a0,1 ipi_intr() at ipi_intr+0x22 riscv_cpu_intr() at riscv_cpu_intr+0x22 cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a sfuartcnputc() at sfuartcnputc+0x2e db_putchar() at db_putchar+0x318 kprintf() at kprintf+0xb36 db_printf() at db_printf+0x52 panic() at panic+0x92 pool_do_get() at pool_do_get+0x286 pool_get() at pool_get+0x78 pmap_create() at pmap_create+0x4e uvmspace_fork() at uvmspace_fork+0x66 process_new() at process_new+0x102 fork1() at fork1+0x202 end trace frame: 0xffffffc22bb3bdd0, count: 0 ddb{1}> tr ipi_intr() at ipi_intr+0x22 riscv_cpu_intr() at riscv_cpu_intr+0x22 cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x7a sfuartcnputc() at sfuartcnputc+0x2e db_putchar() at db_putchar+0x318 kprintf() at kprintf+0xb36 db_printf() at db_printf+0x52 panic() at panic+0x92 pool_do_get() at pool_do_get+0x286 pool_get() at pool_get+0x78 pmap_create() at pmap_create+0x4e uvmspace_fork() at uvmspace_fork+0x66 process_new() at process_new+0x102 fork1() at fork1+0x202 svc_handler() at svc_handler+0x264 do_trap_user() at do_trap_user+0x15c cpu_exception_handler_user() at cpu_exception_handler_user+0x7c end of kernel end trace frame: 0x15ae78988, count: -17 ddb{1}> -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE