From owner-freebsd-current@FreeBSD.ORG Tue May 15 09:41:34 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6400816A404 for ; Tue, 15 May 2007 09:41:34 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id E78B513C489 for ; Tue, 15 May 2007 09:41:33 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so1217735ugh for ; Tue, 15 May 2007 02:41:32 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=qgMimb3RZboI+PQNCHHC1csm1HdXCyayHzw9Nnim174GDmQvYevVliWjNLyMPeaj7gVZOae9U3eHj9eNsDbk8SbXY2ZcdLNiV3ReqtBVxonZf3qrCiAqY09GPKUXgghO7rA0qZWWXjQ7HtcqV1B02RaitOOmv1eygjf9qAX2Vpw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=Lc6myBhRHL5QykmvS47ufbayhG5tP4GVLYq8pWt7dGTfZTnkYdRoW+dIY4qJJKSb/XclJZlrTKniEVCvplJjmDL3PUmXbletEPz4UMmZWkp/ssIgEDNYcuitcep9Drs4xp33Klufse8FRQVrE7CunCr+S7zvBsMXC/miXukgqJ0= Received: by 10.67.115.7 with SMTP id s7mr2542826ugm.1179222088592; Tue, 15 May 2007 02:41:28 -0700 (PDT) Received: from ?172.31.5.25? ( [89.97.252.178]) by mx.google.com with ESMTP id q40sm4669382ugc.2007.05.15.02.41.27; Tue, 15 May 2007 02:41:27 -0700 (PDT) Message-ID: <4649F194.7070106@FreeBSD.org> Date: Tue, 15 May 2007 19:44:52 +0200 From: Attilio Rao User-Agent: Thunderbird 1.5 (X11/20060526) MIME-Version: 1.0 To: Stefan Bethke References: <97D4D7C1-8FE4-48C1-9604-A567420796D5@lassitu.de> <4644D331.9080901@freebsd.org> <5729FCC6-7CD5-4D26-B075-9D517B9A06D5@lassitu.de> <3bbf2fe10705131245y276af14as53f3839e62024473@mail.gmail.com> <355DA9CE-F097-46EA-8D37-BA4C27019246@lassitu.de> <20070513222114.GA64807@xor.obsecurity.org> <68AA0B73-75E0-4E20-8AE0-74FB2FB654ED@lassitu.de> <20070513232413.GA65863@xor.obsecurity.org> <20070514080510.GB71110@xor.obsecurity.org> <47AE9AC9-13D4-45A0-B199-CFB348D9B284@lassitu.de> In-Reply-To: <47AE9AC9-13D4-45A0-B199-CFB348D9B284@lassitu.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: Attilio Rao Cc: FreeBSD Current , Andre Oppermann , Kris Kennaway Subject: Re: panic: mutex tcp owned at /usr/src/sys/netinet/tcp_input.c:2475 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: attilio@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2007 09:41:34 -0000 Stefan Bethke wrote: > > Am 14.05.2007 um 10:05 schrieb Kris Kennaway: > >> On Mon, May 14, 2007 at 09:57:13AM +0200, Stefan Bethke wrote: >> >>> OK, got it. However, it's a bit more than I'm willing to hand- >>> transcribe :-) >>> >>> Any way of saving this info without a serial console or a digital >>> camera? >>> >>> I'll try to get a serial port the next couple of days... >> >> I think ktrdump can operate on a core. > > Sorry, the first file was truncated. For the benefit of the list, I've > uploaded it here: > http://www.lassitu.de/freebsd/20070510/ > http://www.lassitu.de/freebsd/20070510/ktrdump.txt.gz Hello Stefan, thanks a lot for your effort, I've seen exactly what I expected (a leaked recursion on 0xffffff002ae8dbd8 mutex (that I suspect is "TCP"). Since none of us can do on-line debugging in your machine, can you please download that patch, apply it, recompile your kernel and doing these tests again?: http://users.gufi.org/~rookie/works/patches/kern_mutex.diff It will give a good understanding of where the recursion happens and where probabilly expected unrecursion fails. Thanks, Attilio