From owner-freebsd-current@FreeBSD.ORG Sun May 13 19:45:47 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 24BE216A400 for ; Sun, 13 May 2007 19:45:47 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.224]) by mx1.freebsd.org (Postfix) with ESMTP id D4B7613C459 for ; Sun, 13 May 2007 19:45:46 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so1403277wra for ; Sun, 13 May 2007 12:45:46 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=rHZvqgVh5MvShh1usRV7iLo+h8+zNQu0hXeISGaqMUJTk3CpgETHo7pGAdjZw3w/1XqhFyID37YiPA1uxPSc6SK28Fa39XUaqBuAjlREGYNpEwEJG4t+TMHPBo32pYQ0zGFXh6MRYWr/uGqnxK2UufTPaIdPxjF6ycqqreWVtug= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=CaqbzdPfS683fdCQkOIVtYaVLwo583wQpxGdTIV/Th3qqIpKFMyZTpZQMD/S4XlxCeLDKCmVIC+0/Ld0rQc63yGHlwQFGPbjI6oNKxCv9KOaBjzYvZOkXwFVUSoOR5EfLmm/WlybPhLi715uENnbPFwzcTgoWOEQykbCOyuhOrc= Received: by 10.78.177.3 with SMTP id z3mr2116089hue.1179085545473; Sun, 13 May 2007 12:45:45 -0700 (PDT) Received: by 10.78.120.9 with HTTP; Sun, 13 May 2007 12:45:45 -0700 (PDT) Message-ID: <3bbf2fe10705131245y276af14as53f3839e62024473@mail.gmail.com> Date: Sun, 13 May 2007 21:45:45 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Stefan Bethke" In-Reply-To: <5729FCC6-7CD5-4D26-B075-9D517B9A06D5@lassitu.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <97D4D7C1-8FE4-48C1-9604-A567420796D5@lassitu.de> <4644D331.9080901@freebsd.org> <5729FCC6-7CD5-4D26-B075-9D517B9A06D5@lassitu.de> X-Google-Sender-Auth: c659ecc806bcbc04 Cc: FreeBSD Current , Andre Oppermann 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 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 May 2007 19:45:47 -0000 2007/5/11, Stefan Bethke : > > Am 11.05.2007 um 22:33 schrieb Andre Oppermann: > > > Stefan Bethke wrote: > >> Got this reproducable panic on AMD64 on a couple of days old - > >> current when I try to copy a file off a ZFS dataset via > >> netatalk's afpd (via TCP, no actual AppleTalk involved). > > > > This is a recursive leak of the INP_INFO_LOCK() you've hit here. > > We don't > > know yet where it gets leaked but we're working on it. > > Hhm. I can trigger it very easily. I don't have a serial console on > this box, but I could try a few things in a debugger if anyone wants > me to look at anything in particular. Hello Stefan, can you please recompile your kernel with INVARIANTS, DDB and KTR support? Just add those lines: options INVARIANTS options INVARIANT_SUPPORT options KDB options DDB options KTR options KTR_COMPILE=(KTR_LOCK) options KTR_ENTRIES=65534 and possibly remove kbdmux from your config file (not sure if it has still problems with our syscons, though). Then, when you hit that panic you should just be redirected to ddb. At that point please write 'show ktr' in the ddb prompt and report what it shows. Thanks in advance, Attilio -- Peace can only be achieved by understanding - A. Einstein