From owner-freebsd-stable@FreeBSD.ORG Thu Mar 2 18:08:48 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 364B216A420 for ; Thu, 2 Mar 2006 18:08:48 +0000 (GMT) (envelope-from nakal@nurfuerspam.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 6C6E843D48 for ; Thu, 2 Mar 2006 18:08:47 +0000 (GMT) (envelope-from nakal@nurfuerspam.de) Received: (qmail invoked by alias); 02 Mar 2006 18:08:45 -0000 Received: from p5090D269.dip.t-dialin.net (EHLO klotz.local) [80.144.210.105] by mail.gmx.net (mp031) with SMTP; 02 Mar 2006 19:08:45 +0100 X-Authenticated: #989277 Received: from [192.168.0.1] (klotz.local [192.168.0.1]) by klotz.local (8.13.4/8.13.4) with ESMTP id k22I8enh001514 for ; Thu, 2 Mar 2006 19:08:42 +0100 (CET) (envelope-from nakal@nurfuerspam.de) Message-ID: <440734A8.1010908@nurfuerspam.de> Date: Thu, 02 Mar 2006 19:08:40 +0100 From: Martin User-Agent: Thunderbird 1.5 (X11/20060205) MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Subject: 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:08:48 -0000 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. -- Martin