На 2019-05-31 в 08:05, matthew green написа: >> I don't seem to be able to get the core into gdb 8.3 either with target >> kvm or with target kcore. How does one do this now with this version of >> gdb? > christos put the 'target kvm' support back in today. > update and rebuild gdb and it should work again.
Yes, it works now. The panic I am having is indeed reproducible any time and looks like: ... Reading symbols from netbsd.26... (No debugging symbols found in netbsd.26) (gdb) target kvm netbsd.26.core 0xffffffff80222c0a in cpu_reboot () (gdb) bt #0 0xffffffff80222c0a in cpu_reboot () #1 0xffffffff80a0dda6 in vpanic () #2 0xffffffff80a0de57 in panic () #3 0xffffffff80224aa9 in trap () #4 0xffffffff8021d5f3 in alltraps () #5 0xffffffff8021dca5 in invlpg () #6 0x0000000000000001 in ?? () #7 0x0000ffff81ac5000 in ?? () #8 0xffffffff8024f971 in pmap_tlb_intr () #9 0xffffffff80209d67 in Xhandle_lapic_tlb () ... or, from the subsequent message: ....... /netbsd: [ 5048.6693068] fatal protection fault in supervisor mode /netbsd: [ 5048.6693068] trap type 4 code 0 rip 0xffffffff8021dca5 cs 0x8 rflags 0x10002 cr2 0x7dbfb1db105c ilevel 0 rsp 0xffffae013a91ecc8 /netbsd: [ 5048.6693068] curlwp 0xffffda4a4d970240 pid 0.50 lowest kstack 0xffffae013a91b2c0 /netbsd: [ 5048.6693068] fatal protection fault in supervisor mode /netbsd: [ 5048.6693068] trap type 4 code 0 rip 0xffffffff8021dca5 cs 0x8 rflags 0x13002 cr2 0x7f7fefcbf000 ilevel 0 rsp 0xffffae013f537fb8 /netbsd: [ 5048.6693068] curlwp 0xffffda4d76b4b320 pid 1233.1 lowest kstack 0xffffae013f5342c0 /netbsd: [ 5048.6693068] fatal protection fault in supervisor mode /netbsd: [ 5048.6693068] trap type 4 code 0 rip 0xffffffff8021dca5 cs 0x8 rflags 0x10202 cr2 0xffffae013d14f5a0 ilevel 0x6 rsp 0xffffae01413baad8 /netbsd: [ 5048.6693068] curlwp 0xffffda4d55bd5680 pid 2027.1 lowest kstack 0xffffae01413b72c0 /netbsd: [ 5048.6693068] fatal protection fault in supervisor mode /netbsd: [ 5048.6693068] panic: trap /netbsd: [ 5048.6693068] cpu6: Begin traceback... /netbsd: [ 5048.6693068] fatal protection fault in supervisor mode /netbsd: [ 5048.6693068] trap type 4 code 0 rip 0xffffffff8021dca5 cs 0x8 rflags 0x10002 cr2 0x7dbfb4c7b05c ilevel 0 rsp 0xffffae013a43adc8 /netbsd: [ 5048.6693068] curlwp 0xffffda4a4d7fc100 pid 0.20 lowest kstack 0xffffae013a4372c0 /netbsd: [ 5048.6693068] fatal protection fault in supervisor mode /netbsd: [ 5048.6693068] trap type 4 code 0 rip 0xffffffff8021dca5 cs 0x8 rflags 0x10002 cr2 0x1b58e852a5d0 ilevel 0 rsp 0xffffae014110efb8 /netbsd: [ 5048.6693068] curlwp 0xffffda4d493a2b60 pid 1679.1 lowest kstack 0xffffae014110b2c0 /netbsd: [ 5048.6693068] fatal protection fault in supervisor mode /netbsd: [ 5048.6693068] trap type 4 code 0 rip 0xffffffff8021dca5 cs 0x8 rflags 0x10002 cr2 0x75f1d5f757a0 ilevel 0 rsp 0xffffae013a87ade8 /netbsd: [ 5048.6693068] curlwp 0xffffda4a4d85c140 pid 0.26 lowest kstack 0xffffae013a8772c0 /netbsd: [ 5048.6693068] trap type 4 code 0 rip 0xffffffff8021dca5 cs 0x8 rflags 0x10002 cr2 0xffffae013cd63000 ilevel 0 rsp 0xffffae013a8f5dc8 /netbsd: [ 5048.6693068] curlwp 0xffffda4a4d957200 pid 0.44 lowest kstack 0xffffae013a8f22c0 /netbsd: [ 5048.6693068] vpanic() at fatal protection fault in supervisor mode /netbsd: [ 5048.6693068] trap type 4 code 0 rip 0xffffffff8021dca5 cs 0x8 rflags 0x10002 cr2 0x22cbe03ff000 ilevel 0x8 rsp 0xffffae013a8a3dc8 /netbsd: [ 5048.6693068] curlwp 0xffffda4a4d875180 pid 0.32 lowest kstack 0xffffae013a8a02c0 /netbsd: [ 5048.6693068] netbsd:vpanic+0x160 /netbsd: [ 5048.6693068] snprintf() at netbsd:snprintf /netbsd: [ 5048.6693068] startlwp() at netbsd:startlwp /netbsd: [ 5048.6693068] alltraps() at netbsd:alltraps+0xc3 /netbsd: [ 5048.6693068] DDB lost frame for netbsd:Xhandle_lapic_tlb+0x17, trying 0xffffae013a91ed10 /netbsd: [ 5048.6693068] Xhandle_lapic_tlb() at netbsd:Xhandle_lapic_tlb+0x17 /netbsd: [ 5048.6693068] --- interrupt --- /netbsd: [ 5048.6693068] 202: /netbsd: [ 5048.6693068] cpu6: End traceback... /netbsd: /netbsd: [ 5048.6693068] dumping to dev 168,15 (offset=8, size=4152523): /netbsd: [ 5048.6693068] dump succeeded ..... > > > .mrg.
