From owner-freebsd-current Fri Oct 4 20:26:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEDCD37B401; Fri, 4 Oct 2002 20:26:17 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id A748443E3B; Fri, 4 Oct 2002 20:26:16 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 8B5D281432; Sat, 5 Oct 2002 12:56:14 +0930 (CST) Date: Sat, 5 Oct 2002 12:56:14 +0930 From: Greg 'groggy' Lehey To: Ian Dowse Cc: Robert Watson , n0go013 , current Subject: Re: [ GEOM tests ] disklabel warnings and vinum drives lost Message-ID: <20021005032614.GK83766@wantadilla.lemis.com> References: <200210050310.ab54012@salmon.maths.tcd.ie> <200210050408.aa61102@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200210050408.aa61102@salmon.maths.tcd.ie> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 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 On Saturday, 5 October 2002 at 4:08:19 +0100, Ian Dowse wrote: > > [CCs trimmed] > >> The divide by zero problem seems to be caused by an interaction >> between two bugs: GEOM refuses to return the sector size because > ... >> The next failure I get is: >> >> Can't write config to /dev/da1s1d, error 45 (EOPNOTSUPP) > > This turns out to be vinum doing a DIOCWLABEL to make the label > writable before writing its configuration, but GEOM does not support > that ioctl I presume. It should be safe to ignore these DIOCWLABEL > ioctl return values as the actual writing of the vinum data should > give a suitable error if making the label writable fails and is > important. The patch below is Robert's patch with all 3 other issues > fixed, and together, this seems to be enough to make vinum work > again. OK, I've taken a look at this, and it looks pretty much like what I have in the pipeline. Yours is presumably tested, so that seems the way to go. Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message