LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

[lvs-devel] IPVS build fails without CONFIG_PROC_FS

Subject: [lvs-devel] IPVS build fails without CONFIG_PROC_FS
From: horms at verge.net.au (Simon Horman)
Date: Fri, 9 Nov 2007 15:28:03 +0900
On Fri, Nov 09, 2007 at 02:23:25PM +0900, Simon Horman wrote:
> On Thu, Nov 08, 2007 at 04:58:18PM +0200, Rumen Bogdanovski wrote:
> > Hi
> > I have spotted a building problem of IPVS without CONFIG_PROC_FS. I do
> > not know if this is something to worry about, but since the procfs
> > related stuff is surrounded by ifdef/endif, I have added some more to
> > eliminate the compiler errors with no CONFIG_PROC_FS defined.
> 
> Hi Rumen,
> 
> what problems are you seeing? Could you send the build log?  Also, could
> you send me your build config, perhaps I can reproduce the problem using
> it.
> 
> I'm using the net-2.6 tree and I can compile LVS fine without your patch
> and without CONFIG_PROC_FS because of the no-op definitions of
> create_proc_entry() that can be seen towards then end of
> include/linux/proc_fs.h

I do see some problems when I try and boot a kernel without
CONFIG_PROC_FS set.

Things like: sysctl table check failed: /net/ipv4/vs/drop_entry
.3.5.21.4 Missing strategy

These seem to be quite easy to fix by adding the approiate
.stratergy where .proc_handlers are set. I'm just a little unsure
about what locking schemantics are needed for .data that
is referenced outside of proc handlers.

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/



<Prev in Thread] Current Thread [Next in Thread>