Hi
During make release my powerpc64 machines paniced.
[-- MARK -- Mon Jun 5 17:55:00 2023]
ppaanniicc:: p o o l _pda on_ ig ce: t : p t e d f r e e l
i s t m o d i f i e d : p o o l _ pd ao _g g ee t :
p t e d f 0r x e ec 0 0 0 0 0 0 0 7 c 5 f 6 0 0 0 ;
i t e m a d d r 0 x c 0 0 0 0 0 0 0 7 c 5 f 6e e 0
; o f f s e t 0 x 0 = 0 x 1 1 5 a ! = 0 x e
9 d 3 3 8 b 8 9 d b 9 a 9 8 9
Stopped at panic+0x134: ori r0,r0,0x0
TID PID UID PRFLAGS PFLAGS CPU COMMAND
* 70116 54961 21 0x2 0 0 c++
145375 23870 21 0x2 0 1 c++
398476 3921 21 0x2 0 2 c++
147779 92769 21 0x2 0 3 c++
panic+0x134
pool_do_get+0x3c0
pool_get+0xd4
pmap_enter+0x1a0
uvm_fault_lower+0x8cc
uvm_fault+0x204
trap+0x274
trapagain+0x4
--- trap (type 0x400) ---
End of kernel: 0xbffff2a4c7ee7180 lr 0x1297f14c
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}>
ddb{0}> show panic
cpu0: pool_do_get: pted free list modified: page 0xc00000007c5f6000; item addr
0xc00000007c5f6ee0; offset 0x0=0x115a != 0xe9d338b89db9a989
*cpu1: pool_do_get: pted free list modified: page 0xc00000007c5f6000; item addr
0xc00000007c5f6ee0; offset 0x0=0x115a != 0xe9d338b89db9a989
cpu2: pool_do_get: pted free list modified: page 0xc00000007c5f6000; item addr
0xc00000007c5f6ee0; offset 0x0=0x115a != 0xe9d338b89db9a989
ddb{0}> trace
panic+0x134
pool_do_get+0x3c0
pool_get+0xd4
pmap_enter+0x1a0
uvm_fault_lower+0x8cc
uvm_fault+0x204
trap+0x274
trapagain+0x4
--- trap (type 0x400) ---
End of kernel: 0xbffff2a4c7ee7180 lr 0x1297f14c
ddb{0}> show register
r0 0x13da458 panic+0xbc
r1 0xc00000007c707700
r2 0x1a27000 .TOC.
r3 0x1
r4 0x2
r5 0x1
r6 0x1b17000 extract_entropy.extract_pool+0xee8
r7 0x31e80060
r8 0
r9 0x31e80060
r10 0x31e80060
r11 0
r12 0
r13 0x4927ed0b8
r14 0x440de2ea8
r15 0
r16 0x30
r17 0x1
r18 0x10acfe2c _end+0xefb53bc
r19 0xfffffffffffffffd
r20 0x100000000
r21 0x1a52a70 kernel_pmap_store
r22 0x1a72e00 pmap_pted_pool
r23 0x4
r24 0x1297f000
r25 0x53800000
r26 0x24
r27 0
r28 0x1a29de4 cpu_info+0x19cc
r29 0x1a28ffc cpu_info+0xbe4
r30 0x190ca07 digits+0x1e750
r31 0x900000004200f932
lr 0x13da4d0 panic+0x134
cr 0x44a0f988
xer 0x20040000
ctr 0x3003b1ac
iar 0x13da4d0 panic+0x134
msr 0x9000000000029032
dar 0x50ab2a000
dsisr 0x42000000
panic+0x134: ori r0,r0,0x0
ddb{0}> show uvm
Current UVM status:
pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
1913516 VM pages: 145927 active, 139575 inactive, 1 wired, 1204052 free
(112728 zero)
min 10% (25) anon, 10% (25) vnode, 5% (12) vtext
freemin=63783, free-target=85044, inactive-target=0, wired-max=637838
faults=1107733853, traps=1112742452, intrs=30838799, ctxswitch=22015968
fpuswitch=0
softint=2706667, syscalls=1361340222, kmapent=11
fault counts:
noram=0, noanon=0, noamap=0, pgwait=0, pgrele=0
ok relocks(total)=431248(440714), anget(retries)=930540574(0),
amapcopy=57022822
neighbor anon/obj pg=163789889/113986966, gets(lock/unlock)=44121808/440775
cases: anon=928337420, anoncow=2203154, obj=36199568, prcopy=7912713,
przero=133080995
daemon and swap counts:
woke=0, revs=0, scans=0, obscans=0, anscans=0
busy=0, freed=0, reactivate=0, deactivate=0
pageouts=0, pending=0, nswget=0
nswapdev=1
swpages=2162687, swpginuse=0, swpgonly=0 paging=0
kernel pointers:
objs(kern)=0x1b133f0
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
*54961 70116 32547 21 7 0x2 c++
32547 278958 15675 21 3 0x10008a sigsusp sh
23870 145375 62616 21 7 0x2 c++
62616 433348 15675 21 3 0x10008a sigsusp sh
3921 398476 67567 21 7 0x2 c++
67567 106750 15675 21 3 0x10008a sigsusp sh
92769 147779 26010 21 7 0x2 c++
26010 167581 15675 21 3 0x10008a sigsusp sh
15675 321842 69564 21 3 0x10008a sigsusp make
69564 291590 93853 21 3 0x10008a sigsusp sh
93853 203514 13017 21 3 0x10008a sigsusp make
13017 273348 69835 21 3 0x10008a sigsusp sh
69835 473926 29745 21 3 0x10008a sigsusp make
29745 480559 99692 21 3 0x10008a sigsusp sh
99692 472763 87373 21 3 0x10008a sigsusp make
87373 207074 59130 21 3 0x10008a sigsusp sh
59130 31848 9307 21 3 0x10008a sigsusp make
9307 383235 78937 0 3 0x10008a sigsusp sh
78937 1066 36410 0 3 0x10008a sigsusp make
36410 66252 13834 0 3 0x10008a sigsusp make
13834 420479 99683 0 3 0x10008a sigsusp sh
99683 154163 7373 0 3 0x82 piperd perl
7373 427673 97950 0 3 0x10008a sigsusp ksh
97950 286576 58374 0 3 0x9a kqread sshd
18060 432813 1 0 3 0x100083 ttyin getty
80211 359385 1 0 3 0x100098 kqread cron
69304 245232 1 99 3 0x1100090 kqread sndiod
4903 413862 1 110 3 0x100090 kqread sndiod
95624 243907 28243 95 3 0x1100092 kqread smtpd
84696 352082 28243 103 3 0x1100092 kqread smtpd
53148 518757 28243 95 3 0x1100092 kqread smtpd
57219 26480 28243 95 3 0x100092 kqread smtpd
61777 227539 28243 95 3 0x1100092 kqread smtpd
75726 432193 28243 95 3 0x1100092 kqread smtpd
28243 256793 1 0 3 0x100080 kqread smtpd
19168 130430 31147 91 3 0x92 kqread snmpd_metrics
31147 482318 1 0 3 0x100080 kqread snmpd
98411 444993 1 91 3 0x1100092 kqread snmpd
58374 324355 1 0 3 0x88 kqread sshd
13050 498750 0 0 3 0x14200 acct acct
24497 101706 0 0 3 0x14280 nfsidl nfsio
57284 393568 0 0 3 0x14280 nfsidl nfsio
27285 224100 0 0 3 0x14280 nfsidl nfsio
43575 349829 0 0 3 0x14280 nfsidl nfsio
38615 256955 1 0 3 0x100080 kqread ntpd
95626 110971 53550 83 3 0x100092 kqread ntpd
53550 57745 1 83 3 0x1100092 kqread ntpd
7397 146912 69531 74 3 0x1100092 bpf pflogd
69531 256995 1 0 3 0x80 netio pflogd
3087 251074 10751 73 3 0x1100090 kqread syslogd
10751 152513 1 0 3 0x100082 netio syslogd
72463 468950 38794 77 3 0x100092 kqread dhcpleased
67871 179377 38794 77 3 0x100092 kqread dhcpleased
38794 49995 1 0 3 0x80 kqread dhcpleased
88330 151457 52227 115 3 0x100092 kqread slaacd
4382 288846 52227 115 3 0x100092 kqread slaacd
52227 403572 1 0 3 0x100080 kqread slaacd
18667 446622 0 0 3 0x14200 bored smr
56158 438339 0 0 2 0x14200 zerothread
92622 314635 0 0 3 0x14200 aiodoned aiodoned
19313 288541 0 0 3 0x14200 syncer update
58210 49046 0 0 3 0x14200 cleaner cleaner
96392 37586 0 0 3 0x14200 reaper reaper
44913 117828 0 0 3 0x14200 pgdaemon pagedaemon
70807 96982 0 0 3 0x14200 usbtsk usbtask
13763 83057 0 0 3 0x14200 usbatsk usbatsk
5328 236713 0 0 3 0x14200 bored ipmicmd
71361 343127 0 0 3 0x14200 ipmi_poll ipmi0
90715 187534 0 0 3 0x14200 bored sensors
45733 340830 0 0 3 0x40014200 idle3
76633 295307 0 0 3 0x40014200 idle2
98986 131283 0 0 3 0x40014200 idle1
70595 430087 0 0 3 0x14200 bored softnet3
74993 386460 0 0 3 0x14200 bored softnet2
30891 225609 0 0 2 0x14200 softnet1
98844 306000 0 0 3 0x14200 bored softnet0
98428 109771 0 0 3 0x14200 bored systqmp
96764 493987 0 0 3 0x14200 bored systq
26269 313143 0 0 3 0x40014200 bored softclock
39162 49383 0 0 3 0x40014200 idle0
99312 177928 0 0 3 0x14200 kmalloc kmthread
1 496176 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}> mach ddbcpu 1
Stopped at cpu_intr+0x50: ori r0,r0,0x0
cpu_intr+0x50
xive_hvi+0x1bc
hvi_intr+0x38
trap+0xd4
trapagain+0x4
--- trap (type 0xea0) ---
opal_call+0x70
cnputc+0x64
db_putchar+0x340
kputchar+0x1ac
kprintf+0xc10
db_printf+0x78
panic+0xb8
pool_do_get+0x3c0
pool_get+0xd4
ddb{1}> trace
cpu_intr+0x50
xive_hvi+0x1bc
hvi_intr+0x38
trap+0xd4
trapagain+0x4
--- trap (type 0xea0) ---
opal_call+0x70
cnputc+0x64
db_putchar+0x340
kputchar+0x1ac
kprintf+0xc10
db_printf+0x78
panic+0xb8
pool_do_get+0x3c0
pool_get+0xd4
pmap_enter+0x1a0
uvm_fault_upper+0x2c8
uvm_fault+0x114
trap+0x4ac
trapagain+0x4
--- trap (type 0x300) ---
End of kernel: 0xbffff74b46c6b6d0 lr 0x4c761ae84
ddb{1}> mach ddbcpu 2
Stopped at cpu_intr+0x50: ori r0,r0,0x0
cpu_intr+0x50
xive_hvi+0x1bc
hvi_intr+0x38
trap+0xd4
trapagain+0x4
--- trap (type 0xea0) ---
cnputc+0x5c
db_putchar+0x340
kputchar+0x1ac
kprintf+0xc10
db_printf+0x78
panic+0xb8
pool_do_get+0x3c0
pool_get+0xd4
pmap_enter+0x1a0
ddb{2}> trace
cpu_intr+0x50
xive_hvi+0x1bc
hvi_intr+0x38
trap+0xd4
trapagain+0x4
--- trap (type 0xea0) ---
cnputc+0x5c
db_putchar+0x340
kputchar+0x1ac
kprintf+0xc10
db_printf+0x78
panic+0xb8
pool_do_get+0x3c0
pool_get+0xd4
pmap_enter+0x1a0
uvm_fault_upper+0x2c8
uvm_fault+0x114
trap+0x4ac
trapagain+0x4
--- trap (type 0x300) ---
End of kernel: 0xbffffada6938d910 lr 0x481137e84
ddb{2}> mach ddbcpu 3
And now it hangs.
bluhm
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2023 OpenBSD. All rights reserved. https://www.OpenBSD.org
OpenBSD 7.3-current (GENERIC.MP) #0: Mon Jun 5 14:35:37 CEST 2023
[email protected]:/usr/src/sys/arch/powerpc64/compile/GENERIC.MP
real mem = 8589934592 (8192MB)
avail mem = 7837614080 (7474MB)
random: good seed from bootblocks
mainbus0 at root: C1P9S01 REV 1.00
cpu0 at mainbus0 pir 50: IBM POWER9 2.1, 2500 MHz
cpu0: 32KB 128b/line 8-way L1 I-cache, 32KB 128b/line 8-way L1 D-cache
cpu0: 512KB 128b/line 8-way L2 cache
cpu0: 10MB 128b/line 8-way L3 cache
cpu1 at mainbus0 pir 54: IBM POWER9 2.1, 2500 MHz
cpu1: 32KB 128b/line 8-way L1 I-cache, 32KB 128b/line 8-way L1 D-cache
cpu1: 512KB 128b/line 8-way L2 cache
cpu1: 10MB 128b/line 8-way L3 cache
cpu2 at mainbus0 pir 58: IBM POWER9 2.1, 2500 MHz
cpu2: 32KB 128b/line 8-way L1 I-cache, 32KB 128b/line 8-way L1 D-cache
cpu2: 512KB 128b/line 8-way L2 cache
cpu2: 10MB 128b/line 8-way L3 cache
cpu3 at mainbus0 pir 5c: IBM POWER9 2.1, 2500 MHz
cpu3: 32KB 128b/line 8-way L1 I-cache, 32KB 128b/line 8-way L1 D-cache
cpu3: 512KB 128b/line 8-way L2 cache
cpu3: 10MB 128b/line 8-way L3 cache
"bmc" at mainbus0 not configured
"ibm,firmware-versions" at mainbus0 not configured
"ibm,hostboot" at mainbus0 not configured
opal0 at mainbus0: skiboot-852ac62
opal0: idle psscr 300332
opalcons0 at opal0: console
opalsens0 at opal0: "core-temp"
opalsens1 at opal0: "core-temp"
opalsens2 at opal0: "core-temp"
opalsens3 at opal0: "core-temp"
opalsens4 at opal0: "mem-temp"
opalsens5 at opal0: "mem-temp"
opalsens6 at opal0: "mem-temp"
opalsens7 at opal0: "mem-temp"
opalsens8 at opal0: "mem-temp"
opalsens9 at opal0: "mem-temp"
opalsens10 at opal0: "mem-temp"
opalsens11 at opal0: "mem-temp"
opalsens12 at opal0: "mem-temp"
opalsens13 at opal0: "mem-temp"
opalsens14 at opal0: "mem-temp"
opalsens15 at opal0: "mem-temp"
opalsens16 at opal0: "mem-temp"
opalsens17 at opal0: "mem-temp"
opalsens18 at opal0: "mem-temp"
opalsens19 at opal0: "mem-temp"
opalsens20 at opal0: "proc-energy"
opalsens21 at opal0: "proc-energy"
opalsens22 at opal0: "proc-energy"
opalsens23 at opal0: "proc-in"
opalsens24 at opal0: "proc-in"
opalsens25 at opal0: "proc-power"
opalsens26 at opal0: "proc-power"
opalsens27 at opal0: "proc-power"
opalsens28 at opal0: "proc-temp"
opalsens29 at opal0: "vrm-curr"
opalsens30 at opal0: "vrm-curr"
opalsens31 at opal0: "vrm-in"
opalsens32 at opal0: "vrm-in"
opalsens33 at opal0: "vrm-temp"
ipmi0 at opal0: version 2.0 interface OPAL
"ibm,pcie-slots" at mainbus0 not configured
"ibm,secureboot" at mainbus0 not configured
"imc-counters" at mainbus0 not configured
xics0 at mainbus0
xive0 at mainbus0
"ipl-params" at mainbus0 not configured
"lpcm-opb" at mainbus0 not configured
phb0 at mainbus0: chip 0x0
pci0 at phb0
ppb0 at pci0 dev 0 function 0 "IBM POWER9 Host" rev 0x00
pci1 at ppb0 bus 1
phb1 at mainbus0: chip 0x0
pci2 at phb1
ppb1 at pci2 dev 0 function 0 "IBM POWER9 Host" rev 0x00
pci3 at ppb1 bus 1
phb2 at mainbus0: chip 0x0
pci4 at phb2
ppb2 at pci4 dev 0 function 0 "IBM POWER9 Host" rev 0x00
pci5 at ppb2 bus 1
ahci0 at pci5 dev 0 function 0 "Marvell 88SE9235 AHCI" rev 0x11: msi, AHCI 1.0
ahci0: port busy after first PMP probe FIS
ahci0: port busy after first PMP probe FIS
ahci0: port 0: 6.0Gb/s
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, CT240BX500SSD1, M6C> naa.0000000000000000
sd0: 228936MB, 512 bytes/sector, 468862128 sectors, thin
phb3 at mainbus0: chip 0x0
pci6 at phb3
ppb3 at pci6 dev 0 function 0 "IBM POWER9 Host" rev 0x00
pci7 at ppb3 bus 1
xhci0 at pci7 dev 0 function 0 "TI xHCI" rev 0x02: msix, xHCI 0.96
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "TI xHCI root hub" rev 3.00/1.00 addr
1
phb4 at mainbus0: chip 0x0
pci8 at phb4
ppb4 at pci8 dev 0 function 0 "IBM POWER9 Host" rev 0x00
pci9 at ppb4 bus 1
bge0 at pci9 dev 0 function 0 "Broadcom BCM5719" rev 0x01, BCM5719 A1
(0x5719001), APE firmware NCSI 1.3.12.0: msi, address 2c:09:4d:00:04:b7
brgphy0 at bge0 phy 1: BCM5719C 10/100/1000baseT PHY, rev. 0
bge1 at pci9 dev 0 function 1 "Broadcom BCM5719" rev 0x01, BCM5719 A1
(0x5719001), APE firmware NCSI 1.3.12.0: msi, address 2c:09:4d:00:04:b8
brgphy1 at bge1 phy 2: BCM5719C 10/100/1000baseT PHY, rev. 0
phb5 at mainbus0: chip 0x0
pci10 at phb5
ppb5 at pci10 dev 0 function 0 "IBM POWER9 Host" rev 0x00
pci11 at ppb5 bus 1
ppb6 at pci11 dev 0 function 0 "ASPEED Technology AST1150 PCI" rev 0x04
pci12 at ppb6 bus 2
astfb0 at pci12 dev 0 function 0 "ASPEED Technology AST2000" rev 0x41: can't
map framebuffer
"psi" at mainbus0 not configured
"vpd" at mainbus0 not configured
"xscom" at mainbus0 not configured
uhub1 at uhub0 port 3 configuration 1 interface 0 "Aspeed USB Virtual Hub" rev
2.00/1.00 addr 2
uhidev0 at uhub1 port 1 configuration 1 interface 0 "OpenBMC virtual_input" rev
2.00/1.00 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd0 at ukbd0 mux 1
uhidev1 at uhub1 port 1 configuration 1 interface 1 "OpenBMC virtual_input" rev
2.00/1.00 addr 3
uhidev1: iclass 3/1
ums0 at uhidev1: 3 buttons
wsmouse0 at ums0 mux 0
uhub2 at uhub0 port 4 configuration 1 interface 0 "Genesys Logic USB2.0 Hub"
rev 2.00/32.98 addr 4
uaudio0 at uhub2 port 4 configuration 1 interface 1 "ABC USB Sound Device" rev
1.10/0.10 addr 5
uaudio0: class v1, full-speed, sync, channels: 8 play, 2 rec, 25 ctls
audio0 at uaudio0
uhidev2 at uhub2 port 4 configuration 1 interface 3 "ABC USB Sound Device" rev
1.10/0.10 addr 5
uhidev2: iclass 3/0
ucc0 at uhidev2: 10 usages, 3 keys, enum
wskbd1 at ucc0 mux 1
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (5800481ea94baf1c.a) swap on sd0b dump on sd0b
WARNING: bad clock chip time
WARNING: CHECK AND RESET THE DATE!
uhub1: illegal enable change, port 1
Automatic boot in progress: starting file system checks.
/dev/sd0a (5800481ea94baf1c.a): file system is clean; not checking
/dev/sd0l (5800481ea94baf1c.l): file system is clean; not checking
/dev/sd0d (5800481ea94baf1c.d): file system is clean; not checking
/dev/sd0f (5800481ea94baf1c.f): file system is clean; not checking
/dev/sd0g (5800481ea94baf1c.g): file system is clean; not checking
/dev/sd0h (5800481ea94baf1c.h): file system is clean; not checking
/dev/sd0k (5800481ea94baf1c.k): file system is clean; not checking
/dev/sd0j (5800481ea94baf1c.j): file system is clean; not checking
/dev/sd0e (5800481ea94baf1c.e): file system is clean; not checking
pf enabled
ddb.console: 0 -> 1
ddb.log: 1 -> 0
ddb.max_line: 24 -> 0
ddb.max_width: 80 -> 0
kern.allowdt: 0 -> 1
kern.allowkmem: 0 -> 1
kern.nosuidcoredump: 1 -> 3
kern.pool_debug: 1 -> 1
kern.splassert: 1 -> 2
sysctl: kern.witness.watch: specification is incomplete
net.inet.etherip.allow: 0 -> 1
net.inet.ip.forwarding: 0 -> 1
net.inet.ipcomp.enable: 0 -> 1
net.inet.ipip.allow: 0 -> 1
net.inet6.ip6.forwarding: 0 -> 1
vm.malloc_conf: -> CFGJU
starting network
reordering: ld.so libc libcrypto sshd.
starting early daemons: syslogd pflogd ntpd.
starting RPC daemons:.
savecore: /bsd: _dumplo not in namelist
checking quotas: done.
clearing /tmp
kern.securelevel: 0 -> 1
turning on accounting
creating runtime link editor directory cache.
preserving editor files.
starting network daemons: sshd snmpd smtpd sndiod.
starting local daemons: cron.
Mon Jun 5 14:37:39 CEST 2023
reorder_kernel: failed -- see /usr/share/relink/kernel/GENERIC.MP/relink.log
OpenBSD/powerpc64 (ot27.obsd-lab.genua.de) (console)
login: [-- MARK -- Mon Jun 5 14:40:00 2023]