From owner-freebsd-current@FreeBSD.ORG Wed Oct 6 19:51:22 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09DBB16A4CE; Wed, 6 Oct 2004 19:51:22 +0000 (GMT) Received: from www.cray1.de (i.would.like.to.spoof.my.realip.de [64.27.85.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B6EF43D41; Wed, 6 Oct 2004 19:51:21 +0000 (GMT) (envelope-from ubm@u-boot-man.de) Received: from greatsheep.marines (localhost [127.0.0.1]) by www.cray1.de (8.9.3/8.9.3) with SMTP id VAA23340; Wed, 6 Oct 2004 21:51:12 +0200 Date: Wed, 6 Oct 2004 21:55:32 +0200 From: Marc "UBM" Bocklet To: Brian Fundakowski Feldman Message-Id: <20041006215532.22b6868c.ubm@u-boot-man.de> In-Reply-To: <20041006192518.GM47017@green.homeunix.org> References: <20041006015131.10116be7.ubm@u-boot-man.de> <20041006090104.06710d85.ubm@u-boot-man.de> <20041006154137.GJ47017@green.homeunix.org> <20041006203220.7f8e7b8a.ubm@u-boot-man.de> <20041006192518.GM47017@green.homeunix.org> X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd5.2.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: [BETA7-panic] sodealloc(): so_count 1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Oct 2004 19:51:22 -0000 On Wed, 6 Oct 2004 15:25:18 -0400 Brian Fundakowski Feldman wrote: > Do you have a crashdump? Whether you do or don't, can you, using > that kernel you just got this crash with, do the following: > $ kgdb /dev/mem > (kgdb) l *(tcp_input+0x1d36) No crashdump, but: root@greatsheep:/home/sheep# kgdb /usr/obj/usr/src/sys/SUBMARINE_SMP/kernel.debug /dev/mem [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". 0x00000000 in ?? () (kgdb) l *(tcp_input+0x1d36) 0xc064f996 is in tcp_input (/usr/src/sys/netinet/tcp_input.c:1639). 1634 case TCPS_CLOSE_WAIT: 1635 so->so_error = ECONNRESET; 1636 close: 1637 tp->t_state = TCPS_CLOSED; 1638 tcpstat.tcps_drops++; 1639 tp = tcp_close(tp); 1640 break; 1641 1642 case TCPS_CLOSING: 1643 case TCPS_LAST_ACK: (kgdb) Is this enough or would a crashdump be more useful? Bye Marc, who is learning a lot about debugging ;-)