From owner-freebsd-current Fri Oct 4 20:34:32 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 3B6F137B401; Fri, 4 Oct 2002 20:34:31 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 897A543E42; Fri, 4 Oct 2002 20:34:30 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.4/8.12.4) with SMTP id g953Y1Oo076471; Fri, 4 Oct 2002 23:34:01 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Fri, 4 Oct 2002 23:34:01 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Ian Dowse Cc: n0go013 , "Greg 'groggy' Lehey" , current Subject: Re: [ GEOM tests ] disklabel warnings and vinum drives lost In-Reply-To: <200210050408.aa61102@salmon.maths.tcd.ie> Message-ID: 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 On Sat, 5 Oct 2002, Ian Dowse wrote: > >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 went ahead and booted and ran the merged patch on my testbox, and Vinum is up and running fine with GEOM. I think we're set to commit -- do you want to, or shall I? Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message