Howdy.

After an upgrade, my mcbin-ss panic'ed while performing pkg_add -u.

Attached is the dmesg and ddb output(s).

+--+
Carlos
aethulwulf# pkg_add -u                                                  
quirks-3.24 signed on 2018-10-29T21:21:13Z
quirks-3.16->3.24: ok
curl-7.61.1:nghttp2-1.33.0->1.34.0: ok
curl-7.61.1->7.61.1: ok
install-info: warning: no entries found for
`/usr/local/info/autosprintf.info'; nothing deleted
gettext-0.19.8.1p1->0.19.8.1p3: ok
git-2.19.1 (extracting)|***********************                           |
46%panic: mtx 0xffffff8000b6cae8: locking against myself
Stopped at      panic+0x154:        TID    PID    UID     PRFLAGS     PFLAGS
C
PU  COMMAND
 445399  49133      0    0x100003       0x80    1  signify
 327068  13460      0        0x13          0    2K perl
*231470  74839      0     0x14000      0x200    0  zerothread
db_enter() at panic+0x150
panic() at uvm_pmr_getpages+0x19c
uvm_pmr_getpages() at km_alloc+0x2d8
km_alloc() at pool_multi_alloc+0xac
pool_multi_alloc() at m_pool_alloc+0xa4
m_pool_alloc() at pool_p_alloc+0x64
pool_p_alloc() at pool_do_get+0xe0
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{0}> show panic
mtx 0xffffff8000b6cae8: locking against myself
ddb{0}> trace
db_enter() at panic+0x150
panic() at uvm_pmr_getpages+0x19c
uvm_pmr_getpages() at km_alloc+0x2d8
km_alloc() at pool_multi_alloc+0xac
pool_multi_alloc() at m_pool_alloc+0xa4
m_pool_alloc() at pool_p_alloc+0x64
pool_p_alloc() at pool_do_get+0xe0
pool_do_get() at pool_get+0x90
pool_get() at m_clget+0x1a4
m_clget() at bnxt_rx_fill_slots+0x70
bnxt_rx_fill_slots() at bnxt_rx_fill+0x58
bnxt_rx_fill() at bnxt_intr+0x32c
bnxt_intr() at ampintc_irq_handler+0x120
ampintc_irq_handler() at handle_el1h_irq+0x6c
handle_el1h_irq() at _rb_nfind+0x48
_rb_nfind() at uvm_pmr_pnaddr+0x48
uvm_pmr_pnaddr() at uvm_pmr_insert_addr+0x6c
uvm_pmr_insert_addr() at uvm_pmr_remove_1strange+0x340
uvm_pmr_remove_1strange() at uvm_pagezero_thread+0x138
uvm_pagezero_thread() at proc_trampoline+0x10
ddb{0}> mach ddbcpu 1
Stopped at      ampintc_ipi_ddb+0x1c:   db_enter() at ampintc_ipi_ddb+0x18
ampintc_ipi_ddb() at handle_el1h_irq+0x6c
handle_el1h_irq() at mi_switch+0x27c
mi_switch() at sleep_finish+0x80
sleep_finish() at sleep_finish_all+0x24
sleep_finish_all() at tsleep+0xc8
tsleep() at pipe_write+0x2e4
ddb{1}> mach ddbcpu 2
Stopped at      ampintc_ipi_ddb+0x1c:   db_enter() at ampintc_ipi_ddb+0x18
ampintc_ipi_ddb() at handle_el1h_irq+0x6c
handle_el1h_irq() at pipe_read+0x18c
pipe_read() at dofilereadv+0x118
dofilereadv() at sys_read+0x64
sys_read() at svc_handler+0x264
svc_handler() at do_el0_sync+0x1b0
ddb{2}> mach ddbcpu 3
Stopped at      ampintc_ipi_ddb+0x1c:   db_enter() at ampintc_ipi_ddb+0x18
ampintc_ipi_ddb() at handle_el1h_irq+0x6c
handle_el1h_irq() at sched_idle+0x264
sched_idle() at proc_trampoline+0x10
ddb{0}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 49133  445399  13460      0  7    0x100083                signify
 73562  244961  13460     57  3    0x100083  pipewr        ftp
 13460  327068  73083      0  7        0x13                perl
 73083  145869      1      0  3    0x10008b  pause         ksh
 14480  429557      1      0  3    0x100098  poll          cron
 94239  269814  43573    720  3        0x90  kqread        lldpd
 43573    9590      1      0  3        0x80  netio         lldpd
 34010  511267      1     99  3    0x100090  poll          sndiod
 56442  292457      1    110  3    0x100090  poll          sndiod
 87524  516137  76220     95  3    0x100092  kqread        smtpd
 67451  517797  76220    103  3    0x100092  kqread        smtpd
 46139   58374  76220     95  3    0x100092  kqread        smtpd
 64211  416407  76220     95  3    0x100092  kqread        smtpd
 59703   56359  76220     95  3    0x100092  kqread        smtpd
 32430  162051  76220     95  3    0x100092  kqread        smtpd
 76220  338058      1      0  3    0x100080  kqread        smtpd
 43032  105890      1      0  3        0x80  select        sshd
 15205   45074  18882     83  3    0x100092  poll          ntpd
 18882  275774   3939     83  3    0x100092  poll          ntpd
  3939  197221      1      0  3    0x100080  poll          ntpd
 66576  427757  60591     74  3    0x100092  bpf           pflogd
 60591    6199      1      0  3        0x80  netio         pflogd
 13115  213653  49662     73  3    0x100090  kqread        syslogd
 49662  255195      1      0  3    0x100082  netio         syslogd
 52280  180117      1     77  3    0x100090  poll          dhclient
 82868  253718      1      0  3        0x80  poll          dhclient
   752  473909  89936    115  3    0x100092  kqread        slaacd
 28475  288910  89936    115  3    0x100092  kqread        slaacd
 89936  422111      1      0  3    0x100080  kqread        slaacd
*74839  231470      0      0  7     0x14200                zerothread
 97587  509880      0      0  3     0x14200  aiodoned      aiodoned
 12018  504243      0      0  3     0x14200  syncer        update
 29346  114311      0      0  3     0x14200  cleaner       cleaner
  3201  164514      0      0  3     0x14200  reaper        reaper
 74165  156963      0      0  3     0x14200  pgdaemon      pagedaemon
 97256  255669      0      0  3     0x14200  bored         crynlk
 25774  193955      0      0  3     0x14200  bored         crypto
 82385  500927      0      0  7  0x40014200                idle3
 51930  221918      0      0  3  0x40014200                idle2
 99556  361074      0      0  3  0x40014200                idle1
 36698   79862      0      0  3     0x14200  usbtsk        usbtask
 87822   63054      0      0  3     0x14200  usbatsk       usbatsk
 59815  433532      0      0  3     0x14200  bored         sensors
 12031  445539      0      0  3     0x14200  bored         softnet
 45842  278094      0      0  3     0x14200  bored         systqmp
 55708  324286      0      0  3     0x14200  bored         systq
 52554  311327      0      0  3  0x40014200  bored         softclock
 62638  159321      0      0  3  0x40014200                idle0
 66053  474648      0      0  3     0x14200  kmalloc       kmthread
     1  203595      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{0}> show uvm
Current UVM status:
  pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
  4036954 VM pages: 15691 active, 31617 inactive, 0 wired, 3898311 free
(487279
 zero)
  min  10% (25) anon, 10% (25) vnode, 5% (12) vtext
  freemin=134565, free-target=179420, inactive-target=0, wired-max=1345651
  faults=350301, traps=0, intrs=0, ctxswitch=71731 fpuswitch=0
  softint=4204, syscalls=258464, kmapent=14
  fault counts:
    noram=0, noanon=0, noamap=0, pgwait=0, pgrele=0
    ok relocks(total)=52530(52531), anget(retries)=113181(0), amapcopy=105599
    neighbor anon/obj pg=11213/93307, gets(lock/unlock)=127729/52531
    cases: anon=94876, anoncow=18305, obj=121106, prcopy=6622, przero=109384
  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=1050249, swpginuse=0, swpgonly=0 paging=0
  kernel pointers:
    objs(kern)=0xffffff8000aa9128
ddb{0}> show bcstats
Current Buffer Cache status:
numbufs 17692 busymapped 0, delwri 129
kvaslots 6553 avail kva slots 6553
bufpages 70695, dmapages 70695, dirtypages 516
pendingreads 1, pendingwrites 0
highflips 0, highflops 0, dmaflips 0
ddb{0}> dmesg
OpenBSD 6.4-current (GENERIC.MP) #271: Sat Nov 17 19:35:25 MST 2018
    [email protected]:/usr/src/sys/arch/arm64/compile/GENERIC.MP
real mem  = 17112715264 (16319MB)
avail mem = 16511594496 (15746MB)
mainbus0 at root: Marvell 8040 MACCHIATOBin
cpu0 at mainbus0 mpidr 0: ARM Cortex-A72 r0p1
cpu0: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu0: 512KB 64b/line 16-way L2 cache
efi0 at mainbus0: UEFI 2.7
efi0: EDK II rev 0x10000
psci0 at mainbus0: PSCI 1.1, SMCCC 1.1
simplebus0 at mainbus0: "ap806"
simplebus1 at simplebus0: "config-space"
ampintc0 at simplebus1 nirq 352, ncpu 4 ipi: 0, 1: "interrupt-controller"
ampintcmsi0 at ampintc0: nspi 32
ampintcmsi1 at ampintc0: nspi 32
ampintcmsi2 at ampintc0: nspi 32
ampintcmsi3 at ampintc0: nspi 32
syscon0 at simplebus1: "system-controller"
mvclock0 at syscon0
mvpinctrl0 at syscon0
mvgpio0 at syscon0
cpu0: 512KB 64b/line 16-way L2 cache
efi0 at mainbus0: UEFI 2.7
efi0: EDK II rev 0x10000
psci0 at mainbus0: PSCI 1.1, SMCCC 1.1
simplebus0 at mainbus0: "ap806"
simplebus1 at simplebus0: "config-space"
ampintc0 at simplebus1 nirq 352, ncpu 4 ipi: 0, 1: "interrupt-controller"
ampintcmsi0 at ampintc0: nspi 32
ampintcmsi1 at ampintc0: nspi 32
ampintcmsi2 at ampintc0: nspi 32
ampintcmsi3 at ampintc0: nspi 32
syscon0 at simplebus1: "system-controller"
mvclock0 at syscon0
mvpinctrl0 at syscon0
mvgpio0 at syscon0
agtimer0 at simplebus1: tick rate 25000 KHz
com0 at simplebus1: ns16550, no working fifo
com0: console
mvtemp0 at simplebus1
simplebus2 at mainbus0: "cp0"
simplebus3 at simplebus2: "config-space"
mvicu0 at simplebus3
syscon1 at simplebus3: "system-controller"
mvclock1 at syscon1
mvgpio1 at syscon1
mvtemp1 at simplebus3
xhci0 at simplebus3, xHCI 1.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 simplebus3, xHCI 1.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
ahci0 at simplebus3: AHCI 1.0
scsibus0 at ahci0: 32 targets
sxitwi0 at simplebus3
iic0 at sxitwi0
sxitwi1 at simplebus3
iic1 at sxitwi1
"nxp,pca9548" at iic1 addr 0x70 not configured
com1 at simplebus3: ns16550, no working fifo
mvrng0 at simplebus3
dwpcie0 at simplebus2
pci0 at dwpcie0
ppb0 at pci0 dev 0 function 0 "Marvell ARMADA 7K/8K Root Complex" rev 0x00
pci1 at ppb0 bus 1
bnxt0 at pci1 dev 0 function 0 "Broadcom BCM57404" rev 0x01: fw ver 20.2.26,
in
tx, address 00:0a:f7:ae:9c:b6
bnxt1 at pci1 dev 0 function 1 "Broadcom BCM57404" rev 0x01: fw ver 20.2.26,
in
tx, address 00:0a:f7:ae:9c:b7
simplebus4 at mainbus0: "cp1"
simplebus5 at simplebus4: "config-space"
mvicu1 at simplebus5
syscon2 at simplebus5: "system-controller"
mvclock2 at syscon2
mvgpio2 at syscon2
mvtemp2 at simplebus5
xhci2 at simplebus5, xHCI 1.0
usb2 at xhci2: USB revision 3.0
uhub2 at usb2 configuration 1 interface 0 "Generic xHCI root hub" rev
3.00/1.00
pci1 at ppb0 bus 1
bnxt0 at pci1 dev 0 function 0 "Broadcom BCM57404" rev 0x01: fw ver 20.2.26,
in
tx, address 00:0a:f7:ae:9c:b6
bnxt1 at pci1 dev 0 function 1 "Broadcom BCM57404" rev 0x01: fw ver 20.2.26,
in
tx, address 00:0a:f7:ae:9c:b7
simplebus4 at mainbus0: "cp1"
simplebus5 at simplebus4: "config-space"
mvicu1 at simplebus5
syscon2 at simplebus5: "system-controller"
mvclock2 at syscon2
mvgpio2 at syscon2
mvtemp2 at simplebus5
xhci2 at simplebus5, xHCI 1.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    
ahci1 at simplebus5: AHCI 1.0
ahci1: port busy after first PMP probe FIS
ahci1: port busy after first PMP probe FIS
ahci1: port 0: 6.0Gb/s
ahci1: port busy after first PMP probe FIS
ahci1: port busy after first PMP probe FIS
ahci1: port 1: 6.0Gb/s
scsibus1 at ahci1: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, Samsung SSD 860, RVT0> SCSI3 0/direct
fixed
 naa.5002538e4048c423
sd0: 476940MB, 512 bytes/sector, 976773168 sectors, thin
sd1 at scsibus1 targ 1 lun 0: <ATA, WDC WD20SPZX-22C, 01.0> SCSI3 0/direct
fixe
d naa.50014ee608945f38
sd1: 1907729MB, 512 bytes/sector, 3907029168 sectors, thin
com2 at simplebus5: ns16550, no working fifo
mvrng1 at simplebus5
cpu1 at mainbus0 mpidr 1: ARM Cortex-A72 r0p1
cpu1: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu1: 512KB 64b/line 16-way L2 cache
cpu2 at mainbus0 mpidr 100: ARM Cortex-A72 r0p1
cpu2: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu2: 512KB 64b/line 16-way L2 cache
cpu3 at mainbus0 mpidr 101: ARM Cortex-A72 r0p1
cpu3: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu3: 512KB 64b/line 16-way L2 cache
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
bootfile: sd0a:/bsd
boot device: sd0
root on sd0a (674d8d0abfc9f314.a) swap on sd0b dump on sd0b

Reply via email to