Date: Sat, 5 Oct 2002 12:56:14 +0930 From: Greg 'groggy' Lehey <grog@FreeBSD.org> To: Ian Dowse <iedowse@maths.tcd.ie> Cc: Robert Watson <rwatson@FreeBSD.ORG>, n0go013 <ttz@blahdeblah.demon.co.uk>, current <freebsd-current@FreeBSD.ORG> Subject: Re: [ GEOM tests ] disklabel warnings and vinum drives lost Message-ID: <20021005032614.GK83766@wantadilla.lemis.com> In-Reply-To: <200210050408.aa61102@salmon.maths.tcd.ie> References: <200210050310.ab54012@salmon.maths.tcd.ie> <200210050408.aa61102@salmon.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021005032614.GK83766>