From owner-freebsd-current@FreeBSD.ORG Wed Mar 26 01:02:43 2003 Return-Path: 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 40BE337B404; Wed, 26 Mar 2003 01:02:43 -0800 (PST) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC9E443F85; Wed, 26 Mar 2003 01:02:41 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])h2Q92bH13277; Wed, 26 Mar 2003 10:02:38 +0100 (MET) Date: Wed, 26 Mar 2003 10:02:37 +0100 (CET) From: Harti Brandt To: "Kenneth D. Merry" In-Reply-To: <20030325183905.A25690@panzer.kdm.org> Message-ID: <20030326100102.Q1534@beagle.fokus.fraunhofer.de> References: <20030325184134.E77254@beagle.fokus.fraunhofer.de> <20030325183905.A25690@panzer.kdm.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-22.9 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: Greg 'groggy' Lehey cc: current@FreeBSD.ORG Subject: Re: vinum broken by devstat changes? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2003 09:02:45 -0000 On Tue, 25 Mar 2003, Kenneth D. Merry wrote: KDM>On Wed, Mar 26, 2003 at 11:06:52 +1030, Greg 'groggy' Lehey wrote: KDM>> On Tuesday, 25 March 2003 at 18:44:03 +0100, Hartmut Brandt wrote: KDM>> > KDM>> > Hi, KDM>> > KDM>> > when calling 'vinum start' it responds with KDM>> > KDM>> > usage: read drive [drive ...] KDM>> > KDM>> > from looking at the code, it appears that it cannot find the disk drives KDM>> > to read the configuration from. KDM>> > KDM>> > vinum read da0 da1 KDM>> > KDM>> > just works. KDM>> > KDM>> > So what's the problem? (kernel and user land from today) KDM>> KDM>> Check vinum(8), function vinum_start (in KDM>> /usr/src/sbin/vinum/commands.c). It's possible that the changes have KDM>> broken some of the tests, probably of stat->device_type. I can't KDM>> think it's too difficult to fix. KDM> KDM>disk_create() now creates the devstat entry for disks, but defaults KDM>everything to be a direct access (with no interface type). KDM> KDM>I've got patches in progress to fix that, but it looks like things should KDM>work with the current state of affairs. KDM> KDM>Have you rebuilt world? That was just a fresh world and kernel. It took me some time to get it up again - the vinum partition holds the ports for my other machines. I just have no time to work on this... KDM>It looks like vinum(8) doesn't include a call to devstat_checkversion(), so KDM>it's possible you've got a version mismatch but no way to know it. harti -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org