Date: Wed, 6 Oct 2004 21:55:32 +0200 From: Marc "UBM" Bocklet <ubm@u-boot-man.de> To: Brian Fundakowski Feldman <green@freebsd.org> Cc: current@freebsd.org Subject: Re: [BETA7-panic] sodealloc(): so_count 1 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> <cd70c68104100517074a5cebf2@mail.gmail.com> <20041006090104.06710d85.ubm@u-boot-man.de> <20041006154137.GJ47017@green.homeunix.org> <20041006203220.7f8e7b8a.ubm@u-boot-man.de> <20041006192518.GM47017@green.homeunix.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 6 Oct 2004 15:25:18 -0400 Brian Fundakowski Feldman <green@freebsd.org> 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 <debug-kernel> /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 ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041006215532.22b6868c.ubm>