compiling kernel without module support [message #9796] |
Tue, 23 January 2007 06:35 |
globi
Messages: 12 Registered: January 2007
|
Junior Member |
|
|
I have the habit to compile my Linux kernels without module support for security reasons.
As far as I could try, it is not possible to compile a linux kernel for openvz unless some of openvz's features are built into the kernel as a module.
I've been doing a try and catch all day, and these seem to be the modules that I cannot convert into static built-ins:
INSTALL drivers/net/tulip/tulip.ko
INSTALL drivers/net/vzethdev.ko
INSTALL drivers/net/vznetdev.ko
INSTALL fs/simfs.ko
INSTALL fs/vzdquota.ko
INSTALL kernel/cpt/vzcpt.ko
INSTALL kernel/cpt/vzrst.ko
INSTALL kernel/ve/vzdev.ko
INSTALL kernel/ve/vzmon.ko
INSTALL kernel/ve/vzwdog.ko
I may add that the compiling _does_ work when I do everything without modules, but vzctl won't work after rebooting:
vzctl start 10
Starting VE ...
VE is mounted
Adding IP address(es): 10.0.0.11
RTNETLINK answers: No such device
vps-net_add ERROR: Unable to add route /sbin/ip route add 10.0.0.11 dev venet0
VE start failed
Stopping VE ...
VE was stopped
VE is unmounted
Any clues on this?
OS: Debian 3.1
Kernel: 2.6.18
Thanks,
Andy
[Updated on: Tue, 23 January 2007 06:53] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|