From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 22:19:51 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org 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 BCAAA16A427 for ; Thu, 27 Apr 2006 22:19:51 +0000 (UTC) (envelope-from brad-fbsd-stable@duttonbros.com) Received: from uno.mnl.com (uno.mnl.com [63.97.246.49]) by mx1.FreeBSD.org (Postfix) with SMTP id 284FD43D6A for ; Thu, 27 Apr 2006 22:19:49 +0000 (GMT) (envelope-from brad-fbsd-stable@duttonbros.com) Received: (qmail 13189 invoked by uid 85); 27 Apr 2006 22:19:46 -0000 Received: from 127.0.0.1 by uno (envelope-from , uid 89) with qmail-scanner-1.25 (spamassassin: 2.55. Clear:RC:1(127.0.0.1):. Processed in 0.060927 secs); 27 Apr 2006 22:19:46 -0000 Received: from unknown (HELO uno.mnl.com) (127.0.0.1) by localhost with SMTP; 27 Apr 2006 22:19:45 -0000 Received: from 67.169.82.217 (SquirrelMail authenticated user bdutton) by uno.mnl.com with HTTP; Thu, 27 Apr 2006 15:19:45 -0700 (PDT) Message-ID: <54892.67.169.82.217.1146176385.squirrel@uno.mnl.com> In-Reply-To: <20060427173550.GA22635@garage.freebsd.pl> References: <62791.67.169.82.217.1145819073.squirrel@uno.mnl.com> <20060427065534.GI17000@garage.freebsd.pl> <20060427173550.GA22635@garage.freebsd.pl> Date: Thu, 27 Apr 2006 15:19:45 -0700 (PDT) From: "Bradley W. Dutton" To: "Pawel Jakub Dawidek" User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: markus@freebsd.org, freebsd-stable@freebsd.org Subject: Re: 6.1 prerelease graid3 livelock? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: brad-fbsd-stable@duttonbros.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 22:19:51 -0000 Ok, I had already installed and booted the first patch. I then rebuilt the kernel with the second patch. Trying to reboot from the first patch to the second resulted in a crash/panic on shutdown. I didn't capture the output from this. Once I booted the second patch the machine panics in the boot process, in short: /dev/raid3t/moviesf: clean,o 190615 free (19p11 frags, 23588 oblocks, 0.8% fralogy locked @ /usr/src/sys/geom/raid3/g_raid3.c:773. KDB: enter: panic [thread pid 35 tid 100030 ] Stopped at kdb_enter+0x30: leave The text copied from the serial console was a little garbled, it did say something like: sx lock, geom topology locked... I did an "alltrace" at that point which I'll send seperately. Thanks, Brad > On Thu, Apr 27, 2006 at 08:55:35AM +0200, Pawel Jakub Dawidek wrote: > +> On Sun, Apr 23, 2006 at 12:04:33PM -0700, Bradley W. Dutton wrote: > +> +> Hi, > +> +> > +> +> I'm experiencing a sort of livelock on a 6.1 prerelease box. It > appears > +> +> all of the IO related activity hangs but the box continues to do > +> +> routing/NAT/etc for internet access from my other boxes. I can > usually > +> +> get the lockup to occur within about 12 hours of booting. > +> > +> Ok, I think I found it. Could you try this patch: > +> > +> http://people.freebsd.org/~pjd/patches/g_raid3.c.4.patch > > markus@ reported the livelock is still there, so please try this patch > instead: > > http://people.freebsd.org/~pjd/patches/g_raid3.c.5.patch