From owner-freebsd-questions@FreeBSD.ORG Tue May 6 19:26:47 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC74337B401 for ; Tue, 6 May 2003 19:26:47 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id C040B43F93 for ; Tue, 6 May 2003 19:26:45 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id A7A2951A8A; Wed, 7 May 2003 11:56:43 +0930 (CST) Date: Wed, 7 May 2003 11:56:43 +0930 From: Greg 'groggy' Lehey To: James Taylor Message-ID: <20030507022643.GF52037@wantadilla.lemis.com> References: <20030506234900.31197.qmail@web14612.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0h4+rw7qdMK7T5x1" Content-Disposition: inline In-Reply-To: <20030506234900.31197.qmail@web14612.mail.yahoo.com> 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 cc: freebsd-questions@freebsd.org Subject: Re: Vinum Support on 5.0 release X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2003 02:26:48 -0000 --0h4+rw7qdMK7T5x1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline [Format recovered--see http://www.lemis.com/email/email-format.html] Program output wrapped. On Tuesday, 6 May 2003 at 16:49:00 -0700, James Taylor wrote: > Hi everyone, I'm pretty new to FreeBSD and am having some trouble > compiling Vinum support into my kernel. I'm running 5.0 release for > Sparc64. I'm going through the kernel-recompile howto, editing the > /usr/src/sys/sparc64/conf/MYKERNEL (copy of GENERIC), > adding the line: device vinum > > Looking through google, people have been saying to add pseudo-device > vinum, however since that absolutely doesn't work at all, I'm > guessing that method is depreciated. This is because the keywords have changed. 'device' is correct now. > When I go to run make buildkernel KERNCONF=MYKERNEL, everything goes > through and looks like it's going fine until it goes to compile > vinum, whereupon I get the following error: > > error /usr/src/sys/dev/vinum/vinum.c > /usr/src/sys/dev/vinum/vinum.c: In function `vinumattach': > /usr/src/sys/dev/vinum/vinum.c:112: structure has no member named `p_intr_nesting_level' > /usr/src/sys/dev/vinum/vinum.c:119: structure has no member named `p_intr_nesting_level' > /usr/src/sys/dev/vinum/vinum.c:126: structure has no member named `p_intr_nesting_level' > /usr/src/sys/dev/vinum/vinum.c:133: structure has no member named `p_intr_nesting_level' > > And then it dies, and I'm out of luck. Can anyone point me in the > correct direction on this one? Thanks The preferred way to install Vinum is with the kld. Vinum and SPARC64 have only recently come together, which is why you may not have a kld for Vinum. If you have to build a kernel for Vinum, you should include the following line: options VINUMDEBUG #enable Vinum debugging hooks If that doesn't work, let me know and I'll see what else I can do. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers --0h4+rw7qdMK7T5x1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE+uG7jIubykFB6QiMRAgggAKCk8BejcdViYJoCUkXaDtC/Qr1a9ACgs9Ac p7wSQS7/cJ+FgatHGE8enuE= =VIIy -----END PGP SIGNATURE----- --0h4+rw7qdMK7T5x1--