On Tue, Apr 27, 2021 at 11:32:49PM +0200, Stefan Sperling wrote:
> On Tue, Apr 27, 2021 at 06:36:32PM +0000, Mikolaj Kucharski wrote:
> > I got it again, but had official snapshot, so I don't have more info
> > than I had in the past, but I would like to share it anyway..
> 
> > ddb{0}> show panic
> > ieee80211_encrypt: key unset for sw crypto: 0
> 
> It would be nice to have more information about the bad key.
> Could you run with this?
> 
> diff 87962d75d1c1a416b89e927cd4ab8e3327a47509 /usr/src
> blob - 037aca21138df15a4b0b8ec2a96afd8d67c5e3cc
> file + sys/net80211/ieee80211_crypto.c
> --- sys/net80211/ieee80211_crypto.c
> +++ sys/net80211/ieee80211_crypto.c
> @@ -257,8 +257,10 @@ struct mbuf *
>  ieee80211_encrypt(struct ieee80211com *ic, struct mbuf *m0,
>      struct ieee80211_key *k)
>  {
> -     if ((k->k_flags & IEEE80211_KEY_SWCRYPTO) == 0)
> -             panic("%s: key unset for sw crypto: %d", __func__, k->k_id);
> +     if ((k->k_flags & IEEE80211_KEY_SWCRYPTO) == 0) {
> +             panic("%s: key unset for sw crypto: id=%d cipher=%d flags=0x%x",
> +                 __func__, k->k_id, k->k_cipher, k->k_flags);
> +     }
>  
>       switch (k->k_cipher) {
>       case IEEE80211_CIPHER_WEP40:

Just got kernel panic, with above change committed while ago, panic says
now:

ieee80211_encrypt: key unset for sw crypto: id=0 cipher=0 flags=0x0


ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
*cpu0: ieee80211_encrypt: key unset for sw crypto: id=0 cipher=0 flags=0x0
ddb{0}> trace
db_enter() at db_enter+0x10
panic(ffffffff81e96e93) at panic+0xbf
ieee80211_encrypt(ffff80000009c048,fffffd80cd8a0300,ffff800000d481c0) at 
ieee80211_encrypt+0x67
ar5008_tx(ffff80000009c000,fffffd80cd8a0300,ffff800000d48000,0) at 
ar5008_tx+0x17e
athn_start(ffff80000009c048) at athn_start+0x108
ar5008_intr(ffff80000009c000) at ar5008_intr+0x216
intr_handler(ffff8000225a6790,ffff800000093800) at intr_handler+0x6e
Xintr_ioapic_level3_untramp() at Xintr_ioapic_level3_untramp+0x193
acpicpu_idle() at acpicpu_idle+0x11f
sched_idle(ffffffff8215fff0) at sched_idle+0x27e
end trace frame: 0x0, count: -10
ddb{0}> machine cpuinfo
*   0: ddb
    1: stopped
    2: stopped
    3: stopped
ddb{0}> show registers
rdi                                0
rsi                             0x14
rbp               0xffff8000225a64f0
rbx               0xfffffd800a1c1800
rdx               0xc80000000c000010
rcx                            0x202
rax                             0x4b
r8                 0x101010101010101
r9                                 0
r10                                0
r11               0xd9bbbe70e36bcefb
r12               0xffffffff82160a00    cpu_info_full_primary+0x2a00
r13               0xffff80000009c048
r14                                0
r15               0xffffffff81e96e93    apollo_udma100_tim+0x66ab
rip               0xffffffff817a54f0    db_enter+0x10
cs                               0x8
rflags                         0x282
rsp               0xffff8000225a64f0
ss                              0x10
db_enter+0x10:  popq    %rbp
ddb{0}> show proc
PROC (idle0) pid=288157 stat=onproc
    flags process=14000<NOZOMBIE,SYSTEM> proc=40000200<SYSTEM,CPUPEG>
    pri=0, usrpri=50, nice=20
    forw=0xb998e34e6030d4d8, list=0xffff8000fffffce0,0xffff8000fffff7b0
    process=0xffff8000ffffd7a0 user=0xffff8000225a1000, 
vmspace=0xffffffff822bda00
    estcpu=0, cpticks=15218505, pctcpu=0.0
    user=0, sys=0, intr=1
ddb{0}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
  6570   17370  89020     27  3    0x100090  select        sshd
 89020  136355  11734      0  3        0x82  poll          sshd
 74596  305331  14627      0  3    0x100082  nanoslp       sleep
 46203  387806  83607  32767  3    0x100082  nanoslp       sleep
  2603   32551  87780      0  3    0x100082  nanoslp       sleep
 85292  244755  16488      0  3    0x100082  nanoslp       sleep
 12122   33526  34030      0  3    0x100083  ttyin         ksh
 92419  249612  34030      0  3    0x100083  kqread        cu
 11340  131604  34030      0  3    0x100083  ttyin         ksh
 34030  436081      1      0  3    0x100080  kqread        tmux
 72008  235496      1      0  3    0x100083  ttyin         getty
 48258  180627      1      0  3    0x100098  poll          cron
 26545  512225      1    847  3        0x80  select        iperf3
 75148  292034      1    658  3        0x80  nanoslp       vnstatd
 16488  361525      1      0  3    0x10008b  sigsusp       sh
 87780  314505      1      0  3    0x10008b  sigsusp       sh
 83607  282895      1  32767  3    0x10008b  sigsusp       sh
 14627  192947      1      0  3    0x10008b  sigsusp       sh
 88569  465891      1    577  3        0x90  poll          openvpn
 94868  301493      1     79  3    0x100090  kqread        tftpd
 46848  250609      1      0  3    0x100080  kqread        httpd
 52600  114446      1     67  3    0x100092  kqread        httpd
 46806    5477      1     67  3    0x100092  kqread        httpd
 89331    3258      1     67  3    0x100092  kqread        httpd
 81959  103905      1     67  3    0x100092  kqread        httpd
 84553  522106  51911     95  3    0x100092  kqread        smtpd
 83691  221661  51911    103  3    0x100092  kqread        smtpd
 40278  407763  51911     95  3    0x100092  kqread        smtpd
 45183   60673  51911     95  3    0x100092  kqread        smtpd
 88773  377174  51911     95  3    0x100092  kqread        smtpd
 22155  251290  51911     95  3    0x100092  kqread        smtpd
 51911  394390      1      0  3    0x100080  kqread        smtpd
 86295  327375  94880     94  3    0x100092  kqread        rad
 20052  427892  94880     94  3    0x100092  kqread        rad
 94880  381876      1      0  3    0x100080  kqread        rad
 62957  367561      1     77  3    0x100090  poll          dhcpd
 11734  112186      1      0  3        0x88  select        sshd
 40604  129001      1      0  3    0x100080  poll          ntpd
 31618  127950  30107     83  3    0x100092  poll          ntpd
 30107   88334      1     83  3    0x100092  poll          ntpd
 69450  410920      1     53  3        0x90  kqread        unbound
 75545  266212  20741     73  3    0x100090  kqread        syslogd
 20741  186008      1      0  3    0x100082  netio         syslogd
 30414  176630      1      0  3    0x100080  kqread        resolvd
 50699   70122  13132     77  3    0x100092  kqread        dhcpleased
  2000  512055  13132     77  3    0x100092  kqread        dhcpleased
 13132  467679      1      0  3        0x80  kqread        dhcpleased
 46363  165358      0      0  3     0x14200  bored         wg_crypt
 75402  348878      0      0  3     0x14200  bored         wg_crypt
 28686  424609      0      0  3     0x14200  bored         wg_crypt
 49350  458909      0      0  3     0x14200  bored         wg_crypt
 60476   43593      0      0  3     0x14200  bored         wg_handshake
 45078  349197      0      0  3     0x14200  bored         wg_handshake
 98489  493914  45041    115  3    0x100092  kqread        slaacd
  5903  345985  45041    115  3    0x100092  kqread        slaacd
 45041  298061      1      0  3    0x100080  kqread        slaacd
  5531  123527      0      0  3     0x14200  bored         smr
 93833   88245      0      0  3     0x14200  pgzero        zerothread
 66802  409029      0      0  3     0x14200  aiodoned      aiodoned
 91551  297550      0      0  3     0x14200  syncer        update
 65379  175905      0      0  3     0x14200  cleaner       cleaner
 20575  101146      0      0  3     0x14200  reaper        reaper
 97540  181343      0      0  3     0x14200  pgdaemon      pagedaemon
 34745   62638      0      0  3     0x14200  bored         crynlk
 46928  105045      0      0  3     0x14200  bored         crypto
 54247   21435      0      0  3     0x14200  bored         sensors
 30629  148170      0      0  3     0x14200  mmctsk        sdmmc0
 18479  143267      0      0  3     0x14200  usbtsk        usbtask
 84336  235050      0      0  3     0x14200  usbatsk       usbatsk
 55283  182112      0      0  3  0x40014200  acpi0         acpi0
  2193   77656      0      0  7  0x40014200                idle3
 20064  429641      0      0  7  0x40014200                idle2
 46626  333870      0      0  7  0x40014200                idle1
 28706  333695      0      0  3     0x14200  bored         softnet
 86775  131512      0      0  3     0x14200  bored         systqmp
 14378  129919      0      0  3     0x14200  bored         systq
 41985  404666      0      0  3  0x40014200  bored         softclock
*21032  288157      0      0  7  0x40014200                idle0
     1  326106      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{0}> show all locks
No such command
ddb{0}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf  3685   7875K    8243K  78643K     23477        0
            pcb    15      8K       8K  78643K        25        0
         rtable   313     16K      17K  78643K     91035        0
         ifaddr   265     27K      27K  78643K       268        0
       counters    98     69K      69K  78643K        98        0
       ioctlops     0      0K       4K  78643K      1651        0
            iov     0      0K       4K  78643K        30        0
          mount     7      7K       7K  78643K         7        0
            log     0      0K       0K  78643K         3        0
         vnodes  1255     79K      79K  78643K      2474        0
      UFS quota     1     32K      32K  78643K         1        0
      UFS mount    29     70K      70K  78643K        29        0
            shm     2      1K       1K  78643K         2        0
         VM map     2      0K       0K  78643K         2        0
            sem     2      0K       0K  78643K         2        0
        dirhash   213     42K      42K  78643K       240        0
           ACPI  2932    339K     363K  78643K    334021        0
      file desc     2      1K       9K  78643K       261        0
           proc    74     71K     103K  78643K      2961        0
    NFS srvsock     1      0K       0K  78643K         1        0
     NFS daemon     1     16K      16K  78643K         1        0
    ip_moptions     1      0K       0K  78643K         1        0
       in_multi    85      5K       5K  78643K        85        0
    ether_multi    17      0K       0K  78643K        17        0
    ISOFS mount     1     32K      32K  78643K         1        0
  MSDOSFS mount     1     16K      16K  78643K         1        0
           ttys    49    228K     228K  78643K        49        0
           exec     0      0K       2K  78643K     82762        0
        pagedep     1      8K       8K  78643K         1        0
       inodedep     1     32K      32K  78643K         1        0
         newblk     1      0K       0K  78643K         1        0
        VM swap     7    154K     154K  78643K         7        0
       UVM amap   421     15K      40K  78643K    472253        0
       UVM aobj     3      2K       2K  78643K         3        0
            USB    56     37K      37K  78643K        63        0
     USB device    12      0K       0K  78643K        12        0
        memdesc     1      4K       4K  78643K         1        0
    crypto data     1      1K       1K  78643K         1        0
    ip6_options     1      0K       0K  78643K       985        0
            NDP    10      0K       0K  78643K        16        0
           temp    49   4176K    4244K  78643K    900735        0
         kqueue    47     64K      66K  78643K        71        0
      SYN cache     2     16K      16K  78643K         2        0
ddb{0}> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache    128       44    0        0     2     0     2     2     0     8    0
rtpcb      120     1269    0     1263     1     0     1     1     0     8    0
rtentry    112     1549    0     1419     4     0     4     4     0     8    0
unpcb      120   104229    0   104144     4     1     3     4     0     8    0
syncache   296    18931    0    18930  3349  3348     1     1     0     8    0
sackhl      24      131    0      131   120   120     0     1     0     8    0
tcpqe       32     5664    0     5660   915   914     1     1     0     8    0
tcpcb      736    18221    0    18206   119   117     2     5     0     8    0
arp         88      338    0      320     1     0     1     1     0     8    0
inpcb      304    23627    0    23586    33    29     4     7     0     8    0
rttmr       72      125    0      125    70    70     0     1     0     8    0
nd6         48     1043    0      999     1     0     1     1     0     8    0
wgpeer     5032       2    0        0     1     0     1     1     0     8    0
wgaip       64        2    0        0     1     0     1     1     0     8    0
pffrag     232      275    0      275     9     9     0     1     0   482    0
pffrnode    88      275    0      275     9     9     0     1     0     8    0
pffrent     40      804    0      804     9     9     0     1     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
pfrkcounters 104    121    0        0     4     0     4     4     0     8    0
pfrke_plain 160    1302    0        0    55     0    55    55     0     8    0
pfrktable  1344      29    0       15     2     0     2     2     0     8    0
hfscintsc   48        2    0        0     1     0     1     1     0     8    0
hfscclass  592        2    0        0     1     0     1     1     0     8    0
pftag       88        2    0        0     1     0     1     1     0     8    0
pfqueue    264        2    0        0     1     0     1     1     0     8    0
pfruleitem  16    30282    0    30226    10     8     2    10     0     8    0
pfstitem    24   193064    0   192829    69    64     5    55     0     8    0
pfstkey    112   193064    0   192829   380   366    14   259     0     8    0
pfstate    320   151467    0   151298  1065  1042    23   381     0     8    0
pfrule     1360      40    0       16     4     1     3     4     0     8    0
art_heap8  4096       2    0        0     2     0     2     2     0     8    0
art_heap4  256    16317    0    15404   220   161    59    61     0     8    0
art_table   32    16319    0    15404    34    26     8     8     0     8    0
art_node    16     1549    0     1421     1     0     1     1     0     8    0
dirhash    1024     403    0       40    46     0    46    46     0     8    0
dino1pl    128    45022    0    14599   987     5   982   982     0     8    0
ffsino     240    45022    0    14599  1799     8  1791  1791     0     8    0
nchpl      144    51943    0    47958   157     8   149   149     0     8    0
uvmvnodes   72    31258    0        0   569     0   569   569     0     8    0
vnodes     224    31258    0        0  1839     0  1839  1839     0     8    0
namei      1024 1061567    0  1061567  4200  4199     1     1     0     8    1
percpumem   32       36    0        0     1     0     1     1     0     8    0
ehcixfer   296       40    0       38     1     0     1     1     0     8    0
xhcixfer   280       51    0       48     1     0     1     1     0     8    0
pfiaddrpl  120       15    0        0     1     0     1     1     0     8    0
scxspl     216   336009    0   336009   239   238     1     2     0     8    1
plimitpl   152       97    0       66     2     0     2     2     0     8    0
sigapl     424    71802    0    71723    27    17    10    14     0     8    0
futexpl     56     7488    0     7488     2     2     0     1     0     8    0
knotepl    112      239    0        0     7     0     7     7     0     8    0
kqueuepl   184       40    0       13     2     0     2     2     0     8    0
pipepl     304    39255    0    39253  2371  2370     1     4     0     8    0
fdescpl    432    71775    0    71723    24    17     7    11     0     8    0
filepl     120   780344    0   780117    29    21     8    12     0     8    0
lockfpl    104    19620    0    19616     1     0     1     1     0     8    0
lockfspl    48     4212    0     4208     1     0     1     1     0     8    0
sessionpl  144    17347    0    17317   150   148     2     2     0     8    0
pgrppl      48    17403    0    17373     1     0     1     1     0     8    0
ucredpl     96    76058    0    76011     2     0     2     2     0     8    0
zombiepl   144    71723    0    71723  4611  4610     1     1     0     8    1
processpl  1008   71802    0    71723    27    16    11    15     0     8    0
procpl     672    72385    0    72306    30    22     8    10     0     8    0
sockpl     448   129125    0   128993   389   373    16    24     0     8    0
mcl8k      8192    2830    0        0    38    34     4     7     0     8    0
mcl4k      4096   18105    0        0   126   107    19    26     0     8    0
mcl2k2     2112   39522    0        0   517   503    14    80     0     8    0
mcl2k      2048    6468    0        0    47    38     9     9     0     8    0
mtagpl      96    14074    0        0    46    45     1     6     0     8    0
mbufpl     256    69117    0        0   855   816    39   164     0     8    0
bufpl      280   364742    0   324042  2916     8  2908  2908     0     8    0
anonpl      24 15020392    0 15004741   568   464   104   294     0   379    0
amapchunkpl 152  772510    0   771547   255   214    41   125     0   158    0
amappl16   200     3731    0     3719    27    26     1    15     0     8    0
amappl15   192    44389    0    44364     3     1     2     3     0     8    0
amappl14   184       94    0       94     8     8     0     1     0     8    0
amappl13   176      229    0      222     1     0     1     1     0     8    0
amappl12   168       78    0       77     4     3     1     3     0     8    0
amappl11   160     1553    0     1487     5     2     3     4     0     8    0
amappl10   152     2102    0     2101     1     0     1     1     0     8    0
amappl9    144     1000    0      994     2     1     1     1     0     8    0
amappl8    136    22866    0    22854    13    12     1    13     0     8    0
amappl7    128   109576    0   109508     8     4     4     5     0     8    0
amappl6    120    44647    0    44611   154   152     2     4     0     8    0
amappl5    112    59925    0    59873     7     4     3     4     0     8    0
amappl4    104   342465    0   342292   114   108     6    26     0     8    0
amappl3     96    99558    0    99487    13    11     2     8     0     8    0
amappl2     88   302822    0   302387   207   196    11    34     0     8    0
amappl1     80  7499942    0  7498341  3244  3203    41    88     0     8    0
amappl      88   381286    0   380937    33    23    10    25     0    92    0
dma4096    4096       1    0        1     1     1     0     1     0     8    0
dma512     512        3    0        2     1     0     1     1     0     8    0
dma256     256       10    0       10     1     1     0     1     0     8    0
dma128     128        1    0        1     1     1     0     1     0     8    0
dma64       64       10    0       10     1     1     0     1     0     8    0
dma32       32        9    0        9     1     1     0     1     0     8    0
dma16       16       29    0       29     1     1     0     1     0     8    0
aobjpl      64        2    0        0     1     0     1     1     0     8    0
uaddrrnd    24    71775    0    71723     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24    71775    0    71723     1     0     1     1     0     8    0
vmmpekpl   168  9029592    0  9029551     4     1     3     3     0     8    0
vmmpepl    168 17235136    0 17230900 32985 32765   220   416     0   357   12
vmsppl     272    71774    0    71723    17    12     5     7     0     8    0
rwobjpl     24  6934119    0  6931307   178   158    20    39     0     8    0
pdppl      4096   71774    0    71723 14703 14649    54    90     0     8    3
pvpl        32 71373638    0 71345004 14729 14454   275  1414     0   265   10
pmappl     192    71774    0    71723     7     3     4     5     0     8    0
extentpl    40       77    0       48     1     0     1     1     0     8    0
phpool     112    22568    0    20517    76    14    62    63     0     8    0
ddb{0}> show all procs
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
  6570   17370  89020     27  3    0x100090  select        sshd
 89020  136355  11734      0  3        0x82  poll          sshd
 74596  305331  14627      0  3    0x100082  nanoslp       sleep
 46203  387806  83607  32767  3    0x100082  nanoslp       sleep
  2603   32551  87780      0  3    0x100082  nanoslp       sleep
 85292  244755  16488      0  3    0x100082  nanoslp       sleep
 12122   33526  34030      0  3    0x100083  ttyin         ksh
 92419  249612  34030      0  3    0x100083  kqread        cu
 11340  131604  34030      0  3    0x100083  ttyin         ksh
 34030  436081      1      0  3    0x100080  kqread        tmux
 72008  235496      1      0  3    0x100083  ttyin         getty
 48258  180627      1      0  3    0x100098  poll          cron
 26545  512225      1    847  3        0x80  select        iperf3
 75148  292034      1    658  3        0x80  nanoslp       vnstatd
 16488  361525      1      0  3    0x10008b  sigsusp       sh
 87780  314505      1      0  3    0x10008b  sigsusp       sh
 83607  282895      1  32767  3    0x10008b  sigsusp       sh
 14627  192947      1      0  3    0x10008b  sigsusp       sh
 88569  465891      1    577  3        0x90  poll          openvpn
 94868  301493      1     79  3    0x100090  kqread        tftpd
 46848  250609      1      0  3    0x100080  kqread        httpd
 52600  114446      1     67  3    0x100092  kqread        httpd
 46806    5477      1     67  3    0x100092  kqread        httpd
 89331    3258      1     67  3    0x100092  kqread        httpd
 81959  103905      1     67  3    0x100092  kqread        httpd
 84553  522106  51911     95  3    0x100092  kqread        smtpd
 83691  221661  51911    103  3    0x100092  kqread        smtpd
 40278  407763  51911     95  3    0x100092  kqread        smtpd
 45183   60673  51911     95  3    0x100092  kqread        smtpd
 88773  377174  51911     95  3    0x100092  kqread        smtpd
 22155  251290  51911     95  3    0x100092  kqread        smtpd
 51911  394390      1      0  3    0x100080  kqread        smtpd
 86295  327375  94880     94  3    0x100092  kqread        rad
 20052  427892  94880     94  3    0x100092  kqread        rad
 94880  381876      1      0  3    0x100080  kqread        rad
 62957  367561      1     77  3    0x100090  poll          dhcpd
 11734  112186      1      0  3        0x88  select        sshd
 40604  129001      1      0  3    0x100080  poll          ntpd
 31618  127950  30107     83  3    0x100092  poll          ntpd
 30107   88334      1     83  3    0x100092  poll          ntpd
 69450  410920      1     53  3        0x90  kqread        unbound
 75545  266212  20741     73  3    0x100090  kqread        syslogd
 20741  186008      1      0  3    0x100082  netio         syslogd
 30414  176630      1      0  3    0x100080  kqread        resolvd
 50699   70122  13132     77  3    0x100092  kqread        dhcpleased
  2000  512055  13132     77  3    0x100092  kqread        dhcpleased
 13132  467679      1      0  3        0x80  kqread        dhcpleased
 46363  165358      0      0  3     0x14200  bored         wg_crypt
 75402  348878      0      0  3     0x14200  bored         wg_crypt
 28686  424609      0      0  3     0x14200  bored         wg_crypt
 49350  458909      0      0  3     0x14200  bored         wg_crypt
 60476   43593      0      0  3     0x14200  bored         wg_handshake
 45078  349197      0      0  3     0x14200  bored         wg_handshake
 98489  493914  45041    115  3    0x100092  kqread        slaacd
  5903  345985  45041    115  3    0x100092  kqread        slaacd
 45041  298061      1      0  3    0x100080  kqread        slaacd
  5531  123527      0      0  3     0x14200  bored         smr
 93833   88245      0      0  3     0x14200  pgzero        zerothread
 66802  409029      0      0  3     0x14200  aiodoned      aiodoned
 91551  297550      0      0  3     0x14200  syncer        update
 65379  175905      0      0  3     0x14200  cleaner       cleaner
 20575  101146      0      0  3     0x14200  reaper        reaper
 97540  181343      0      0  3     0x14200  pgdaemon      pagedaemon
 34745   62638      0      0  3     0x14200  bored         crynlk
 46928  105045      0      0  3     0x14200  bored         crypto
 54247   21435      0      0  3     0x14200  bored         sensors
 30629  148170      0      0  3     0x14200  mmctsk        sdmmc0
 18479  143267      0      0  3     0x14200  usbtsk        usbtask
 84336  235050      0      0  3     0x14200  usbatsk       usbatsk
 55283  182112      0      0  3  0x40014200  acpi0         acpi0
  2193   77656      0      0  7  0x40014200                idle3
 20064  429641      0      0  7  0x40014200                idle2
 46626  333870      0      0  7  0x40014200                idle1
 28706  333695      0      0  3     0x14200  bored         softnet
 86775  131512      0      0  3     0x14200  bored         systqmp
 14378  129919      0      0  3     0x14200  bored         systq
 41985  404666      0      0  3  0x40014200  bored         softclock
*21032  288157      0      0  7  0x40014200                idle0
     1  326106      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{0}> show uvmexp
Current UVM status:
  pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
  1006663 VM pages: 14834 active, 110057 inactive, 3591 wired, 696419 free 
(87057 zero)
  min  10% (25) anon, 10% (25) vnode, 5% (12) vtext
  freemin=33555, free-target=44740, inactive-target=0, wired-max=335554
  faults=34529844, traps=34434092, intrs=40621173, ctxswitch=73750841 
fpuswitch=0
  softint=15688657, syscalls=37463981, kmapent=16
  fault counts:
    noram=0, noanon=0, noamap=0, pgwait=0, pgrele=0
    ok relocks(total)=155533(156944), anget(retries)=14565634(0), 
amapcopy=10242444
    neighbor anon/obj pg=2965670/33251031, gets(lock/unlock)=8366137/156944
    cases: anon=12671730, anoncow=1893904, obj=6847512, prcopy=1517214, 
przero=11599470
  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=526128, swpginuse=0, swpgonly=0 paging=0
  kernel pointers:
    objs(kern)=0xffffffff8224b118


OpenBSD 6.9-current (GENERIC.MP) #172: Sun Aug  8 18:50:21 MDT 2021
    dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4259872768 (4062MB)
avail mem = 4114808832 (3924MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xcfe8b020 (13 entries)
bios0: vendor coreboot version "v4.12.0.3" date 07/30/2020
bios0: PC Engines apu3
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-64
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD GX-412TC SOC, 998.28 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,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,DBKP,PERFTSC,PCTRL3,ITSC,BMI1,XSAVEOPT
cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
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.13 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,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,DBKP,PERFTSC,PCTRL3,ITSC,BMI1,XSAVEOPT
cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD GX-412TC SOC, 998.13 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,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,DBKP,PERFTSC,PCTRL3,ITSC,BMI1,XSAVEOPT
cpu2: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 
16-way L2 cache
cpu2: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu2: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: AMD GX-412TC SOC, 998.13 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,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,DBKP,PERFTSC,PCTRL3,ITSC,BMI1,XSAVEOPT
cpu3: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 
16-way L2 cache
cpu3: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu3: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
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 1 (PBR5)
acpiprt3 at acpi0: bus 2 (PBR6)
acpiprt4 at acpi0: bus 3 (PBR7)
acpiprt5 at acpi0: bus 4 (PBR8)
acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001
acpicmos0 at acpi0
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
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
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 2 "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:4a:40:88
ppb1 at pci0 dev 2 function 3 "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:4a:40:89
ppb2 at pci0 dev 2 function 4 "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:4a:40:8a
ppb3 at pci0 dev 2 function 5 "AMD 16h PCIE" rev 0x00: msi
pci4 at ppb3 bus 4
athn0 at pci4 dev 0 function 0 "Atheros AR9281" rev 0x01: apic 5 int 16
athn0: AR9280 rev 2 (2T2R), ROM rev 22, address 04:f0:21:34:e4:23
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, KINGSTON SMS200S, 60AA> naa.50026b727603c6f0
sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin
ehci0 at pci0 dev 19 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
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
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
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
dt: 445 probes
uslcom0 at uhub0 port 4 configuration 1 interface 0 "Silicon Labs CP2102 USB to 
UART Bridge Controller" rev 1.10/1.00 addr 2
ucom0 at uslcom0 portno 0
uhub2 at uhub1 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 (dd930612ce0c6e49.a) swap on sd0b dump on sd0b

-- 
Regards,
 Mikolaj

Reply via email to