Re: a small patch to fix this pb[Was: [Vserver] testme.sh-0.14 failure on parisc-linux ]
Joel Soete wrote: Hello all, [...] it should also work fine if you compile the tools from scratch (i.e. get the 0.30.209 tools and do ./configure, make, make install) HTH, Herbert [...] mmm, I trust that the actual bug is: --- ./lib/vserver-syscall-def.h.Orig2005-12-10 20:33:19.0 +0100 +++ ./lib/vserver-syscall-def.h 2005-12-10 20:33:40.0 +0100 @@ -28,7 +28,7 @@ #elif defined(__mips__) (_MIPS_SIM == _MIPS_SIM_NABI32) #define __NR_vserver 236 #elif defined(__hppa__) -#define __NR_vserver 273 +#define __NR_vserver 263 #elif defined(__powerpc__) #define __NR_vserver 257 #elif defined(__s390__) Daniel Hokka Zakrisson wrote: This file is not present at all in vanilla util-vserver, and looks a lot like lib/syscall-fallback.h from util-vserver-0.30.209, except for the incorrect syscall number. You had perfectly wright ;-) How uglily this debian pkg was so populated?? I will so coming back from upstream stuff awaiting a better dpkg from Micah. Thanks again, Joel ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] testme.sh-0.14 failure on parisc-linux
On Fri, Dec 09, 2005 at 10:10:11PM +0100, Daniel Hokka Zakrisson wrote: Joel Soete wrote: vserver(2) syscall#: 273/default That's wrong for hppa. Rerun configure with CPPFLAGS=-D__NR_vserver=263 set in the environment. it should also work fine if you compile the tools from scratch (i.e. get the 0.30.209 tools and do ./configure, make, make install) HTH, Herbert -- Daniel Hokka Zakrisson GPG id: 06723412 ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] testme.sh-0.14 failure on parisc-linux
Herbert Poetzl wrote: it should also work fine if you compile the tools from scratch (i.e. get the 0.30.209 tools and do ./configure, make, make install) Should it? util-vserver-0.30.209/lib/syscall-fallback.h doesn't have a syscall number for hppa (filed https://savannah.nongnu.org/bugs/?func=detailitemitem_id=15179). -- Daniel Hokka Zakrisson GPG id: 06723412 pgpgdM6OgfWU9.pgp Description: PGP signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] testme.sh-0.14 failure on parisc-linux
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Herbert Poetzl wrote: On Fri, Dec 09, 2005 at 10:10:11PM +0100, Daniel Hokka Zakrisson wrote: Joel Soete wrote: vserver(2) syscall#: 273/default That's wrong for hppa. Rerun configure with CPPFLAGS=-D__NR_vserver=263 set in the environment. it should also work fine if you compile the tools from scratch (i.e. get the 0.30.209 tools and do ./configure, make, make install) It appears as if he did compile the tools himself, using this configure argument: ./configure --build hppa-linux-gnu -- is this the wrong argument to pass to set the parisc architecture type to get the proper 263 syscall? There is no pre-built debian parisc util-vserver packages at the moment (nor are there ARM packages), but I'm looking to resolve that. micah -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDmwWX9n4qXRzy1ioRAsohAJ0aaHDcDjxys3o6+f5oSeo2t80JawCgqLuL emJScQNE2VsiC0/Sb/Mo8SI= =BA+X -END PGP SIGNATURE- ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
a small patch to fix this pb[Was: [Vserver] testme.sh-0.14 failure on parisc-linux ]
Hello all, [...] it should also work fine if you compile the tools from scratch (i.e. get the 0.30.209 tools and do ./configure, make, make install) HTH, Herbert [...] mmm, I trust that the actual bug is: --- ./lib/vserver-syscall-def.h.Orig2005-12-10 20:33:19.0 +0100 +++ ./lib/vserver-syscall-def.h 2005-12-10 20:33:40.0 +0100 @@ -28,7 +28,7 @@ #elif defined(__mips__) (_MIPS_SIM == _MIPS_SIM_NABI32) #define __NR_vserver 236 #elif defined(__hppa__) -#define __NR_vserver 273 +#define __NR_vserver 263 #elif defined(__powerpc__) #define __NR_vserver 257 #elif defined(__s390__) # ./testme.sh-0.14 Linux-VServer Test [V0.14] Copyright (C) 2003-2005 H.Poetzl chcontext is working. chbind is working. Linux 2.6.14.3-vs2.1.0-rc10-pa0-c110 parisc/0.30.209/0.30.209 [Ea] (0) VCI: 0002:0001 263 03000116 --- [000]# succeeded. [001]# succeeded. [011]# succeeded. [031]# succeeded. [101]# succeeded. [102]# succeeded. [201]# succeeded. [202]# succeeded. Cool? Thanks to all, Joel PS: I can continue later ;-) ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] testme.sh-0.14 failure on parisc-linux
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
Re: [Vserver] testme.sh-0.14 failure on parisc-linux
Joel Soete wrote: vserver(2) syscall#: 273/default That's wrong for hppa. Rerun configure with CPPFLAGS=-D__NR_vserver=263 set in the environment. -- Daniel Hokka Zakrisson GPG id: 06723412 pgpJgJyVaNauq.pgp Description: PGP signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver