OpenVZ Forum


Home » General » Support » Disable module support in kernel
Re: Disable module support in kernel [message #1573 is a reply to message #1572] Mon, 13 February 2006 19:29 Go to previous messageGo to previous message
steffen.zieger is currently offline  steffen.zieger
Messages: 43
Registered: February 2006
Location: Germany, Stuttgart
Member
dev wrote on Mon, 13 February 2006 20:13

patch looks correct, but does it change anything? Smile
if so, than it is probably kernel config bug... Or maybe I miss something?


Indeed it changes things.

Run `make menuconfig` -> File Systems -> Quota Support.

Have a look at it before and after applying this patch.
VPS filesystem is getting an sub-entry of Virtuozzo Quota Disk Support as the Kconfig stated.

Well, it's clearing things up. No feature-addition or bug-fixing-thingie.

Everything is compiling nicely as long as CONFIG_MODULE=y.
OpenVz is fully integrated in kernel, no modules. This wasn't possible without applying this patches you send me (will tell later which one Smile ).

If I'm disabling module support (CONFIG_MODULE=n) compile breaks with this error message (mostly the same as in bug #52)

Quote:

CC kernel/ve.o
kernel/ve.c:42: error: variable `no_module' has initializer but incomplete type
kernel/ve.c:42: error: unknown field `state' specified in initializer
kernel/ve.c:42: error: `MODULE_STATE_GOING' undeclared here (not in a function)
kernel/ve.c:42: warning: excess elements in struct initializer
kernel/ve.c:42: warning: (near initialization for `no_module')
kernel/ve.c:42: error: storage size of `no_module' isn't known
make[1]: *** [kernel/ve.o] Error 1
make: *** [kernel] Error 2



Patches used:
diff-module-20051118 (should fix CONFIG_MODULE=n)
diff-ve-calls-20051019 (CONFIG_VE_CALLS=y)
diff-vzdev-20051021-2 (CONFIG_VE_NETDEV=y)

HTH,
Steffen
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Moving a real server installation to a VPS
Next Topic: * SOLVED * Device eth0 has different MAC address than expected
Goto Forum:
  


Current Time: Wed Jun 25 17:13:33 GMT 2025

Total time taken to generate the page: 0.02963 seconds