From owner-freebsd-stable@FreeBSD.ORG Thu May 21 07:29:26 2009 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 6F67A1065673; Thu, 21 May 2009 07:29:26 +0000 (UTC) (envelope-from riccardo.torrini@esaote.com) Received: from gw-fi.esaote.com (gw-fi.esaote.com [85.18.189.242]) by mx1.freebsd.org (Postfix) with ESMTP id DEA6E8FC1D; Thu, 21 May 2009 07:29:25 +0000 (UTC) (envelope-from riccardo.torrini@esaote.com) Received: from tiger.fi.esaote.it (tiger.fi.esaote.it [192.168.6.66]) by gw-fi.esaote.com (8.14.3/8.14.3) with ESMTP id n4L7TN8B043832; Thu, 21 May 2009 09:29:23 +0200 (CEST) (envelope-from riccardo.torrini@esaote.com) Received: from tiger.fi.esaote.it (localhost [127.0.0.1]) by tiger.fi.esaote.it (Postfix) with ESMTP id D948F1CC9A; Thu, 21 May 2009 09:29:22 +0200 (CEST) Received: by tiger.fi.esaote.it (Postfix, from userid 201) id BC9B51CC11; Thu, 21 May 2009 09:29:22 +0200 (CEST) Date: Thu, 21 May 2009 09:29:22 +0200 From: Riccardo Torrini To: John Baldwin Message-ID: <20090521072922.GR21112@tiger.fi.esaote.it> References: <20090507155012.GW21112@tiger.fi.esaote.it> <200905121144.21406.jhb@freebsd.org> <20090512161025.GO21112@tiger.fi.esaote.it> <200905201021.23633.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200905201021.23633.jhb@freebsd.org> User-Agent: Mutt/1.5.19 (2009-01-05) X-AV-Checked: ClamAV using ClamSMTP Cc: Attilio Rao , scottl@freebsd.org, siedar@nplay.pl, freebsd-stable@freebsd.org, Riccardo Torrini Subject: Re: kern/130330: [mpt] [panic] Panic and reboot machine MPT ... 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, 21 May 2009 07:29:26 -0000 On Wed, May 20, 2009 at 10:21:23AM -0400, John Baldwin wrote: > Try this. It reverts the single-CCB part of the previous > commit while keeping the other fixes. I missed that the > CCB might still be in flight when we schedule another rescan. Applied to mpt_raid.c,v 1.15.2.1 2008/07/28 17:05:09 jhb (it differ only for line position but adiacent lines are the same). Also redone a diff -u4 to verify, recompiled, installed, and... YOO-HOO. Now it rebuild _without_ crashing. May 20 17:39:08 horse kernel: \ mpt0:vol0(mpt0:0:0): RAID-1 - Degraded mpt0:vol0(mpt0:0:0): Status ( Enabled Re-Syncing ) mpt0:vol0(mpt0:0:0): Low Priority Re-Sync mpt0:vol0(mpt0:0:0): 64461754 of 71087625 blocks remaining Let me test against a 7.2-STABLE (and even to some -CURRENT)... [some times ahead] Bad news: I removed the second disk during rebuilding and it still crash. I take a screen shapshot with camera because of too many messages for write down by hand :) Image, src tarball and info here (about 2.2MB): ftp://ftp.torrini.org/pub/FreeBSD/mpt_crash_on_rebuild/ -- Riccardo.