Current-Users archive

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

netbsd-9.99.93 crash



Hi there,

when starting the network the kernel crashes.

Does anyone have an idea what the problem could be?


Thank you for your efforts

Regards
Uwe

dmesg -M netbsd.14.core -N netbsd.14
...
[    28.382481] boot device: sd0
[    28.382481] root on sd0a dumps on sd0b
[    28.382481] dump_misc_init: max_paddr = 0xc30000000
[    28.382481] mountroot: trying lfs...
[    28.382481] mountroot: trying ffs...
[    28.382481] root file system type: ffs
[    28.382481] kern.module.path=/stand/amd64/9.99.93/modules
[    28.402663] init: copying out path `/sbin/init' 11
[    34.076183] mfi0: normal state on 'mfi0:0' (online)
[   177.114151] Kernel lock error: _kernel_lock,239: spinout

[ 177.114151] lock address : 0xffffffff818a5040 type : spin
[   177.114151] initialized  : 0xffffffff80f82ed0
[ 177.114151] shared holds : 0 exclusive: 1 [ 177.114151] shares wanted: 0 exclusive: 2 [ 177.114151] relevant cpu : 0 last held: 1 [ 177.114151] relevant lwp : 0xffff865288bc1080 last held: 0xffff865280278080 [ 177.114151] last locked* : 0xffffffff80ea0a90 unlocked : 0xffffffff80ea0aa1 [ 177.114151] curcpu holds : 0 wanted by: 0xffff865288bc1080

[ 177.114151] panic: LOCKDEBUG: Kernel lock error: _kernel_lock,239: spinout
[   177.114151] cpu0: Begin traceback...
[   177.114151] vpanic() at netbsd:vpanic+0x156
[   177.124150] panic() at netbsd:panic+0x3c
[   177.124150] lockdebug_abort1() at netbsd:lockdebug_abort1+0xe6
[   177.124150] _kernel_lock() at netbsd:_kernel_lock+0x22a
[   177.124150] frag6_fasttimo() at netbsd:frag6_fasttimo+0x1a
[   177.124150] pffasttimo() at netbsd:pffasttimo+0x34
[   177.124150] callout_softclock() at netbsd:callout_softclock+0xbe
[   177.124150] softint_dispatch() at netbsd:softint_dispatch+0xf2
[ 177.124150] DDB lost frame for netbsd:Xsoftintr+0x4f, trying 0xffff99037d0eb0f0
[   177.124150] Xsoftintr() at netbsd:Xsoftintr+0x4f
[   177.134195] --- interrupt ---
[   177.134195] 0:
[   177.134195] cpu0: End traceback...

[   177.134195] dumping to dev 4,1 (offset=22227071, size=12581616):
[   177.134195] dump


vmstat -M netbsd.14.core -N netbsd.14 -s
     4096 bytes per page
       64 page colors
 12192674 pages managed
 12109936 pages free
        0 pages paging
        0 pages wired
        0 zero pages
        1 reserve pagedaemon pages
       20 reserve kernel pages
   381045 boot kernel pages
189529716 kernel pool pages
      635 anonymous pages
      153 cached file pages
      552 cached executable pages
     1024 minimum free pages
     1365 target free pages
  4064224 maximum wired pages
        1 swap devices
 15359999 swap pages
        0 swap pages in use
        0 swap allocations
        0 total faults taken
        0 traps
        0 device interrupts
        0 CPU context switches
        0 software interrupts
18446517600032562176 system calls
        0 pagein requests
        0 pageout requests
        0 pages swapped in
        0 pages swapped out
      134 forks total
       86 forks blocked parent
       86 forks shared address space with parent
        0 pagealloc zero wanted and avail
        0 pagealloc zero wanted and not avail
        0 aborts of idle page zeroing
    81370 pagealloc desired color avail
        0 pagealloc desired color not avail
    21255 pagealloc local cpu avail
    60115 pagealloc local cpu not avail
        0 faults with no memory
        0 faults with no anons
        0 faults had to wait on pages
        0 faults found released page
      143 faults relock (143 ok)
   726290 anon page faults
        0 anon retry faults
     3480 amap copy faults
        0 neighbour anon page faults
    33715 neighbour object page faults
     9305 locked pager get faults
      143 unlocked pager get faults
   724465 anon faults
     1825 anon copy on write faults
     7249 object faults
     2056 promote copy faults
    12206 promote zero fill faults
        0 times daemon wokeup
        0 revolutions of the clock hand
        0 pages freed by daemon
        0 pages scanned by daemon
        0 anonymous pages scanned by daemon
        0 object pages scanned by daemon
        0 pages reactivated
        0 pages found busy by daemon
        0 total pending pageouts
        0 pages deactivated
        0 total name lookups
        0 good hits
        0 negative hits
        0 bad hits
        0 false hits
        0 miss
        0 too long
        0 pass2 hits
        0 2passes
          cache hits (0% pos + 0% neg) system 0% per-process
          deletions 0%, falsehits 0%, toolong 0%


gdb /netbsd
GNU gdb (GDB) 8.3
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /netbsd...
(gdb) target kvm netbsd.14.core
0xffffffff80226145 in cpu_reboot (howto=howto@entry=260, bootstr=bootstr@entry=0x0) at /usr/src/sys/arch/amd64/amd64/machdep.c:720
720                     dumpsys();
(gdb) bt
#0 0xffffffff80226145 in cpu_reboot (howto=howto@entry=260, bootstr=bootstr@entry=0x0) at /usr/src/sys/arch/amd64/amd64/machdep.c:720 #1 0xffffffff80da5967 in kern_reboot (howto=howto@entry=260, bootstr=bootstr@entry=0x0) at /usr/src/sys/kern/kern_reboot.c:73 #2 0xffffffff80deb0f2 in vpanic (fmt=fmt@entry=0xffffffff814c6b58 "LOCKDEBUG: %s error: %s,%zu: %s", ap=ap@entry=0xffff99037d0eaec8) at /usr/src/sys/kern/subr_prf.c:290 #3 0xffffffff80deb1b7 in panic (fmt=fmt@entry=0xffffffff814c6b58 "LOCKDEBUG: %s error: %s,%zu: %s") at /usr/src/sys/kern/subr_prf.c:209 #4 0xffffffff80ddf398 in lockdebug_abort1 (dopanic=true, msg=0xffffffff814bd8be "spinout", s=2, ld=0xffffffff81979718 <ld_prime+1080>, line=239, func=0xffffffff8136c410 <__func__.1> "_kernel_lock") at /usr/src/sys/kern/subr_lockdebug.c:794 #5 lockdebug_abort1 (func=0xffffffff8136c410 <__func__.1> "_kernel_lock", line=239, ld=0xffffffff81979718 <ld_prime+1080>, s=2, msg=0xffffffff814bd8be "spinout", dopanic=<optimized out>) at /usr/src/sys/kern/subr_lockdebug.c:772 #6 0xffffffff80d904da in _kernel_lock (nlocks=1) at /usr/src/sys/kern/kern_lock.c:239 #7 0xffffffff80aedc54 in frag6_fasttimo () at /usr/src/sys/netinet6/frag6.c:655 #8 0xffffffff80e1bf2a in pffasttimo (arg=<optimized out>) at /usr/src/sys/kern/uipc_domain.c:763 #9 0xffffffff80dc428e in callout_softclock (v=<optimized out>) at /usr/src/sys/kern/kern_timeout.c:785 #10 0xffffffff80db447b in softint_execute (s=2, l=0xffff865288bc1080) at /usr/src/sys/kern/kern_softint.c:565 #11 softint_dispatch (pinned=<optimized out>, s=2) at /usr/src/sys/kern/kern_softint.c:814
#12 0xffffffff80220d7f in Xsoftintr ()



Home | Main Index | Thread Index | Old Index