From owner-freebsd-current Tue Jan 8 2:58: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from ns.plaut.de (ns.plaut.de [194.99.75.166]) by hub.freebsd.org (Postfix) with ESMTP id 439C937B416 for ; Tue, 8 Jan 2002 02:58:04 -0800 (PST) Received: (from uucp@localhost) by ns.plaut.de (8.9.3/8.9.3) with UUCP id LAA03763 for current@freebsd.org; Tue, 8 Jan 2002 11:56:56 +0100 (CET) (envelope-from root@nihil.plaut.de) Received: from localhost (root@localhost) by nihil.plaut.de (8.11.3/8.8.8) with ESMTP id g08Bosl00432 for ; Tue, 8 Jan 2002 12:50:54 +0100 (CET) (envelope-from root@nihil) Date: Tue, 8 Jan 2002 12:50:54 +0100 (CET) From: Michael Reifenberger To: FreeBSD-Current Subject: panic during fdisk'ing a md(4) device Message-ID: <20020108124515.C418-100000@nihil> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, the following script panics my system when executed twice: (uncomment the dd lines for the first time or do it manually) ###################### #!bin/sh block_size=512 blocks=$((120 * 1024 * 1024 / $block_size)) heads=16 sectors=63 cyl_size=$(($heads * $sectors)); cylinders=$(($blocks / $cyl_size + 2)) #dd if=/dev/zero of=root.image \ # bs=$block_size count=$(($cyl_size * $cylinders)) mdconfig -d -u 11 mdconfig -a -t vnode -f root.image -u 11 fdisk -f - -iv /dev/md11 <