Subject: AW: [vserver] chbind: line 135
From: "Roman Pretory" <roman.pretory@austrianonlines.com>
Date: Tue, 5 Feb 2008 16:55:13 +0100

 Tue, 5 Feb 2008 16:55:13 +0100
Hi 
Soory for my late reply working hard on this :-)

I don't know maybe from the wrong page or my foult have to look at

in the moment i build testserver vor cos4 /5
and is seems to be the wrong kernel to patch

I tested now
cos4 with 2.6.12/14/17 OK
cos4 2.6.22 i will know today
cos5 2.6.17 def #Single Core
cos4 2.6.22 i will know today   
cos5 2.6.22 by setting up #Dual Core

If there is also interrest of any infos/output plase tell me else i del this
systems again.

Now the infos you need

#1.System========================System OK

node0 ~ $ vserver-info - SYSINFO
Versions:
                   Kernel: 2.6.12.3-vs2.0
                   VS-API: 0x00020001
             util-vserver: 0.30.211; Nov 20 2006, 14:13:48

Features:
                       CC: gcc, gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
                      CXX: g++, g++ (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
                 CPPFLAGS: ''
                   CFLAGS: '-O2 -g -pipe -m32 -march=i386 -mtune=pentium4
-std=c
99 -Wall -pedantic -W -funit-at-a-time'
                 CXXFLAGS: '-O2 -g -pipe -m32 -march=i386 -mtune=pentium4
-ansi
-Wall -pedantic -W -fmessage-length=0 -funit-at-a-time'
               build/host: i686-redhat-linux-gnu/i686-redhat-linux-gnu
             Use dietlibc: yes
       Build C++ programs: yes
       Build C99 programs: yes
           Available APIs: v13,net
            ext2fs Source: e2fsprogs
    syscall(2) invocation: alternative
      vserver(2) syscall#: 273/glibc

Paths:
                   prefix: /usr
        sysconf-Directory: /etc
            cfg-Directory: /etc/vservers
         initrd-Directory: /etc/rc.d/init.d
       pkgstate-Directory: /var/run/vservers
          vserver-Rootdir: /vservers

node0 ~ $ /home/install/testme.sh
Linux-VServer Test [V0.15] Copyright (C) 2003-2006 H.Poetzl
chcontext is working.
chbind is working.
Linux 2.6.12.3-vs2.0 #2 Sat Sep 3 14:58:52 CEST 2005 i686
Ea 0.30.211 273/glibc (DSa) <v13,net>
VCI: 0002:0001 273 03000016 (TbLgnP)
---
[000]# succeeded.
[001]# succeeded.
[011]# succeeded.
[031]# succeeded.
[101]# succeeded.
[102]# succeeded.
[201]# succeeded.
[202]# succeeded.
node0 ~ $

#2.System========================System def

node0 ~ $ vserver-info - SYSINFO
Versions:
                   Kernel: 2.6.22.14-vs2.2.0.5.el5-i386-Core2+
                   VS-API: 0x00020200
             util-vserver: 0.30.214; Sep  8 2007, 17:11:46

Features:
                       CC: gcc, gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52)
                      CXX: g++, g++ (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52)
                 CPPFLAGS: ''
                   CFLAGS: '-O2 -g -pipe -Wall -Wp,-D FORTIFY SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
-mtune=generic -fasynchronous-unwind-tables -std=c99 -Wall -pedantic -W
-funit-at-a-time'
                 CXXFLAGS: '-O2 -g -pipe -Wall -Wp,-D FORTIFY SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
-mtune=generic -fasynchronous-unwind-tables -ansi -Wall -pedantic -W
-fmessage-length=0 -funit-at-a-time'
               build/host: i686-redhat-linux-gnu/i686-redhat-linux-gnu
             Use dietlibc: yes
       Build C++ programs: yes
       Build C99 programs: yes
           Available APIs: v13,net,v21,v22,v23,netv2
            ext2fs Source: e2fsprogs
    syscall(2) invocation: alternative
      vserver(2) syscall#: 273/glibc

Paths:
                   prefix: /usr
        sysconf-Directory: /etc
            cfg-Directory: /etc/vservers
         initrd-Directory: /etc/rc.d/init.d
       pkgstate-Directory: /var/run/vservers
          vserver-Rootdir: /vservers

node0 ~ $ /home/install/testme.sh
Linux-VServer Test [V0.16] Copyright (C) 2003-2006 H.Poetzl
chcontext is working.
chbind is working.
Linux 2.6.22.14-vs2.2.0.5.el5-i386-Core2+ #5 SMP Wed Jan 30 15:08:49 CET
2008 i686
Ea 0.30.214 273/glibc (DSa) <v13,net,v21,v22,v23,netv2>
VCI: 0002:0200 273 030007b1 (TbP)
---
[000]# succeeded.
[001]# succeeded.
[011]# succeeded.
[031]# succeeded.
[101]# succeeded.
[102]# succeeded.
[201]# succeeded.
[202]# succeeded.
node0 ~ $

#3.System========================System def

node2 ~ $ vserver-info - SYSINFO
Versions:
                   Kernel: 2.6.22.6-vs2.2.0.3.el5-Atlon
                   VS-API: 0x00020200
             util-vserver: 0.30.214; Sep 13 2007, 13:59:02

Features:
                       CC: gcc, gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52)
                      CXX: g++, g++ (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52)
                 CPPFLAGS: ''
                   CFLAGS: '-O2 -g -pipe -Wall -Wp,-D FORTIFY SOURCE=2
-fexcepti
ons -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
-mtune=generic
-fasynchronous-unwind-tables -std=c99 -Wall -pedantic -W -funit-at-a-time'
                 CXXFLAGS: '-O2 -g -pipe -Wall -Wp,-D FORTIFY SOURCE=2
-fexcepti
ons -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
-mtune=generic
-fasynchronous-unwind-tables -ansi -Wall -pedantic -W -fmessage-length=0
-funit-
at-a-time'
               build/host: i686-redhat-linux-gnu/i686-redhat-linux-gnu
             Use dietlibc: yes
       Build C++ programs: yes
       Build C99 programs: yes
           Available APIs: v13,net,v21,v22,v23,netv2
            ext2fs Source: e2fsprogs
    syscall(2) invocation: alternative
      vserver(2) syscall#: 273/glibc

Paths:
                   prefix: /usr
        sysconf-Directory: /etc
            cfg-Directory: /etc/vservers
         initrd-Directory: /etc/rc.d/init.d
       pkgstate-Directory: /var/run/vservers
          vserver-Rootdir: /vservers

node2 ~ $ /home/install/testme.sh
Linux-VServer Test [V0.15] Copyright (C) 2003-2006 H.Poetzl
chcontext is working.
chbind failed!
New network context is 49151 Adding 127.0.0.1
Linux 2.6.22.6-vs2.2.0.3.el5-Atlon #2 SMP Mon Oct 15 20:31:22 CEST 2007 i686
Ea 0.30.214 273/glibc (DSa) <v13,net,v21,v22,v23,netv2>
VCI: 0002:0200 273 030007b1 (TbP)

##########################Remark
This system was fine with testme.sh
between there is install util-vserver 211 for testing and go back to 214
and yum update
##########################Remark

#4.System========================System def

Thanks Roman 

-----Ursprüngliche Nachricht-----
Von: Herbert Poetzl [mailto:herbert@13thfloor.at] 
Gesendet: Montag, 04. Februar 2008 23:06
An: Roman Pretory
Cc: vserver@list.linux-vserver.org
Betreff: Re: [vserver] chbind: line 135

On Fri, Feb 01, 2008 at 03:00:59AM +0100, Roman Pretory wrote:
> Hello
> 
> Try to move a fc1 guest from a fc3 (2.6.12.3-vs2.0, util-vserver 
> 0.30.211-0) host to a Cos5 (2.6.22.6-vs2.2.0.3, util-vserver 
> 0.30.214-0.1) Host

why not 2.6.22.16-vs2.2.0.6?

> Following happens om the Cos5 Host:
> COS5 / $ vserver guest start
> /usr/sbin/chbind: line 135: 14555 Speicherzugriffsfehler
"${create cmd[@]}"
> "${chain cmd[@]}" -- "$@"

please provide output of testme.sh as well as 'vserver-info - SYSINFO'

TIA,
Herbert

> An error occured while executing the vserver startup sequence; when 
> there are no other messages, it is very likely that the init-script 
> (/etc/rc.d/rc 3) failed.
> 
> Common causes are:
> * /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the 'apt-rpm' build
>   method knows how to deal with this, but on existing installations,
>   appending 'true' to this file will help.
> 
> 
> Failed to start vserver 'guest FC1'
> 
> ----
> 
> Thanks Roman
> 
> 
> 
> 
> 
> 
>