NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/54908: kernel semi-lock-up



The following reply was made to PR kern/54908; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/54908: kernel semi-lock-up
Date: Thu, 30 Jan 2020 23:11:02 +0100

 Here is info from the next hang.
 
 Martin
 
 Stopped in pid 0.5 (system) at  netbsd:cpu_Debugger+0x4:        bx      r14
 db{0}> set $lines 0
 $lines          18 = 0
 db{0}> ps
 PID    LID S CPU     FLAGS       STRUCT LWP *               NAME WAIT
 25849    1 3   0         0           996729c0          newsyslog tstile
 28194    1 3   0        80           996100c0               cron pipe_rd
 19881    1 2   1         0           98e80080                tar
 26608    1 3   1        80           9963b0c0              h_tar wait
 29383    1 3   1        80           995fd780          atf-check wait
 27665    1 3   0        80           99389640                 sh wait
 3771     1 3   0        80           93c4fd40               tail kqueue
 3408     1 3   1        80           93eea8c0               tcsh pause
 3154     1 3   0        80           93bea4c0               sshd select
 3464     1 3   0        80           930d1100               sshd poll
 363      1 3   0        80           93c4f240                tee pipe_rd
 423      1 3   1        80           93bead00         atf-report pipe_rd
 814      1 3   0        80           93beaa40                tee pipe_rd
 730      1 2   1   1000000           932209c0            atf-run
 915      1 3   0        80           9312f400                 sh wait
 732      1 3   1        80           93220700                 sh wait
 521      1 2   1         0           9309abc0              getty
 511      1 3   0        80           9328aa00               cron nanoslp
 500      1 3   1        80           9328a740              inetd kqueue
 460      1 3   1        80           9328a480               sshd select
 419      1 2   1   1000000           930d1c00               ntpd
 248      1 3   0        80           93220c80            rpcbind poll
 266      1 3   0         0           930d1940            syslogd tstile
 215      1 2   1         0           9312f980             dhcpcd
 1        1 3   1        80           92fe6340               init wait
 0       55 5   0       200           98e87940           (zombie)
 0       35 3   1       200           92fe6b80            physiod physiod
 0       59 3   0       200           9309a900           aiodoned aiodoned
 0       58 2   1       200           9309a640            ioflush
 0       57 3   0       200           9309a380          pooldrain xclocv
 0    >  56 7   1  20000200           9309a0c0           pgdaemon
 0       36 3   0       200           92e72cc0               usb2 usbevt
 0       34 3   0       200           92e72740               usb3 usbevt
 0       33 3   0       200           92e72480               usb1 usbevt
 0       54 3   0       200           92fe68c0               usb0 usbevt
 0       53 3   0       200           92fe6600            npfgc-0 npfgccv
 0       52 3   0       200           92fe6080            rt_free rt_free
 0       51 3   0       200           92fdfb40              unpgc unpgc
 0       50 3   0       200           92fdf880    key_timehandler key_timehandler
 
 0       49 3   1       200           92fdf5c0    icmp6_wqinput/1 icmp6_wqinput
 0       48 3   0       200           92fdf300    icmp6_wqinput/0 icmp6_wqinput
 0       47 3   0       200           92fdf040          nd6_timer nd6_timer
 0       46 3   1       200           92e97d40    carp6_wqinput/1 carp6_wqinput
 0       45 3   0       200           92e97a80    carp6_wqinput/0 carp6_wqinput
 0       44 3   1       200           92e977c0     carp_wqinput/1 carp_wqinput
 0       40 3   0       200           92e721c0     carp_wqinput/0 carp_wqinput
 0       39 3   1       200           92e92200     icmp_wqinput/1 icmp_wqinput
 0       38 3   0       200           92e924c0     icmp_wqinput/0 icmp_wqinput
 0       37 3   0       200           92e92780           rt_timer rt_timer
 0       32 3   0       200           92e92a40        vmem_rehash vmem_rehash
 0       43 3   0       200           92e97500             sdmmc1 mmctaskq
 0       42 3   0       200           92e97240             sdmmc0 mmctaskq
 0       41 3   0       200           92e92d00            axp20x0 axp20x0
 0       31 3   0       200           92e1bc80               iic2 iicintr
 0       30 3   0       200           92e1b9c0               iic1 iicintr
 0       29 3   1       200           92e1b700            atabus0 atath
 0       28 3   0       200           92e1b440         usbtask-dr usbtsk
 0       27 3   0       200           92e1b180         usbtask-hc usbtsk
 0       26 3   0       200           92a0dc40               iic0 iicintr
 0       25 2   1       200           92a0d980            xcall/1
 0       24 1   1       200           92a0d6c0          softser/1
 0       23 1   1       200           92a0d400          softclk/1
 0       22 1   1       200           92a0d140          softbio/1
 0       21 1   1       200           929f8c00          softnet/1
 0       20 1   1       201           929f8940             idle/1
 0       19 3   0       200           929f8680           lnxpwrwq lnxpwrwq
 0       18 3   0       200           929f83c0           lnxlngwq lnxlngwq
 0       17 3   0       200           929f8100           lnxsyswq lnxsyswq
 0       16 3   0       200           929f3bc0           lnxrcugc lnxrcugc
 0       15 3   0       200           929f3900             sysmon smtaskq
 0       14 3   0       200           929f3640         pmfsuspend pmfsuspend
 0       13 3   0       200           929f3380           pmfevent pmfevent
 0       12 3   0       200           929f30c0         sopendfree sopendfr
 0       11 3   0       200           928dbb80           nfssilly nfssilly
 0       10 3   0       200           928db8c0            cachegc cachegc
 0        9 3   0       200           928db600             vdrain vdrain
 0        8 3   0       200           928db340          modunload mod_unld
 0        7 3   0       200           928db080            xcall/0 xcall
 0        6 1   0       200           928d8b40          softser/0
 0    >   5 7   0  20000200           928d8880          softclk/0
 0        4 1   0       200           928d85c0          softbio/0
 0        3 1   0       200           928d8300          softnet/0
 0    >   2 7   0  20000201           928d8040             idle/0
 0        1 3   0       200           807ec580            swapper uvm
 db{0}> bt
 0x9ba5bebc: netbsd:com_common_getc+0xc
 0x9ba5bedc: netbsd:wsscreen_getc_poll+0x68
 0x9ba5bf24: netbsd:callout_softclock+0x398
 0x9ba5bfac: netbsd:softint_dispatch+0x140
 Bad frame pointer: 0x80b14f54
 db{0}> show uvm
 Current UVM status:
   pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12, ncolors=1
   510689 VM pages: 31104 active, 16111 inactive, 3093 wired, 415987 free
   pages  4925 anon, 41715 file, 3669 exec
   freemin=512, free-target=682, wired-max=170229
   resv-pg=1, resv-kernel=10, zeropages=0
   bootpages=9975, poolpages=36042
   faults=50721923, traps=55007959, intrs=8585418, ctxswitch=19720153
    softint=2936990, syscalls=163009701
   fault counts:
     noram=0, noanon=0, pgwait=0, pgrele=0
     ok relocks(total)=451853(451867), anget(retrys)=13988851(0), amapcopy=889987
 4
     neighbor anon/obj pg=10466936/99714944, gets(lock/unlock)=22795497/452062
     cases: anon=8683415, anoncow=5305436, obj=19730453, prcopy=3064835, przero=1
 2734253
   daemon and swap counts:
     woke=1, revs=17, scans=0, obscans=0, anscans=0
     busy=0, freed=0, reactivate=0, deactivate=16097
     pageouts=0, pending=0, nswget=0
     nswapdev=1, swpgavail=524533
     swpages=524533, swpginuse=0, swpgonly=0, paging=0
 db{0}> show freelist
 There are 3 freelists with 2 buckets of 1 colors.
 
 freelist(0) @ 0x80a882c4
     bucket(0) @ 0x92e8b2c0, nfree = 217325, lock @ 0x8099fb40:
         color(0) @ 0x92e8b2c4, first page = 0x90915200
     bucket(1) @ 0x92e8b300, nfree = 198662, lock @ 0x8099fb80:
         color(0) @ 0x92e8b304, first page = 0x90ac76c0
 freelist(1) @ 0x80a882e4
     bucket(0) @ 0x92e8b340, nfree = 0, lock @ 0x8099fb40:
         color(0) @ 0x92e8b344, first page = 0x0
     bucket(1) @ 0x92e8b380, nfree = 0, lock @ 0x8099fb80:
         color(0) @ 0x92e8b384, first page = 0x0
 freelist(2) @ 0x80a88304
     bucket(0) @ 0x92e8b3c0, nfree = 0, lock @ 0x8099fb40:
         color(0) @ 0x92e8b3c4, first page = 0x0
     bucket(1) @ 0x92e8b400, nfree = 0, lock @ 0x8099fb80:
         color(0) @ 0x92e8b404, first page = 0x0
 db{0}> mach cpu 1
 kdb_trap: switching to cpu1
 Stopped in pid 0.56 (system) at netbsd:_splraise+0x10:  mov     r4, r0
 db{1}> bt
 0x9be03e6c: netbsd:_splraise+0xc
 0x9be03ed4: netbsd:mutex_enter+0x32c
 0x9be03fac: netbsd:uvm_pageout+0x574
 db{1}> mach cpu 0 
 kdb_trap: switching to cpu0
 Stopped in pid 0.5 (system) at  netbsd:cpu_Debugger+0x4:        bx      r14
 db{0}> bt
 0x9ba5bebc: netbsd:com_common_getc+0xc
 0x9ba5bedc: netbsd:wsscreen_getc_poll+0x68
 0x9ba5bf24: netbsd:callout_softclock+0x398
 0x9ba5bfac: netbsd:softint_dispatch+0x140
 Bad frame pointer: 0x80b14f54
 db{0}> call uvm_km_va_starved_p
 1
 db{0}> 
 


Home | Main Index | Thread Index | Old Index