From owner-freebsd-bugs@FreeBSD.ORG Thu May 7 16:10:03 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA4151065672 for ; Thu, 7 May 2009 16:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C74BE8FC0A for ; Thu, 7 May 2009 16:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n47GA37i046040 for ; Thu, 7 May 2009 16:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n47GA32w046039; Thu, 7 May 2009 16:10:03 GMT (envelope-from gnats) Date: Thu, 7 May 2009 16:10:03 GMT Message-Id: <200905071610.n47GA32w046039@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Scott Long Cc: Subject: Re: kern/130330: [mpt] [panic] Panic and reboot machine MPT driver when raid is Degraded. <LSILOGIC 1030 IM 1000> X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Scott Long List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2009 16:10:04 -0000 The following reply was made to PR kern/130330; it has been noted by GNATS. From: Scott Long To: Riccardo Torrini Cc: bug-followup@FreeBSD.org, siedar@nplay.pl, jhb@FreeBSD.org, scottl@FreeBSD.org Subject: Re: kern/130330: [mpt] [panic] Panic and reboot machine MPT driver when raid is Degraded. <LSILOGIC 1030 IM 1000> Date: Thu, 07 May 2009 10:03:39 -0600 Riccardo Torrini wrote: > I restricted the time window of the problem doing (a lot of) > build&install world from 2008.07 up to now (read last week). > > With 2008.07.28.17.00.00 (7.0-STABLE) works fine but > with 2008.07.28.18.00.00 start crashing removing the > the second disk of a mirror (when the mirror is ok) > or adding the second disk of a degraded ones. > > Also note that the same crash happens with all 7.1 > stable or release and even all 7.2-PRE I tested. > > (wrapping long lines) > # cd /home/ncvs/src/sys/ > # grep -R "date.*2008\.07\.28\.17" ./ | grep -v /Attic > > ./dev/wi/if_wi.c,v: > date 2008.07.28.17.00.37; author imp; state Exp; > ./dev/wi/if_wivar.h,v: > date 2008.07.28.17.00.37; author imp; state Exp; > ./dev/mpt/mpt_raid.c,v: > date 2008.07.28.17.10.09; author jhb; state Exp; > ./dev/mpt/mpt_raid.c,v: > date 2008.07.28.17.05.09; author jhb; state Exp; > ./kern/sched_4bsd.c,v: > date 2008.07.28.17.25.24; author jhb; state Exp; > ./modules/et/Makefile,v: > date 2008.07.28.17.56.37; author antoine; state Exp; > > In that time window there are only 4 file changed in > src/sys/dev, and I bet to mpt_raid.c :-) > > This is the commit log extracted from cvsweb > -----8<----- > Revision 1.15.2.1: > Mon Jul 28 17:05:09 2008 UTC (9 months, 1 week ago) by jhb > Branches: RELENG_7 > CVS tags: RELENG_7_1_BP > Branch point for: RELENG_7_1 > Diff to: previous 1.15: preferred, colored > Changes since revision 1.15: +4 -4 lines > > SVN rev 180920 on 2008-07-28 17:05:09Z by jhb > > MFC: Allocate a single CCB at the start of the main loop of the RAID > monitoring kthread of the mpt(4) driver. > -----8<----- > > Here are the diff: > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/mpt/mpt_raid.c.diff?r1=1.15;r2=1.15.2.1 > > > What can I do now? > > THanks for the report. I'll look at it. Scott