[Vserver] hostname

2006-04-10 Thread Albert Shih
Hi all

How can I change the hostname of a vsever ?

I'v change the file

/etc/vserver/name_of_vserver/name

but when I start the vserver he already have the old-name (event after
stop/start).

Lots of thanks.

--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Heure local/Local time:
Mon Apr 10 14:13:34 CEST 2006
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] hostname

2006-04-10 Thread Guenther Fuchs
Hi there,

on Monday, April 10, 2006 at 2:14:42 PM there was posted:

AS /etc/vserver/name_of_vserver/name

This is only the name visible to/through utilities.

The hostname ist to go into /etc/vserver/[vserver-name]/uts/nodename

-- 
regards 'n greez,

Guenther Fuchs
(aka muh and powerfox)

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


[Vserver] Using the latest Vserver patch with a 2.6.12 kernel?

2006-04-10 Thread EKC
HI,

I would like to use the latest vserver release
(http://vserver.13thfloor.at/Experimental/patch-2.6.16-vs2.1.1-rc15.diff)
with a 2.6.12 vanilla kernel. However, the latest vserver patch fails
to apply to the 2.6.12 kernel. Does anyone have any advice on getting
the latest vserver experimental release to work on a 2.6.12 kernel?

My motivation for doing this is that I want to use DRBD
(http://www.drbd.org) and the Lustre cluster filesystem
(http://www.clusterfs.com) with Vserver. However, the latest Lustre
filesystem release supports only the 2.6.12 kernel. I've tried porting
the Lustre kernel patch to the 2.6.16 kernel, but I'm running into
memory leak issues. Therefore, I want to investigate backporting the
latest vserver release.

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


Re: [Vserver] many ip addys

2006-04-10 Thread Herbert Poetzl
On Thu, Apr 06, 2006 at 07:00:32AM -0400, Chuck wrote:
 On Friday 21 October 2005 12:23 pm, Chuck wrote:
  On Friday 21 October 2005 12:12 pm, Herbert Poetzl wrote:
   On Fri, Oct 21, 2005 at 06:58:38AM -0400, Chuck wrote:
i forget.. was it ngnet that would support a few hundred ip addys in a
guest?
   
i have a few big machines i cant move over until it can efficiently
support several hundred ip addys (minimum a /24) ... if ngnet is the
answer im gonna try to raise some funding from my boss .. no promises
as he does not let go easily.. :D
   
   hehe, well, ngnet will provide that indeed,
   but for a quick and dirty hack you can raise
   the limit from the current 16 to something
   higher, but you should be aware that the
   current implementation will slow down with
   every ip address you add ...
  
 
 does anyone have some facts about how slow this would get with 130
 or 140 ip addys added to a current vserver? is it just measurable or
 is it visible? unfortunately this mail server is very busy so i am
 extremely hesitant to try this.

with the current design, the lookup/checks are linear
so, you can calculate like this:

 there is a minimal general overhead, let's say 2
 checks worth on every action

 there will be so many checks as are required to
 find a match, so roughly N/2 checks per bind,
 connect, whatever ...

 so with N ips assigned, you will get (N/2)+2
 checks, which will give you:

 N=1   :   2.5
 N=8   :   6.0 ~  2.4 times slower
 N=16  :  10.0 ~  4.0 times slower
 N=256 : 130.0 ~ 52.0 times slower

 on those specific checks ... 

btw, this will change in the near future, as we
will switch to something of log(N) order, which
should eliminate those overheads

HTH,
Herbert

 
 
 
 Chuck
 ___
 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] Getting Error : chbind: vc_set_ipv4root(): Function not implemented

2006-04-10 Thread Herbert Poetzl
On Sat, Apr 08, 2006 at 10:00:41AM -0700, [EMAIL PROTECTED] wrote:
 Hi All
 
 Debian Sarge 3.1 .. Kernel 2.6.8-686
 VServer 1.9.5.5 .. util-vserver   0.30.204-5 .. vserver-debian 0.1.10
 I'm getting : chbind: vc_set_ipv4root(): Function not implemented
 Looking for Doc.How Can I fix it  ?

upgrade to recent packages, there should be 2.0.1 or 2.0.2 kernels
and 0.30.210 tools (remove vserver-debian) and all should work
fine ...

best,
Herbert

 
 ---
 ThanksAll  the  Best;
 YassinB

 ___
 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] [ARCH] Linux-VServer auf T2000 :)

2006-04-10 Thread Herbert Poetzl
On Sun, Apr 09, 2006 at 04:36:39PM +0200, Guenther Fuchs wrote:
 Hi there,
 
 on Sunday, April 9, 2006 at 4:28:57 PM there was posted:
 
 HP Linux 2.6.17-rc1-vs2.1.1 #2 SMP
 
 Ah - where's this release to be fetched from? ;-)

will be available soon, it's actually 2.1.1-rc15
ported to 2.6.17-rc1 ...

best,
Herbert

 -- 
 regards 'n greez,
 
 Guenther Fuchs
 (aka muh and powerfox)
 
 ___
 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] hostname

2006-04-10 Thread Herbert Poetzl
On Mon, Apr 10, 2006 at 02:18:33PM +0200, Guenther Fuchs wrote:
 Hi there,
 
 on Monday, April 10, 2006 at 2:14:42 PM there was posted:
 
 AS /etc/vserver/name_of_vserver/name
 
 This is only the name visible to/through utilities.
 
 The hostname ist to go into /etc/vserver/[vserver-name]/uts/nodename

also note: with the proper context capability, the guest
can set the hostname from inside (virtualized utsname)
and might just change that back to soemthing which is
coded into the guest scripts ...

(you can remove that cap to disallow that)

HTH,
Herbert

 -- 
 regards 'n greez,
 
 Guenther Fuchs
 (aka muh and powerfox)
 
 ___
 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] libsensors3 and capabilites

2006-04-10 Thread Herbert Poetzl
On Thu, Apr 06, 2006 at 08:15:46PM +, Arnór Kristjánsson wrote:
 Hi,
 
 I'm trying to install jffnms inside a debian etch vserver guest (my
 test box). dpkg-reconfigure libsensors3 tells me that the kernel isn't
 compiled with sensors support, but I'd swear it is there. I got to
 thinking it was a capability thing. Can anyone point me in the right
 direction?

hmm, well, probably you want to keep sensor stuff on
the host, or inside a very trusted guest, with the
necessary capabilities and devices (no idea what those
would be exactly), because snesors often use stuff like
i2c or smbus which can easily kill a kernel and/or add
big latencies ...

if you want to figure the 'requirements' starting with
an unlimited guest and removing capabilities/devices
would be a good approach ...

HTH,
Herbert

 A.
 ___
 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] many ip addys

2006-04-10 Thread Chuck
On Monday 10 April 2006 02:10 pm, Herbert Poetzl wrote:


whoah... heh ok maybe i will implement 'plan B' for now and wait until this is 
all settled in. those figures are a bit too much for us to use presently.

 On Thu, Apr 06, 2006 at 07:00:32AM -0400, Chuck wrote:
  On Friday 21 October 2005 12:23 pm, Chuck wrote:
   On Friday 21 October 2005 12:12 pm, Herbert Poetzl wrote:
On Fri, Oct 21, 2005 at 06:58:38AM -0400, Chuck wrote:
 i forget.. was it ngnet that would support a few hundred ip addys in 
a
 guest?

 i have a few big machines i cant move over until it can efficiently
 support several hundred ip addys (minimum a /24) ... if ngnet is the
 answer im gonna try to raise some funding from my boss .. no 
promises
 as he does not let go easily.. :D

hehe, well, ngnet will provide that indeed,
but for a quick and dirty hack you can raise
the limit from the current 16 to something
higher, but you should be aware that the
current implementation will slow down with
every ip address you add ...
   
  
  does anyone have some facts about how slow this would get with 130
  or 140 ip addys added to a current vserver? is it just measurable or
  is it visible? unfortunately this mail server is very busy so i am
  extremely hesitant to try this.
 
 with the current design, the lookup/checks are linear
 so, you can calculate like this:
 
  there is a minimal general overhead, let's say 2
  checks worth on every action
 
  there will be so many checks as are required to
  find a match, so roughly N/2 checks per bind,
  connect, whatever ...
 
  so with N ips assigned, you will get (N/2)+2
  checks, which will give you:
 
  N=1   :   2.5
  N=8   :   6.0 ~  2.4 times slower
  N=16  :  10.0 ~  4.0 times slower
  N=256 : 130.0 ~ 52.0 times slower
 
  on those specific checks ... 
 
 btw, this will change in the near future, as we
 will switch to something of log(N) order, which
 should eliminate those overheads
 
 HTH,
 Herbert
 
  
  
  
  Chuck
  ___
  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


[Vserver] vserver traceroute

2006-04-10 Thread Nikolay Kichukov
Hi everybody,
I am having a problem tracerouting from a guest.

Here is the output:

As root:

traceroute 192.168.0.2

traceroute: raw socket: Operation not permitted


Some further information:

Versions:

  Kernel: 2.6.14.4-vs2.1.0nevir

  VS-API: 0x00020001

util-vserver: 0.30.209; Jan  8 2006, 12:24:41

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: i486-pc-linux-gnu/i486-pc-linux-gnu

Use dietlibc: yes

  Build C++ programs: yes

  Build C99 programs: yes

  Available APIs: compat,v11,v13,fscompat,net,oldproc,olduts

   ext2fs Source: e2fsprogs

   syscall(2) invocation: alternative

 vserver(2) syscall#: 273/glibc

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.


Thanks,
-Nikolay Kichukov


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


[Vserver] LVM + ReiserFS + Standard user quota

2006-04-10 Thread Pablo Gonzalez Mateos
Hi, I'd like to post my experience trying to have a vserver with LVM + ReiserFS (v3) + standard user quotas.I succefully installed a 2.6.16 kernel + vserver 2.0.2-rc15 + util-vserver 0.30.210. Everything from scratch, over a new brand Sarge. The first thing I tried was using ext2 for the filesystem pf the logical volume... Everithing worked fine, even the repquota. Next step was to try with reiserfs...and ooops !!! Segmentation Fault.
The first SG happened when I did a vserver vsname stop and not stopping the quota before the shutdown. So I realized there was a problem with the quota service over reiserfs... The second SG happened doing a repquota inside the guest with reiserfs.
Well, I don't know if actually this had had to work, but in my case it didn't...After the seg fault the only way I've found to have the realserver working again was to reboot...ouch !.I'm going to try with XFS, JFS and ext3...
Here you have a seg fault example:---rs01:~# vserver vs101 stopStopping periodic command scheduler: cron.Stopping HTTP server: boa.Stopping MTA: exim4.
Stopping internet superserver: inetd.Stopping OpenBSD Secure Shell server: sshd.Saving the System Clock time to the Hardware Clock...hwclock is unable to get I/O port access: the iopl(3) call failed.Hardware Clock updated to Tue Apr 11 01:28:39 UTC 2006.
Stopping quota service: rpc.rquotad.Turning off quotasMessage from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [ cut here ]Message from [EMAIL PROTECTED]
 at Mon Apr 10 22:28:39 2006 ...localhost kernel: kernel BUG at fs/reiserfs/journal.c:3405!Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: invalid opcode:  [#1]Message from 
[EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: CPU: 0Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: EIP is at journal_end_sync+0x27/0x67 [reiserfs]
Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: eax: d816 ebx: d5dde6e0 ecx:  edx: d5dde4e0Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
localhost kernel: esi: d32f7e98 edi: 0008 ebp: d5dde5f0 esp: d32f7e80Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: ds: 007b es: 007b ss: 0068Message from 
[EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: Process quotaoff (pid: 2751[#49152], threadinfo=d32f6000 task=d3231030)Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: Stack: 0d5dde6e0 d32f7e98 d81abf9d d32f7e98 d5dde6e0 0001 d5dde6e0 0002
Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: 0001 0037 0623   d47423bc d47423bc d5dde614Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
localhost kernel: 0004 d5dde5f0 0002 d5dde638 c0171c49 d5dde6e0 0001 0008Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: Call Trace:Message from 
[EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [pg0+401096605/1070425088] reiserfs_sync_fs+0x2c/0x46 [reiserfs]Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [vfs_quota_off+297/503] vfs_quota_off+0x129/0x1f7
Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [do_quotactl+263/800] do_quotactl+0x107/0x320Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [dput+27/270] dput+0x1b/0x10e
Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [mntput_no_expire+20/98] mntput_no_expire+0x14/0x62Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [lookup_bdev+109/124] lookup_bdev+0x6d/0x7c
Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [capable+22/48] capable+0x16/0x30Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [generic_quotactl_valid+298/349] generic_quotactl_valid+0x12a/0x15d
Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [check_quotactl_valid+73/81] check_quotactl_valid+0x49/0x51Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
localhost kernel: [sys_quotactl+238/262] sys_quotactl+0xee/0x106Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [syscall_call+7/11] syscall_call+0x7/0xbMessage from 
[EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: Code: 5f 89 c8 c3 56 53 8b 5c 24 10 8b 74 24 0c 83 7e 10 00 8b 93 e4 00 00 00 8b 42 0c 75 08 0f 0b 4a 0d 76 f1 1b d8 83 7e 04 01 7e 08 0f 0b 4d 0d 76 f1 1b d8 83 78 28 00 75 1f 6a 01 ff 32 53 e8 d6
/etc/rc6.d/K85quota: line 113: 2751 Segmentation fault $off $ALLFLAGS.Stopping deferred execution scheduler: atd.Stopping kernel log daemon: klogd.Stopping system log daemon: syslogd.Sending all processes the TERM signal...done.

[Vserver] LVM + ReiserFS + Standard user quota

2006-04-10 Thread Pablo Gonzalez Mateos
Hi, I'd like to post my experience trying to have a vserver with LVM + ReiserFS (v3) + standard user quotas.I
succefully installed a 2.6.16 kernel + vserver 2.0.2-rc15 +
util-vserver 0.30.210. Everything from scratch, over a new brand Sarge.
The first thing I tried was using ext2 for the filesystem pf the
logical volume... Everithing worked fine, even the repquota. Next step
was to try with reiserfs...and ooops !!! Segmentation Fault.
The first SG happened when I did a vserver vsname stop and
not stopping the quota before the shutdown. So I realized there was a
problem with the quota service over reiserfs... The second SG happened doing a repquota inside the guest with reiserfs.
Well, I don't know if actually this had had to work, but in my case it didn't...After the seg fault the only way I've found to have the realserver working again was to reboot...ouch !.I'm going to try with XFS, JFS and ext3...
Here you have a seg fault example:---rs01:~# vserver vs101 stopStopping periodic command scheduler: cron.Stopping HTTP server: boa.
Stopping MTA: exim4.
Stopping internet superserver: inetd.Stopping OpenBSD Secure Shell server: sshd.Saving the System Clock time to the Hardware Clock...hwclock is unable to get I/O port access: the iopl(3) call failed.
Hardware Clock updated to Tue Apr 11 01:28:39 UTC 2006.
Stopping quota service: rpc.rquotad.Turning off quotasMessage from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [ cut here ]Message from [EMAIL PROTECTED]

 at Mon Apr 10 22:28:39 2006 ...localhost kernel: kernel BUG at fs/reiserfs/journal.c:3405!Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: invalid opcode:  [#1]
Message from 
[EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: CPU: 0Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: EIP is at journal_end_sync+0x27/0x67 [reiserfs]

Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: eax: d816 ebx: d5dde6e0 ecx:  edx: d5dde4e0Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...

localhost kernel: esi: d32f7e98 edi: 0008 ebp: d5dde5f0 esp: d32f7e80Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: ds: 007b es: 007b ss: 0068Message from 
[EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: Process quotaoff (pid: 2751[#49152], threadinfo=d32f6000 task=d3231030)Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: Stack: 0d5dde6e0 d32f7e98 d81abf9d d32f7e98 d5dde6e0 0001 d5dde6e0 0002
Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: 0001 0037 0623   d47423bc d47423bc d5dde614Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
localhost kernel: 0004 d5dde5f0 0002 d5dde638 c0171c49 d5dde6e0 0001 0008Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: Call Trace:Message from 
[EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [pg0+401096605/1070425088] reiserfs_sync_fs+0x2c/0x46 [reiserfs]Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [vfs_quota_off+297/503] vfs_quota_off+0x129/0x1f7
Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [do_quotactl+263/800] do_quotactl+0x107/0x320Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [dput+27/270] dput+0x1b/0x10e
Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [mntput_no_expire+20/98] mntput_no_expire+0x14/0x62Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [lookup_bdev+109/124] lookup_bdev+0x6d/0x7c
Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [capable+22/48] capable+0x16/0x30Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [generic_quotactl_valid+298/349] generic_quotactl_valid+0x12a/0x15d
Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [check_quotactl_valid+73/81] check_quotactl_valid+0x49/0x51Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
localhost kernel: [sys_quotactl+238/262] sys_quotactl+0xee/0x106Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost kernel: [syscall_call+7/11] syscall_call+0x7/0xbMessage from 
[EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...localhost
kernel: Code: 5f 89 c8 c3 56 53 8b 5c 24 10 8b 74 24 0c 83 7e 10 00 8b
93 e4 00 00 00 8b 42 0c 75 08 0f 0b 4a 0d 76 f1 1b d8 83 7e 04 01 7e 08
0f 0b 4d 0d 76 f1 1b d8 83 78 28 00 75 1f 6a 01 ff 32 53 e8 d6
/etc/rc6.d/K85quota: line 113: 2751 Segmentation fault $off $ALLFLAGS.Stopping deferred execution scheduler: atd.Stopping kernel log daemon: klogd.Stopping system log daemon: syslogd.Sending all processes the TERM signal...done.

Re: [Vserver] LVM + ReiserFS + Standard user quota

2006-04-10 Thread Herbert Poetzl
On Mon, Apr 10, 2006 at 10:31:55PM -0300, Pablo Gonzalez Mateos wrote:
 Hi, I'd like to post my experience trying to have a vserver with LVM +
 ReiserFS (v3) + standard user quotas.
 
 I succefully installed a 2.6.16 kernel + vserver 2.0.2-rc15 + util-vserver
 0.30.210. Everything from scratch, over a new brand Sarge. The first thing I
 tried was using ext2 for the filesystem pf the logical volume... Everithing
 worked fine, even the repquota. Next step was to try with reiserfs...and
 ooops !!! Segmentation Fault.
 
 The first SG happened when I did a vserver vsname stop and not stopping
 the quota before the shutdown. So I realized there was a problem with the
 quota service over reiserfs...
 The second SG happened doing a repquota inside the guest with reiserfs.
 
 Well, I don't know if actually this had had to work, but in my case it
 didn't...
 After the seg fault the only way I've found to have the realserver working
 again was to reboot...ouch !.

what you experienced is a kernel stack trace. you should
copy/save the output (you can get it with dmesg) to some 
file and save it for inspection

further it seems as if this is a reiserfs issue, so I'd
ask you to try similar commands (as the guest issues) on
the host system to recreate the same stack trace, then
try again with an unpatched (vanilla) kernel

if the vanilla kernel works fine, but the vserver patched
does not (on the host) then we have something to investigate

TIA,
Herbert

 I'm going to try with XFS, JFS and ext3...
 
 Here you have a seg fault example:
 ---
 
 rs01:~# vserver vs101 stop
 Stopping periodic command scheduler: cron.
 Stopping HTTP server: boa.
 Stopping MTA: exim4.
 Stopping internet superserver: inetd.
 Stopping OpenBSD Secure Shell server: sshd.
 Saving the System Clock time to the Hardware Clock...
 hwclock is unable to get I/O port access:  the iopl(3) call failed.
 Hardware Clock updated to Tue Apr 11 01:28:39 UTC 2006.
 Stopping quota service: rpc.rquotad.
 Turning off quotas
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel: [ cut here ]
 
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel: kernel BUG at fs/reiserfs/journal.c:3405!
 
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel: invalid opcode:  [#1]
 
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel: CPU:0
 
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel: EIP is at journal_end_sync+0x27/0x67 [reiserfs]
 
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel: eax: d816   ebx: d5dde6e0   ecx:    edx:
 d5dde4e0
 
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel: esi: d32f7e98   edi: 0008   ebp: d5dde5f0   esp:
 d32f7e80
 
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel: ds: 007b   es: 007b   ss: 0068
 
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel: Process quotaoff (pid: 2751[#49152], threadinfo=d32f6000
 task=d3231030)
 
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel: Stack: 0d5dde6e0 d32f7e98 d81abf9d d32f7e98 d5dde6e0
 0001 d5dde6e0 0002
 
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel:0001 0037 0623  
 d47423bc d47423bc d5dde614
 
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel:0004 d5dde5f0 0002 d5dde638 c0171c49
 d5dde6e0 0001 0008
 
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel: Call Trace:
 
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel:  [pg0+401096605/1070425088] reiserfs_sync_fs+0x2c/0x46
 [reiserfs]
 
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel:  [vfs_quota_off+297/503] vfs_quota_off+0x129/0x1f7
 
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel:  [do_quotactl+263/800] do_quotactl+0x107/0x320
 
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel:  [dput+27/270] dput+0x1b/0x10e
 
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel:  [mntput_no_expire+20/98] mntput_no_expire+0x14/0x62
 
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel:  [lookup_bdev+109/124] lookup_bdev+0x6d/0x7c
 
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel:  [capable+22/48] capable+0x16/0x30
 
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel:  [generic_quotactl_valid+298/349]
 generic_quotactl_valid+0x12a/0x15d
 
 Message from [EMAIL PROTECTED] at Mon Apr 10 22:28:39 2006 ...
 localhost kernel:  [check_quotactl_valid+73/81]