From owner-freebsd-current Fri Oct 4 11:10:31 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 24C1937B401; Fri, 4 Oct 2002 11:10:30 -0700 (PDT) Received: from blahdeblah.demon.co.uk (blahdeblah.demon.co.uk [62.49.19.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 396E943E4A; Fri, 4 Oct 2002 11:10:29 -0700 (PDT) (envelope-from fergus@blahdeblah.demon.co.uk) Received: from pooh.blahdeblah.demon.co.uk (localhost [127.0.0.1]) by blahdeblah.demon.co.uk (8.12.5/8.12.5) with ESMTP id g94I9DDi011501; Fri, 4 Oct 2002 19:09:13 +0100 (BST) (envelope-from fergus@pooh.blahdeblah.demon.co.uk) Received: (from fergus@localhost) by pooh.blahdeblah.demon.co.uk (8.12.5/8.12.5/Submit) id g94I9Cf7011500; Fri, 4 Oct 2002 19:09:12 +0100 (BST) Date: Fri, 4 Oct 2002 19:09:12 +0100 From: n0go013 To: Poul-Henning Kamp Cc: current , not on list - please copy Subject: Re: [ GEOM tests ] vinum drives lost Message-ID: <20021004180912.GD10830@pooh.blahdeblah.demon.co.uk> Mail-Followup-To: Poul-Henning Kamp , current , not on list - please copy References: <20021004161119.GA10830@pooh.blahdeblah.demon.co.uk> <35389.1033748850@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <35389.1033748850@critter.freebsd.dk> 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 04.10-18:27, Poul-Henning Kamp wrote: > In message n0go013 writes : > >On 04.10-15:40, fergus wrote: > > > On 04.10-14:20, Poul-Henning Kamp wrote: > > > [...] > > > > I suspect vinum uses this sysctl to get an inventory of disks in > > > > the system, so can I get you to try again making sure you have > > > > rev. 1.20 of src/sys/geom/geom_disk.c ? > > [...] > > > i'll let you know the test results when i have some. > > > > same results -- can't initialise any drives. i think the example below > > points more directly to the issue but i'm pretty sure it is because the > > direct read from the disk does not return a valid disklabel. without a > > 'vinum' partition entry vinum spews. > > I have no idea how vinum does this or something else, but clearly > something is not done the right way in vinum... apparently by allocating a bio header via 'geteblk' and calling the DEV_STRATEGY macro. not that it means anything to me but probably to you it does (well i get the idea but . . .). what is the correct way to read the disklabel ? i'll hack around and see if i can't clean up this and the other pieces of direct IO. -- t t z To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message