From owner-freebsd-stable@FreeBSD.ORG Thu Jan 14 12:44:24 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 414E11065672 for ; Thu, 14 Jan 2010 12:44:24 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-fx0-f221.google.com (mail-fx0-f221.google.com [209.85.220.221]) by mx1.freebsd.org (Postfix) with ESMTP id C9F658FC14 for ; Thu, 14 Jan 2010 12:44:23 +0000 (UTC) Received: by fxm21 with SMTP id 21so11915642fxm.13 for ; Thu, 14 Jan 2010 04:44:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=IEuY5OpMCVYgIN3W/igHLa/7owVH6FhU5uvrJ5leF8c=; b=JOYrHUep0BLSXQGOeqBYgF/+HJ99aVsW5cLaXrarIX/Z/ziMWQ10ZGqUHJVhMrK1zp SMNyTnFja8CImb7jzssFcwc1+WJ75VvYVaUY4a1myoNFaJkWlhp2t8kKHUsQFi5z2mRr A+JbsCCwVlCTkgdwOoGMlNW4e1sB+gHZmp4DU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=X5LtKN6GJT/AdqA4uz42NOf7JqartVfXz5FNwiuSZzcexhTlxMZylMoJthXECt53CU aCoNMFqCy4UDxRjXYUTGzhtEf2vxTexrj/cROTHSdaGyMRe5c5DULUAA7BlXlgXSYJvr P6K1GJTQH9htqYV4GPY2QjQ/0U6JhXHN9EI4k= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.223.16.72 with SMTP id n8mr974159faa.26.1263473056644; Thu, 14 Jan 2010 04:44:16 -0800 (PST) In-Reply-To: References: <3bbf2fe11001130112l26f7370dr2e282455a934a0b@mail.gmail.com> Date: Thu, 14 Jan 2010 13:44:16 +0100 X-Google-Sender-Auth: c0a5a54d9eee2684 Message-ID: <3bbf2fe11001140444o1201f155m564465609436a561@mail.gmail.com> From: Attilio Rao To: Pete French Content-Type: text/plain; charset=UTF-8 Cc: freebsd-stable@freebsd.org Subject: Re: [PATCH] Lockmgr deadlock on STABLE_8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2010 12:44:24 -0000 2010/1/14 Pete French : >> http://www.freebsd.org/~attilio/lockmgr_fix8.diff >> >> I'm seeking for testers here. >> Any report would be very much appreciated. > > I tested the patch on my machine which locks up, and I am afraid that it > still locks, even with the patch applied. The last things on the console > before the lock are. > > 1) A whole load of sshd errors for one of those flood attacks which try > multiple usersnames. This is not unusual, all my systems with an external > ssh port see this. > > 2) Four 'Watchdog timeout occurreed, resetting!" messages from if_bce.c. > These are new - without your patch I did not get these. > > I have tried rnning this machine with WITNESS in the kernel, but it > will not deadlock then. Without WiTNESS it will lock up in about > twelve hours. I am going to try with just KDB and DDB to see if I can get > it into a state where we can get some useful information out of it. Also enable INVARIANTS. While there (with my patch applied) please setup textdump in order to report the following DDB commands (and once it deadlocks break in DDB): bt, show allpcpu, ps, alltrace, show alllocks Try also to get a coredump (and if you can't report immediately to us and try to not turn off the machine in order to apply following instructions). Attilio -- Peace can only be achieved by understanding - A. Einstein