Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2012 15:20:12 GMT
From:      "Pavel Polyakov" <bsd@kobyla.org>
To:        freebsd-net@FreeBSD.org
Subject:   Re: kern/159621: [tcp] [panic] panic: soabort: so_count
Message-ID:  <201201271520.q0RFKCax029904@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/159621; it has been noted by GNATS.

From: "Pavel Polyakov" <bsd@kobyla.org>
To: bug-followup@freebsd.org, bsd@kobyla.org
Cc:  
Subject: Re: kern/159621: [tcp] [panic] panic: soabort: so_count
Date: Fri, 27 Jan 2012 16:48:10 +0200

 Dump header from device /dev/ada1p20
    Architecture: amd64
    Architecture Version: 1
    Dump Length: 465408B (0 MB)
    Blocksize: 512
    Dumptime: Wed Jan 25 00:14:21 2012
    Hostname: shared
    Magic: FreeBSD Text Dump
    Version String: FreeBSD 8.2-STABLE #5 r230331: Mon Jan 23 22:05:26 UTC  
 2012
    Panic String: soabort: so_count
    Dump Parity: 1378570526
    Bounds: 2
    Dump Status: good
 
 
 
 ichwd0: timer reloaded
 panic: soabort: so_count
 cpuid = 1
 KDB: enter: panic
 
 0xffffff0008d8a3b0: tag syncer, type VNON
      usecount 1, writecount 0, refcount 2 mountedhere 0
      flags ()
      lock type syncer: EXCL by thread 0xffffff0008657000 (pid 20)
 
 0xffffff02104dcce8: tag ufs, type VDIR
      usecount 1, writecount 0, refcount 3 mountedhere 0
      flags ()
      v_object 0xffffff009f19a798 ref 0 pages 1
      lock type ufs: SHARED (count 1)
          ino 89806906, on dev mirror/shared0home
 
 0xffffff0085b4b760: tag ufs, type VDIR
      usecount 1, writecount 0, refcount 3 mountedhere 0
      flags ()
      v_object 0xffffff013d38c5e8 ref 0 pages 1
      lock type ufs: SHARED (count 1)
          ino 57062185, on dev mirror/shared0home
 
 0xffffff01afaa21d8: tag nfs, type VDIR
      usecount 2, writecount 0, refcount 10934 mountedhere 0
      flags ()
      v_object 0xffffff01a4955000 ref 0 pages 15576
      lock type nfs: SHARED (count 1)
          fileid 43900928 fsid 0x500ff01
 
 
 
 db:0:kdb.enter.panic>  run lockinfo
 db:1:lockinfo> show locks
 exclusive rw tcpinp (tcpinp) r = 0 (0xffffff0042d89670) locked @  
 /usr/src/sys/netinet/tcp_input.c:946
 exclusive rw tcp (tcp) r = 0 (0xffffffff80b35108) locked @  
 /usr/src/sys/netinet/tcp_usrreq.c:1507
 db:1:locks>  show alllocks
 Process 65325 (mysqldump) thread 0xffffff00be85f460 (100712)
 exclusive sx so_rcv_sx (so_rcv_sx) r = 0 (0xffffff01ae596648) locked @  
 /usr/src/sys/kern/uipc_sockbuf.c:148
 Process 63966 (exim-4.77-0) thread 0xffffff01ba777000 (100319)
 exclusive sx so_rcv_sx (so_rcv_sx) r = 0 (0xffffff00be7170f8) locked @  
 /usr/src/sys/kern/uipc_sockbuf.c:148
 Process 62099 (cpsrvd-ssl) thread 0xffffff01d78de460 (103292)
 exclusive sx so_rcv_sx (so_rcv_sx) r = 0 (0xffffff00255b4b98) locked @  
 /usr/src/sys/kern/uipc_sockbuf.c:148
 Process 34226 (pkgacct) thread 0xffffff011936e8c0 (101408)
 shared lockmgr nfs (nfs) r = 0 (0xffffff01afaa2270) locked @  
 /usr/src/sys/kern/vfs_syscalls.c:4100
 Process 33445 (pkgacct) thread 0xffffff01ba0c5460 (101331)
 exclusive lockmgr bufwait (bufwait) r = 0 (0xffffff81ee9040e0) locked @  
 /usr/src/sys/kern/vfs_bio.c:1891
 shared lockmgr ufs (ufs) r = 0 (0xffffff02104dcd80) locked @  
 /usr/src/sys/kern/vfs_syscalls.c:4100
 Process 26396 (pkgacct) thread 0xffffff01baa80460 (100415)
 exclusive lockmgr bufwait (bufwait) r = 0 (0xffffff81ee66b748) locked @  
 /usr/src/sys/kern/vfs_bio.c:1891
 shared lockmgr ufs (ufs) r = 0 (0xffffff0085b4b7f8) locked @  
 /usr/src/sys/kern/vfs_syscalls.c:4100
 Process 20 (syncer) thread 0xffffff0008657000 (100115)
 exclusive sleep mutex struct mount mtx (struct mount mtx) r = 0  
 (0xffffff00087e1bc0) locked @ /usr/src/sys/ufs/ufs/ufs_quota.c:939
 exclusive lockmgr syncer (syncer) r = 0 (0xffffff0008d8a448) locked @  
 /usr/src/sys/kern/vfs_subr.c:1770
 Process 0 (kernel) thread 0xffffff0002b07000 (100076)
 exclusive rw tcpinp (tcpinp) r = 0 (0xffffff0042d89670) locked @  
 /usr/src/sys/netinet/tcp_input.c:946
 exclusive rw tcp (tcp) r = 0 (0xffffffff80b35108) locked @  
 /usr/src/sys/netinet/tcp_usrreq.c:1507
 db:1:alllocks>  show lockedvnods
 Locked vnodes
 db:0:kdb.enter.panic>  show pcpu
 cpuid        = 1
 dynamic pcpu = 0xffffff807f6d5780
 curthread    = 0xffffff0002b07000: pid 0 "em0 rxq"
 curpcb       = 0xffffff824101dd10
 fpcurthread  = none
 idlethread   = 0xffffff00023778c0: tid 100017 "idle: cpu1"
 curpmap      = 0xffffffff8096b670
 tssp         = 0xffffffff80b7a768
 commontssp   = 0xffffffff80b7a768
 rsp0         = 0xffffff824101dd10
 gs32p        = 0xffffffff80b795a0
 ldt          = 0xffffffff80b795e0
 tss          = 0xffffffff80b795d0
 spin locks held:
 db:0:kdb.enter.panic>  bt
 Tracing pid 0 tid 100076 td 0xffffff0002b07000
 kdb_enter() at kdb_enter+0x3b
 panic() at panic+0x17b
 soabort() at soabort+0x9c
 syncache_expand() at syncache_expand+0x2ca
 tcp_input() at tcp_input+0xf05
 ip_input() at ip_input+0xb3
 netisr_dispatch_src() at netisr_dispatch_src+0x9e
 ether_demux() at ether_demux+0x176
 ether_input() at ether_input+0x198
 em_rxeof() at em_rxeof+0x19d
 em_handle_rx() at em_handle_rx+0x1c
 taskqueue_run_locked() at taskqueue_run_locked+0x93
 taskqueue_thread_loop() at taskqueue_thread_loop+0x3f
 fork_exit() at fork_exit+0x12a
 fork_trampoline() at fork_trampoline+0xe
 --- trap 0, rip = 0, rsp = 0xffffff824101dd00, rbp = 0 ---
 
 
      1     0     1     0  SLs     wait     0xffffff00023648e0 [init]
     10     0     0     0  SL      audit_wo 0xffffffff80b3fdd0 [audit]
      0     0     0     0  RLs     (threaded)                  kernel
 100321                   D       -        0xffffff01ba75c500 [aiod_bio  
 taskq]
 100107                   Run     CPU 7                       [dummynet]
 100105                   D       -        0xffffffff8096e5c4 [deadlkres]
 100083                   D       -        0xffffff0002b21380 [em1 txq]
 100081                   D       -        0xffffff0002b21500 [em1 rxq]
 100078                   D       -        0xffffff0002b0f980 [em0 txq]
 100076                   Run     CPU 1                       [em0 rxq]
 100053                   D       -        0xffffff0002466880 [kqueue taskq]
 100049                   D       -        0xffffff00024a2380 [thread taskq]
 100047                   D       -        0xffffff00024a2500 [ffs_trim  
 taskq]
 100046                   D       -        0xffffff0002444280 [acpi_task_2]
 100045                   D       -        0xffffff0002444280 [acpi_task_1]
 100044                   D       -        0xffffff0002444280 [acpi_task_0]
 100040                   D       -        0xffffff0002363880 [firmware  
 taskq]
 100000                   D       sched    0xffffffff8096aca0 [swapper]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201271520.q0RFKCax029904>