Re: [Vserver] Vhashify segmentation fault
Enrico Scholz wrote: ok; please do a 'make check' with 0.30.209 and see if 'hashcalc.sh' succeeds. You can do | ./src/testsuite/hashcalc Makefile.am SHA-1 also, which should output the same hash like 'sha1sum Makefile.am' No luck :( make check gives out (with 0.30.209): PASS: lib/testsuite/cflags PASS: lib/testsuite/personality PASS: lib/testsuite/fmt PASS: lib/testsuite/parselimit PASS: src/testsuite/vunify-functest PASS: src/testsuite/chcontext-test PASS: src/testsuite/chbind-test PASS: src/testsuite/vunify-test.sh SHA-1 mismatch at rand-0 FAIL: src/testsuite/hashcalc.sh PASS: ensc_vector/testsuite/test1 PASS: ensc_vector/testsuite/test2 PASS: lib_internal/testsuite/filecfg-ml PASS: lib_internal/testsuite/copy-check PASS: lib_internal/testsuite/sigbus you mentioned that it happens on an i386 also so tests with valgrind could be done there also. I don't have that i386 machine handy, I'll give it a try on Wednesday when I get near it :) Thanks for your help, Alberto ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] 2.6.14-vs2.1.diff
Quoting Herbert Poetzl ([EMAIL PROTECTED]): No more ia_attr_flags in the kernel. So I just tossed that code out of ext2, ext3, and reiser. I assume BARRIER and friends are properly taken care of using inode-i_flags only. wrong assumption ... testfs.sh tests 103,106,113,114,116,121,123, and 124 fail without the ia_attr_flags stuff :) Ok, so near as I can tell, the do_vserver syscall handler takes the immutable, barrier, and iunlink flag values and sticks them into the inode-i_attr_flags. It then calls setattr(), in which vserver stores these values into the inode-i_flags. That is then where the flags are enforced. So I'll whip up a new patch wherein do_vserver() sets inode-i_flags directly. Do we expect that to work, or am I misunderstanding the existing logic? thanks, -serge ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] vserver-new reports a guest exists when it does not
this is on a gentoo system. i am trying to create a guest called support. i created the mount point in /vservers, it is mounted and a clear, empty volume. i run this command and get this result: phoenix vservers # vserver-new support --hostname support --context 3920 --interface eth3:64.113.39.20/24 template /work/guest-stuff/template.tar.bz2 * Existing vserver installation found. Try --destroy support does not exist in /etc/vservers or in /vservers as a configured guest, the context 3920 does not exist either and the ip address is not in use. i have tried changing the name of the guest, the context number, even the ethernet device still the same... its almost behaving like it has run out of resources or something but there are only 8 guests in operation.. this would be the 9th. what could be happening? and of course this happens when the boss wants this done in the next few hrs... -- Chuck ...and the hordes of M$*ft users descended upon me in their anger, and asked 'Why do you not get the viruses or the BlueScreensOfDeath or insecure system troubles and slowness or pay through the nose for an OS as *we* do?!!', and I answered...'I use Linux'. The Book of John, chapter 1, page 1, and end of book ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] PPC build failure of util-vserver
Hello, as you can see in http://buildsys.fedoraproject.org/logs/fedora-development-extras/349-util-vserver-0.30.209-2.fc5/ppc/build.log two check of util-vserver 0.30.209 are failing on a PPC machine. AFAIR same happened once for 0.30.208 but succeeded suddenly. Unfortunately, I do not have such a machine available to trace the problems, and the code seems ok for me. I do not know much about PPC, but | /bin/sh: line 1: 18778 Killed ensc_use... on i386/x86_64 would indicate problems with the OOM kernel killer. It would be nice when somebody with a PPC box could repeat the checks ('make check') and look where and why they are failing. Dunno, whether gdb works but place of error can be determined by adding something like | printf(%s:%u\n, __FILE__, __LINE__) to lib/testsuite/personality.c below the variable declarations of the TEST_PF2T() and TEST_LIST() macros. Single checks can be repeated by | $ make check # generates the binaries | $ ./lib/testsuite/personality # should not cause any output | $ gdb ./lib/testsuite/personality TIA Enrico pgpFR63PVbjfy.pgp Description: PGP signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] 2.6.14-vs2.1.diff
The patch at http://www.13thfloor.at/~hallyn/patch-2.6.14-vs2.2.diff passes testme.sh and testfs.sh - except for jfs. I'll look into that later today or tomorrow. -serge ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] vserver-new reports a guest exists when it does not
Mandag 31 oktober 2005 19:08, skrev Chuck: this is on a gentoo system. i am trying to create a guest called support. i created the mount point in /vservers, it is mounted and a clear, empty volume. i run this command and get this result: phoenix vservers # vserver-new support --hostname support --context 3920 --interface eth3:64.113.39.20/24 template /work/guest-stuff/template.tar.bz2 * Existing vserver installation found. Try --destroy support does not exist in /etc/vservers or in /vservers as a configured guest, the context 3920 does not exist either and the ip address is not in use. i have tried changing the name of the guest, the context number, even the ethernet device still the same... its almost behaving like it has run out of resources or something but there are only 8 guests in operation.. this would be the 9th. what could be happening? H, might be a similar problem that I had with vserver-new... I created the /vserver/newvserverdir as a symbolic link to a fresh and empty volume, and vserver-new complained. I found that it seems to just check if the directory exists, and if it does, it will not make a new server. So I tried --destroy, and it did remove the link, and created a new directory on the root partition. OK. Well, anyway I did a manual mv of all the files to a symlinked dir and it seems to be OK. Possibly I bug in vserver-new this I don't know. Best regards Tor Rune Skoglund [EMAIL PROTECTED] ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] PPC build failure of util-vserver
On Mon, Oct 31, 2005 at 08:34:06PM +0100, Enrico Scholz wrote: Hello, as you can see in http://buildsys.fedoraproject.org/logs/fedora-development-extras/349-util-vserver-0.30.209-2.fc5/ppc/build.log two check of util-vserver 0.30.209 are failing on a PPC machine. AFAIR same happened once for 0.30.208 but succeeded suddenly. Unfortunately, I do not have such a machine available to trace the problems, and the code seems ok for me. I do not know much about PPC, but | /bin/sh: line 1: 18778 Killed ensc_use... on i386/x86_64 would indicate problems with the OOM kernel killer. http://vserver.13thfloor.at/Stuff/MANDRAKE/util-vserver-0.30.209-1mdk.src.rpm involves just a small patch which disables the addr_limit_3gb tests, as they did never work on mandrake (because of the missing flag) http://vserver.13thfloor.at/Stuff/MANDRAKE/delta-0.30.208-tsfix.diff.bz2 PASS: lib/testsuite/cflags PASS: lib/testsuite/personality PASS: lib/testsuite/fmt PASS: lib/testsuite/parselimit PASS: src/testsuite/vunify-functest PASS: src/testsuite/chcontext-test PASS: src/testsuite/chbind-test PASS: src/testsuite/vunify-test.sh PASS: src/testsuite/hashcalc.sh PASS: ensc_vector/testsuite/test1 PASS: ensc_vector/testsuite/test2 PASS: lib_internal/testsuite/filecfg-ml PASS: lib_internal/testsuite/copy-check PASS: lib_internal/testsuite/sigbus === All 14 tests passed === and compiled fine (and works fine) on my ppc laptop maybe it is a compiler/fc* issue? HTH, Herbert It would be nice when somebody with a PPC box could repeat the checks ('make check') and look where and why they are failing. Dunno, whether gdb works but place of error can be determined by adding something like | printf(%s:%u\n, __FILE__, __LINE__) to lib/testsuite/personality.c below the variable declarations of the TEST_PF2T() and TEST_LIST() macros. Single checks can be repeated by | $ make check # generates the binaries | $ ./lib/testsuite/personality # should not cause any output | $ gdb ./lib/testsuite/personality TIA Enrico ___ 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] 2.6.14-vs2.1.diff
On Mon, Oct 31, 2005 at 01:54:50PM -0600, Serge Hallyn wrote: The patch at http://www.13thfloor.at/~hallyn/patch-2.6.14-vs2.2.diff passes testme.sh and testfs.sh - except for jfs. I'll look into that later today or tomorrow. excellent, that's what I had in mind! thanks! that jfs fails is fine, because jfs has no notion of attributes at all, so they are not persistent! thanks, Herbert -serge ___ 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] vserver-new reports a guest exists when it does not
On Monday 31 October 2005 02:49 pm, Tor Rune Skoglund wrote: that was it! thanks! it should take an already created empty subdir tho... gonna suggest that Mandag 31 oktober 2005 19:08, skrev Chuck: this is on a gentoo system. i am trying to create a guest called support. i created the mount point in /vservers, it is mounted and a clear, empty volume. i run this command and get this result: phoenix vservers # vserver-new support --hostname support --context 3920 --interface eth3:64.113.39.20/24 template /work/guest-stuff/template.tar.bz2 * Existing vserver installation found. Try --destroy support does not exist in /etc/vservers or in /vservers as a configured guest, the context 3920 does not exist either and the ip address is not in use. i have tried changing the name of the guest, the context number, even the ethernet device still the same... its almost behaving like it has run out of resources or something but there are only 8 guests in operation.. this would be the 9th. what could be happening? H, might be a similar problem that I had with vserver-new... I created the /vserver/newvserverdir as a symbolic link to a fresh and empty volume, and vserver-new complained. I found that it seems to just check if the directory exists, and if it does, it will not make a new server. So I tried --destroy, and it did remove the link, and created a new directory on the root partition. OK. Well, anyway I did a manual mv of all the files to a symlinked dir and it seems to be OK. Possibly I bug in vserver-new this I don't know. Best regards Tor Rune Skoglund [EMAIL PROTECTED] ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver -- Chuck ...and the hordes of M$*ft users descended upon me in their anger, and asked 'Why do you not get the viruses or the BlueScreensOfDeath or insecure system troubles and slowness or pay through the nose for an OS as *we* do?!!', and I answered...'I use Linux'. The Book of John, chapter 1, page 1, and end of book ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] vserver-new reports a guest exists when it does not
On Monday 31 October 2005 19:08, Chuck wrote: this is on a gentoo system. i am trying to create a guest called support. i created the mount point in /vservers, it is mounted and a clear, empty volume. i run this command and get this result: phoenix vservers # vserver-new support --hostname support --context 3920 --interface eth3:64.113.39.20/24 template /work/guest-stuff/template.tar.bz2 * Existing vserver installation found. Try --destroy vserver-new can handle mount points, just add --destroy and it will umount/mount the defice automagically... (you have to specify destroy here, because vserver-new can't decide if the mount point is fresh or already used.. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Documentation /proc/virtual/*?
On Tue, Oct 25, 2005 at 09:26:16AM +0200, Raimund Specht wrote: Hi ! Is there any documentation of what the various keys and values in the files in /proc/virtual/ mean (more than just a 'ls -R /proc/virtual/*')? The keys (=subdirs) btw are the Context-IDs of the running VServer guest systems. Oh yes, this isn't too hard to find out :) on the first attempt I found this doc: http://linux-vserver.org/HowTo+Read+ProcFS Maybe this helps? No, this is just a cat *. What I want to know is what all those funny values mean, e.g. what do these three columns with 2 values each in cacct mean, what is load_updates, what are the values in limit etc. I added some explanations, but not all entries are easily explainable and/or useful for the typical administrator ... for example, the beforementioned load_updates count the number of load average calculations done for this context (which is very useful for development and performance tuning, but usually only of limited use for administration) HTH, Herbert Thanks in advance. By(e): Raimund Specht. ___ 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] vserver-new reports a guest exists when it does not
Mandag 31 oktober 2005 22:40, skrev Benedikt Boehm: On Monday 31 October 2005 19:08, Chuck wrote: this is on a gentoo system. i am trying to create a guest called support. i created the mount point in /vservers, it is mounted and a clear, empty volume. i run this command and get this result: phoenix vservers # vserver-new support --hostname support --context 3920 --interface eth3:64.113.39.20/24 template /work/guest-stuff/template.tar.bz2 * Existing vserver installation found. Try --destroy vserver-new can handle mount points, just add --destroy and it will umount/mount the defice automagically... (you have to specify destroy here, because vserver-new can't decide if the mount point is fresh or already used.. AFAICT then the problem is existing symlinked vserver directories rather than mount points... Tor Rune Skoglund [EMAIL PROTECTED] ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] vserver-new reports a guest exists when it does not
On Monday 31 October 2005 04:42 pm, Tor Rune Skoglund wrote: no its just the fact that the directory existed whether i used it as a mount point or whether it was a simple directory.. what i had to do is after the template was installed in the new guest, then i renamed the guest directory, made another one mounted it then moved all the data from the freshly installed directory to the mountpoint. Mandag 31 oktober 2005 22:40, skrev Benedikt Boehm: On Monday 31 October 2005 19:08, Chuck wrote: this is on a gentoo system. i am trying to create a guest called support. i created the mount point in /vservers, it is mounted and a clear, empty volume. i run this command and get this result: phoenix vservers # vserver-new support --hostname support --context 3920 --interface eth3:64.113.39.20/24 template /work/guest-stuff/template.tar.bz2 * Existing vserver installation found. Try --destroy vserver-new can handle mount points, just add --destroy and it will umount/mount the defice automagically... (you have to specify destroy here, because vserver-new can't decide if the mount point is fresh or already used.. AFAICT then the problem is existing symlinked vserver directories rather than mount points... Tor Rune Skoglund [EMAIL PROTECTED] ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver -- Chuck ...and the hordes of M$*ft users descended upon me in their anger, and asked 'Why do you not get the viruses or the BlueScreensOfDeath or insecure system troubles and slowness or pay through the nose for an OS as *we* do?!!', and I answered...'I use Linux'. The Book of John, chapter 1, page 1, and end of book ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] vserver-new reports a guest exists when it does not
On Monday 31 October 2005 04:40 pm, Benedikt Boehm wrote: ahh, ok... hehe the word destroy had me a bit leery to use it :) so then if i have a mount point already set up, then i can just use the original line with the destroy parm and it will load it in fine onto the mounted partition. On Monday 31 October 2005 19:08, Chuck wrote: this is on a gentoo system. i am trying to create a guest called support. i created the mount point in /vservers, it is mounted and a clear, empty volume. i run this command and get this result: phoenix vservers # vserver-new support --hostname support --context 3920 --interface eth3:64.113.39.20/24 template /work/guest-stuff/template.tar.bz2 * Existing vserver installation found. Try --destroy vserver-new can handle mount points, just add --destroy and it will umount/mount the defice automagically... (you have to specify destroy here, because vserver-new can't decide if the mount point is fresh or already used.. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver -- Chuck ...and the hordes of M$*ft users descended upon me in their anger, and asked 'Why do you not get the viruses or the BlueScreensOfDeath or insecure system troubles and slowness or pay through the nose for an OS as *we* do?!!', and I answered...'I use Linux'. The Book of John, chapter 1, page 1, and end of book ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver