> Date: Wed, 22 Jan 2025 15:34:45 +0900
> From: FUKAUMI Naoki <[email protected]>
> 
> So, what is this panic?

It's some sort of hardware error.  We've seen this happen when memory
is mapped with the wrong memory attributes.  Could be the result of
the kernel mapping memory that isn't accessable (which in turn could
be because of a problem with the memory map passed to use by the EDK2
firmware).  Or it could be a hardware errata that we don't implement
yet (this is probably the first time OpenBSD runs on a board with a
Cortex-A720 CPU).  Defenitely needs some further investigation.

> (Btw, GENERIC.MP hangs just after "WARNING: CHECK AND RESET THE DATE!")
> 
> --
> 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) #282: Fri Jan 17 13:42:14 MST 2025
>      [email protected]:/usr/src/sys/arch/arm64/compile/GENERIC
> real mem  = 16952713216 (16167MB)
> avail mem = 16293494784 (15538MB)
> User Kernel Config
> UKC> disable acpipci*
> 438 acpipci* disabled
> UKC> quit
> Continuing...
> random: boothowto does not indicate good seed
> 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
> "PNP0A08" at acpi0 not configured
> "PNP0A08" at acpi0 not configured
> "PNP0A08" at acpi0 not configured
> "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!
> SError: 1ade450178 esr be000011 far ffffff80c52ed000
> panic: do_el0_error
> Stopped at      panic+0x140:    cmp     w21, #0x0
>      TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
> *108839      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 0x1ade450174
> 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> show panic
> *cpu0: do_el0_error
> ddb> trace
> db_enter() at panic+0x13c
> panic() at do_el0_error+0x18
> serror() at handle_el0_error+0x70
> handle_el0_error() at 0x1ade450174
> ddb> ps
>     PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
>   86311  242895      0      0  3     0x14200  bored         smr
>   79694  358377      0      0  2     0x14200                zerothread
>    9924  515547      0      0  3     0x14200  aiodoned      aiodoned
>   24884  215296      0      0  3     0x14200  syncer        update
>   84381   64047      0      0  3     0x14200  cleaner       cleaner
>   49999   98213      0      0  3     0x14200  reaper        reaper
>    2060  174215      0      0  3     0x14200  pgdaemon      pagedaemon
>   89729  197602      0      0  3  0x40014200  acpi0         acpi0
>   84408  266556      0      0  3     0x14200  usbtsk        usbtask
>    3361  110876      0      0  3     0x14200  usbatsk       usbatsk
>   41455  466474      0      0  3     0x14200  bored         sleep
>      93  373483      0      0  3     0x14200  bored         softnet3
>    2133  492196      0      0  3     0x14200  bored         softnet2
>   48621  283848      0      0  3     0x14200  bored         softnet1
>   10195   14412      0      0  3     0x14200  bored         softnet0
>   13307  515772      0      0  3     0x14200  bored         systqmp
>   83426  273823      0      0  3     0x14200  bored         systq
>   77458  374578      0      0  3  0x40014200  tmoslp        softclock
>   89955  496524      0      0  3  0x40014200                idle0
>    9520   85401      0      0  3     0x14200  kmalloc       kmthread
> *    1  108839      0      0  7         0x2                init
>       0       0     -1      0  3     0x10200  scheduler     swapper
> ddb>
> 

Reply via email to