From owner-freebsd-questions Tue Mar 16 5: 2:14 1999 Delivered-To: freebsd-questions@freebsd.org Received: from out0.mx.skynet.be (out0.mx.skynet.be [195.238.2.35]) by hub.freebsd.org (Postfix) with ESMTP id 4E7191525F for ; Tue, 16 Mar 1999 05:02:04 -0800 (PST) (envelope-from blk@foxbert.skynet.be) Received: from [195.238.1.121] (brad.techos.skynet.be [195.238.1.121]) by out0.mx.skynet.be (8.9.3/odie-relay-v1.0) with SMTP id OAA24773; Tue, 16 Mar 1999 14:01:15 +0100 (MET) In-Reply-To: <19990316085155.E429@lemis.com> X-Mailer: CTM PowerMail 2.4b2 X-URL: http://www.skynet.be x-sender: blk@foxbert.skynet.be Date: Tue, 16 Feb 1999 13:54:18 +0100 To: Greg Lehey , Philip Kizer Cc: freebsd-questions@FreeBSD.ORG From: Brad Knowles Subject: Re: Vinum questions? Message-Id: <19990216135418.023445@relay.skynet.be> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. > > 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. > 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. >You can install it on top of 3.1-STABLE. The versions haven't >diverged that much yet. Cool. I'll get 4.0-CURRENT then and try it instead. >The difference at the moment is simply that I'm being cautious and >waiting for reports back before committing exactly the same changes to >-STABLE. If you're having trouble, though, it's better to take the >newest stuff. > >Having said that, of course, your problem here is obvious. On the >other hand, I've recently fixed a number of obscure bugs in -CURRENT, >and I'll be committing them to -STABLE RSN. I'll give -CURRENT a shot and let you know how things go. -- These are my opinions -- not to be taken as official Skynet policy ____________________________________________________________________ |o| Brad Knowles, Belgacom Skynet NV/SA |o| |o| Systems Architect, News/mail/FTP Admin Rue Col. Bourg, 124 |o| |o| Phone/Fax: +32-2-706.11.11/12.49 B-1140 Brussels |o| |o| http://www.skynet.be Belgium |o| \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ Usenet is not the web. Just because the web handles some things poorly is not a good reason to apply those same techniques to Usenet. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message