From owner-freebsd-stable@FreeBSD.ORG Thu Mar 2 18:49:08 2006 Return-Path: X-Original-To: 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 B339516A420 for ; Thu, 2 Mar 2006 18:49:08 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id E966643D45 for ; Thu, 2 Mar 2006 18:49:07 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: (qmail invoked by alias); 02 Mar 2006 18:49:05 -0000 Received: from p5083C13A.dip0.t-ipconnect.de (EHLO sol) [80.131.193.58] by mail.gmx.net (mp012) with SMTP; 02 Mar 2006 19:49:05 +0100 X-Authenticated: #5707313 Date: Thu, 2 Mar 2006 19:48:57 +0100 From: Marius Nuennerich To: Martin Message-ID: <20060302194857.407f9ba8@sol> In-Reply-To: <440734A8.1010908@nurfuerspam.de> References: <440734A8.1010908@nurfuerspam.de> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.12; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: stable@freebsd.org Subject: Re: Panics with md/gvinum/ufs 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, 02 Mar 2006 18:49:08 -0000 On Thu, 02 Mar 2006 19:08:40 +0100 Martin wrote: > > Hi, > > I've done some strange(?) experiments and I managed to get > a panic of type "baddir" and just now another one that only > rebooted my system instantly without writing a vmcore. > > I don't know if this is important. I could not find any > information on how gvinum detects failed hard disks. > That's why I tried something really simple. > > Steps to reproduce: > > 1) > dd if=/dev/zero of=a bs=1024 count=256000 > dd if=/dev/zero of=b bs=1024 count=256000 > dd if=/dev/zero of=c bs=1024 count=256000 > > 2) > mdconfig -a -t vnode -u 0 -f a > mdconfig -a -t vnode -u 1 -f b > mdconfig -a -t vnode -u 2 -f c > > 3) > gvinum create raid5.conf > > with raid5.conf: > drive a device /dev/md0 > drive b device /dev/md1 > drive c device /dev/md2 > volume raid5 > plex org raid5 491k > sd length 0 drive a > sd length 0 drive b > sd length 0 drive c > > 4) > newfs -m 0 /dev/raid5 > > 5) > mount /dev/gvinum/raid5 /mnt/ > mkdir /mnt/aaa > > 6) > dd if=/dev/zero of=c bs=1024 count=256000 > > 7) > cd /mnt/aaa > touch a > > 8) > Repeat the steps 6) and 7) if it does not > panic at this point. Looks similar to the one I reported a few days ago: http://lists.freebsd.org/pipermail/freebsd-geom/2006-March/001095.html regards Marius