Hi Mark,

On 1/22/25 22:09, Mark Kettenis wrote:
I think I figured out what went wrong here.  If you know how to apply
patches and build your own kernel the diff below will probably fix the
issue.

It works fine. Thank you very much :)

P.S. I think you mentioned GENERIC.MP being unstable on your RK3588
      board.  Not sure what board you're using, but the ROCK 5B board
      that I have works quite well with the right power supply.  But
      with other power supplies it doesn't.  I believe that's because
      upstream U-Boot didn't do USB-C PD negotiation.  But it does
      implement that now and I need to look into updating the U-Boot
      version that we build for OpenBSD.

I'm using a ROCK 5T which has a DC12V jack instead of Type-C PD.

I know about PD negotiation issues with U-Boot and the kernel, which results in a hard reset, but what I've seen is processes being killed randomly.

Best regards,

--
FUKAUMI Naoki
Radxa Computer (Shenzhen) Co., Ltd.

Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2025 OpenBSD. All rights reserved. https://www.OpenBSD.org

OpenBSD 7.6-current (GENERIC) #11: Thu Jan 23 08:35:57 JST 2025
    r...@orion-o6.my.domain:/usr/src/sys/arch/arm64/compile/GENERIC
real mem  = 16952713216 (16167MB)
avail mem = 16300994560 (15545MB)
random: good seed from bootblocks
mainbus0 at root: ACPI
psci0 at mainbus0: PSCI 1.1, SMCCC 1.2, SYSTEM_SUSPEND
efi0 at mainbus0: UEFI 2.7
efi0: EDK II rev 0x10000
smbios0 at efi0: SMBIOS 3.0.0
smbios0: vendor Radxa Computer (Shenzhen) Co., Ltd. version "1.0" date Jan 1 1980
smbios0: Radxa Computer (Shenzhen) Co., Ltd. Radxa Orion O6
cpu0 at mainbus0 mpidr a00: ARM Cortex-A720 r0p1
cpu0: 64KB 64b/line 4-way L1 PIPT I-cache, 64KB 64b/line 4-way L1 D-cache
cpu0: 512KB 64b/line 8-way L2 cache
cpu0: 12288KB 64b/line 12-way L3 cache
cpu0: TLBIOS+IRANGE,TS+AXFLAG,FHM,DP,SM4,SM3,SHA3,RDM,Atomic,CRC32,SHA2+SHA512,SHA1,AES+PMULL,XS,I8MM,DGH,BF16,SPECRES,SB,FRINTTS,LRCPC+LDAPUR,FCMA,JSCVT,DPB+DCCVADP,WFXT,ECV+CNTHCTL,ASID16,AFP,PAN+ATS1E1+EPAN,LO,HPDS,VH,HAFDBS,ECBHB,IDS,AT,CSV3,CSV2+SCXT,DIT,AdvSIMD+HP,FP+HP,BT,SSBS+MSR,MTE
apm0 at mainbus0
agintc0 at mainbus0 shift 4:4 nirq 544 nredist 12: "interrupt-controller"
agintcmsi0 at agintc0
agtimer0 at mainbus0: 1000000 kHz
acpi0 at mainbus0: ACPI 5.1
acpi0: sleep states
acpi0: tables DSDT FACP SSDT CSRT DBG2 GTDT IORT SDEI SPCR APIC SSDT MCFG
acpi0: wakeup devices
acpiiort0 at acpi0
acpimcfg0 at acpi0
acpimcfg0: addr 0x20000000, bus 96-127
acpimcfg0: addr 0x20000000, bus 48-79
acpimcfg0: addr 0x20000000, bus 0-31
"CIXHA016" at acpi0 not configured
"CIXHA017" at acpi0 not configured
"CIXHA018" at acpi0 not configured
pluart0 at acpi0 COM0 addr 0x40b0000/0x10000 irq 328
pluart1 at acpi0 COM1 addr 0x40c0000/0x10000 irq 329
pluart2 at acpi0 COM2 addr 0x40d0000/0x10000 irq 330
"PRP0001" at acpi0 not configured
"PRP0001" at acpi0 not configured
"PRP0001" at acpi0 not configured
"CIXHA019" at acpi0 not configured
"CIXHA001" at acpi0 not configured
"CIXHA001" at acpi0 not configured
"CIXHA001" at acpi0 not configured
"CIXHA001" at acpi0 not configured
"CIXHA010" at acpi0 not configured
"CIXA1019" at acpi0 not configured
"CIXHA020" at acpi0 not configured
"CIXHA021" at acpi0 not configured
"CIXHA018" at acpi0 not configured
"CIXHA018" at acpi0 not configured
"CIXH7020" at acpi0 not configured
"CIXHA004" at acpi0 not configured
"CIXHA005" at acpi0 not configured
"CIXHA006" at acpi0 not configured
"CIXHA008" at acpi0 not configured
"CIXHA009" at acpi0 not configured
"CIXHA000" at acpi0 not configured
"CIXHA007" at acpi0 not configured
"CIXH6060" at acpi0 not configured
"CIXH6061" at acpi0 not configured
"CIXH6062" at acpi0 not configured
"CIXHA018" at acpi0 not configured
"CIXH1002" at acpi0 not configured
"CIXH1003" at acpi0 not configured
"CIXH1003" at acpi0 not configured
"CIXH1003" at acpi0 not configured
"CIXH1003" at acpi0 not configured
"CIXH1003" at acpi0 not configured
"CIXH2011" at acpi0 not configured
"CIXH1007" at acpi0 not configured
"CIXH6020" at acpi0 not configured
"CIXHA018" at acpi0 not configured
"CIXH6000" at acpi0 not configured
"CIXHA014" at acpi0 not configured
"CIXH1006" at acpi0 not configured
"CIXH302C" at acpi0 not configured
"CIXH3024" at acpi0 not configured
"CIXH3023" at acpi0 not configured
"CIXH200B" at acpi0 not configured
"CIXH200D" at acpi0 not configured
"CIXH200D" at acpi0 not configured
"RTL5682" at acpi0 not configured
"CIXHA011" at acpi0 not configured
"CIXH200B" at acpi0 not configured
"RX8900" at acpi0 not configured
"CIXH3024" at acpi0 not configured
"CIXH200B" at acpi0 not configured
"CIXH3024" at acpi0 not configured
"CIXH200B" at acpi0 not configured
"CIXH200B" at acpi0 not configured
"CIXH200D" at acpi0 not configured
"CIXH200D" at acpi0 not configured
"CIXH2001" at acpi0 not configured
"SPT0001" at acpi0 not configured
"CIXH2001" at acpi0 not configured
"SPT0002" at acpi0 not configured
acpipci0 at acpi0 PCI2
pci0 at acpipci0
ppb0 at pci0 dev 0 function 0 vendor "Cadence", unknown product 0x0100 rev 0x00
pci1 at ppb0 bus 97
vendor "MediaTek", unknown product 0x7925 (class network subclass miscellaneous, rev 0x00) at pci1 dev 0 function 0 not configured
acpipci1 at acpi0 PCI3
pci2 at acpipci1
ppb1 at pci2 dev 0 function 0 vendor "Cadence", unknown product 0x0100 rev 0x00
pci3 at ppb1 bus 49
rge0 at pci3 dev 0 function 0 "Realtek RTL8126" rev 0x01: msix, address 00:48:54:20:05:dc
acpipci2 at acpi0 PCI4
pci4 at acpipci2
ppb2 at pci4 dev 0 function 0 vendor "Cadence", unknown product 0x0100 rev 0x00
pci5 at ppb2 bus 1
1:0:0: io address conflict 0x1000/0x100
rge1 at pci5 dev 0 function 0 "Realtek RTL8126" rev 0x01: msix, address 00:00:00:00:00:00
"CIXH2020" at acpi0 not configured
"CIXH2020" at acpi0 not configured
"CIXH2020" at acpi0 not configured
"CIXH2023" at acpi0 not configured
"CIXH3010" at acpi0 not configured
"CIXH502F" at acpi0 not configured
"CIXH502F" at acpi0 not configured
"CIXH502F" at acpi0 not configured
"CIXH502F" at acpi0 not configured
"CIXH502F" at acpi0 not configured
"CIXH5010" at acpi0 not configured
"CIXH5010" at acpi0 not configured
"CIXH5010" at acpi0 not configured
"CIXH5010" at acpi0 not configured
"CIXH5010" at acpi0 not configured
"CIXH5041" at acpi0 not configured
"CIXH5040" at acpi0 not configured
"CIXHA012" at acpi0 not configured
"CIXHA013" at acpi0 not configured
"CIXH5000" at acpi0 not configured
"CIXH4000" at acpi0 not configured
xhci0 at acpi0 XHC0 addr 0x9018000/0x8000 irq 294, xHCI 0.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1
xhci1 at acpi0 XHC2 addr 0x90f8000/0x8000 irq 306, xHCI 0.0
usb1 at xhci1: USB revision 3.0
uhub1 at usb1 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1
xhci2 at acpi0 XHC4 addr 0x91d8000/0x8000 irq 284, xHCI 0.0
usb2 at xhci2: USB revision 3.0
uhub2 at usb2 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1
xhci3 at acpi0 XHC5 addr 0x91e8000/0x8000 irq 289, xHCI 0.0
usb3 at xhci3: USB revision 3.0
uhub3 at usb3 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1
xhci4 at acpi0 USB0 addr 0x9268000/0x8000 irq 272, xHCI 0.0
usb4 at xhci4: USB revision 3.0
uhub4 at usb4 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1
xhci5 at acpi0 USB1 addr 0x9298000/0x8000 irq 275, xHCI 0.0
usb5 at xhci5: USB revision 3.0
uhub5 at usb5 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1
xhci6 at acpi0 USB2 addr 0x92c8000/0x8000 irq 278, xHCI 0.0
usb6 at xhci6: USB revision 3.0
uhub6 at usb6 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1
xhci7 at acpi0 USB3 addr 0x92f8000/0x8000 irq 281, xHCI 0.0
usb7 at xhci7: USB revision 3.0
uhub7 at usb7 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1
"CIXH2030" at acpi0 not configured
"CIXH2031" at acpi0 not configured
"CIXH2032" at acpi0 not configured
"CIXH2033" at acpi0 not configured
"CIXH2031" at acpi0 not configured
"CIXH2032" at acpi0 not configured
"CIXH2033" at acpi0 not configured
"CIXH2030" at acpi0 not configured
"CIXH2031" at acpi0 not configured
"CIXH2032" at acpi0 not configured
"CIXH2033" at acpi0 not configured
"CIXH2031" at acpi0 not configured
"CIXH2032" at acpi0 not configured
"CIXH2033" at acpi0 not configured
"CIXH2030" at acpi0 not configured
"CIXH2031" at acpi0 not configured
"CIXH2030" at acpi0 not configured
"CIXH2031" at acpi0 not configured
"CIXH2032" at acpi0 not configured
"CIXH2032" at acpi0 not configured
"CIXH2034" at acpi0 not configured
"CIXH2030" at acpi0 not configured
"CIXH2031" at acpi0 not configured
"CIXH2030" at acpi0 not configured
"CIXH2031" at acpi0 not configured
"CIXH2032" at acpi0 not configured
"CIXH2032" at acpi0 not configured
"CIXH2030" at acpi0 not configured
"CIXH2031" at acpi0 not configured
"CIXH2032" at acpi0 not configured
"CIXH2030" at acpi0 not configured
"CIXH2031" at acpi0 not configured
"CIXH2032" at acpi0 not configured
"CIXH3020" at acpi0 not configured
"CIXH3021" at acpi0 not configured
"CIXH3025" at acpi0 not configured
"CIXH3026" at acpi0 not configured
"CIXH3027" at acpi0 not configured
"CIXH3028" at acpi0 not configured
"CIXH3029" at acpi0 not configured
"CIXH302A" at acpi0 not configured
"CIXH302B" at acpi0 not configured
"CIXHA022" at acpi0 not configured
"CIXH6030" at acpi0 not configured
"CIXH6070" at acpi0 not configured
"CIXHA015" at acpi0 not configured
acpibat0 at acpi0: BAT0 not present
"PNP0C0B" at acpi0 not configured
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID_
acpiac0 at acpi0: AC unit offline
"PNP0C50" at acpi0 not configured
"PNP0C14" at acpi0 not configured
acpitz0 at acpi0: no critical temperature defined
acpipwrres0 at acpi0: PPRS, resource for ACLK
acpipwrres1 at acpi0: PPRS, resource for VPU0
acpipwrres2 at acpi0: PRS0, resource for CRE0
acpipwrres3 at acpi0: PRS1, resource for CRE1
acpipwrres4 at acpi0: PRS2, resource for CRE2
acpipwrres5 at acpi0: PRS3, resource for CRE3
acpipwrres6 at acpi0: PRS0, resource for DPU0
acpipwrres7 at acpi0: PRS1, resource for DPU1
acpipwrres8 at acpi0: PRS2, resource for DPU2
acpipwrres9 at acpi0: PRS3, resource for DPU3
acpipwrres10 at acpi0: PRS4, resource for DPU4
acpipwrres11 at acpi0: PPRS, resource for GPU_
acpipwrres12 at acpi0: PPRS, resource for NPU0, CRE0, CRE1, CRE2
acpipwrres13 at acpi0: PRS0, resource for CRE0
acpipwrres14 at acpi0: PRS1, resource for CRE1
acpipwrres15 at acpi0: PRS2, resource for CRE2
acpipwrres16 at acpi0: PRS0, resource for ISPM
acpipwrres17 at acpi0: ECFN, resource for ECFP
acpitz1 at acpi0acpitz1: ECTZ: failed to read _TMP
acpitz1: ECTZ: failed to read _TMP

umass0 at uhub2 port 2 configuration 1 interface 0 "Logitec LMD USB Device" rev 3.20/1.10 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <Logitec, LMD USB Device, PMAP> serial.078903363B6E93501412
sd0: 238475MB, 512 bytes/sector, 488397168 sectors
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (ef2f80fe4bf186e1.a) swap on sd0b dump on sd0b
WARNING: CHECK AND RESET THE DATE!
simplefb0 at mainbus0: 1920x1080, 32bpp
wsdisplay0 at simplefb0 mux 1
wsdisplay0: screen 0-5 added (std, vt100 emulation)
SError: 1f64d90178 esr be000011 far ffffff80c5416000
panic: do_el0_error
Stopped at      panic+0x140:    cmp     w21, #0x0
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*224463      1      0         0x2          0    0  init
db_enter() at panic+0x13c
panic() at do_el0_error+0x18
serror() at handle_el0_error+0x70
handle_el0_error() at 0x1f64d90174
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>

Reply via email to