From owner-freebsd-bugs@FreeBSD.ORG Sun Jun 6 12:10:05 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A57F1065676 for ; Sun, 6 Jun 2010 12:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CD5CD8FC16 for ; Sun, 6 Jun 2010 12:10:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o56CA4Xs068070 for ; Sun, 6 Jun 2010 12:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o56CA4GM068069; Sun, 6 Jun 2010 12:10:04 GMT (envelope-from gnats) Resent-Date: Sun, 6 Jun 2010 12:10:04 GMT Resent-Message-Id: <201006061210.o56CA4GM068069@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sebastian Hyrwall Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8BDE1065670 for ; Sun, 6 Jun 2010 12:08:00 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id CCCBE8FC0C for ; Sun, 6 Jun 2010 12:08:00 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o56C80si002040 for ; Sun, 6 Jun 2010 12:08:00 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o56C80tR002039; Sun, 6 Jun 2010 12:08:00 GMT (envelope-from nobody) Message-Id: <201006061208.o56C80tR002039@www.freebsd.org> Date: Sun, 6 Jun 2010 12:08:00 GMT From: Sebastian Hyrwall To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/147558: sbdrops kernel panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2010 12:10:05 -0000 >Number: 147558 >Category: kern >Synopsis: sbdrops kernel panic >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 06 12:10:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Sebastian Hyrwall >Release: 7.3-RELEASE >Organization: none >Environment: # uname -a FreeBSD .... 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Sun Mar 21 06:15:01 UTC 2010 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: "Random" kernelpanics related to "sbdrops" after the system has been on for a few hours. Only process running is Quagga (bgpd,zebra). Network traffic is minimum (<= 100kbit/s avg). NIC is bge. IPV6 is enabled/configured. Attaching stacktrace. VMCORE available at : http://slask.keff.org/vmcore >How-To-Repeat: You wait a few hours (~10h). >Fix: Patch attached with submission follows: # kgdb kernel /var/crash/vmcore.1 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: 14h31m24s Physical memory: 1011 MB Dumping 154 MB: 139 123 107 91 75 59 43 27 11 Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/ac pi.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi.ko Reading symbols from /boot/kernel/pf.ko...Reading symbols from /boot/kernel/pf.k o.symbols...done. done. Loaded symbols for /boot/kernel/pf.ko #0 doadump () at pcpu.h:196 196 pcpu.h: No such file or directory. in pcpu.h (kgdb) backtrace #0 doadump () at pcpu.h:196 #1 0xc07f8c57 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc07f8f29 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc08514db in sbdrop_internal (sb=0xc469b5c4, len=293) at /usr/src/sys/kern/uipc_sockbuf.c:843 #4 0xc08516ce in sbdrop_locked (sb=0xc469b5c4, len=398) at /usr/src/sys/kern/uipc_sockbuf.c:893 #5 0xc0853f90 in soisdisconnected (so=0xc469b4e0) at /usr/src/sys/kern/uipc_socket.c:3097 #6 0xc094e32e in tcp_close (tp=0xc5714740) at /usr/src/sys/netinet/tcp_subr.c:819 #7 0xc094e4ac in tcp_drop (tp=0xc5714740, errno=61) at /usr/src/sys/netinet/tcp_subr.c:699 #8 0xc0953ca2 in tcp_timer_rexmt (xtp=0xc5714740) at /usr/src/sys/netinet/tcp_timer.c:455 #9 0xc080b7aa in softclock (dummy=0x0) at /usr/src/sys/kern/kern_timeout.c:274 #10 0xc07d54ab in ithread_loop (arg=0xc4093240) at /usr/src/sys/kern/kern_intr.c:1181 #11 0xc07d1c49 in fork_exit (callout=0xc07d5300 , arg=0xc4093240, frame=0xc3fb1d38) at /usr/src/sys/kern/kern_fork.c:811 #12 0xc0ae50b0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:271 (kgdb) >Release-Note: >Audit-Trail: >Unformatted: