kern/96042: Kernel panics with sbdrop

Vladislav V. Prodan vlad11 at nla.od.ua
Wed Apr 19 14:00:32 UTC 2006


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

From: "Vladislav V. Prodan" <vlad11 at nla.od.ua>
To: freebsd-gnats-submit at FreeBSD.org
Cc:  
Subject: Re: kern/96042: Kernel panics with sbdrop
Date: Wed, 19 Apr 2006 16:58:35 +0300

 Gleb Smirnoff ÐÉÛÅÔ:
 > The panic backtrace is attached to PR. However, the backtrace
 > doesn't end with a panic about "sbdrop". Do you have two
 > different panics.
 
 Well. Has provoked one more panic.
 
 netstat -m before kernel panic:
 
 [16:35]bahus:vlad11->sys/bahus.10# netstat -m
 323/547/870 mbufs in use (current/cache/total)
 66/384/450/33792 mbuf clusters in use (current/cache/total/max)
 212K/904K/1117K bytes allocated to network (current/cache/total)
 477203/256010/261501 requests for mbufs denied
 (mbufs/clusters/mbuf+clusters)
 0/3/8704 sfbufs in use (current/peak/max)
 0 requests for sfbufs denied
 0 requests for sfbufs delayed
 0 requests for I/O initiated by sendfile
 661 calls to protocol drain routines
 
 
 [16:43]bahus:vlad11->sys/bahus.10# kgdb kernel.debug /var/crash/vmcore.7
 [GDB will not be able to debug user-mode threads:
 /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
 GNU gdb 6.1.1 [FreeBSD]
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you are
 welcome to change it and/or distribute copies of it under certain
 conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for details.
 This GDB was configured as "i386-marcel-freebsd".
 
 Unread portion of the kernel message buffer:
 panic: sbdrop
 cpuid = 0
 Uptime: 4h27m52s
 Dumping 511 MB (2 chunks)
   chunk 0: 1MB (159 pages) ... ok
   chunk 1: 511MB (130800 pages) 495 479 463 447 431 415 399 383 367 351
 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47
 31 15
 
 #0  doadump () at pcpu.h:165
 165             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
 (kgdb) bt
 #0  doadump () at pcpu.h:165
 #1  0xc05627d8 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
 #2  0xc0562a6a in panic (fmt=0xc0709efe "sbdrop")
     at /usr/src/sys/kern/kern_shutdown.c:555
 #3  0xc0598e7c in sbdrop_locked (sb=0xc4d59d80, len=1660846797)
     at /usr/src/sys/kern/uipc_socket2.c:1157
 #4  0xc059900e in sbdrop (sb=0xc4d59d80, len=1660879005)
     at /usr/src/sys/kern/uipc_socket2.c:1208
 #5  0xc0607b02 in tcp_input (m=0xc4adfd00, off0=20)
     at /usr/src/sys/netinet/tcp_input.c:1206
 #6  0xc05fd39d in ip_input (m=0xc4adfd00)
     at /usr/src/sys/netinet/ip_input.c:786
 #7  0xc05d07ee in netisr_processqueue (ni=0xc0791a78)
     at /usr/src/sys/net/netisr.c:236
 #8  0xc05d09b6 in swi_net (dummy=0x0) at /usr/src/sys/net/netisr.c:349
 #9  0xc05511c8 in ithread_loop (arg=0xc4a18e00)
     at /usr/src/sys/kern/kern_intr.c:547
 #10 0xc05506c1 in fork_exit (callout=0xc05510b4 <ithread_loop>,
     arg=0xc4a18e00, frame=0xd5cddd38) at /usr/src/sys/kern/kern_fork.c:789
 #11 0xc06bab6c in fork_trampoline () at
 /usr/src/sys/i386/i386/exception.s:208
 
 


More information about the freebsd-bugs mailing list