From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Thu 07 Jul 2005 - 19:20:56 BST
On Thu, Jul 07, 2005 at 09:15:39AM +0200, Patrick Home wrote:
>
> Hello
>
> I'm running a debian Linux version 2.6.12.2-vs2.0-rc5. I've compiled
> util-vserver 0.30 from linux-vserver.org but i got the following error when
> i when to start a vserver :
>
> Can't set the ipv4 root (Invalid argument)
>
> I didn't have this problem with previous version from kernel 2.4.25 to
> kernel 2.6.11.11
yes, this was a breakage in compatibility because we bumped
up the version and older (ancient) tools do not handle that
well, but it will be fixed in 2.0, with an additional config
option (which of course is depreciated) ...
it seems that this restores compatibility quite fine ...
(util-vserver-0.25)
Linux-VServer Test [V0.13] Copyright (C) 2003-2005 H.Poetzl
chcontext is working.
chbind is working.
Linux 2.6.12.2-vs2.0-rc5 i686/0.25/0.25 [E] (0)
VCI: 0002:0001 273 031100f6
---
[000]# succeeded.
[001]# succeeded.
[011]# succeeded.
[031]# succeeded.
[101]# succeeded.
[102]# succeeded.
[201]# succeeded.
[202]# succeeded.
(vserver-0.28)
Linux-VServer Test [V0.13] Copyright (C) 2003-2005 H.Poetzl
chcontext is working.
chbind is working.
Linux 2.6.12.2-vs2.0-rc5 i686/0.28/0.28 [J] (0)
VCI: 0002:0001 273 031100f6
---
[000]# succeeded.
[001]# succeeded.
[011]# succeeded.
[031]# succeeded.
[101]# succeeded.
[102]# succeeded.
[201]# succeeded.
[202]# succeeded.
of course, updating to newer tools is advised ...
HTH,
Herbert
> I didn't want to use debian package as it's in conflict with vpopmail-bin
> (cf vkill program in /usr/sbin)
>
> The most strange is that iface of vserver is up and /proc is mounted after i
> type vserver vweb1 start :
>
> srvweb:~/admintools/dev# ifconfig
> eth0 Link encap:Ethernet HWaddr 00:11:09:93:DD:FB
> inet addr:192.168.0.23 Bcast:192.168.0.255 Mask:255.255.255.0
> inet6 addr: fe80::211:9ff:fe93:ddfb/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:52791 errors:0 dropped:0 overruns:0 frame:0
> TX packets:50594 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:13278044 (12.6 MiB) TX bytes:25745227 (24.5 MiB)
> Interrupt:23 Base address:0xb800
>
>
> eth0:vweb Link encap:Ethernet HWaddr 00:11:09:93:DD:FB
> inet addr:192.168.0.230 Bcast:192.168.0.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> Interrupt:23 Base address:0xb800
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:44407 errors:0 dropped:0 overruns:0 frame:0
> TX packets:44407 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:12361041 (11.7 MiB) TX bytes:12361041 (11.7 MiB)
>
>
> srvweb:/usr/src/linux-2.6.12.2# df -hTa
> Filesystem Type Size Used Avail Use% Mounted on
> /dev/hda1 ext3 9.2G 1.5G 7.3G 17% /
> proc proc 0 0 0 - /proc
> sysfs sysfs 0 0 0 - /sys
> devpts devpts 0 0 0 - /dev/pts
> tmpfs tmpfs 16M 12K 16M 1% /dev/shm
> usbfs usbfs 0 0 0 - /proc/bus/usb
> tmpfs tmpfs 64M 2.4M 62M 4% /tmp
> /dev/hda3 ext3 9.2G 531M 8.2G 6% /var
> /dev/md0 ext3 4.6G 533M 3.9G 12% /usr/local
> /dev/md1 ext3 9.2G 483M 8.3G 6% /web/clients
> /dev/md2 ext3 9.2G 137M 8.6G 2% /home
> /dev/md3 ext3 9.2G 3.2G 5.6G 37% /opt
> /dev/hda9 ext3 23G 33M 22G 1% /wrk
> /dev/hdc1 ext3 9.2G 1.5G 7.3G 17% /spare/racine
> /dev/hdc3 ext3 9.2G 538M 8.2G 7% /spare/var
> /dev/hdc9 ext3 23G 899M 21G 5% /spare/wrk
> none binfmt_misc 0 0 0 - /proc/sys/fs/binfmt_misc
> none proc 0 0 0 - /opt/vservers/vweb1/proc
> none devpts 0 0 0 - /opt/vservers/vweb1/dev/pts
>
>
>
> My kernel is ok (i think) :
>
> srvweb:/usr/src/linux-2.6.12.2# grep -i legacy .config
> CONFIG_PCI_LEGACY_PROC=y
> # CONFIG_MEGARAID_LEGACY is not set
> CONFIG_LEGACY_PTYS=y
> CONFIG_LEGACY_PTY_COUNT=256
> CONFIG_VSERVER_LEGACYNET=y
> CONFIG_VSERVER_LEGACY=y
>
> I did'nt activate proc/security as i just want to test ....
>
> Could anybody help me ?
>
> Thanks
> Patrick
>
>
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver