Hello, continuing the previous topic [1] my APU4D4 router randomly drops into ddb when runnig 7.3/amd64. At some crashes my serial console is not responding too. I attached dmesg and ddb console output of my last crash. Maybe there is a hardware issue...
1. https://marc.info/?t=166099927600001&r=1&w=2 ddb{0}> show panic the kernel did not panic ddb{0}> trace spllower(ffff8000000b1658) at spllower+0x61 softclock(0) at softclock+0xb8 softintr_dispatch(0) at softintr_dispatch+0xeb Xsoftclock() at Xsoftclock+0x1f acpicpu_idle() at acpicpu_idle+0x11f sched_idle(ffffffff8242eff0) at sched_idle+0x280 end trace frame: 0x0, count: -6 ddb{0}> mach ddbcpu 0 Invalid cpu 0 ddb{0}> trace spllower(ffff8000000b1658) at spllower+0x61 softclock(0) at softclock+0xb8 softintr_dispatch(0) at softintr_dispatch+0xeb Xsoftclock() at Xsoftclock+0x1f acpicpu_idle() at acpicpu_idle+0x11f sched_idle(ffffffff8242eff0) at sched_idle+0x280 end trace frame: 0x0, count: -6 ddb{0}> mach ddbcpu 1 Stopped at x86_ipi_db+0x12: leave ddb{1}> trace x86_ipi_db(ffff800022508ff0) at x86_ipi_db+0x12 x86_ipi_handler() at x86_ipi_handler+0x80 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 srp_leave(0) at srp_leave+0xc ipsp_spd_lookup(fffffd809fbe8000,2,14,1,0,0,9828af250c7cd5c1,2) at ipsp_spd_loo kup+0x3f0 ipsec_forward_check(fffffd809fbe8000,14,2) at ipsec_forward_check+0x7a ip_input_if(ffff8000226df238,ffff8000226df244,4,0,ffff80000074f800) at ip_input _if+0x311 ipv4_input(ffff80000074f800,fffffd809fbe8000) at ipv4_input+0x39 ether_input(ffff80000074f800,fffffd809fbe8000) at ether_input+0x3b1 vlan_input(ffff8000000af048,fffffd809fbe8000,ffff8000226df37c) at vlan_input+0x 23d ether_input(ffff8000000af048,fffffd809fbe8000) at ether_input+0x85 if_input_process(ffff8000000af048,ffff8000226df418) at if_input_process+0x6f ifiq_process(ffff8000000af450) at ifiq_process+0x71 taskq_thread(ffff80000002c100) at taskq_thread+0x100 end trace frame: 0x0, count: -14 ddb{1}> mach ddbcpu 2 Stopped at x86_ipi_db+0x12: leave ddb{2}> trace x86_ipi_db(ffff800022511ff0) at x86_ipi_db+0x12 x86_ipi_handler() at x86_ipi_handler+0x80 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 acpicpu_idle() at acpicpu_idle+0x11f sched_idle(ffff800022511ff0) at sched_idle+0x280 end trace frame: 0x0, count: -5 ddb{2}> mach ddbcpu 3 Stopped at x86_ipi_db+0x12: leave ddb{3}> trace x86_ipi_db(ffff80002251aff0) at x86_ipi_db+0x12 x86_ipi_handler() at x86_ipi_handler+0x80 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 acpicpu_idle() at acpicpu_idle+0x11f sched_idle(ffff80002251aff0) at sched_idle+0x280 end trace frame: 0x0, count: -5 ddb{3}> ps PID TID PPID UID S FLAGS WAIT COMMAND 30199 440077 1 0 3 0x100083 ttyin getty 48844 46734 1 0 3 0x100098 kqread cron 85558 517256 1 0 2 0x80 apcupsd 85558 199880 1 0 3 0x4000088 sigwait apcupsd 85558 423804 1 0 3 0x4000080 netcon apcupsd 58247 47875 1 99 3 0x1100090 kqread sndiod 5807 70675 1 110 3 0x100090 kqread sndiod 59908 437329 58561 95 3 0x1100092 kqread smtpd 59320 371715 58561 103 3 0x1100092 kqread smtpd 24628 220629 58561 95 3 0x1100092 kqread smtpd 15514 277384 58561 95 3 0x100092 kqread smtpd 82531 258248 58561 95 3 0x1100092 kqread smtpd 76309 316518 58561 95 3 0x1100092 kqread smtpd 58561 311702 1 0 3 0x100080 kqread smtpd 1740 414222 1 77 3 0x1100090 kqread dhcpd 74171 120391 1 0 3 0x88 kqread sshd 30055 281798 33848 0 3 0x80 netio npppd 33848 165398 1 82 3 0x1000090 kqread npppd 63267 81147 16848 68 3 0x1000090 kqread isakmpd 16848 360731 1 0 3 0x80 netio isakmpd 43995 338032 1 0 3 0x100080 kqread ntpd 15162 298561 13812 83 3 0x100092 kqread ntpd 13812 354259 1 83 3 0x1100092 kqread ntpd 89870 398210 49099 74 3 0x1100092 bpf pflogd 49099 326355 1 0 3 0x80 netio pflogd 45777 372900 50124 73 3 0x1100090 kqread syslogd 50124 164952 1 0 3 0x100082 netio syslogd 4057 139842 1 0 3 0x100080 kqread resolvd 83430 300385 93689 77 2 0x100092 dhcpleased 26052 303242 93689 77 3 0x100092 kqread dhcpleased 93689 268706 1 0 3 0x80 kqread dhcpleased 36997 191493 28945 115 3 0x100092 kqread slaacd 58574 402934 28945 115 3 0x100092 kqread slaacd 28945 43871 1 0 3 0x100080 kqread slaacd 93184 266458 0 0 3 0x14200 bored smr 23925 466902 0 0 3 0x14200 pgzero zerothread 22511 119449 0 0 3 0x14200 aiodoned aiodoned 96214 153028 0 0 3 0x14200 syncer update 52620 300538 0 0 3 0x14200 cleaner cleaner 85506 191754 0 0 3 0x14200 reaper reaper 79996 219144 0 0 3 0x14200 pgdaemon pagedaemon 47558 14439 0 0 3 0x14200 mmctsk sdmmc0 6983 254878 0 0 3 0x14200 usbtsk usbtask 15496 59622 0 0 3 0x14200 usbatsk usbatsk 45459 369785 0 0 3 0x40014200 acpi0 acpi0 *77426 152957 0 0 7 0x40014200 idle3 76632 409784 0 0 7 0x40014200 idle2 53801 461014 0 0 3 0x40014200 idle1 97440 183487 0 0 3 0x14200 bored sensors 82191 291269 0 0 3 0x14200 bored softnet 86211 298283 0 0 7 0x14200 softnet 91169 454724 0 0 2 0x14200 softnet 32527 508889 0 0 3 0x14200 netlock softnet 23752 37847 0 0 3 0x14200 bored systqmp 12088 90185 0 0 3 0x14200 bored systq 70094 361719 0 0 3 0x40014200 bored softclock 51202 81627 0 0 7 0x40014200 idle0 1 40896 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{3}> show uvm Current UVM status: pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12 1005830 VM pages: 10785 active, 153502 inactive, 1 wired, 664647 free (83187 z ero) min 10% (25) anon, 10% (25) vnode, 5% (12) vtext freemin=33527, free-target=44702, inactive-target=0, wired-max=335276 faults=644775, traps=571678, intrs=37271689, ctxswitch=73222650 fpuswitch=0 softint=3068516, syscalls=1566550, kmapent=12 fault counts: noram=0, noanon=0, noamap=0, pgwait=0, pgrele=0 ok relocks(total)=207117(209757), anget(retries)=197392(0), amapcopy=48236 neighbor anon/obj pg=41485/137835, gets(lock/unlock)=265063/209798 cases: anon=179652, anoncow=17740, obj=249412, prcopy=12970, przero=184987 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=130304, swpginuse=0, swpgonly=0 paging=0 kernel pointers: objs(kern)=0xffffffff824e6098 ddb{3}> show bcstats Current Buffer Cache status: numbufs 40660 busymapped 0, delwri 1 kvaslots 6553 avail kva slots 6553 bufpages 162601, dmapages 162601, dirtypages 4 pendingreads 0, pendingwrites 0 highflips 0, highflops 0, dmaflips 0 ddb{3}> show reg rdi 0xffff80002251aff0 rsi 0 rbp 0xffff8000227014c0 rbx 0xffffffff82475278 ipifunc+0x38 rdx 0x7b011d acpi_pdirpa+0x79bf80 rcx 0x7 rax 0xffffff7f r8 0 r9 0 r10 0 r11 0x60167f8962544131 r12 0x7 r13 0 r14 0xffff80002251aff0 r15 0 rip 0xffffffff81be7cb2 x86_ipi_db+0x12 cs 0x8 rflags 0x202 rsp 0xffff8000227014b0 ss 0x10 x86_ipi_db+0x12: leave ddb{3}> OpenBSD 7.3 (GENERIC.MP) #0: Sun May 14 08:52:52 CEST 2023 root@krz73-fw.RAC_LAN:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4259909632 (4062MB) avail mem = 4111413248 (3920MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xcfe92040 (13 entries) bios0: vendor coreboot version "v4.17.0.3" date 08/22/2022 bios0: PC Engines apu4 acpi0 at bios0: ACPI 6.0 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP SSDT MCFG TPM2 APIC HEST SSDT SSDT DRTM HPET acpi0: wakeup devices PBR4(S4) PBR5(S4) PBR6(S4) PBR7(S4) PBR8(S4) UOH1(S3) UOH2(S3) UOH3(S3) UOH4(S3) UOH5(S3) UOH6(S3) XHC0(S4) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimcfg0 at acpi0 acpimcfg0: addr 0xf8000000, bus 0-63 acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD GX-412TC SOC, 998.20 MHz, 16-30-01 cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,PT cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 2-way I-cache, 2MB 64b/line 16-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD GX-412TC SOC, 998.23 MHz, 16-30-01 cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,PT cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 2-way I-cache, 2MB 64b/line 16-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: AMD GX-412TC SOC, 998.27 MHz, 16-30-01 cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,PT cpu2: 32KB 64b/line 8-way D-cache, 32KB 64b/line 2-way I-cache, 2MB 64b/line 16-way L2 cache cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: AMD GX-412TC SOC, 998.75 MHz, 16-30-01 cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,PT cpu3: 32KB 64b/line 8-way D-cache, 32KB 64b/line 2-way I-cache, 2MB 64b/line 16-way L2 cache cpu3: smt 0, core 3, package 0 ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 21, 24 pins ioapic1 at mainbus0: apid 5 pa 0xfec20000, version 21, 32 pins acpihpet0 at acpi0: 14318180 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PBR4) acpiprt2 at acpi0: bus 2 (PBR5) acpiprt3 at acpi0: bus 3 (PBR6) acpiprt4 at acpi0: bus 4 (PBR7) acpiprt5 at acpi0: bus -1 (PBR8) acpicpu0 at acpi0: C2(0@400 io@0x1771), C1(@1 halt!), PSS acpicpu1 at acpi0: C2(0@400 io@0x1771), C1(@1 halt!), PSS acpicpu2 at acpi0: C2(0@400 io@0x1771), C1(@1 halt!), PSS acpicpu3 at acpi0: C2(0@400 io@0x1771), C1(@1 halt!), PSS acpicpu4 at acpi0: no cpu matching ACPI ID 4 acpicpu5 at acpi0: no cpu matching ACPI ID 5 acpicpu6 at acpi0: no cpu matching ACPI ID 6 acpicpu7 at acpi0: no cpu matching ACPI ID 7 acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001 acpicmos0 at acpi0 com0 at acpi0 COM1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo com0: console com1 at acpi0 COM2 addr 0x2f8/0x8 irq 3: ns16550a, 16 byte fifo amdgpio0 at acpi0 GPIO uid 0 addr 0xfed81500/0x300 irq 7, 184 pins "PRP0001" at acpi0 not configured "PRP0001" at acpi0 not configured "PRP0001" at acpi0 not configured "PRP0001" at acpi0 not configured "PRP0001" at acpi0 not configured "PRP0001" at acpi0 not configured "BOOT0000" at acpi0 not configured acpitz0 at acpi0: critical temperature is 115 degC cpu0: 998 MHz: speeds: 1000 800 600 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "AMD 16h Root Complex" rev 0x00 vendor "AMD", unknown product 0x1567 (class system subclass IOMMU, rev 0x00) at pci0 dev 0 function 2 not configured pchb1 at pci0 dev 2 function 0 "AMD 16h Host" rev 0x00 ppb0 at pci0 dev 2 function 1 "AMD 16h PCIE" rev 0x00: msi pci1 at ppb0 bus 1 em0 at pci1 dev 0 function 0 "Intel I211" rev 0x03: msi, address 00:0d:b9:59:e0:90 ppb1 at pci0 dev 2 function 2 "AMD 16h PCIE" rev 0x00: msi pci2 at ppb1 bus 2 em1 at pci2 dev 0 function 0 "Intel I211" rev 0x03: msi, address 00:0d:b9:59:e0:91 ppb2 at pci0 dev 2 function 3 "AMD 16h PCIE" rev 0x00: msi pci3 at ppb2 bus 3 em2 at pci3 dev 0 function 0 "Intel I211" rev 0x03: msi, address 00:0d:b9:59:e0:92 ppb3 at pci0 dev 2 function 4 "AMD 16h PCIE" rev 0x00: msi pci4 at ppb3 bus 4 em3 at pci4 dev 0 function 0 "Intel I211" rev 0x03: msi, address 00:0d:b9:59:e0:93 ccp0 at pci0 dev 8 function 0 "AMD 16h Crypto" rev 0x00 xhci0 at pci0 dev 16 function 0 "AMD Bolton xHCI" rev 0x11: msi, xHCI 1.0 usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 addr 1 ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x40: apic 4 int 19, AHCI 1.3 ahci0: port 0: 6.0Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: <ATA, Hoodisk SSD, SBFM> t10.ATA_Hoodisk_SSD_L7DTC7A11208347_ sd0: 15272MB, 512 bytes/sector, 31277232 sectors, thin ehci0 at pci0 dev 18 function 0 "AMD Hudson-2 USB2" rev 0x39: apic 4 int 18 usb1 at ehci0: USB revision 2.0 uhub1 at usb1 configuration 1 interface 0 "AMD EHCI root hub" rev 2.00/1.00 addr 1 ehci1 at pci0 dev 19 function 0 "AMD Hudson-2 USB2" rev 0x39: apic 4 int 18 usb2 at ehci1: USB revision 2.0 uhub2 at usb2 configuration 1 interface 0 "AMD EHCI root hub" rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 "AMD Hudson-2 SMBus" rev 0x42: SMI iic0 at piixpm0 iic1 at piixpm0 iic1: addr 0x4c 3e=00 48=00 4a=00 4e=00 fc=00 fe=00 words 00=ffff 01=ffff 02=ffff 03=ffff 04=ffff 05=ffff 06=ffff 07=ffff pcib0 at pci0 dev 20 function 3 "AMD Hudson-2 LPC" rev 0x11 sdhc0 at pci0 dev 20 function 7 "AMD Bolton SD/MMC" rev 0x01: apic 4 int 16 sdhc0: SDHC 2.0, 50 MHz base clock sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed, dma pchb2 at pci0 dev 24 function 0 "AMD 16h Link Cfg" rev 0x00 pchb3 at pci0 dev 24 function 1 "AMD 16h Address Map" rev 0x00 pchb4 at pci0 dev 24 function 2 "AMD 16h DRAM Cfg" rev 0x00 km0 at pci0 dev 24 function 3 "AMD 16h Misc Cfg" rev 0x00 pchb5 at pci0 dev 24 function 4 "AMD 16h CPU Power" rev 0x00 pchb6 at pci0 dev 24 function 5 "AMD 16h Misc Cfg" rev 0x00 isa0 at pcib0 isadma0 at isa0 com2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo pcppi0 at isa0 port 0x61 spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 intr_establish: pic ioapic0 pin 7: can't share type 3 with 2 wbsio0 at isa0 port 0x2e/2: NCT5104D rev 0x53 vmm0 at mainbus0: SVM/RVI uhub3 at uhub1 port 1 configuration 1 interface 0 "Advanced Micro Devices Hub" rev 2.00/0.18 addr 2 uhub4 at uhub2 port 1 configuration 1 interface 0 "Advanced Micro Devices Hub" rev 2.00/0.18 addr 2 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (8f7aae7df9c1e5c5.a) swap on sd0b dump on sd0b Radek