I am now also experiencing crashes without a network connection.  I
unplugged the lan and stopped ntpd.  Testing by building the kernel.

 

 

 

cc -g -Werror -Wall -Wimplicit-function-declaration  -Wno-uninitialized
-Wno-pointer-sign  -Wno-constant-conversion -Wno-address-of-packed-member
-Wframe-larger-than=2047 -march=armv8-a+nofp+nosimd  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer  -ffixed-x18 -ffreestanding  -O2 -pipe
-nostdinc -I/usr/src/sys -I/usr/src/sys/arch/arm64/compile/GENERIC.MP/obj
-I/usr/src/sys/arch -DDDB -DDIAGNOSTIC -DKTRACE -DACCOUNTING -DKMEMSTATS
-DPTRACE -DPOOL_DEBUG -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM
-DUVM_SWAP_ENCRYPT -DFFS -DFFS2 -DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA
-DEXT2FS -DMFS -DNFSCLIENT -DNFSSERVER -DCD9660 -DUDF -DMSDOSFS -DFIFO
-DFUSE -DSOCKET_SPLICE -DTCP_ECN -DTCP_SIGNATURE -DINET6 -DIPSEC
-DPPP_BSDCOMP -DPPP_DEFLATE -DPIPEX -DMROUTING -DMPLS -DBOOT_CONFIG
-DTIMEZONE="0" -DDST="0" -DPCIVERBOSE -DUSER_PCICONF -DUSBVERBOSE
-DWSDISPLAY_COMPAT_USL -DWSDISPLAY_COMPAT_RAWKBD
-DWSDISPLAY_DEFAULTSCREENS="6" -DONEWIREVERBOSE -DMULTIPROCESSOR
-DMAXUSERS=32 -D_KERNEL -D__arm64__ -MD -MP  -c /usr/src/sys/dev/ic/re.c

 

panic: amap_pp_adjref: negative reference count

Stopped at      panic+0x148:        TID    PID    UID     PRFLAGS     PFLAGS
C

PU  COMMAND

*301910  89956      0         0x3          0    1K cc

db_enter() at panic+0x144

panic() at uvm_unmap_detach+0x7c

uvm_unmap_detach() at sys_munmap+0x148

sys_munmap() at svc_handler+0x264

svc_handler() at do_el0_sync+0x1b0

do_el0_sync() at handle_el0_sync+0x74

handle_el0_sync() at 0x6801ca8cc

--- trap ---

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{1}> trace

db_enter() at panic+0x144

panic() at uvm_unmap_detach+0x7c

uvm_unmap_detach() at sys_munmap+0x148

sys_munmap() at svc_handler+0x264

svc_handler() at do_el0_sync+0x1b0

do_el0_sync() at handle_el0_sync+0x74

handle_el0_sync() at 0x6801ca8cc

--- trap ---

 

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 sched_idle+0x224

sched_idle() at proc_trampoline+0x10

ddb{2}> trace

db_enter() at ampintc_ipi_ddb+0x18

ampintc_ipi_ddb() at handle_el1h_irq+0x6c

handle_el1h_irq() at sched_idle+0x224

sched_idle() at proc_trampoline+0x10

 

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+0x224

sched_idle() at proc_trampoline+0x10

ddb{3}> trace

db_enter() at ampintc_ipi_ddb+0x18

ampintc_ipi_ddb() at handle_el1h_irq+0x6c

handle_el1h_irq() at sched_idle+0x224

sched_idle() at proc_trampoline+0x10

 

ddb{3}> show uvm

Current UVM status:

  pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12

  216442 VM pages: 15448 active, 3121 inactive, 0 wired, 157023 free (19631
zer

o)

  min  10% (25) anon, 10% (25) vnode, 5% (12) vtext

  freemin=7214, free-target=9618, inactive-target=0, wired-max=72147

  faults=527236, traps=0, intrs=0, ctxswitch=3797672 fpuswitch=0

  softint=22479, syscalls=366658, kmapent=13

  fault counts:

    noram=0, noanon=0, noamap=0, pgwait=0, pgrele=0

    ok relocks(total)=18133(18133), anget(retries)=215849(0), amapcopy=93149

    neighbor anon/obj pg=5374/206698, gets(lock/unlock)=215333/18133

    cases: anon=205060, anoncow=10789, obj=192812, prcopy=22521,
przero=96054

  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=263967, swpginuse=0, swpgonly=0 paging=0

  kernel pointers:

    objs(kern)=0xffffff8000af0278

 

ddb{3}> show bcstats

Current Buffer Cache status:

numbufs 7779 busymapped 0, delwri 51

kvaslots 2705 avail kva slots 2705

bufpages 31104, dmapages 31104, dirtypages 204

pendingreads 0, pendingwrites 0

highflips 0, highflops 0, dmaflips 0

 

ddb{3}> mach ddbcpu 0

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+0x224

sched_idle() at proc_trampoline+0x10

ddb{0}> trace

db_enter() at ampintc_ipi_ddb+0x18

ampintc_ipi_ddb() at handle_el1h_irq+0x6c

handle_el1h_irq() at sched_idle+0x224

sched_idle() at proc_trampoline+0x10

 

ddb{0}> ps

   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND

89956  301910  87556      0  7         0x3                cc

87556  213832  18037      0  3        0x83  wait          cc

18037  106299   4405      0  3    0x10008b  pause         sh

  4405  155200   7279      0  3    0x10008b  pause         make

  7279  506198  45570      0  3    0x10008b  pause         sh

45570  147469      1      0  3    0x10008b  pause         ksh

35447  263169      1      0  3    0x100098  poll          cron

56001   42504      1     99  3    0x100090  poll          sndiod

72591  206988      1    110  3    0x100090  poll          sndiod

64235  390386  35921     95  3    0x100092  kqread        smtpd

22213  156785  35921    103  3    0x100092  kqread        smtpd

53353  213680  35921     95  3    0x100092  kqread        smtpd

80762  329421  35921     95  3    0x100092  kqread        smtpd

  9469  154341  35921     95  3    0x100092  kqread        smtpd

15316  212287  35921     95  3    0x100092  kqread        smtpd

35921   26182      1      0  3    0x100080  kqread        smtpd

80306  309351      1      0  3        0x80  select        sshd

  1343  502368  43673     74  3    0x100092  bpf           pflogd

43673  165009      1      0  3        0x80  netio         pflogd

43034  306309  85052     73  3    0x100090  kqread        syslogd

85052  382457      1      0  3    0x100082  netio         syslogd

64758  139809  82732    115  3    0x100092  kqread        slaacd

34650   54459  82732    115  3    0x100092  kqread        slaacd

82732  366504      1      0  3    0x100080  kqread        slaacd

28903  355193      0      0  3     0x14200  pgzero        zerothread

84323  105909      0      0  3     0x14200  aiodoned      aiodoned

71495   32093      0      0  3     0x14200  syncer        update

44628  209195      0      0  3     0x14200  cleaner       cleaner

37351  271875      0      0  3     0x14200  reaper        reaper

46311  103906      0      0  3     0x14200  pgdaemon      pagedaemon

94582  399726      0      0  3     0x14200  bored         crynlk

54990  341449      0      0  3     0x14200  bored         crypto

70682  214926      0      0  7  0x40014200                idle3

87562   12943      0      0  7  0x40014200                idle2

73266  430208      0      0  3  0x40014200                idle1

28313  371062      0      0  3     0x14200  bored         sensors

27432  167656      0      0  3     0x14200  usbtsk        usbtask

42094  370671      0      0  3     0x14200  usbatsk       usbatsk

71464   15076      0      0  3     0x14200  mmctsk        sdmmc0

20557   99702      0      0  3     0x14200  bored         softnet

79299  166667      0      0  3     0x14200  bored         systqmp

96241  166571      0      0  3     0x14200  bored         systq

64417  495583      0      0  3  0x40014200  bored         softclock

* 3118  346605      0      0  7  0x40014200                idle0

40698  447134      0      0  3     0x14200  kmalloc       kmthread

     1  370679      0      0  3        0x82  wait          init

     0       0     -1      0  3     0x10200  scheduler     swapper

ddb{0}>

Reply via email to