OpenVZ Forum


Home » General » Support » *SOLVED* Missing Module vzdev, though selected in kernel config
*SOLVED* Missing Module vzdev, though selected in kernel config [message #13452] Sun, 27 May 2007 11:05 Go to previous message
vipz is currently offline  vipz
Messages: 7
Registered: May 2007
Location: NL, Enschede
Junior Member
I'm new to openVZ and I'm trying it out following the howto's on: http://wiki.openvz.org/Installation_on_Debian and http://wiki.openvz.org/Debian_template_creation

First time I started the VE, I get:
~ # vzctl start 777
Starting VPS ...
VPS is mounted
Adding IP address(es): 192.168.1.28
Unable to add IP 192.168.1.28: Inappropriate ioctl for device
Unable to del IP 192.168.1.28: Inappropriate ioctl for device
VPS start failed
Stopping VPS ...
VPS was stopped
VPS is unmounted


Ok, got that fixed, some module was missing:

~ # lsmod|grep vz
vzethdev               10152  0 
vzmon                  40328  1 vzethdev
ipv6                  235456  15 vzmon

~ # modprobe vznetdev

~ # lsmod|grep vz    
vznetdev               16384  0 
vzethdev               10152  0 
vzmon                  40328  2 vznetdev,vzethdev
ipv6                  235456  15 vzmon


Second try:

~ # vzctl start 777  
Starting VPS ...
VPS is mounted
Adding IP address(es): 192.168.1.28
RTNETLINK answers: No such device
vps-net_add ERROR: Unable to add route /sbin/ip route add 192.168.1.28 dev venet0 src 192.168.1.27
VPS start failed
Stopping VPS ...
VPS was stopped
VPS is unmounted


Ok, another module is still missing, but I can't load it:

~ # modprobe vzdev
FATAL: Module vzdev not found.


The module simply isn't there:

~ # ls -la /lib/modules/2.6.18-2-openvz/kernel/kernel/ve/
total 68
drwxr-xr-x 2 root root  4096 2007-05-27 14:19 .
drwxr-xr-x 4 root root  4096 2007-05-27 14:19 ..
-rw-r--r-- 1 root root 48783 2007-05-27 14:16 vzmon.ko
-rw-r--r-- 1 root root 10133 2007-05-27 14:16 vzwdog.ko


Weird enough, I cannot select "CONFIG_VZ_DEV" via 'make menuconfig'. I adjusted it to "m" in the .config file, but this was ignored:

~ # grep -i vz /boot/config-2.6.18-2-openvz
# Linux kernel version: 2.6.18-2-openvz
CONFIG_VZ_QUOTA=y
CONFIG_VZ_QUOTA_UGID=y
# OpenVZ
CONFIG_VZ_GENCALLS=y
CONFIG_VZ_DEV=y
CONFIG_VZ_WDOG=m
CONFIG_VZ_CHECKPOINT=m



Anyone got a clue? I'm using Debian Etch's linux-sources and pathes.




[Updated on: Sun, 27 May 2007 13:10]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* strange mount/umount issues
Next Topic: *SOLVED* Working with vlan's?
Goto Forum:
  


Current Time: Tue Sep 10 06:27:05 GMT 2024

Total time taken to generate the page: 0.04601 seconds