From owner-freebsd-bugs@FreeBSD.ORG Tue Jan 27 11:00:13 2009 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 70A1E106568B for ; Tue, 27 Jan 2009 11:00:13 +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 4A04D8FC1C for ; Tue, 27 Jan 2009 11:00:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0RB0DtH045275 for ; Tue, 27 Jan 2009 11:00:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0RB0DNr045260; Tue, 27 Jan 2009 11:00:13 GMT (envelope-from gnats) Resent-Date: Tue, 27 Jan 2009 11:00:13 GMT Resent-Message-Id: <200901271100.n0RB0DNr045260@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, Hannes Hauswedell Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CF71106566C for ; Tue, 27 Jan 2009 10:55:13 +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 EEB6B8FC1E for ; Tue, 27 Jan 2009 10:55:12 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n0RAtCAE040413 for ; Tue, 27 Jan 2009 10:55:12 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n0RAtC3H040406; Tue, 27 Jan 2009 10:55:12 GMT (envelope-from nobody) Message-Id: <200901271055.n0RAtC3H040406@www.freebsd.org> Date: Tue, 27 Jan 2009 10:55:12 GMT From: Hannes Hauswedell To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/131037: Unable to create disklabel on .eli-Device 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: Tue, 27 Jan 2009 11:00:14 -0000 >Number: 131037 >Category: kern >Synopsis: Unable to create disklabel on .eli-Device >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 27 11:00:12 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Hannes Hauswedell >Release: 7.0RC2 >Organization: >Environment: FreeBSD fbsdmain.lan.home 7.0-RC2 FreeBSD 7.0-RC2 #0: Fri Feb 8 00:09:57 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: I am having serious problems creating a label on a geli'ed slice. I have posted this on freebsd-geom, but havent gotten any repsonses so far. It is quite urgent for me to get this running though and it does look like a bug, so I posted here. I can create the slice, create the geli container and write a standard label to it. As soon as I edit the label and save it (even if not changing anything from the default) I get: WARNING: Expected rawoffset 487974, found 487974 (Or another number depending on where I created the slice...) Which looks strange in itself - after all, what kind of messages does GEOM give if does NOT find the expected offset? ^^ I tried to ignore the warning and just started copying data on a partition inside the slice, but got a reboot with geli-write errors (=5) in /var/log/messages. I tried repartitioning and relabeling multiple times to no avail. Thanks for any help! Hannes P.S: ar0 is a soft-raid of 1TB Samsung F1 EcoGreen and 1TB WD Cavier Green EADS. The errors also occur when working on each disk individually. >How-To-Repeat: geli init -l 256 -K MYKEY -s 4096 /dev/ar0s2 geli attach -k MYKEY /dev/ar0s2 bsdlabel -w /dev/ar0s2.eli bsdlabel -e /dev/ar0s2.eli (change nothing and exit EDITOR) >Fix: I tried to read the part in sys/geom/geom_bsd.c that produces the warning, but don't understand it :( Then again it is prefixed by: /* Historical braindamage... */ So I don't know if anyone else does :/ >Release-Note: >Audit-Trail: >Unformatted: