Hi,
My dual core Mac crashed during regress/sys/ffs
panic: trap type 300 srr1 9032 at 649124 (idledone+0x0) lr 573c04
Stopped at db_enter+0x24: lwz r11,12(r1)
TID PID UID PRFLAGS PFLAGS CPU COMMAND
db_enter() at db_enter+0x20
panic(8cbc05) at panic+0x158
trap(e0014c00) at trap+0xaf0
trapagain() at trapagain+0x4
--- trap (type 0x300) ---
softintr_dispatch(10a0) at softintr_dispatch+0xdc
dosoftint(ae0000) at dosoftint+0xc0
openpic_splx(12769c8c) at openpic_splx+0xcc
splx(c44fb0) at splx+0x30
decr_intr(0) at decr_intr+0x2d0
decrintr() at decrintr+0x100
--- interrupt ---
sched_idle(0) at sched_idle+0x220
fork_trampoline() at fork_trampoline+0x14
end trace frame: 0x0, count: 3
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}> x/s version
version: OpenBSD 7.1-beta (GENERIC.MP) #1038: Mon Mar 14 03:05:02 MDT
2022\012
[email protected]:/usr/src/sys/arch/macppc/compile/GENERIC.MP\012
ddb{0}> trace
db_enter() at db_enter+0x20
panic(8cbc05) at panic+0x158
trap(e0014c00) at trap+0xaf0
trapagain() at trapagain+0x4
--- trap (type 0x300) ---
softintr_dispatch(10a0) at softintr_dispatch+0xdc
dosoftint(ae0000) at dosoftint+0xc0
openpic_splx(12769c8c) at openpic_splx+0xcc
splx(c44fb0) at splx+0x30
decr_intr(0) at decr_intr+0x2d0
decrintr() at decrintr+0x100
--- interrupt ---
sched_idle(0) at sched_idle+0x220
fork_trampoline() at fork_trampoline+0x14
end trace frame: 0x0, count: -12
ddb{0}> show register
r0 0x781f14 panic+0x15c
r1 0xc44d38 _end+0x142034
r2 0xacb018 cpu_info
r3 0xacb018 cpu_info
r4 0xa90000 socket_pool+0x90
r5 0x1
r6 0
r7 0xe7bb9000
r8 0
r9 0x90db15 digits
r10 0
r11 0xb13784fd
r12 0x29ebc9aa
r13 0
r14 0
r15 0
r16 0
r17 0xffffffff
r18 0xa876a8 sched_idle_cpus
r19 0x3
r20 0x8
r21 0x1
r22 0
r23 0xa80000 sumo_asic+0x138
r24 0xe0005040
r25 0xacb018 cpu_info
r26 0xacc8a0 kernel_map_store
r27 0
r28 0
r29 0xacb2d8 cpu_info+0x2c0
r30 0x8cbc05 cmd0646_9_tim_udma+0x3845
r31 0x8000 tlbdsmsize+0x7f18
lr 0x210c5c db_enter+0x24
cr 0x48009232
xer 0x20000000
ctr 0x74453c openpic_splx
iar 0x210c5c db_enter+0x24
msr 0x9032 tlbdsmsize+0x8f4a
dar 0
dsisr 0
db_enter+0x24: lwz r11,12(r1)
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
93264 269968 49031 0 2 0x100000 sh
49031 244990 33272 0 3 0x10008a sigsusp sh
33272 179984 92408 0 3 0x10008a sigsusp sh
92408 512299 49998 0 3 0x10008a sigsusp make
49998 211414 6378 0 3 0x10008a sigsusp sh
6378 202860 24154 0 3 0x10008a sigsusp make
24154 445299 63828 0 3 0x10008a sigsusp sh
63828 125007 93519 0 3 0x10008a sigsusp make
58164 20578 3259 0 3 0x100082 piperd gzip
3259 385982 93519 0 3 0x100082 piperd pax
93519 470990 86016 0 3 0x82 piperd perl
86016 49639 55459 0 3 0x10008a sigsusp ksh
55459 263267 76319 0 3 0x9a kqread sshd
98630 498639 1 0 3 0x100083 ttyin getty
60016 51039 1 0 3 0x100098 kqread cron
48981 331508 1 99 3 0x1100090 kqread sndiod
52568 450127 1 110 3 0x100090 kqread sndiod
31216 314904 10321 95 3 0x1100092 kqread smtpd
21542 35162 10321 103 3 0x1100092 kqread smtpd
59001 346225 10321 95 3 0x1100092 kqread smtpd
13261 363805 10321 95 3 0x100092 kqread smtpd
98596 267433 10321 95 3 0x1100092 kqread smtpd
70255 415094 10321 95 3 0x1100092 kqread smtpd
10321 25359 1 0 3 0x100080 kqread smtpd
75962 64597 1 0 3 0x100080 kqread snmpd
95426 244799 1 91 3 0x1000092 kqread snmpd
76319 396884 1 0 3 0x88 kqread sshd
74499 50882 0 0 3 0x14280 nfsidl nfsio
27678 130519 0 0 3 0x14280 nfsidl nfsio
80530 262204 0 0 3 0x14280 nfsidl nfsio
75428 60858 0 0 3 0x14280 nfsidl nfsio
84979 435867 1 0 3 0x100080 kqread ntpd
49308 270103 26643 83 3 0x100092 kqread ntpd
26643 420350 1 83 3 0x1100092 kqread ntpd
75530 161716 37258 74 3 0x1100092 bpf pflogd
37258 450117 1 0 3 0x80 netio pflogd
90345 248607 29121 73 3 0x1100090 kqread syslogd
29121 296368 1 0 3 0x100082 netio syslogd
45527 271175 1 0 3 0x100080 kqread resolvd
85013 509760 4884 77 3 0x100092 kqread dhcpleased
74975 346698 4884 77 3 0x100092 kqread dhcpleased
4884 194707 1 0 3 0x80 kqread dhcpleased
19130 206202 96670 115 3 0x100092 kqread slaacd
93394 452515 96670 115 3 0x100092 kqread slaacd
96670 80994 1 0 3 0x100080 kqread slaacd
38560 280834 0 0 3 0x14200 bored smr
1441 158263 0 0 3 0x40014200 idle1
2543 344283 0 0 3 0x14200 pgzero zerothread
80497 301400 0 0 3 0x14200 aiodoned aiodoned
58548 232633 0 0 3 0x14200 syncer update
83033 211490 0 0 3 0x14200 cleaner cleaner
98519 428606 0 0 3 0x14200 reaper reaper
86062 210823 0 0 3 0x14200 pgdaemon pagedaemon
47448 442447 0 0 3 0x14200 usbtsk usbtask
52241 409518 0 0 3 0x14200 usbatsk usbatsk
5149 234184 0 0 3 0x14200 bored sensors
41084 436007 0 0 3 0x14200 bored softnet
48691 343210 0 0 3 0x14200 bored systqmp
45173 185831 0 0 3 0x14200 bored systq
73079 51343 0 0 3 0x40014200 bored softclock
*61776 267928 0 0 7 0x40014200 idle0
1 484442 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}> show panic
*cpu0: trap type 300 srr1 9032 at 649124 (idledone+0x0) lr 573c04
ddb{0}> mach ddbcpu 1
Here it hangs. Boot output below.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2022 OpenBSD. All rights reserved. https://www.OpenBSD.org
OpenBSD 7.1-beta (GENERIC.MP) #1038: Mon Mar 14 03:05:02 MDT 2022
[email protected]:/usr/src/sys/arch/macppc/compile/GENERIC.MP
real mem = 2147483648 (2048MB)
avail mem = 2051604480 (1956MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root: model PowerMac7,3
cpu0 at mainbus0: 970 (Revision 0x202): 1800 MHz
cpu1 at mainbus0: 970 (Revision 0x202): 1800 MHz
mem0 at mainbus0
spdmem0 at mem0: 1GB DDR SDRAM non-parity PC3200CL3.0
spdmem1 at mem0: 1GB DDR SDRAM non-parity PC3200CL3.0
spdmem2 at mem0: 512MB DDR SDRAM non-parity PC3200CL2.5
spdmem3 at mem0: 512MB DDR SDRAM non-parity PC3200CL2.5
memc0 at mainbus0: u3 rev 0xb3
kiic0 at memc0 offset 0xf8001000
iic0 at kiic0
lmtemp0 at iic0 addr 0x4a: ds1775
maxtmp0 at iic0 addr 0x4c: max6690
maxtmp1 at iic0 addr 0x4e: max6690
"cy28508" at iic0 addr 0x69 not configured
"cy2213" at iic0 addr 0x65 not configured
fcu0 at iic0 addr 0xaf
"pca9556" at iic0 addr 0x18 not configured
adc0 at iic0 addr 0x2c: ad7417
"24256" at iic0 addr 0x50 not configured
"pca9556" at iic0 addr 0x19 not configured
adc1 at iic0 addr 0x2d: ad7417
"24256" at iic0 addr 0x51 not configured
"dart" at memc0 offset 0xf8033000 not configured
"mpic" at memc0 offset 0xf8040000 not configured
mpcpcibr0 at mainbus0 pci: u3-agp
pci0 at mpcpcibr0 bus 0
pchb0 at pci0 dev 11 function 0 "Apple U3 AGP" rev 0x00
appleagp0 at pchb0
agp0 at appleagp0: aperture at 0x0, size 0x10000000
ht0 at mainbus0: u3-ht, 6 devices
pci1 at ht0 bus 0
hpb0 at pci1 dev 1 function 0 "Apple U3" rev 0x00: 85 sources
pci2 at hpb0 bus 1
macobio0 at pci2 dev 7 function 0 "Apple K2 Macio" rev 0x60
openpic0 at macobio0 offset 0x40000: version 0x4614 feature 770302 LE
macgpio0 at macobio0 offset 0x50
"pmu-interrupt" at macgpio0 offset 0x9 not configured
"programmer-switch" at macgpio0 offset 0x11 not configured
"modem-reset" at macgpio0 offset 0x1d not configured
"modem-power" at macgpio0 offset 0x1e not configured
"fcu-interrupt" at macgpio0 offset 0x15 not configured
"fcu-hw-reset" at macgpio0 offset 0x3a not configured
"slewing-done" at macgpio0 offset 0x23 not configured
"codec-input-data-mux" at macgpio0 offset 0xb not configured
"line-input-detect" at macgpio0 offset 0xc not configured
"codec-error-irq" at macgpio0 offset 0xd not configured
"dig-hw-reset" at macgpio0 offset 0x14 not configured
"line-output-detect" at macgpio0 offset 0x16 not configured
"headphone-detect" at macgpio0 offset 0x17 not configured
"codec-irq" at macgpio0 offset 0x18 not configured
"headphone-mute" at macgpio0 offset 0x1f not configured
"amp-mute" at macgpio0 offset 0x20 not configured
"hw-reset" at macgpio0 offset 0x24 not configured
"line-output-mute" at macgpio0 offset 0x25 not configured
"codec-clock-mux" at macgpio0 offset 0x26 not configured
"escc-legacy" at macobio0 offset 0x12000 not configured
zs0 at macobio0 offset 0x13000: irq 22,23
zstty0 at zs0 channel 0: console
zstty1 at zs0 channel 1
kiic1 at macobio0 offset 0x18000
iic1 at kiic1
aoa0 at macobio0 offset 0x10000: irq 30,1,2
"timer" at macobio0 offset 0x15000 not configured
adb0 at macobio0 offset 0x16000
apm0 at adb0: battery flags 0x9, 0% charged
piic0 at adb0
iic2 at piic0
"fans" at macobio0 offset 0x4c not configured
audio0 at aoa0
ohci0 at pci2 dev 8 function 0 "Apple K2 USB" rev 0x00: irq 27, version 1.0,
legacy support
ohci1 at pci2 dev 9 function 0 "Apple K2 USB" rev 0x00: irq 28, version 1.0,
legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 configuration 1 interface 0 "Apple OHCI rusb1 at ohci1: USB
revision 1.0
uhub1 at usb1 configuration 1 interface 0 "Apple OHCI root hub" rev 1.00/1.00
addr 1
ppb0 at pci1 dev 2 function 0 "Apple U3" rev 0x00
pci3 at ppb0 bus 5
bwi0 at pci3 dev 1 function 0 "Broadcom BCM4306" rev 0x03: irq 57, address
00:16:cb:f7:9f:42
em0 at pci3 dev 4 function 0 "Intel 82546GB" rev 0x03: irq 54, address
00:1b:21:30:3c:50
em1 at pci3 dev 4 function 1 "Intel 82546GB" rev 0x03: irq 54, address
00:1b:21:30:3c:51
ohci2 at pci3 dev 11 function 0 "NEC USB" rev 0x43: irq 63, version 1.0
ohci3 at pci3 dev 11 function 1 "NEC USB" rev 0x43: irq 63, version 1.0
ehci0 at pci3 dev 11 function 2 "NEC USB" rev 0x04: irq 63
usb2 at ehci0: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "NEC EHCI root hub" rev 2.00/1.00
addr 1
usb3 at ohci2: USB revision 1.0
uhub3 at usb3 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00
addr 1
usb4 at ohci3: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00
addr 1
ppb1 at pci1 dev 3 function 0 "Apple U3" rev 0x00
pci4 at ppb1 bus 2
kauaiata0 at pci4 dev 13 function 0 "Apple K2 ATA" rev 0x00
wdc0 at kauaiata0 irq 39: DMA
atapiscsi0 at wdc0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <PIONEER, DVD-RW DVR-117D, B705> removable
cd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
"Apple K2 Firewire" rev 0x00 at pci4 dev 14 function 0 not configured
ppb2 at pci1 dev 4 function 0 "Apple U3" rev 0x00
pci5 at ppb2 bus 3
gem0 at pci5 dev 15 function 0 "Apple K2 GMAC" rev 0x00: irq 41, address
00:0d:93:55:51:d2
brgphy0 at gem0 phy 1: BCM54K2 10/100/1000baseT PHY, rev. 0
ppb3 at pci1 dev 5 function 0 "Apple U3" rev 0x00
pci6 at ppb3 bus 4
pciide0 at pci6 dev 12 function 0 "ServerWorks K2 SATA" rev 0x00: DMA
pciide0: using irq 0 for native-PCI interrupt
pciide0: port 0: 1.5Gb/s
wd0 at pciide0 channel 0 drive 0: <ST380013AS>
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
pciide0: port 1: PHY offline
pciide0: port 2: PHY offline
pciide0: port 3: PHY offline
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
bootpath: /ht/pci@5/k2-sata-root/k2-sata@0/disk@0:/bsd
root on wd0a (6102496318219727.a) swap on wd0b dump on wd0b
Automatic boo/dev/wd0a (6102496318219727.a): file system is clean; not checking
/dev/wd0l (6102496318219727.l): file system is clean; not checking
/dev/wd0d (6102496318219727.d): file system is clean; not checking
/dev/wd0f (6102496318219727.f): file system is clean; not checking
/dev/wd0g (6102496318219727.g): file system is clean; not checking
/dev/wd0h (6102496318219727.h): file system is clean; not checking
/dev/wd0k (6102496318219727.k): file system is clean; not checking
/dev/wd0j (6102496318219727.j): file system is clean; not checking
/dev/wd0e (6102496318219727.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 libraries: done.
starting early daemons: syslogd pflogd ntpd.
starting RPC daemons:.
savecore: no core dump
checking quotas: done.
clearing /tmp
kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
running rc.sysmerge
starting network daemons: sshd snmpd smtpd sndiod.
running rc.firsttime
fw_update: added none; updated none; kept bwi
starting local daemons: cron.
Wed Mar 16 06:15:32 CET 2022
OpenBSD/macppc (ot26.obsd-lab.genua.de) (console)