So this happened while running a build.sh. The kernel is XEN3_DOM0, somewhat modified and partly updated from many-days-gone-by-current, with last full CVS update 2021/10/29: NetBSD xentastic 9.99.81 NetBSD 9.99.81 (XEN3_DOM0) #47: Fri Aug 9 14:04:28 PDT 2024 woods@xentastic:/build/woods/xentastic/current-amd64-amd64-obj/build/src/sys/arch/amd64/compile/XEN3_DOM0 amd64 I've never seen it before. I've done dozens of full builds, and many more kernel builds, and of course this is a dom0 so it provides storage and networking for several domUs. [ 7202.0431736] panic: kernel diagnostic assertion "x86_read_psl() == 0" failed: file "/build/src/sys/arch/x86/x86/pmap.c", line 3528 [ 7202.0431736] cpu1: Begin traceback... [ 7202.0431736] vpanic() at netbsd:vpanic+0x14a [ 7202.0431736] kern_assert() at netbsd:kern_assert+0x48 [ 7202.0431736] pmap_load() at netbsd:pmap_load+0x12c [ 7202.0431736] do_pmap_load() at netbsd:do_pmap_load+0x1d [ 7202.0431736] copyout() at netbsd:copyout+0x48 [ 7202.0431736] syscall() at netbsd:syscall+0x9c [ 7202.0431736] --- syscall (number 449) --- [ 7202.0431736] netbsd:syscall+0x9c: [ 7202.0431736] cpu1: End traceback... [ 7202.0431736] fatal breakpoint trap in supervisor mode [ 7202.0431736] trap type 1 code 0 rip 0xffffffff8023f93d cs 0x10000e030 rflags 0x2 cr2 0x705f08992002 ilevel 0 rsp 0xffffd803173a4cc0 [ 7202.0431736] curlwp 0xffffd800437d1b00 pid 6124.6124 lowest kstack 0xffffd803173a02c0 Stopped in pid 6124.6124 (x86_64--netbsd-g) at netbsd:breakpoint+0x5: leave breakpoint() at netbsd:breakpoint+0x5 vpanic() at netbsd:vpanic+0x14a kern_assert() at netbsd:kern_assert+0x48 pmap_load() at netbsd:pmap_load+0x12c do_pmap_load() at netbsd:do_pmap_load+0x1d copyout() at netbsd:copyout+0x48 syscall() at netbsd:syscall+0x9c --- syscall (number 449) --- netbsd:syscall+0x9c: ds 4cd0 es 4c80 fs 4cc0 gs 10 rdi 0 rsi deadbeefdeadf00d rbp ffffd803173a4cc0 rbx ffffd80020d1b000 rdx 2 rcx 0 rax 0 r8 ffffd80020d1b000 r9 1 r10 0 r11 fffffffe r12 104 r13 ffffffff80ca12a0 ostype+0x148 r14 ffffd803173a4d08 r15 4 rip ffffffff8023f93d breakpoint+0x5 cs e030 rflags 2 rsp ffffd803173a4cc0 ss e02b netbsd:breakpoint+0x5: leave db{1}> reboot 0x100 Note that it didn't dump core (can a XEN3_DOM0 dump core?) Is it worth a PR without a core dump? -- Greg A. Woods <gwoods%acm.org@localhost> Kelowna, BC +1 250 762-7675 RoboHack <woods%robohack.ca@localhost> Planix, Inc. <woods%planix.com@localhost> Avoncote Farms <woods%avoncote.ca@localhost>
Attachment:
pgp34hqzXarxh.pgp
Description: OpenPGP Digital Signature