From owner-freebsd-stable@FreeBSD.ORG Wed Apr 12 05:03:58 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C199016A401 for ; Wed, 12 Apr 2006 05:03:58 +0000 (UTC) (envelope-from freebsd-stable@subscriptions.systeem.com) Received: from mercury.netteem.net (mercury.netteem.net [63.87.251.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BD0543D5A for ; Wed, 12 Apr 2006 05:03:57 +0000 (GMT) (envelope-from freebsd-stable@subscriptions.systeem.com) Received: from [192.168.10.100] (client-82-199-205-146.speedy.sellinet.net [82.199.205.146]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mercury.netteem.net (Postfix) with ESMTP id B6082597C00; Wed, 12 Apr 2006 01:03:59 -0400 (EDT) From: Stoyan Dimov To: Dmitry Morozovsky Date: Wed, 12 Apr 2006 08:02:53 +0300 User-Agent: KMail/1.8.3 References: <200604070342.01315.freebsd-stable@subscriptions.systeem.com> <20060408211703.T67402@woozle.rinet.ru> In-Reply-To: <20060408211703.T67402@woozle.rinet.ru> MIME-Version: 1.0 Content-Disposition: inline X-UID: 72 X-Length: 2983 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Message-Id: <200604120802.54598.freebsd-stable@subscriptions.systeem.com> Cc: freebsd-stable@freebsd.org Subject: Re: PAE and gvinum X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Apr 2006 05:03:58 -0000 On Saturday 08 April 2006 20:27, Dmitry Morozovsky wrote: > On Fri, 7 Apr 2006, Stoyan Dimov wrote: > > SD> Hi all, > SD> > SD> I got a machine with 8GB of RAM and plenty of disk space. I need gvinum to > SD> manage big number of file systems but PAE enabled kernel does not compile > SD> modules. I couldn't figure out how to get vinum statically compiled in the > SD> kernel if that is the way to go. I am running 6-STABLE. > SD> > SD> Please advise on how to get PAE kernel and gvinum working together! > > I did not test this, but I found no reason to prevent you from compiling > gvinum in. Try the patch attached > > and add line > > device gvinum > > to you kernel config file. > > > Sincerely, > D.Marck [DM5020, MCK-RIPE, DM3-RIPN] > ------------------------------------------------------------------------ > *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** > ------------------------------------------------------------------------ Thank you for your response, Dmitry! The patch did get gvinum in the kernel but then next problem came: gvinum command will not work. Looks like the first thing it tried is to load the geom_vinum.ko module which of course fails. I didn't have much time to look into this. I could boot non-PAE kernel create the volumes and then boot the PAE kernel with gvinum compiled it. Worked like a charm. Rebooting for every FS change though somewhat defeats the purpose of the volume manager. So I removed the gvinum from the kernel and compiled just the gvinum module, installed it and it worked. Now I wonder what can go wrong with this setup. There must be a reason kernel modules are disabled by default and I have no clue what is the risk of running gvinum as kernel module. I will be testing the install soon and I will let the list know if I run into problems. Any advice of course is very welcome and highly appreciated! Thanks for your help! Stoyan