Re: [Vserver] chbind: kernel does not provide network virtualization

2006-10-19 Thread Miroslav Ruda
Daniel Hokka Zakrisson wrote:
> This shows you have enabled the legacy version ID option in the kernel,
> but your utils weren't configured with any legacy APIs and thus are
> unable to do anything.
> 
> You'll either have to disable the legacy version ID (why did you enable
> that in the first place?), or recompile your utils with
> --enable-apis=NOLEGACY passed to ./configure.

That's it, thanks. I don't know how I switched on  "legacy version ID",
it was my mistake when merging two kernel config files.

Best regards


-- 
  Mirek Ruda
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] chbind: kernel does not provide network virtualization

2006-10-17 Thread Daniel Hokka Zakrisson

Miroslav Ruda wrote:

Helo,

 I have tried to move successful vserver instalation from one machine to second
one and I failed. On second machine, I had to compile new kernel (
2.6.18-vs2.1.1-rc38-smp) but I did copy of util-vserver-0.30.210 and virtual
servers.

However, I'm getting error message "chbind: kernel does not provide network
virtualization", even for simple test extracted from testme.sh:


manwe3:/scratch/ruda/linux-2.6.18 # strace -f -s 300 chbind --ip 127.0.0.1 grep
ipv4 /proc/self/status
execve("/opt/vserver/sbin/chbind", ["chbind", "--ip", "127.0.0.1", "grep",
"ipv4", "/proc/self/status"], [/* 57 vars */]) = 0
open("/proc/net/dev", O_RDONLY) = 3
read(3, "Inter-|   Receive|
Transmit\n face |bytespackets errs drop fifo frame compressed
multicast|bytespackets errs drop fifo colls carrier compressed\nlo:
5225079183000 0  0 0   52250791830
  00   "..., 8192) = 1184
read(3, "", 7008)   = 0
close(3)= 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2aacd0183000
vserver(0, 0x3f, 0, 0x22, 0)= 65791


This shows you have enabled the legacy version ID option in the kernel, 
but your utils weren't configured with any legacy APIs and thus are 
unable to do anything.


You'll either have to disable the legacy version ID (why did you enable 
that in the first place?), or recompile your utils with 
--enable-apis=NOLEGACY passed to ./configure.


--
Daniel Hokka Zakrisson
GPG id: 06723412
GPG fingerprint: A455 4DF3 990A 431F FECA  7947 6136 DDA2 0672 3412
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] chbind: kernel does not provide network virtualization

2006-10-17 Thread Miroslav Ruda

Helo,

 I have tried to move successful vserver instalation from one machine to second
one and I failed. On second machine, I had to compile new kernel (
2.6.18-vs2.1.1-rc38-smp) but I did copy of util-vserver-0.30.210 and virtual
servers.

However, I'm getting error message "chbind: kernel does not provide network
virtualization", even for simple test extracted from testme.sh:


manwe3:/scratch/ruda/linux-2.6.18 # strace -f -s 300 chbind --ip 127.0.0.1 grep
ipv4 /proc/self/status
execve("/opt/vserver/sbin/chbind", ["chbind", "--ip", "127.0.0.1", "grep",
"ipv4", "/proc/self/status"], [/* 57 vars */]) = 0
open("/proc/net/dev", O_RDONLY) = 3
read(3, "Inter-|   Receive|
Transmit\n face |bytespackets errs drop fifo frame compressed
multicast|bytespackets errs drop fifo colls carrier compressed\nlo:
5225079183000 0  0 0   52250791830
  00   "..., 8192) = 1184
read(3, "", 7008)   = 0
close(3)= 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2aacd0183000
vserver(0, 0x3f, 0, 0x22, 0)= 65791
write(2, "chbind: kernel does not provide network virtualization\n", 55chbind:
kernel does not provide network virtualization
) = 55
_exit(255)  = ?

Can someone tell me what I'm missing in kernel configuration? It's based on Suse
config, therefore a lot of stuff is compiled in modules, maybe I'm missing some
module loaded ...

Thanks
-- 
  Mirek Ruda
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver