From owner-freebsd-bugs@FreeBSD.ORG Mon Feb 1 21:50:01 2010 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 1D51D1065676 for ; Mon, 1 Feb 2010 21:50:01 +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 D225E8FC13 for ; Mon, 1 Feb 2010 21:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o11Lo0CU038793 for ; Mon, 1 Feb 2010 21:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o11Lo0iY038792; Mon, 1 Feb 2010 21:50:00 GMT (envelope-from gnats) Resent-Date: Mon, 1 Feb 2010 21:50:00 GMT Resent-Message-Id: <201002012150.o11Lo0iY038792@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Patrick Mackinlay Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB944106566B for ; Mon, 1 Feb 2010 21:43:49 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 8047D8FC0C for ; Mon, 1 Feb 2010 21:43:49 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o11LhnU1055924 for ; Mon, 1 Feb 2010 21:43:49 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o11Lhn4R055893; Mon, 1 Feb 2010 21:43:49 GMT (envelope-from nobody) Message-Id: <201002012143.o11Lhn4R055893@www.freebsd.org> Date: Mon, 1 Feb 2010 21:43:49 GMT From: Patrick Mackinlay To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/143455: gstripe in RELENG_8 (31st Jan 2010) broken X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2010 21:50:01 -0000 >Number: 143455 >Category: misc >Synopsis: gstripe in RELENG_8 (31st Jan 2010) broken >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 01 21:50:00 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Patrick Mackinlay >Release: RELENG_8 (31st Jan 2010) amd64 >Organization: >Environment: FreeBSD patrick.uknet.spacesurfer.com 8.0-STABLE FreeBSD 8.0-STABLE #0: Mon Feb 1 00:58:56 UTC 2010 root@patrick.uknet.spacesurfer.com:/usr/obj/usr/src/sys/PATRICK amd64 >Description: My machine is setup so that I have a geli device running on a gstripe device made from 2 gmirror devices. My boot loader is set to load gmirror, gstripe and geli. On boot my rc.local calls a script to mount the encrypted partition. Please see below for details: gmirror status Name Status Components mirror/forstripe01s2 COMPLETE ad0s2 ad1s2 mirror/forstripe23s2 COMPLETE ad2s2 ad3s2 gstripe status Name Status Components stripe/forgeli UP mirror/forstripe01s2 mirror/forstripe23s2 geli status Name Status Components stripe/forgeli.eli N/A stripe/forgeli cat /boot/loader.conf snd_hda_load="YES" geom_mirror_load="YES" geom_stripe_load="YES" geom_eli_load="YES" sem_load="YES" kern.geom.stripe.fast=1 kern.geom.stripe.maxmem=2621440 kern.geom.eli.threads=2 cat /root/setup/cryptstart.sh #!/bin/sh #gmirror load #gstripe load #geli load #gmirror label forstripe01s2 ad0s2 ad1s2 #gmirror label forstripe23s2 ad2s2 ad3s2 gstripe create forgeli /dev/mirror/forstripe01s2 /dev/mirror/forstripe23s2 geli attach /dev/stripe/forgeli fsck_ufs -C -y /dev/stripe/forgeli.eli mount /dev/stripe/forgeli.eli /mnt/data Recently (31st Jan 2010) I rebuilt my kernel and OS from the lastest RELENG_8 cvs tag code base. When I rebooted the geli attach command would fail (Could not read meta data). I eventually narrowed this down to a problem with gstripe by booting from a 8.0 release install. That install would still work even when I changed the kernel to the RELENG_8 kernel I had build previously, not that the newly built gmirror and geli commands also worked, using the newly build gstripe command was the problem. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: