[Vserver] testme.sh-0.14 failure on parisc-linux

From: Joel Soete <soete.joel_at_tiscali.be>
Date: Wed 07 Dec 2005 - 18:10:41 GMT
Message-Id: <IR53TT$4CA8A6AF5A033BBD87F02BBF674D52C2@scarlet.be>

Hello all,

Just discover your kind project a week ago thanks to debian weekly news and
try to implement it on a debian running on parisc-linux box. So please
appologies if I anoye you a bit as newbie ;-)

I try to follow as carefully as possible the nice and clear advises of:
<http://linux-vserver.org/Step-By-Step+Guide+2.6>.

Excepted that for parisc imoh 2.6.14 kernel is far more stable and so I apply
first latest kernel patch: patch-2.6.14.3-vs2.1.0-rc10.diff and save the
default kernel settings:
[...]
CONFIG_VSERVER=y
CONFIG_VSERVER_LEGACYNET=y

#
# Linux VServer
#
CONFIG_VSERVER_LEGACY=y
# CONFIG_VSERVER_LEGACY_VERSION is not set
CONFIG_VSERVER_DYNAMIC_IDS=y
# CONFIG_VSERVER_NGNET is not set
CONFIG_VSERVER_COWBL=y
CONFIG_VSERVER_PROC_SECURE=y
# CONFIG_VSERVER_HARDCPU is not set
# CONFIG_INOXID_NONE is not set
# CONFIG_INOXID_UID16 is not set
# CONFIG_INOXID_GID16 is not set
CONFIG_INOXID_UGID24=y
[...]

The system boot and run fine ;-) :
Linux patst007 2.6.14.3-vs2.1.0-rc10-pa0-d32up #2 Wed Dec 7 12:07:47 CET 2005
parisc GNU/Linux

Secondly, I grab latest tools utils-vserver (latest debian pkg src) and build
it with:
CFLAGS="-Wall -g -O2" ./configure --build hppa-linux-gnu \
                        --prefix=/usr --enable-release \
                        --mandir=\${prefix}/share/man \
                        --infodir=\${prefix}/share/info \
                        --sysconfdir=/etc \
                        --disable-dietlibc \
                        --localstatedir=/var \
                        --with-vrootdir=/var/lib/vservers

(I just disable dietlibc in a first approach because afaik not available for
parisc-linux?)

Installed it and finaly launch the test wich failed:
# .././testme.sh-0.14
Linux-VServer Test [V0.14] Copyright (C) 2003-2005 H.Poetzl
chcontext: vc_new_s_context(): Function not implemented
chcontext failed!
chbind: vc_set_ipv4root(): Function not implemented
chbind failed!
Linux 2.6.14.3-vs2.1.0-rc10-pa0-d32up parisc/0.30.209/0.30.209 [Ea] (0)
VCI: 0002:0001 263 03000116

---
???
fwiw in the build log of util-vserver-0.30.209, I found folowing comment:
[..]
gcc -Wall -g -O2 -std=c99 -Wall -pedantic -W -funit-at-a-time -o
src/.libs/capchroot src/capchroot.o  lib/.libs/libvserver.so
src/capchroot.o: In function
`Evc_new_s_context':./ensc_wrappers/wrappers-vserver.hc:26: warning: warning:
vc_new_s_context() is obs
oleted; use vc_create_context() instead of
[...]
Any idea?
Thanks in advance,
    Joel
PS: may be should be helpfull:
# vserver-info
Versions:
                   Kernel: 2.6.14.3-vs2.1.0-rc10-pa0-d32up
                   VS-API: ???
             util-vserver: 0.30.209; Dec  7 2005, 17:06:18
Features:
                       CC: gcc, gcc (GCC) 4.0.3 20051201 (prerelease) (Debian
4.0.2-5)
                      CXX: g++, g++ (GCC) 4.0.3 20051201 (prerelease) (Debian
4.0.2-5)
                 CPPFLAGS: ''
                   CFLAGS: '-Wall -g  -O2 -std=c99 -Wall -pedantic -W
-funit-at-a-time'
                 CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W -fmessage-length=0
-funit-at-a-time'
               build/host: hppa-unknown-linux-gnu/hppa-unknown-linux-gnu
             Use dietlibc: no (you have been warned)
       Build C++ programs: yes
       Build C99 programs: yes
           Available APIs: compat,v11,v13,fscompat,net,oldproc,olduts
            ext2fs Source: e2fsprogs
    syscall(2) invocation: fast
      vserver(2) syscall#: 273/default
Paths:
                   prefix: /usr
        sysconf-Directory: /etc
            cfg-Directory: /etc/vservers
         initrd-Directory: $(sysconfdir)/init.d
       pkgstate-Directory: /var/run/vservers
          vserver-Rootdir: /var/lib/vservers
Assumed 'SYSINFO' as no other option given; try '--help' for more information.
PS2: I am not a programmer, just enough C knowledge to read a bit code ;<)

---------------------------------------------------------------
A free anti-spam and anti-virus filter on all Scarlet mailboxes
More info on http://www.scarlet.be/
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Fri Dec 9 13:46:26 2005
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 09 Dec 2005 - 13:46:28 GMT by hypermail 2.1.8