From owner-freebsd-stable@FreeBSD.ORG Fri Nov 19 13:34:30 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DA6A16A4CE; Fri, 19 Nov 2004 13:34:30 +0000 (GMT) Received: from ptcnat.era.pl (ptcnat.era.pl [213.158.197.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51BEA43D46; Fri, 19 Nov 2004 13:34:29 +0000 (GMT) (envelope-from zaks@era.pl) Received: by localhost (Postfix, from userid 1001) id 59D3C11445; Fri, 19 Nov 2004 14:34:28 +0100 (CET) From: =?iso-8859-2?Q?S=B3awek_=AFak?= To: "Robert Watson" References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit Message-Id: <20041119133428.59D3C11445@localhost> Date: Fri, 19 Nov 2004 14:34:28 +0100 (CET) cc: stable@freebsd.org cc: pjd@freebsd.org Subject: Re: Network related panic on FreeBSD 5.3-STABLE/AMD64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2004 13:34:30 -0000 "Robert Watson" writes: > On Fri, 19 Nov 2004, [iso-8859-2] Sławek Żak wrote: > >> "Robert Watson" writes: >> >> > On Fri, 19 Nov 2004, Robert Watson wrote: >> > >> >> >> >> On Fri, 19 Nov 2004, Slawek Zak wrote: >> >> >> >> > I can reproduce it easily, >> >> > >> >> > The panic message and backtrace is: >> >> >> >> Could I get you to convert the symbol+offsets below to line numbers >> >> using gdb on a copy of your kernel with debugging symbols? In >> >> particular, the offsets into tcp_output, tcp_input, and ip_input. >> >> Here are the offsets: >> >> tcp_input.c:1993 >> tcp_output.c:804 >> ip_input.c:743 >> >> As for SOCKBUF_DEBUG I'll reboot and try. > > Using the core, could you also print the contents of *so and > *so->so_snd.sb_mb in the tcp_output frame? The problem is, that I cannot obtain proper backtrace in gdb, so I cannot get to the tcp_output frame. I've found the above locations with addr2line and a pocket calculator. Take a look at the gdb session: # kgdb kernel.debug vmcore.0 [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 "amd64-marcel-freebsd". 0x00000000 in ?? () (kgdb) (kgdb) bt #0 0x00000000 in ?? () pjd@ told me to try and disable SACK. The machine worked fine without SACK enabled for 30 minutes then 2 minutes after I've re-enabled SACK it crashed again with the same panic message. All patches are most welcome. Thanks, /S