From owner-freebsd-questions Tue Mar 16 14:18: 8 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 62BD1151D8 for ; Tue, 16 Mar 1999 14:17:12 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id IAA17049; Wed, 17 Mar 1999 08:46:53 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id IAA68696; Wed, 17 Mar 1999 08:46:52 +1030 (CST) Message-ID: <19990317084651.V429@lemis.com> Date: Wed, 17 Mar 1999 08:46:51 +1030 From: Greg Lehey To: Brad Knowles , Philip Kizer Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Vinum questions? References: <19990316085155.E429@lemis.com> <19990216135418.023445@relay.skynet.be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <19990216135418.023445@relay.skynet.be>; from Brad Knowles on Tue, Feb 16, 1999 at 01:54:18PM +0100 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Format recovered at freebie.lemis.com] On Tuesday, 16 February 1999 at 13:54:18 +0100, Brad Knowles wrote: > On Tue, Mar 16, 1999, Greg Lehey wrote: > >> You've gone and removed -DVINUMDEBUG somewhere, haven't you? There >> was a warning in vinum(4), but it's possibly confusing. I've changed >> it to: > > Yup, I removed it. I was under the impression that it needed to be > set everywhere, and that the stuff that came with the machine had been > pre-compiled without -DVINUMDEBUG being set, so I likewise removed it > from the stuff I was building to coincide with that. If I can figure out > where I removed that option, I can go back in and re-enable it, then > recompile, reboot, and reload. In /usr/src/sbin/vinum/Makefile: CFLAGS+= -I${.CURDIR}/../../sys -g -Wall -DVINUMDEBUG In /usr/src/sys/modules/vinum/Makefile: CFLAGS+= -DVINUMDEBUG -g -O >> DEBUG OPTIONS >> The current version of vinum, both the kernel module and the user program >> vinum(8), include significant debugging support. It is not recommended >> to remove this support at the moment, but if you do you must remove it >> from both the kernel and the user components. > > This is the part that confused me. I wasn't sure that it was > specified in both places, so I made sure to remove it from the kernel > config file and the appropriate Makefiles. If you looked at the Makefiles, you should have seen what I showed above. >> To do this, edit the files >> /usr/src/sbin/vinum/Makefile and /usr/src/sys/modules/vinum/Makefile and >> edit the CFLAGS variable to remove the -DVINUMDEBUG option. If you have >> configured vinum into the kernel, either specify the line >> >> options VINUMDEBUG >> >> in the kernel configuration file or remove the -DVINUMDEBUG option from >> /usr/src/sbin/vinum/Makefile as described above. > > I had originally had this option specified in the kernel > configuration file, then got confused. So, I removed it from the kernel > configuration file and the > /usr/src/sbin/vinum/Makefile as well. Obviously, I need to go back in > and re-enable this option. If it's disabled in both places, you should be OK. I suspect you haven't removed it from some place, or you haven't installed the new version of /sbin/vinum. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message