Re: [Vserver] vserver cpu scheduling

2006-11-23 Thread Andreas Baetz
On Thursday 23 November 2006 20:29, Herbert Poetzl wrote:
> On Tue, Nov 21, 2006 at 10:05:07AM +0100, Andreas Baetz wrote:
> > Hi,
> > 
> > I updated to another kernel (2.6.18.2) and another vserver version
> > (vs2.0.2.2-rc6), and I think the hard cpu scheduling doesn't work as
> > expected.
> 
> works here as expected (with 2.6.18.3-vs2.0.2.2-rc8)
> 
> > What I'm trying to do is to limit the CPU cycles for xid 8004 (deb4).
> > 
> > In vserver 8004 the following command is running:
> > 
> > cat /dev/zero | gzip | gzip | gzip > /dev/null
> 
> hmm, strange, could you try with the following sequence
> (see links for the sources) and let me know what top
> and vtop report on that?
> 
>   vcmd -i 666 -BC ctx_create .flagword=^34^33^32^8 -- cpuhog

I tested with 2.6.18.2-vs2.0.2.2-rc6, because 2.6.18.3-vs2.0.2.2-rc8 freezed, 
see my other post.
CPU Scheduling doesn't seem to work.

vtop:
op - 08:30:31 up 39 min,  6 users,  load average: 0.38, 0.31, 0.20
Tasks: 160 total,   7 running, 153 sleeping,   0 stopped,   0 zombie
Cpu(s): 98.7%us,  1.0%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.3%si,  0.0%st
Mem:904876k total,   559776k used,   345100k free,52368k buffers
Swap:  1003960k total,0k used,  1003960k free,   313956k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
 8219 root  25   0  1424  244  192 R 94.7  0.0   0:17.17 cpuhog

top:
top - 08:31:43 up 41 min,  6 users,  load average: 1.14, 0.58, 0.30
Tasks: 146 total,   3 running, 143 sleeping,   0 stopped,   0 zombie
Cpu(s): 98.0%us,  1.7%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.3%si,  0.0%st
Mem:904876k total,   561456k used,   343420k free,52552k buffers
Swap:  1003960k total,0k used,  1003960k free,   314244k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
 3768 root  15   0 53680  11m 4680 S  2.0  1.3   1:07.79 Xorg
 

Maybe there is generally something wrong with my config ?
Do I need "Limit the idle task" in the kernel config ?
I always used a vanilla kernel for patching in all cases.

Andreas


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**

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


Re: [Vserver] kernel bug

2006-11-23 Thread Andreas Baetz
On Thursday 23 November 2006 18:49, Herbert Poetzl wrote:
> On Thu, Nov 23, 2006 at 02:43:13AM +0100, Herbert Poetzl wrote:
> > On Wed, Nov 22, 2006 at 01:28:42PM +0100, Andreas Baetz wrote:
> > > Because of the CPU scheduling problems I have with 2.6.18.2 and vserver 
> > > vs2.0.2.2-rc6 I tried
> > > 2.6.18.3 and vs2.0.2.2-rc7.
> > > The patch applied cleanly to a vanilla kernel.
> > > The kernel compiled ok.
> > > After booting I tried "vserver deb4 start", that failed and I got
> > > 
> > > kernel BUG at kernel/vserver/network.c:147!
> > >  host kernel: invalid opcode:  [#2]
> > >  host kernel: PREEMPT 
> > >  host kernel: CPU:0
> > >  host kernel: EIP is at unhash_nx_info+0x6e/0x90
> > >  host kernel: eax: 0100   ebx: f6c7eee0   ecx: 0001   edx: 
> > > e8326000
> > >  host kernel: esi: e824ba90   edi: 0010   ebp: c17efa90   esp: 
> > > e8327f64
> > >  host kernel: ds: 007b   es: 007b   ss: 0068
> > >  host kernel: Process chbind (pid: 4168[#0], ti=e8326000 task=e824ba90 
> > > task.ti=e8326000)
> > >  host kernel: Stack: f6c7eee0 0004 e8327f9c c012296e f6c7eee0 
> > > ff00  e8f1da40 
> > >  host kernel: e8327f9c e824bb48 e824bb80 ff00 e8f1da40 e824bb48 
> > > e8327f9c e8327f9c 
> > >  host kernel: 00ff  0401a8c0 e8326000 c0122a4d c01031e1 
> > > 00ff 0804c81b 
> > >  host kernel: Call Trace:
> > >  host kernel: Code: 04 c7 03 00 01 10 00 c7 43 04 00 02 20 00 b8 01 00 00 
> > > 00 e8 e5 ed fd ff 89 e0 25 00 e0 ff ff 8b 40 08 a8 08 75 0f 83 c4 08 5b 
> > > c3 <0f> 0b 93 00 1f 5a 43 c0 eb b8 83 c4 08 5b e9 5f 54 2c 00 eb 0d 
> > >  host kernel: EIP: [] unhash_nx_info+0x6e/0x90 SS:ESP 
> > > 0068:e8327f64
> > > 
> > > I'm back to 2.6.18.2 now.
> > 
> > thanks, should be fixed in the next release 
> 
> vs2.0.2.2-rc8 is out ...

I tried vs2.0.2.2-rc8 with 2.6.18.3, the vserver starts ok, no errors, but when 
I stopped it, the whole system freezed.
Right after "Deconfiguring network interfaces...done."
Nothing worked besides magic sysreq-boot.
Nothing in the syslog. Didn't try a second time due to lack of time.

Andreas


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**

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


Re: [Vserver] future vserver on ubuntu

2006-11-23 Thread Corey Wright
On Thu, 23 Nov 2006 18:33:44 +
Martin <[EMAIL PROTECTED]> wrote:

> On Thu, 2006-11-23 at 11:30 -0500, Philippe Clérié wrote:
> > It looks like Ubuntu is no longer going to include kernel-patch-vserver
> > in the distribution. It's not in feisty. 
> > 
> > The patch included in edgy does not apply to the stock linux sources
> > (2.6.17) and edgy does not include 2.6.12/2.6.13/2.6.15 which the patch
> > requires. And, there are no images at ubuntu.uni-klu.ac.at. 
> > 
> > Does anyone know what the plans are?
> Debian have removed kernel-patch-vserver from testing/unstable but have
> started shipping a package with it pre-built on the current Debian
> kernel version, see linux-image-2.6-vserver-$ARCH .  As I understand it
> Ubuntu releases start from a partial snapshots of unstable, so the same
> is probably true.

wouldn't bet on it.  ubuntu maintains their kernels separate from debian.
don't know if they'll follow debian's lead in this area or not, but if they
do it won't be because they are simply reusing debian's packages from
unstable.

to answer the original poster: if you want an "edgy" kernel patched with
vserver, then download the kernel source package from
http://ubuntu.uni-klu.ac.at/ubuntu.uniklu/dists/dapper/uniklu-vserver/source/*2.6.17*
and build it yourself.  yes, the binary package appears to target dapper
(at least it's in the dapper repository; haven't compared the dependency
versions to see if they are the same as in dapper), but the source package
can probably be built on edgy no problem (as i simply rebuild the dapper
kernel on debian sarge).

my guess is that Gerald Hochegger is building/backporting the edgy kernel
for dapper because they've probably settled on dapper but need the newer
kernel version (2.6.17 vs 2.6.15) to support newer hardware.  (i'm
interested in how ubuntu handles supporting people/companies/organizations
running dapper long-term but needing to support newer machines not
supported in dapper's 2.6.15.  is dapper's "long term support" for
hardware going to be stuck in the year 2006?)

hth.

corey
-- 
[EMAIL PROTECTED]
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] IPTABLES inside vserver guests (experimental version)

2006-11-23 Thread Cryptronic
Hi Andre,

as you might know, there is a Webinterface to managed vserver called openvcp 
(http://www.openvcp.org).
Because, I am a developer of the Webinterface I want to ask you whether we 
could work together to implement this in our Webinterface?

best regards
Oliver Werner aka cryptronic

Am Donnerstag, 23. November 2006 20:53 schrieb Andre Bruce:
> Hello,
>
> We are developing a client/server (host/guest) application which makes
> it possible for a guest to run a "virtual" iptables (the guest
> application should replace the offical iptables binary).
> This project is still at experimental stage and may not work as
> expected, so use it at your own risk.
>
> You are welcome to post your problems and sugestions so we can fix the
> code and get it 100%. :)
>
> The files and instructions can be downloaded at:
> http://www.virtuaserver.com.br/forum/viewtopic.php?p=215
>
> If you want to contact me directly (not through this list), please use
> the forum or the e-mail abruce @__at__@ virtuaserver.com.br.

-- 
Mit freundlichen Grüßen

O. Werner
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] IPTABLES inside vserver guests (experimental version)

2006-11-23 Thread Andre Bruce
Hello,

We are developing a client/server (host/guest) application which makes
it possible for a guest to run a "virtual" iptables (the guest
application should replace the offical iptables binary).
This project is still at experimental stage and may not work as
expected, so use it at your own risk. 

You are welcome to post your problems and sugestions so we can fix the
code and get it 100%. :)

The files and instructions can be downloaded at:
http://www.virtuaserver.com.br/forum/viewtopic.php?p=215

If you want to contact me directly (not through this list), please use
the forum or the e-mail abruce @__at__@ virtuaserver.com.br. 

-- 
André Bruce - abruce @__at__@ virtuaserver.com.br
http://www.virtuaserver.com.br

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


Re: [Vserver] vserver cpu scheduling

2006-11-23 Thread Herbert Poetzl
On Tue, Nov 21, 2006 at 10:05:07AM +0100, Andreas Baetz wrote:
> Hi,
> 
> I updated to another kernel (2.6.18.2) and another vserver version
> (vs2.0.2.2-rc6), and I think the hard cpu scheduling doesn't work as
> expected.

works here as expected (with 2.6.18.3-vs2.0.2.2-rc8)

> What I'm trying to do is to limit the CPU cycles for xid 8004 (deb4).
> 
> In vserver 8004 the following command is running:
> 
> cat /dev/zero | gzip | gzip | gzip > /dev/null

hmm, strange, could you try with the following sequence
(see links for the sources) and let me know what top
and vtop report on that?

  vcmd -i 666 -BC ctx_create .flagword=^34^33^32^8 -- cpuhog

that is supposed to put a hog in xid=666 which should
get roughly 25% cpu (which is the default setting)

http://vserver.13thfloor.at/Experimental/TOOLS/cpuhog.c
http://vserver.13thfloor.at/Experimental/TOOLS/vcmd-0.05.tar.bz2

TIA,
Herbert

> vtop shows:
> top - 09:55:24 up 18:05, 11 users,  load average: 1.12, 0.67, 0.33
> Tasks: 167 total,   3 running, 164 sleeping,   0 stopped,   0 zombie
> Cpu(s): 86.4%us, 13.3%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.3%hi,  0.0%si,  0.0%st
> Mem:904876k total,   875096k used,29780k free,   131580k buffers
> Swap:  1003960k total,0k used,  1003960k free,   355168k cached
> 
>   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND  
>  
> 14417 root  25   0  1820  656  276 R 91.1  0.1   2:26.04 gzip
> 
> According to the shedule (see below), the CPU should be limited to
> 100*3/20 = 15 %
> 
> additional info:
> 
> host:/tmp# vserver --version
> vserver 0.30.211 -- manages the state of vservers
> This program is part of util-vserver 0.30.211
> 
> Copyright (C) 2003,2004,2005 Enrico Scholz
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License.  This program has absolutely no warranty.
> 
> host:/tmp#  bash ./testme.sh-0.16 -v
> Linux-VServer Test [V0.16] Copyright (C) 2003-2006 H.Poetzl
> chcontext is working.
> chbind is working.
> chcontext 0.30.211 -- allocates/enters a security context
> This program is part of util-vserver 0.30.211
> 
> Copyright (C) 2004 Enrico Scholz
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License.  This program has absolutely no warranty.
> Linux 2.6.18.2-vs2.0.2.2-rc6.061120 #1 PREEMPT Mon Nov 20 15:33:17 CET 2006 
> i686
> Ea 0.30.211 273/glibc (DSa) 
> VCI: 0002:0002 273 0336 (TbLgnP)
> ([EMAIL PROTECTED])
> (gcc version 4.1.2 20061115 (prerelease)
> (Debian 4.1.1-20))
> #1 PREEMPT Mon Nov 20 15:33:17 CET 2006
> ---
> # chcontext  true && chcontext --xid 45678 true
> # succeeded.
> # chcontext --xid 45678 egrep 'context|VxID' /proc/self/status
> # succeeded.
> # chcontext --secure --xid 45678 mknod /tmp/testme.sh-0.16.cB7844/node c 0 0
> # succeeded.
> # chcontext  --hostname zaphod.7841 uname -a | grep -q zaphod.7841
> # succeeded.
> # chbind  --ip 192.168.0.42 true
> # succeeded.
> # chbind  --ip 192.168.0.1/255.255.255.0 --ip 10.0.0.1/24 true
> # succeeded.
> # chcontext --xid 45678 --flag fakeinit bash -c 'test $$ -eq 1'
> # succeeded.
> # chcontext  --flag fakeinit bash -c 'test $$ -eq 1'
> # succeeded.
> 
> host:/tmp# vserver-stat
> CTX   PROCVSZRSS  userTIME   sysTIMEUPTIME NAME
> 0  151   1.3G 547.1M   1h31m06   9m29s29  16h20m45 root server
> 11   2.2M   1.1M   0m03s11   0m04s68  45m04s93 monitoring server
> 8003 8 118.8M  37.8M   1m32s14   0m13s57  16h18m07 deb3
> 8004 723M   7.4M   0m00s30   0m00s00  43m14s33 deb4
> host:/tmp# cat /etc/vservers/deb4/flags
> sched_hard
> 
> host:/tmp# cat /etc/vservers/deb4/schedule 
> 3
> 20
> 500
> 10
> 500
> 0
> 
> host:/tmp# cat /proc/virtual/8004/status
> UseCnt:   30
> Tasks:11
> Flags:000202020110
> BCaps:344c04ff
> CCaps:0101
> Ticks:0
> 
> host:/tmp# cat /proc/virtual/8004/sched
> Token: 500
> FillRate:3
> Interval:   20
> TokensMin:  10
> TokensMax: 500
> PrioBias:0
> VaVaVoom:0
> cpu 0: 0 0 0
> host:/tmp# uname -a
> Linux host 2.6.18.2-vs2.0.2.2-rc6.061120 #1 PREEMPT Mon Nov 20 15:33:17 CET 
> 2006 i686 GNU/Linux
> 
> host:/tmp#  grep -i vserver /usr/src/linux-2.6.18.2/.config
> # Linux VServer
> CONFIG_VSERVER_LEGACY=y
> # CONFIG_VSERVER_LEGACY_VERSION is not set
> CONFIG_VSERVER_LEGACYNET=y
> CONFIG_VSERVER_PROC_SECURE=y
> CONFIG_VSERVER_HARDCPU=y
> # CONFIG_VSERVER_HARDCPU_IDLE is not set
> # CONFIG_VSERVER_DEBUG is not set
> CONFIG_VSERVER=y
> CONFIG_VSERVER_SECURITY=y
> 
> 
> **
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> *

Re: [Vserver] future vserver on ubuntu

2006-11-23 Thread Martin
On Thu, 2006-11-23 at 11:30 -0500, Philippe Clérié wrote:
> It looks like Ubuntu is no longer going to include kernel-patch-vserver in
> the distribution. It's not in feisty. 
> 
> The patch included in edgy does not apply to the stock linux sources
> (2.6.17) and edgy does not include 2.6.12/2.6.13/2.6.15 which the patch
> requires. And, there are no images at ubuntu.uni-klu.ac.at. 
> 
> Does anyone know what the plans are?
Debian have removed kernel-patch-vserver from testing/unstable but have
started shipping a package with it pre-built on the current Debian
kernel version, see linux-image-2.6-vserver-$ARCH .  As I understand it
Ubuntu releases start from a partial snapshots of unstable, so the same
is probably true.

Cheers,
 - Martin


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


Re: [Vserver] Upgrade to development-Version

2006-11-23 Thread Herbert Poetzl
On Thu, Nov 23, 2006 at 05:25:12PM +0100, Wolfgang Hennerbichler wrote:
> On 21.11.2006, at 03:38, Herbert Poetzl wrote:
> 
> >>One more question...
> >>Do I have to do something in order to enable 'masking' for bind9?
> >>
> >>Bind9 works without problems, but after some time it freezes
> >>completely, whis is not very nice...
> >
> >nope, freezing is not nice, could you try to attach
> >'strace -fF -p ' once that happens, and look
> >what bind9 is doing on your guest?
> 
> Sorry, switched back to my stable vserver kernel for now and can't  
> try anymore.

> I'd just like to know if I need any special capability or flag for  
> bind to work with the latest dev-version.

nope, is supposed to work out of the box ...

> I do have CAP_NET_RAW in bcapabilities, and nproc in flags.

nproc has been obsoleted for 3 years now, and doesn't do
anything on 2.6 kernels, CAP_NET_RAW is not required for
proper operation (instead it opens a security leak by allowing
the guest to sniff and spoof traffic)

best,
Herbert

> thx
> wogri
> 
> -- 
> www.vix.at // www.aco.net // www.sth.ac.at
> [EMAIL PROTECTED] // WH844-RIPE
> Vienna University Computer Center
> Tel: +43 1 4277-14031 // Fax: -9140
> 
> 
> ___
> 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] future vserver on ubuntu

2006-11-23 Thread Herbert Poetzl
On Thu, Nov 23, 2006 at 11:30:33AM -0500, Philippe Clérié wrote:
> It looks like Ubuntu is no longer going to include
> kernel-patch-vserver in the distribution. It's not in feisty.
> 
> The patch included in edgy does not apply to the stock linux sources
> (2.6.17) and edgy does not include 2.6.12/2.6.13/2.6.15 which the
> patch requires. And, there are no images at ubuntu.uni-klu.ac.at.
> 
> Does anyone know what the plans are?

would be good to contact ubuntu folks (maintainers),
they probably know more about that ...
(please CC us, if you do)

best,
Herbert

> Thanks
> Philippe
> 
> 
> 
> 
> ___
> 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] kernel bug

2006-11-23 Thread Herbert Poetzl
On Thu, Nov 23, 2006 at 02:43:13AM +0100, Herbert Poetzl wrote:
> On Wed, Nov 22, 2006 at 01:28:42PM +0100, Andreas Baetz wrote:
> > Because of the CPU scheduling problems I have with 2.6.18.2 and vserver 
> > vs2.0.2.2-rc6 I tried
> > 2.6.18.3 and vs2.0.2.2-rc7.
> > The patch applied cleanly to a vanilla kernel.
> > The kernel compiled ok.
> > After booting I tried "vserver deb4 start", that failed and I got
> > 
> > kernel BUG at kernel/vserver/network.c:147!
> >  host kernel: invalid opcode:  [#2]
> >  host kernel: PREEMPT 
> >  host kernel: CPU:0
> >  host kernel: EIP is at unhash_nx_info+0x6e/0x90
> >  host kernel: eax: 0100   ebx: f6c7eee0   ecx: 0001   edx: e8326000
> >  host kernel: esi: e824ba90   edi: 0010   ebp: c17efa90   esp: e8327f64
> >  host kernel: ds: 007b   es: 007b   ss: 0068
> >  host kernel: Process chbind (pid: 4168[#0], ti=e8326000 task=e824ba90 
> > task.ti=e8326000)
> >  host kernel: Stack: f6c7eee0 0004 e8327f9c c012296e f6c7eee0 ff00 
> >  e8f1da40 
> >  host kernel: e8327f9c e824bb48 e824bb80 ff00 e8f1da40 e824bb48 
> > e8327f9c e8327f9c 
> >  host kernel: 00ff  0401a8c0 e8326000 c0122a4d c01031e1 
> > 00ff 0804c81b 
> >  host kernel: Call Trace:
> >  host kernel: Code: 04 c7 03 00 01 10 00 c7 43 04 00 02 20 00 b8 01 00 00 
> > 00 e8 e5 ed fd ff 89 e0 25 00 e0 ff ff 8b 40 08 a8 08 75 0f 83 c4 08 5b c3 
> > <0f> 0b 93 00 1f 5a 43 c0 eb b8 83 c4 08 5b e9 5f 54 2c 00 eb 0d 
> >  host kernel: EIP: [] unhash_nx_info+0x6e/0x90 SS:ESP 
> > 0068:e8327f64
> > 
> > I'm back to 2.6.18.2 now.
> 
> thanks, should be fixed in the next release 

vs2.0.2.2-rc8 is out ...

> best,
> Herbert
> 
> > Andreas
> > 
> > 
> > **
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they
> > are addressed. If you have received this email in error please notify
> > the system manager.
> > **
> > 
> > ___
> > 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
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vserver bug on kernel 2.6.18.3

2006-11-23 Thread Daniel Hokka Zakrisson

[EMAIL PROTECTED] wrote:

Hello,

I compiled kernel 2.6.18.3 with patch-2.6.18.3-vs2.1.1.1.diff  on
debian-3.1-sarge-backports
Compil ok, starting ok but when i launch vserver vweb1 start, i got the
following errors which seems to be the same as Andreas Baetz.

I've read Herbert should fix it in the next release . It was just to show
the bug is probably in the  patch-2.6.18.3-vs2.1.1.1.diff  , too.


It's fixed in 2.1.1.2.

--
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


Re: [Vserver] which version to choose for a new install

2006-11-23 Thread Herbert Poetzl
On Thu, Nov 23, 2006 at 10:28:27AM +0100, Adnet Ghislain wrote:
> Hello,
> 
> If we want to build new box with vserver on them, what version
> stable/dev/prepatch should we choose? 

depends on what 'features' you require ...
(see http://linux-vserver.org/Feature_Matrix)

> We know the kernel has seen some major bug squeeze those last weeks
> and stable version is laggin a little in kernel version. So what is
> the best choice about this?

assumed you decide for stable, you probably best
go with the current release candidate vs2.0.2.2-rc8

> should we stick with stable and be .0.01 late in kernel or take
> dev one, will this be a problem? 

you might also start with one of the 2.2.0 pre releases
which will give you most of the features devel has and
should provide a stable base for the future

> will version be switched soon (dev=>stable) as hints on the list 
> seems to indicate?

yes and no, 2.2.0 will become a second stable branch,
while 2.0.x will fade out over time (next two years 
or so :)

> Any advice on wich version to choose? :)

aside from what I said above ... go for the features 
... and let us know how it goes :)

HTH,
Herbert

> -- 
> Cordialement,
> Ghislain
> 



> ___
> 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] Upgrade to development-Version

2006-11-23 Thread Wolfgang Hennerbichler

On 21.11.2006, at 03:38, Herbert Poetzl wrote:


One more question...
Do I have to do something in order to enable 'masking' for bind9?

Bind9 works without problems, but after some time it freezes
completely, whis is not very nice...


nope, freezing is not nice, could you try to attach
'strace -fF -p ' once that happens, and look
what bind9 is doing on your guest?


Sorry, switched back to my stable vserver kernel for now and can't  
try anymore.
I'd just like to know if I need any special capability or flag for  
bind to work with the latest dev-version.


I do have CAP_NET_RAW in bcapabilities, and nproc in flags.

thx
wogri

--
www.vix.at // www.aco.net // www.sth.ac.at
[EMAIL PROTECTED] // WH844-RIPE
Vienna University Computer Center
Tel: +43 1 4277-14031 // Fax: -9140


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


[Vserver] future vserver on ubuntu

2006-11-23 Thread Philippe Clérié
It looks like Ubuntu is no longer going to include kernel-patch-vserver in
the distribution. It's not in feisty. 

The patch included in edgy does not apply to the stock linux sources
(2.6.17) and edgy does not include 2.6.12/2.6.13/2.6.15 which the patch
requires. And, there are no images at ubuntu.uni-klu.ac.at. 

Does anyone know what the plans are?

Thanks
Philippe




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


[Vserver] vserver bug on kernel 2.6.18.3

2006-11-23 Thread patrick
Hello,

I compiled kernel 2.6.18.3 with patch-2.6.18.3-vs2.1.1.1.diff  on
debian-3.1-sarge-backports
Compil ok, starting ok but when i launch vserver vweb1 start, i got the
following errors which seems to be the same as Andreas Baetz.

I've read Herbert should fix it in the next release . It was just to show
the bug is probably in the  patch-2.6.18.3-vs2.1.1.1.diff  , too.

Nov 23 16:35:01 lindows kernel: [ cut here ]
Nov 23 16:35:01 lindows kernel: kernel BUG at kernel/vserver/network.c:148!
Nov 23 16:35:01 lindows kernel: invalid opcode:  [#1]
Nov 23 16:35:01 lindows kernel: PREEMPT
Nov 23 16:35:01 lindows kernel: Modules linked in: ipv6 floppy shpchp
pci_hotplug e100 parport_pc parport dm_mod via686a eeprom i2c_
isa i2c_viapro eepro100 mii rtc
Nov 23 16:35:01 lindows kernel: CPU:0
Nov 23 16:35:01 lindows kernel: EIP:0060:[unhash_nx_info+87/112]Not
tainted VLI
Nov 23 16:35:01 lindows kernel: EFLAGS: 00010246   (2.6.18.3-vs2.1.1.1 #1)
Nov 23 16:35:01 lindows kernel: EIP is at unhash_nx_info+0x57/0x70
Nov 23 16:35:01 lindows kernel: eax: 0100   ebx: f7c56280   ecx:
f7c56280   edx: 
Nov 23 16:35:01 lindows kernel: esi: f7f72030   edi: 0001   ebp:
ff00   esp: f7415f8c
Nov 23 16:35:01 lindows kernel: ds: 007b   es: 007b   ss: 0068
Nov 23 16:35:01 lindows kernel: Process chbind (pid: 2554[#0], ti=f7414000
task=f7f72030 task.ti=f7414000)
Nov 23 16:35:01 lindows kernel: Stack: c18dea20 c011cd57 0804d095 f7414000
c0164f97 f7415fa4 00ff bfd3fc9f
Nov 23 16:35:01 lindows kernel:bfd3f81c f7414000 c011cf7d c0103001
00ff 0804c86b bfd3f80c bfd3fc9f
Nov 23 16:35:01 lindows kernel:bfd3f81c 0001 0001 007b
007b 0001 b7f77410 0073
Nov 23 16:35:01 lindows kernel: Call Trace:
Nov 23 16:35:01 lindows kernel:  [do_exit+743/1248] do_exit+0x2e7/0x4e0
Nov 23 16:35:01 lindows kernel:  [sys_write+71/128] sys_write+0x47/0x80
Nov 23 16:35:01 lindows kernel:  [sys_exit+13/16] sys_exit+0xd/0x10
Nov 23 16:35:01 lindows kernel:  [sysenter_past_esp+86/121]
sysenter_past_esp+0x56/0x79
Nov 23 16:35:01 lindows kernel: Code: 74 03 89 50 04 c7 03 00 01 10 00 c7 43
04 00 02 20 00 89 e0 25 00 e0 ff ff ff 48 14 8b 40 08 a
8 08 75 02 5b c3 5b e9 69 98 1e 00 <0f> 0b 94 00 35 f4 33 c0 eb bc a1 14 00
00 00 eb ef 90 8d b4 26
Nov 23 16:35:01 lindows kernel: EIP: [unhash_nx_info+87/112]
unhash_nx_info+0x57/0x70 SS:ESP 0068:f7415f8c
Nov 23 16:35:01 lindows kernel:  <1>Fixing recursive fault but reboot is
needed!

Patrick

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


[Vserver] which version to choose for a new install

2006-11-23 Thread Adnet Ghislain

Hello,

 If we want to build new box with vserver on them, what version 
stable/dev/prepatch  should we choose ?  We know the kernel has seen 
some major bug squeeze those last weeks and stable version is laggin a 
little in kernel version. So what is the best choice about this ? should 
we stick with stable and be .0.01 late in kernel or take dev one, will 
this be a problem ? will version be switched soon (dev=>stable) as hints 
on the list seems to indicate ?  Any advice on wich version to choose ? :)


--
Cordialement,
Ghislain



smime.p7s
Description: S/MIME Cryptographic Signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver