[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-bugs
Subject:    Re: arm64/Rock5b storage lockup
From:       Kurt Miller <kurt () intricatesoftware ! com>
Date:       2024-04-14 18:52:12
Message-ID: 0100018eddf3e3e8-6ad52eae-eac1-4f04-a52f-ab12a2c79115-000000 () email ! amazonses ! com
[Download RAW message or body]

I made some changes and have a different panic and kernel diagnostic
assertion on the rock5b. I am now running with u-boot 2024-04 and
swapped out the nvme I previously was using with a lower power and
low heat one; SK Hynix Gold P31.

*cpu0: uvm_fault failed: ffffff800085c1bc esr 96000047 far ffffff800262f11a
 cpu5: kernel diagnostic assertion "anon == NULL || anon->an_lock == NULL || \
rw_write_held(anon->an_lock)" failed: file "/usr/src/sys/uvm/uvm_page.c", line 698

Full details below with u-boot and dmesg at end.

rock5b# panic: uvm_fault failed: fffffpfa8ni0c0:0 k8e5rcne1lb c   e s  rd i a gnostic \
assertion "anon == NULL || anon->an_lock == NULL || rw_write_held(anon->an_lock)" \
failed : file "/usr/src/sys/uvm/uvm_page.c", line 698
Stopped at      panic+0x14c:    cmp     w21, #0x0
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
  83110  44805     55   0x9100000          0    0  sh
 115196  78177     55  0x19000002          0    3  xsltproc
 473726  79557     55  0x19000002          0    2  perl
 498719  67335     55   0x9100002          0    6  rm
*247563  21044     55  0x19000002          0    5  c++
 391771  53628     55  0x19000002          0    7  cc
  90899  43871      0     0x14000      0x200    4  zerothread
db_enter() at panic+0x148
panic() at __assert+0x28
panic() at uvm_pagealloc_pg+0x2ac
uvm_pagealloc_pg() at uvm_pagealloc+0x118
uvm_pagealloc() at uvm_fault_lower+0x120
uvm_fault_lower() at uvm_fault+0x174
uvm_fault() at udata_abort+0x138
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{5}> show panic
*cpu0: uvm_fault failed: ffffff800085c1bc esr 96000047 far ffffff800262f11a
 cpu5: kernel diagnostic assertion "anon == NULL || anon->an_lock == NULL || \
rw_write_held(anon->an_lock)" failed: file "/usr/src/sys/uvm/uvm_page.c", line 698

ddb{5}> bt
db_enter() at panic+0x148
panic() at __assert+0x28
panic() at uvm_pagealloc_pg+0x2ac
uvm_pagealloc_pg() at uvm_pagealloc+0x118
uvm_pagealloc() at uvm_fault_lower+0x120
uvm_fault_lower() at uvm_fault+0x174
uvm_fault() at udata_abort+0x138
udata_abort() at do_el0_sync+0x130
do_el0_sync() at handle_el0_sync+0x70
handle_el0_sync() at __ALIGN_SIZE+0x3fc3994
--- trap ---
end of kernel
ddb{5}> machine ddbcpu 0
Stopped at      agintc_ipi_ddb+0x20:    ldr     x15, [sp,#16]
db_enter() at agintc_ipi_ddb+0x1c
agintc_ipi_ddb() at agintc_irq_handler+0x2bc
agintc_irq_handler() at arm_cpu_irq+0x34
arm_cpu_irq() at handle_el1h_irq+0x68
handle_el1h_irq() at _kernel_lock+0xb8
_kernel_lock() at softintr_biglock_wrap+0x14
softintr_biglock_wrap() at softintr_dispatch+0x84
ddb{0}> machine ddbcpu 1
Stopped at      agintc_ipi_ddb+0x20:    ldr     x15, [sp,#16]
db_enter() at agintc_ipi_ddb+0x1c
agintc_ipi_ddb() at agintc_irq_handler+0x2bc
agintc_irq_handler() at arm_cpu_irq+0x34
arm_cpu_irq() at handle_el1h_irq+0x68
handle_el1h_irq() at cpu_idle_cycle+0x28
cpu_idle_cycle() at sched_idle+0x294
sched_idle() at proc_trampoline+0xc
ddb{1}> machine ddbcpu 2
Stopped at      agintc_ipi_ddb+0x20:    ldr     x15, [sp,#16]
db_enter() at agintc_ipi_ddb+0x1c
agintc_ipi_ddb() at agintc_irq_handler+0x2bc
agintc_irq_handler() at arm_cpu_irq+0x34
arm_cpu_irq() at handle_el1h_irq+0x68
handle_el1h_irq() at _kernel_lock+0xb8
_kernel_lock() at vn_closefile+0x34
vn_closefile() at fdrop+0x88
ddb{2}> machine ddbcpu 3
Stopped at      agintc_ipi_ddb+0x20:    ldr     x15, [sp,#16]
db_enter() at agintc_ipi_ddb+0x1c
agintc_ipi_ddb() at agintc_irq_handler+0x2bc
agintc_irq_handler() at arm_cpu_irq+0x34
arm_cpu_irq() at handle_el1h_irq+0x68
handle_el1h_irq() at _kernel_lock+0xb8
_kernel_lock() at vn_read+0x40
vn_read() at dofilereadv+0x118
ddb{3}> machine ddbcpu 4
Stopped at      agintc_ipi_ddb+0x20:    ldr     x15, [sp,#16]
db_enter() at agintc_ipi_ddb+0x1c
agintc_ipi_ddb() at agintc_irq_handler+0x2bc
agintc_irq_handler() at arm_cpu_irq+0x34
arm_cpu_irq() at handle_el1h_irq+0x68
handle_el1h_irq() at __mp_release_all+0x48
__mp_release_all() at msleep+0xf0
msleep() at uvm_pagezero_thread+0xa4
ddb{4}> machine ddbcpu 6
Stopped at      agintc_ipi_ddb+0x20:    ldr     x15, [sp,#16]
db_enter() at agintc_ipi_ddb+0x1c
agintc_ipi_ddb() at agintc_irq_handler+0x2bc
agintc_irq_handler() at arm_cpu_irq+0x34
arm_cpu_irq() at handle_el1h_irq+0x68
handle_el1h_irq() at _kernel_lock+0xb4
_kernel_lock() at scsi_iopool_run+0xf0
scsi_iopool_run() at scsi_xsh_runqueue+0x17c
ddb{6}> machine ddbcpu 7
Stopped at      agintc_ipi_ddb+0x20:    ldr     x15, [sp,#16]
db_enter() at agintc_ipi_ddb+0x1c
agintc_ipi_ddb() at agintc_irq_handler+0x2bc
agintc_irq_handler() at arm_cpu_irq+0x34
arm_cpu_irq() at handle_el0_irq+0x70
handle_el0_irq() at __ALIGN_SIZE+0x2c06adc
--- interrupt ---
end of kernel
ddb{7}> machine ddbcpu 0
Stopped at      agintc_ipi_ddb+0x20:    ldr     x15, [sp,#16]
db_enter() at agintc_ipi_ddb+0x1c
agintc_ipi_ddb() at agintc_irq_handler+0x2bc
agintc_irq_handler() at arm_cpu_irq+0x34
arm_cpu_irq() at handle_el1h_irq+0x68
handle_el1h_irq() at _kernel_lock+0xb8
_kernel_lock() at softintr_biglock_wrap+0x14
softintr_biglock_wrap() at softintr_dispatch+0x84
ddb{0}> show uvm
Current UVM status:
  pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
  3988885 VM pages: 94559 active, 365459 inactive, 1 wired, 1871216 free (233903 \
zero)  min  10% (25) anon, 10% (25) vnode, 5% (12) vtext
  freemin=132962, free-target=177282, inactive-target=177283, wired-max=1329628
  faults=184405759, traps=0, intrs=0, ctxswitch=15272973 fpuswitch=0
  softint=3899370, syscalls=164718200, kmapent=17
  fault counts:
    noram=0, noanon=0, noamap=0, pgwait=0, pgrele=0
    ok relocks(total)=663784(681903), anget(retries)=70371345(0), amapcopy=16752860
    neighbor anon/obj pg=23679302/106596372, gets(lock/unlock)=33424081/681976
    cases: anon=63882500, anoncow=6488845, obj=29611120, prcopy=3794769, \
przero=80628672  daemon and swap counts:
    woke=147, revs=39, scans=0, obscans=0, anscans=0
    busy=0, freed=0, reactivate=0, deactivate=57152
    pageouts=0, pending=0, nswget=0
    nswapdev=1
    swpages=4191836, swpginuse=0, swpgonly=0 paging=0
  kernel pointers:
    objs(kern)=0xffffff80012ab200
ddb{0}> show bcstats
Current Buffer Cache status:
numbufs 233540 busymapped 1, delwri 2943
kvaslots 12160 avail kva slots 12159
bufpages 1539568, dmapages 194492, dirtypages 23384
pendingreads 1, pendingwrites 5
highflips 254399, highflops 0, dmaflips 3566
ddb{0}> show all locks
No such command
ddb{0}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf  3458   3167K    3168K 302191K      4795        0
            pcb    15     10K      10K 302191K        15        0
         rtable    60      1K       2K 302191K       177        0
             pf    15      6K      10K 302191K        26        0
         ifaddr    27     33K      33K 302191K        27        0
        ifgroup    22      1K       1K 302191K        22        0
       counters   182    137K     137K 302191K       182        0
       ioctlops     0      0K       4K 302191K      1505        0
          mount    11     11K      11K 302191K        11        0
            log     0      0K       0K 302191K         5        0
         vnodes  1087     68K      68K 302191K      1108        0
      UFS quota     1     32K      32K 302191K         1        0
      UFS mount    45     94K      94K 302191K        45        0
            shm     2      1K       1K 302191K         2        0
         VM map     3      1K       1K 302191K         3        0
            sem     2      0K       0K 302191K         2        0
        dirhash   840    157K     159K 302191K      2652        0
      file desc     9      4K      41K 302191K      2204        0
           proc   107     85K     109K 302191K       973        0
    NFS srvsock     1      0K       0K 302191K         1        0
     NFS daemon     1     16K      16K 302191K         1        0
       in_multi    11      0K       0K 302191K        11        0
    ether_multi     1      0K       0K 302191K         1        0
    ISOFS mount     1     32K      32K 302191K         1        0
  MSDOSFS mount     1     16K      16K 302191K         1        0
           ttys    25    122K     122K 302191K        25        0
           exec     0      0K       1K 302191K    238383        0
            tdb     3      0K       0K 302191K         3        0
        VM swap     8   2214K    2216K 302191K        10        0
       UVM amap  2883    267K    1009K 302191K   2699352        0
       UVM aobj     3      2K       2K 302191K         3        0
     pinsyscall   175    350K     435K 302191K    640613        0
            USB   100     37K      37K 302191K       116        0
     USB device    30      1K       1K 302191K        30        0
         USB HC     5     17K      17K 302191K         5        0
    crypto data     1      1K       1K 302191K         1        0
            NDP     4      0K       0K 302191K         4        0
           temp     3   3836K    3965K 302191K   2892079        0
         kqueue    47     80K     102K 302191K       457        0
      SYN cache     2     16K      16K 302191K         2        0
            DRM     8      0K       5K 302191K        67        0
ddb{0}> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache    128      104    0        0     4     0     4     4     0     8    0
rtpcb      120       33    0       28     1     0     1     1     0     8    0
rtentry    112       23    0        0     1     0     1     1     0     8    0
unpcb      144      157    0       85     3     0     3     3     0     8    0
syncache   336        2    0        2     2     2     0     1     0     8    0
sackhl      24       80    0       80    10    10     0     1     0     8    0
tcpqe       32     1004    0     1004    20    20     0     1     0     8    0
tcpcb      808      105    0       98     1     0     1     1     0     8    0
arp         88        3    0        0     1     0     1     1     0     8    0
inpcb      360      383    0      366     2     0     2     2     0     8    0
pfosfp      40     1428    0     1005     5     0     5     5     0     8    0
pfosfpen   112     1428    0      714    21     0    21    21     0     8    0
pfstitem    24      493    0      488     1     0     1     1     0     8    0
pfstkey    128      493    0      488     1     0     1     1     0     8    0
pfstate    344      493    0      488     3     1     2     3     0     8    0
pfrule     1344      21    0       16     2     1     1     2     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256       98    0        0     7     0     7     7     0     8    0
art_table   32       99    0        0     1     0     1     1     0     8    0
art_node    16       23    0        0     1     0     1     1     0     8    0
dirhash    1024    2966    0     1958   162    28   134   135     0     8    8
dino2pl    256   305576    0   199985  9654  3006  6648  6676     0     8    8
ffsino     240   305576    0   199985  8986  2724  6262  6283     0     8    8
nchpl      144   743235    0   737358   244    24   220   220     0     8    0
uvmvnodes   80   244167    0        0  4983     0  4983  4983     0     8    0
vnodes     216   244167    0        0 13565     0 13565 13565     0     8    0
namei      1024 12412675   0 12412675    19    18     1     2     0     8    1
percpumem   64       37    0        0     1     0     1     1     0     8    0
scxspl     216  1486380    0  1486380   740   736     4     4     1     8    4
extentpl    40       21    0        4     1     0     1     1     0     8    0
ohcixfer   256       32    0       30     1     0     1     1     0     8    0
xhcixfer   280       54    0       51     1     0     1     1     0     8    0
ehcixfer   296       58    0       55     1     0     1     1     0     8    0
idrpl       32       31    0       30     1     0     1     1     0     8    0
kstatmem   264       17    0        0     2     0     2     2     0     8    0
plimitpl   152    17256    0    17216     3     0     3     3     0     8    0
sigapl     424   178536    0   178387    46    27    19    20     0     8    1
futexpl     64   430410    0   430410    85    85     0     1     0     8    0
knotepl    120      539    0        0     8     1     7     8     0     8    0
kqueuepl   184      697    0      659     9     7     2     3     0     8    0
pipepl     288    59640    0    59635    13    12     1     2     0     8    0
fdescpl    432   178491    0   178387    38    24    14    15     0     8    1
filepl     120  4701495    0  4701269    13     3    10    11     0     8    0
lockfpl    104      835    0      832     1     0     1     1     0     8    0
lockfspl    48      419    0      416     1     0     1     1     0     8    0
sessionpl  144      383    0      356     3     1     2     2     0     8    0
pgrppl      48     2164    0     2135     1     0     1     1     0     8    0
ucredpl    104   968478    0   968406     2     0     2     2     0     8    0
zombiepl   144   178387    0   178387    51    50     1     1     0     8    1
processpl  1072  178536    0   178387    19     7    12    12     0     8    0
procpl     648   196311    0   196162    26    11    15    16     0     8    0
sockpl     504      573    0      479    15     2    13    14     0     8    0
mcl16k     16384      4    0        0     1     0     1     1     0     8    0
mcl12k     12288      2    0        0     1     0     1     1     0     8    0
mcl9k      9216    2011    0        0    18     6    12    16     0     8    0
mcl8k      8192       6    0        0     1     0     1     1     0     8    0
mcl4k      4096       4    0        0     1     0     1     1     0     8    0
mcl2k      2048     110    0        0    10     0    10    10     0     8    0
mtagpl      96        5    0        0     1     0     1     1     0     8    0
mbufpl     256     2489    0        0    16     4    12    15     0     8    0
bufpl      280   463955    0   230415 19538  2744 16794 17441     0     8    8
anonpl      24 90912286    0 90828072  4922  3780  1142  2270     0  1502    0
pool(0xffffff80012c5090:anonpl): page inconsistency: page 0xffffff8086803000; 0 on \
list, 167 missing, 166 items per page amapchunkpl 152 7314804    0  7308829  2807  \
2500   307   847     0   158    0 amappl16   200   601080    0   600907  1989  1958   \
31   275     0     8    0 amappl15   192    34571    0    34563    26    23     3     \
4     0     8    0 amappl14   184   125299    0   125208    15     8     7     7     \
0     8    0 amappl13   176    45106    0    45079    13    10     3     4     0     \
8    0 amappl12   168   494601    0   494443    27    16    11    12     0     8    0
amappl11   160    51886    0    51830    23    19     4     7     0     8    0
amappl10   152    55608    0    55590    12     9     3     4     0     8    0
amappl9    144   125082    0   125053    28    25     3     6     0     8    0
amappl8    136   450931    0   450621   268   242    26    83     0     8    0
amappl7    128    86186    0    86137    24    20     4     7     0     8    0
amappl6    120   280627    0   280464    31    22     9    15     0     8    0
amappl5    112   212989    0   212796   112   102    10    21     0     8    1
amappl4    104   889173    0   888572   298   263    35    84     0     8    0
amappl3     96  1603408    0  1602805  1099  1070    29   167     0     8    2
amappl2     88  3163394    0  3160910  1584  1465   119   437     0     8    2
amappl1     80  4375347    0  4372187   672   589    83   210     0     8    0
amappl      88  1973979    0  1972147   282   225    57   128     0    92    0
dma4096    4096       1    0        1     1     1     0     1     0     8    0
dma256     256       11    0       11     1     1     0     1     0     8    0
dma128     128        2    0        2     1     1     0     1     0     8    0
dma64       64        2    0        2     1     1     0     1     0     8    0
dma32       32        6    0        6     1     1     0     1     0     8    0
dma16       16        9    0        9     1     1     0     1     0     8    0
vp         8192   28620  180        0 28285  6333 21952 26812    20     8   20
pted        40   419568    0        0  4226     0  4226  4226     1     8    0
pmap       160   178491    0   178387     6     0     6     6     1     8    0
aobjpl      72        2    0        0     1     0     1     1     0     8    0
uaddrrnd    24   178491    0   178387     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24   178491    0   178387     1     0     1     1     0     8    0
vmmpekpl   168  7668323    0  7668134    63    45    18    33     0     8    0
vmmpepl    168 47601859    0 47584211  8469  7450  1019  2602     0   357    2
vmsppl     344   178490    0   178387    29    17    12    12     0     8    0
rwobjpl     24 11202610    0 10948944  1781   248  1533  1533     0     8    0
phpool     112    47177    0    12131  1016    13  1003  1003     0     8    0
ddb{0}> show all procs
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
*44805   83110  42851     55  7   0x9100000                sh
 78177  115196  91507     55  7  0x19000002                xsltproc
 91507  207142  94261     55  3   0x910008a  sigsusp       sh
 42851  218481  36375     55  3   0x9100088  sigsusp       sh
  6660  138942  44031     55  3  0x19000082  piperd        perl
 36375  522724  44031     55  3   0x9100088  sigsusp       sh
 44031  225777   9220     55  3   0x9100082  piperd        sh
  9220   11684   6949     55  3  0x1910008a  sigsusp       make
  6949  154922   9365     55  3   0x910008a  sigsusp       sh
 79557  473726  39434     55  7  0x19000002                perl
  9365  227075  39129     55  3  0x1910008a  sigsusp       make
 39129  324219  52425     55  3   0x9100082  piperd        sh
 39434  507286  36366     55  3  0x19100082  wait          find
 36366  387480  14065     55  3   0x910008a  sigsusp       sh
 14065  168802  56254     55  3  0x1910008a  sigsusp       make
 56254  283281  55681     55  3  0x1910008a  sigsusp       make
 55681  324400  31621     55  3   0x910008a  sigsusp       sh
 31621  234158  11371     55  3  0x1910008a  sigsusp       make
 11371  454708  80856     55  3   0x910008a  sigsusp       sh
 80856  337373  92483     55  3  0x1910008a  sigsusp       make
 72226  388118  92483      0  3  0x18000091  nanoslp       perl
 67335  498719  79416     55  7   0x9100002                rm
 79416   21140  68930     55  3   0x910008a  sigsusp       sh
 68930  283803  66377     55  3  0x1910008a  sigsusp       make
 66377  443689  95651     55  3   0x910008a  sigsusp       sh
 95651   87730   9164     55  3  0x1910008a  sigsusp       make
  9164  321440   2160     55  3   0x910008a  sigsusp       sh
  2160  122916  92483     55  3  0x1910008a  sigsusp       make
 21044  247563  66657     55  7  0x19000002                c++
 66657  166475  74808     55  3   0x910008a  sigsusp       sh
 52425  324118  59100     55  3  0x1910008a  sigsusp       make
 59100   93152  89198     55  3   0x910008a  sigsusp       sh
 89198  457527  96816     55  3  0x1910008a  sigsusp       make
 96816  355788   8994     55  3   0x910008a  sigsusp       sh
  8994  207610  16668     55  3  0x1910008a  sigsusp       make
 16668  328750  19835     55  3   0x910008a  sigsusp       sh
 19835  139029  92483     55  3  0x1910008a  sigsusp       make
 53628  391771  33668     55  7  0x19000002                cc
 33668   44461  59017     55  3  0x19000082  wait          gmake
 59017  437058  89527     55  3  0x19000082  wait          gmake
 89527  285445   3096     55  3  0x19000082  wait          gmake
 94261   50902  79424     55  3  0x1900008a  kqread        ninja
 79424  429904   6877     55  3  0x1b200082  wait          python3.10
  6877  506568   3536     55  3  0x1910008a  sigsusp       make
  3536  139768  41771     55  3  0x1910008a  sigsusp       make
 41771   71394   6299     55  3   0x910008a  sigsusp       sh
  6299  154829  29175     55  3  0x1910008a  sigsusp       make
 29175  436867  70079     55  3   0x910008a  sigsusp       sh
 70079   20249  92483     55  3  0x1910008a  sigsusp       make
  3096   53756  68163     55  3  0x19000082  wait          gmake
 68163  188099  25574     55  3  0x19000082  wait          gmake
 25574   61561  45049     55  3  0x1910008a  sigsusp       make
 45049  450972  45051     55  3   0x910008a  sigsusp       sh
 45051  407487  66880     55  3  0x1910008a  sigsusp       make
 66880  445243  95510     55  3   0x910008a  sigsusp       sh
 95510  157990  92483     55  3  0x1910008a  sigsusp       make
 74808  201521  29507     55  3  0x19000082  wait          gmake
 29507  300350   7251     55  3   0x9100088  sigsusp       sh
  7251   11303  58019     55  3   0x910008a  sigsusp       sh
 58019   71177  19770     55  3  0x19000082  wait          gmake
 19770  149754  26098     55  3   0x910008a  sigsusp       sh
 26098  193248  59375     55  3  0x19000082  wait          gmake
 59375  287414  94695     55  3  0x1910008a  sigsusp       make
 94695  341026  88107     55  3   0x910008a  sigsusp       sh
 88107  340860  29268     55  3  0x1910008a  sigsusp       make
 29268  136745   6018     55  3   0x910008a  sigsusp       sh
  6018  324754  92483     55  3  0x1910008a  sigsusp       make
 73226  263607      1   1000  3  0x181000b8  kqread        ssh-agent
 96354  479337   6250   1000  3   0x8100083  ttyin         ksh
  6250   85639  91019   1000  3  0x18000098  kqread        sshd
 91019  402289  77883      0  3  0x18000082  kqread        sshd
 92483   12052  48462      0  3  0x18000093  wait          perl
 31638  380841      1   1000  3  0x181000b8  kqread        ssh-agent
 48462  157861  34610   1000  3   0x810008b  sigsusp       ksh
 34610  175707  77952   1000  3  0x18000098  kqread        sshd
 77952  348484  77883      0  3  0x18000082  kqread        sshd
 74374  483422      1      0  3   0x8100083  ttyin         ksh
 97100  496583      1      0  3  0x18100098  kqread        cron
 53124  395048      1     99  3  0x19100090  kqread        sndiod
  6945  384925      1    110  3  0x18100090  kqread        sndiod
 15903    4350  95400     95  3  0x19100092  kqread        smtpd
 14802  119086  95400    103  3  0x19100092  kqread        smtpd
 93477  101025  95400     95  3  0x19100092  kqread        smtpd
 29498  274250  95400     95  3  0x18100092  kqread        smtpd
 84109  474394  95400     95  3  0x19100092  kqread        smtpd
 26511  290689  95400     95  3  0x19100092  kqread        smtpd
 95400  313341      1      0  3  0x18100080  kqread        smtpd
 77883  407926      1      0  3  0x18000088  kqread        sshd
   581  107357      1      0  3  0x18100080  kqread        ntpd
 59477  263116  26679     83  3  0x18100092  kqread        ntpd
 26679  492755      1     83  3  0x19100092  kqread        ntpd
 81972  204021  77818     74  3  0x19100092  bpf           pflogd
 77818  484859      1      0  3  0x18000080  sbwait        pflogd
 50184  164663  69951     73  3  0x19100090  kqread        syslogd
 69951  357984      1      0  3  0x18100082  sbwait        syslogd
 54312  505048      1      0  3  0x18100080  kqread        resolvd
 51776  424781  33055     77  3  0x18100092  kqread        dhcpleased
  9838  429970  33055     77  3  0x18100092  kqread        dhcpleased
 33055  242934      1      0  3  0x18000080  kqread        dhcpleased
 97172  498475  91866    115  3  0x18100092  kqread        slaacd
 90819  248640  91866    115  3  0x18100092  kqread        slaacd
 91866   15041      1      0  3  0x18100080  kqread        slaacd
 58409  136099      0      0  3     0x14200  bored         smr
 43871   90899      0      0  7     0x14200                zerothread
 36729   43143      0      0  3     0x14200  aiodoned      aiodoned
 16130  412175      0      0  3     0x14200  syncer        update
 41328   14886      0      0  3     0x14200  cleaner       cleaner
 34350  212920      0      0  3     0x14200  reaper        reaper
 91572  430871      0      0  3     0x14200  pgdaemon      pagedaemon
 73411  424480      0      0  3     0x14200  mmctsk        sdmmc1
 38579  239786      0      0  3     0x14200  mmctsk        sdmmc0
 91005   44753      0      0  3     0x14200  usbtsk        usbtask
 53921   93874      0      0  3     0x14200  usbatsk       usbatsk
 43307  137394      0      0  3     0x14200  bored         drmtskl
 66551  500915      0      0  3     0x14200  bored         drmlwq
 42645   53291      0      0  3     0x14200  bored         drmlwq
 21318   50183      0      0  3     0x14200  bored         drmlwq
 41591  311755      0      0  3     0x14200  bored         drmlwq
 20685  128125      0      0  3     0x14200  bored         drmubwq
  1293   52515      0      0  3     0x14200  bored         drmubwq
 34803  120132      0      0  3     0x14200  bored         drmubwq
 45589  398923      0      0  3     0x14200  bored         drmubwq
 50681  463987      0      0  3     0x14200  bored         drmhpwq
 63395   11310      0      0  3     0x14200  bored         drmhpwq
 65060   63900      0      0  3     0x14200  bored         drmhpwq
 91547  514412      0      0  3     0x14200  bored         drmhpwq
 78559  111142      0      0  3     0x14200  bored         drmwq
 36274  194969      0      0  3     0x14200  bored         drmwq
 29181   91238      0      0  3     0x14200  bored         drmwq
 20469  204301      0      0  3     0x14200  bored         drmwq
 71998  395346      0      0  3     0x14200  bored         sleep
 65300  400061      0      0  3  0x40014200                idle7
 80281   52210      0      0  3  0x40014200                idle6
 60913  257417      0      0  3  0x40014200                idle5
 43420   35276      0      0  3  0x40014200                idle4
 41731  220915      0      0  3  0x40014200                idle3
 98440  286129      0      0  3  0x40014200                idle2
 83001   64219      0      0  7  0x40014200                idle1
 35970  335893      0      0  3     0x14200  bored         softnet3
 84976  430888      0      0  3     0x14200  bored         softnet2
 58290  203250      0      0  3     0x14200  bored         softnet1
 10864  159827      0      0  3     0x14200  bored         softnet0
 21694  419119      0      0  3     0x14200  bored         systqmp
 72410  347780      0      0  3     0x14200  bored         systq
 46240  235786      0      0  3     0x14200  tmoslp        softclockmp
 16496  510655      0      0  2  0x40014200                softclock
 72044  322568      0      0  3  0x40014200                idle0
 24979  514705      0      0  3     0x14200  kmalloc       kmthread
     1  114584      0      0  3   0x8000082  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper

DDR 9fffbe1e78 cym 24/02/04-10:09:20,fwver: v1.16
LPDDR4X, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=16 Size=4096MB
channel[1] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=16 Size=4096MB
channel[2] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=16 Size=4096MB
channel[3] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=16 Size=4096MB
Manufacturer ID:0xff
CH0 RX Vref:26.7%, TX Vref:21.8%,20.8%
CH1 RX Vref:25.4%, TX Vref:21.8%,21.8%
CH2 RX Vref:26.7%, TX Vref:22.8%,22.8%
CH3 RX Vref:28.5%, TX Vref:22.8%,22.8%
change to F1: 528MHz
change to F2: 1068MHz
change to F3: 1560MHz
change to F0: 2112MHz
out

U-Boot SPL 2024.04 (Apr 13 2024 - 09:31:42 -0400)
Trying to boot from MMC2
## Checking hash(es) for config config-1 ... OK
## Checking hash(es) for Image atf-1 ... sha256+ OK
## Checking hash(es) for Image u-boot ... sha256+ OK
## Checking hash(es) for Image fdt-1 ... sha256+ OK
## Checking hash(es) for Image atf-2 ... sha256+ OK
## Checking hash(es) for Image atf-3 ... sha256+ OK
INFO:    Preloader serial: 2
NOTICE:  BL31: v2.3():v2.3-682-g4ca8a8422:derrick.huang, fwver: v1.45
NOTICE:  BL31: Built : 10:11:21, Dec 27 2023
INFO:    spec: 0x1
INFO:    code: 0x88
INFO:    ext 32k is not valid
INFO:    ddr: stride-en 4CH
INFO:    GICv3 without legacy support detected.
INFO:    ARM GICv3 driver initialized in EL3
INFO:    valid_cpu_msk=0xff bcore0_rst = 0x0, bcore1_rst = 0x0
INFO:    l3 cache partition cfg-0
INFO:    system boots from cpu-hwid-0
INFO:    enable memory repair
INFO:    idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001
INFO:    dfs DDR fsp_params[0].freq_mhz= 2112MHz
INFO:    dfs DDR fsp_params[1].freq_mhz= 528MHz
INFO:    dfs DDR fsp_params[2].freq_mhz= 1068MHz
INFO:    dfs DDR fsp_params[3].freq_mhz= 1560MHz
INFO:    BL31: Initialising Exception Handling Framework
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE \
                initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0xa00000
INFO:    SPSR = 0x3c9


U-Boot 2024.04 (Apr 13 2024 - 09:31:42 -0400)

Model: Radxa ROCK 5 Model B
DRAM:  16 GiB (effective 15.7 GiB)
Core:  356 devices, 30 uclasses, devicetree: separate
MMC:   mmc@fe2c0000: 1, mmc@fe2d0000: 2, mmc@fe2e0000: 0
Loading Environment from nowhere... OK
In:    serial@feb50000
Out:   serial@feb50000
Err:   serial@feb50000
Model: Radxa ROCK 5 Model B
Net:   No ethernet found.
Hit any key to stop autoboot:  0 
Scanning for bootflows in all bootdevs
Seq  Method       State   Uclass    Part  Name                      Filename
---  -----------  ------  --------  ----  ------------------------  ----------------
Scanning global bootmeth 'efi_mgr':
Card did not respond to voltage select! : -110
Card did not respond to voltage select! : -110
No EFI system partition
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
  0  efi_mgr      ready   (none)       0  <NULL>                    
** Booting bootflow '<NULL>' with efi_mgr
Loading Boot0000 'mmc 1' failed
EFI boot manager: Cannot load any image
Boot failed (err=-14)
Scanning bootdev 'mmc@fe2c0000.bootdev':
Scanning bootdev 'mmc@fe2e0000.bootdev':
Card did not respond to voltage select! : -110
pcie_dw_rockchip pcie@fe170000: PCIe-4 Link Fail
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
Scanning bootdev 'nvme#0.blk#1.bootdev':
  1  efi          ready   nvme         1  nvme#0.blk#1.bootdev.part \
                efi/boot/bootaa64.efi
** Booting bootflow 'nvme#0.blk#1.bootdev.part_1' with efi
Booting /efi\boot\bootaa64.efi
disks: sd0* sd1
> > OpenBSD/arm64 BOOTAA64 1.18
boot> 
booting sd0a:/bsd: 11489320+2740432+301644+846324 \
[938592+91+1303704+806057]=0x1400b48 [ using 3049224 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2024 OpenBSD. All rights reserved.  https://www.OpenBSD.org

OpenBSD 7.5-current (GENERIC.MP) #11: Thu Apr 11 17:03:03 MDT 2024
    deraadt@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP
real mem  = 16901328896 (16118MB)
avail mem = 16294182912 (15539MB)
random: good seed from bootblocks
mainbus0 at root: Radxa ROCK 5 Model B
psci0 at mainbus0: PSCI 1.1, SMCCC 1.2, SYSTEM_SUSPEND
efi0 at mainbus0: UEFI 2.10
efi0: Das U-Boot rev 0x20240400
smbios0 at efi0: SMBIOS 3.7.0
smbios0: vendor U-Boot version "2024.04" date 04/01/2024
smbios0: radxa Radxa ROCK 5 Model B
cpu0 at mainbus0 mpidr 0: ARM Cortex-A55 r2p0
cpu0: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu0: 128KB 64b/line 4-way L2 cache
cpu0: 4096KB 64b/line 16-way L3 cache
cpu0: DP,RDM,Atomic,CRC32,SHA2,SHA1,AES+PMULL,LRCPC,DPB,ASID16,PAN+ATS1E1,LO,HPDS,VH,HAFDBS,SSBS
 cpu1 at mainbus0 mpidr 100: ARM Cortex-A55 r2p0
cpu1: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu1: 128KB 64b/line 4-way L2 cache
cpu1: 4096KB 64b/line 16-way L3 cache
cpu2 at mainbus0 mpidr 200: ARM Cortex-A55 r2p0
cpu2: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu2: 128KB 64b/line 4-way L2 cache
cpu2: 4096KB 64b/line 16-way L3 cache
cpu3 at mainbus0 mpidr 300: ARM Cortex-A55 r2p0
cpu3: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu3: 128KB 64b/line 4-way L2 cache
cpu3: 4096KB 64b/line 16-way L3 cache
cpu4 at mainbus0 mpidr 400: ARM Cortex-A76 r4p0
cpu4: 64KB 64b/line 4-way L1 PIPT I-cache, 64KB 64b/line 4-way L1 D-cache
cpu4: 512KB 64b/line 8-way L2 cache
cpu4: 4096KB 64b/line 16-way L3 cache
cpu4: DP,RDM,Atomic,CRC32,SHA2,SHA1,AES+PMULL,LRCPC,DPB,ASID16,PAN+ATS1E1,LO,HPDS,VH,HAFDBS,CSV3,CSV2,SSBS
 cpu5 at mainbus0 mpidr 500: ARM Cortex-A76 r4p0
cpu5: 64KB 64b/line 4-way L1 PIPT I-cache, 64KB 64b/line 4-way L1 D-cache
cpu5: 512KB 64b/line 8-way L2 cache
cpu5: 4096KB 64b/line 16-way L3 cache
cpu6 at mainbus0 mpidr 600: ARM Cortex-A76 r4p0
cpu6: 64KB 64b/line 4-way L1 PIPT I-cache, 64KB 64b/line 4-way L1 D-cache
cpu6: 512KB 64b/line 8-way L2 cache
cpu6: 4096KB 64b/line 16-way L3 cache
cpu7 at mainbus0 mpidr 700: ARM Cortex-A76 r4p0
cpu7: 64KB 64b/line 4-way L1 PIPT I-cache, 64KB 64b/line 4-way L1 D-cache
cpu7: 512KB 64b/line 8-way L2 cache
cpu7: 4096KB 64b/line 16-way L3 cache
"optee" at mainbus0 not configured
scmi0 at mainbus0: SCMI 2.0
"gap2" at mainbus0 not configured
"gap1" at mainbus0 not configured
apm0 at mainbus0
syscon0 at mainbus0: "syscon"
syscon1 at mainbus0: "syscon"
syscon2 at mainbus0: "syscon"
syscon3 at mainbus0: "syscon"
syscon4 at mainbus0: "syscon"
syscon5 at mainbus0: "syscon"
syscon6 at mainbus0: "syscon"
syscon7 at mainbus0: "syscon"
"usb2-phy" at syscon7 not configured
syscon8 at mainbus0: "syscon"
"usb2-phy" at syscon8 not configured
syscon9 at mainbus0: "syscon"
rkclock0 at mainbus0
CRU_GATE_CON20: 0x0000aa05
CRU_GATE_CON21: 0x000000a0
CRU_GATE_CON22: 0x00000263
CRU_GATE_CON23: 0x0000aa05
CRU_GATE_CON24: 0x000000a0
CRU_GATE_CON25: 0x00000263
syscon10 at mainbus0: "power-management"
"power-controller" at syscon10 not configured
syscon11 at mainbus0: "qos"
syscon12 at mainbus0: "qos"
syscon13 at mainbus0: "qos"
syscon14 at mainbus0: "qos"
syscon15 at mainbus0: "qos"
syscon16 at mainbus0: "qos"
syscon17 at mainbus0: "qos"
syscon18 at mainbus0: "qos"
syscon19 at mainbus0: "qos"
syscon20 at mainbus0: "qos"
syscon21 at mainbus0: "qos"
syscon22 at mainbus0: "qos"
syscon23 at mainbus0: "qos"
syscon24 at mainbus0: "qos"
syscon25 at mainbus0: "qos"
syscon26 at mainbus0: "qos"
syscon27 at mainbus0: "qos"
syscon28 at mainbus0: "qos"
syscon29 at mainbus0: "qos"
syscon30 at mainbus0: "qos"
syscon31 at mainbus0: "qos"
syscon32 at mainbus0: "qos"
syscon33 at mainbus0: "qos"
syscon34 at mainbus0: "qos"
syscon35 at mainbus0: "qos"
syscon36 at mainbus0: "qos"
syscon37 at mainbus0: "qos"
syscon38 at mainbus0: "qos"
syscon39 at mainbus0: "qos"
syscon40 at mainbus0: "qos"
syscon41 at mainbus0: "qos"
syscon42 at mainbus0: "qos"
syscon43 at mainbus0: "qos"
syscon44 at mainbus0: "qos"
syscon45 at mainbus0: "qos"
syscon46 at mainbus0: "qos"
syscon47 at mainbus0: "qos"
syscon48 at mainbus0: "qos"
syscon49 at mainbus0: "qos"
syscon50 at mainbus0: "qos"
syscon51 at mainbus0: "qos"
syscon52 at mainbus0: "qos"
syscon53 at mainbus0: "qos"
syscon54 at mainbus0: "qos"
syscon55 at mainbus0: "qos"
syscon56 at mainbus0: "qos"
syscon57 at mainbus0: "qos"
syscon58 at mainbus0: "qos"
agintc0 at mainbus0 mbi shift 4:4 nirq 512 nredist 8 ipi: 0, 1, 2: \
"interrupt-controller" agintcmsi0 at agintc0
agintcmsi1 at agintc0
rkcomphy0 at mainbus0
rkcomphy1 at mainbus0
rkpinctrl0 at mainbus0: "pinctrl"
rkgpio0 at rkpinctrl0
rkgpio1 at rkpinctrl0
rkgpio2 at rkpinctrl0
rkgpio3 at rkpinctrl0
rkgpio4 at rkpinctrl0
syscon59 at mainbus0: "syscon"
syscon60 at mainbus0: "syscon"
rkcomphy2 at mainbus0
rkpciephy0 at mainbus0
syscon61 at mainbus0: "syscon"
syscon62 at mainbus0: "syscon"
"usb2-phy" at syscon62 not configured
syscon63 at mainbus0: "syscon"
syscon64 at mainbus0: "syscon"
syscon65 at mainbus0: "syscon"
syscon66 at mainbus0: "syscon"
"usb2-phy" at syscon66 not configured
"fit-images" at mainbus0 not configured
"firmware" at mainbus0 not configured
"pmu-a55" at mainbus0 not configured
"pmu-a76" at mainbus0 not configured
"clock-0" at mainbus0 not configured
rkdrm0 at mainbus0
drm0 at rkdrm0
agtimer0 at mainbus0: 24000 kHz
"clock-1" at mainbus0 not configured
"clock-2" at mainbus0 not configured
"sram" at mainbus0 not configured
ehci0 at mainbus0
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Generic EHCI root hub" rev 2.00/1.00 addr \
1 ohci0 at mainbus0: version 1.0
ehci1 at mainbus0
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Generic EHCI root hub" rev 2.00/1.00 addr \
1 ohci1 at mainbus0: version 1.0
xhci0 at mainbus0, xHCI 1.10
usb2 at xhci0: USB revision 3.0
uhub2 at usb2 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr \
1 "sram" at mainbus0 not configured
rkiic0 at mainbus0
iic0 at rkiic0
fanpwr0 at iic0 addr 0x42: RK8602, 0.80 VDC
fanpwr1 at iic0 addr 0x43: RK8602, 0.80 VDC
rkpwm0 at mainbus0
dwpcie0 at mainbus0
"dfi" at mainbus0 not configured
"spi" at mainbus0 not configured
dwmmc0 at mainbus0: 49 MHz base clock
sdmmc0 at dwmmc0: 4-bit, sd high-speed, mmc high-speed, dma
dwmmc1 at mainbus0: 50 MHz base clock
sdmmc1 at dwmmc1: 4-bit, dma
"mmc" at mainbus0 not configured
"i2s" at mainbus0 not configured
"dma-controller" at mainbus0 not configured
"dma-controller" at mainbus0 not configured
rkiic1 at mainbus0
iic1 at rkiic1
fusbtc0 at iic1 addr 0x22
"timer" at mainbus0 not configured
"watchdog" at mainbus0 not configured
rkspi0 at mainbus0
rkpmic0 at rkspi0: RK806
com0 at mainbus0: dw16550, 64 byte fifo
com0: console
com1 at mainbus0: dw16550, 64 byte fifo
"adc" at mainbus0 not configured
rkiic2 at mainbus0
iic2 at rkiic2
pcxrtc0 at iic2 addr 0x51: battery ok
rkiic3 at mainbus0
iic3 at rkiic3
escodec0 at iic3 addr 0x11
"efuse" at mainbus0 not configured
"dma-controller" at mainbus0 not configured
"sram" at mainbus0 not configured
"pinctrl" at mainbus0 not configured
"video-codec" at mainbus0 not configured
"syscon" at mainbus0 not configured
"syscon" at mainbus0 not configured
dwpcie1 at mainbus0
dwpcie2 at mainbus0
"phy" at mainbus0 not configured
"phy" at mainbus0 not configured
graphaudio0 at mainbus0
gpioleds0 at mainbus0: no LEDs
pwmfan0 at mainbus0
"vcc3v3-pcie2x1l0-regulator" at mainbus0 not configured
"vcc3v3-pcie2x1l2-regulator" at mainbus0 not configured
"vcc3v3-pcie30-regulator" at mainbus0 not configured
"vcc5v0-host-regulator" at mainbus0 not configured
"vcc5v0-sys-regulator" at mainbus0 not configured
"vcc-1v1-nldo-s3-regulator" at mainbus0 not configured
"binman" at mainbus0 not configured
"dmc" at mainbus0 not configured
xhci1 at mainbus0, xHCI 1.10
usb3 at xhci1: USB revision 3.0
uhub3 at usb3 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr \
1 "syscon" at mainbus0 not configured
"syscon" at mainbus0 not configured
"syscon" at mainbus0 not configured
"syscon" at mainbus0 not configured
"phy" at mainbus0 not configured
xhci2 at mainbus0, xHCI 1.10
usb4 at xhci2: USB revision 3.0
uhub4 at usb4 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr \
1 "syscon" at mainbus0 not configured
"syscon" at mainbus0 not configured
"phy" at mainbus0 not configured
"vcc12v-dcin-regulator" at mainbus0 not configured
usb5 at ohci0: USB revision 1.0
uhub5 at usb5 configuration 1 interface 0 "Generic OHCI root hub" rev 1.00/1.00 addr \
1 usb6 at ohci1: USB revision 1.0
uhub6 at usb6 configuration 1 interface 0 "Generic OHCI root hub" rev 1.00/1.00 addr \
1 pci0 at dwpcie0
ppb0 at pci0 dev 0 function 0 "Rockchip RK3588" rev 0x00
pci1 at ppb0 bus 65
rge0 at pci1 dev 0 function 0 "Realtek RTL8125" rev 0x05: msi, address \
00:e0:4c:03:1f:1a pci2 at dwpcie1
ppb1 at pci2 dev 0 function 0 "Rockchip RK3588" rev 0x00
pci3 at ppb1 bus 1
nvme0 at pci3 dev 0 function 0 vendor "SK hynix", unknown product 0x174a rev 0x00: \
                msix, NVMe 1.3
nvme0: SHGP31-500GM, firmware 41062C20, serial FJBCN53201010CI4Z
scsibus0 at nvme0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <NVMe, SHGP31-500GM, 4106>
sd0: 476940MB, 512 bytes/sector, 976773168 sectors
dwpcie2: can't initialize hardware
fusbtc0: attached (sink)
fusbtc0: connected in device mode
fusbtc0: can draw 1500 mA
scsibus1 at sdmmc0: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0: <SD/MMC, JB1RT, 0030> removable
sd1: 30528MB, 512 bytes/sector, 62521344 sectors
sdmmc1: can't enable card
uhub7 at uhub0 port 1 configuration 1 interface 0 "Terminus Technology USB 2.0 Hub" \
rev 2.00/1.11 addr 2 vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (5707c9ece8a4013f.a) swap on sd0b dump on sd0b


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic