Re: [Vserver] Re: java crash in vserver...

2007-04-29 Thread Herbert Poetzl
On Tue, Apr 24, 2007 at 09:00:19PM +0200, Herbert Poetzl wrote:
 On Tue, Apr 24, 2007 at 11:07:29AM +0200, Thomas Besser wrote:
  Herbert Poetzl wrote:
   On Fri, Apr 13, 2007 at 09:30:32AM +0200, Thomas Besser wrote:
   The above mentioned log and also a strace run is here:
   http://www.archIT.uni-karlsruhe.de/geoserver/error.log
   http://www.archIT.uni-karlsruhe.de/geoserver/strace.log
   
   will look into that after my vacation ...
  
  Perhaps you had little time to look into the error log?
 
 not yet, but I'm online for today (despite my vacation :)
 so if you pay a visit to the IRC channel, we can take a
 quick look at it ...

back from my vacation now .. but the urls above give
503 Service Unavailable ...

best,
Herbert
PS: you can find me on IRC :)

 best,
 Herbert
 
  Thanx for your help.
  
  Thomas
  
  
  ___
  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] anybody has experience for Vserver on ARM

2007-04-29 Thread Herbert Poetzl
On Fri, Apr 27, 2007 at 01:02:34PM -0400, Wenbin Zhang wrote:
 Hello, guys,
 
 This time I build a new Vserver enabled kernel and GPE package, now solved
 the Illegal instruction on ARM.
 But I tried vcmd -i 42 -C ctx_create -- ps auxwww, it just simply 
 hung (but I can interrupt the command).
 Any approach to solve this?

strace -fF -o vcmd.trace vcmd

 Btw, I tried below command for the vserver kernel, seems OK.
 1)[EMAIL PROTECTED]:/work/vcmd-0.08# cat /proc/virtual/info
 VCIVersion: 0002:0002
 VCISyscall: 313
 VCIKernel:  0336
 
 2) [EMAIL PROTECTED]:/work/vcmd-0.08# setattr --~hide /proc/uptime
 
 3) [EMAIL PROTECTED]:/work/vcmd-0.08# vserver-stat
 CTX   PROCVSZRSS  userTIME   sysTIMEUPTIME NAME
 0   49 165.9M  63.9M   0m55s76   0m24s19  10m14s64 root server
 
 4) [EMAIL PROTECTED]:/work/vcmd-0.08# vserver-info
 Versions:
   Kernel: 2.6.16.13-vs2.0.3-rc1
   VS-API: 0x00020002
 util-vserver: 0.30.212; Apr 17 2007, 18:47:18
 
 Features:
   CC: arm-angstrom-linux-gnueabi-gcc,
 arm-angstrom-linux-gnueabi-gcc (GCC) 4.1.1
  CXX: arm-angstrom-linux-gnueabi-c++,
 arm-angstrom-linux-gnueabi-c++ (GCC) 4.1.1
 CPPFLAGS: ''
   CFLAGS: '-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: i686-pc-linux-gnu/arm-unknown-none
 Use dietlibc: no (you have been warned)
~

   Build C++ programs: yes
   Build C99 programs: yes
   Available APIs: v13,net,v21
ext2fs Source: kernel
syscall(2) invocation: traditional
  vserver(2) syscall#: 313/fallback
 
 Paths:
   prefix:
sysconf-Directory: ${prefix}/etc
cfg-Directory: ${prefix}/etc/vservers
 initrd-Directory: $(sysconfdir)/init.d
   pkgstate-Directory: ${prefix}/var/run/vservers
  vserver-Rootdir: /vservers
 
 Assumed 'SYSINFO' as no other option given; try '--help' for more
 information.
 
 Seems everything is fine, but why vcmd cannot be run correctly? 

no idea, maybe a broken toolchain?

best,
Herbert

 (I can run vcmd correctly on my PC machine)
 
 Thanks,
 Wenbin
 
 On 4/27/07, Wenbin Zhang [EMAIL PROTECTED] wrote:
 
 
 
 On 4/26/07, Herbert Poetzl [EMAIL PROTECTED] wrote:
 
  On Wed, Apr 25, 2007 at 12:40:12AM -0400, Wenbin Zhang wrote:
   
   
vcmd -i 42 -C ctx_create -- ps auxwww
vserver: ret = 0x002A (42)
USER   PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME
  COMMAND
root 11780  0.0  0.0   1944   672 pts/2R+   13:35   0:00 ps
auxwww
   
   I downloaded the vcmd source, and crosscompiled it, then copy to the
  ARM
   phone, however, when I tried to run the command, it cannot create the
   process successfully, very strange...
   when I run vcmd -h, it can show the help, but  when I run  vcmd -i
  42 -C
   ctx_create -- ps auxwww, it just hung.
   [EMAIL PROTECTED]:/work/vcmd- 0.08# ./vcmd -h
   This is ./vcmd V0.08
   options are:
-hprint this help message
-Adump data after syscall
-Bdump data before syscall
  
   Btw, my ARM kernel is vserver enabled, I can find the
   /proc/virtual/info does exist but it is an empty file.
 
  that sounds odd ...
 
   I guess might be the vserver kernel module has some
   problem, but I cannot figure out what it is, which is the
   thing I am worrying about.
 
  there is no such thing as a Linux-VServer kernel module,
  so I'm pretty sure that is fine ...
 
   Can you think of any ideas?
 
  maybe you compiled the wrong kernel?
  maybe your toolchain is broken?
 
  Not really, I compiled other package with my tool chain, that's fine, no
 problem
 However seems vserver kernel has some problems.
 
 [EMAIL PROTECTED]:/# vserver-info
 Versions:
Kernel: 2.6.16.13-vs2.0.3-rc1-ezx6
VS-API: Illegal instruction
 [EMAIL PROTECTED]:/# vserver-stat
 Illegal instruction
 
 Strange, any possiblities?
 
 Thanks,
 Wenbin
 

 ___
 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] anybody has experience for Vserver on ARM

2007-04-29 Thread Wenbin Zhang

I traced the vcmd command. When the vcmd command is run and without
arguments, the error is:
syscall: unknown syscall trap 0xef000139

This syscall error is occured while num_ret = vserver(num_cmd, num_id,
data); is executed. I guss ARM is using a different method to register new
syscall?

Thanks,
Wenbin


On 4/29/07, Herbert Poetzl [EMAIL PROTECTED] wrote:


On Fri, Apr 27, 2007 at 01:02:34PM -0400, Wenbin Zhang wrote:
 Hello, guys,

 This time I build a new Vserver enabled kernel and GPE package, now
solved
 the Illegal instruction on ARM.
 But I tried vcmd -i 42 -C ctx_create -- ps auxwww, it just simply
 hung (but I can interrupt the command).
 Any approach to solve this?

strace -fF -o vcmd.trace vcmd

 Btw, I tried below command for the vserver kernel, seems OK.
 1)[EMAIL PROTECTED]:/work/vcmd-0.08# cat /proc/virtual/info
 VCIVersion: 0002:0002
 VCISyscall: 313
 VCIKernel:  0336

 2) [EMAIL PROTECTED]:/work/vcmd-0.08# setattr --~hide /proc/uptime

 3) [EMAIL PROTECTED]:/work/vcmd-0.08# vserver-stat
 CTX   PROCVSZRSS  userTIME   sysTIMEUPTIME NAME
 0   49 165.9M  63.9M   0m55s76   0m24s19  10m14s64 root server

 4) [EMAIL PROTECTED]:/work/vcmd-0.08# vserver-info
 Versions:
   Kernel: 2.6.16.13-vs2.0.3-rc1
   VS-API: 0x00020002
 util-vserver: 0.30.212; Apr 17 2007, 18:47:18

 Features:
   CC: arm-angstrom-linux-gnueabi-gcc,
 arm-angstrom-linux-gnueabi-gcc (GCC) 4.1.1
  CXX: arm-angstrom-linux-gnueabi-c++,
 arm-angstrom-linux-gnueabi-c++ (GCC) 4.1.1
 CPPFLAGS: ''
   CFLAGS: '-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: i686-pc-linux-gnu/arm-unknown-none
 Use dietlibc: no (you have been warned)
~

   Build C++ programs: yes
   Build C99 programs: yes
   Available APIs: v13,net,v21
ext2fs Source: kernel
syscall(2) invocation: traditional
  vserver(2) syscall#: 313/fallback

 Paths:
   prefix:
sysconf-Directory: ${prefix}/etc
cfg-Directory: ${prefix}/etc/vservers
 initrd-Directory: $(sysconfdir)/init.d
   pkgstate-Directory: ${prefix}/var/run/vservers
  vserver-Rootdir: /vservers

 Assumed 'SYSINFO' as no other option given; try '--help' for more
 information.

 Seems everything is fine, but why vcmd cannot be run correctly?

no idea, maybe a broken toolchain?

best,
Herbert

 (I can run vcmd correctly on my PC machine)

 Thanks,
 Wenbin

 On 4/27/07, Wenbin Zhang [EMAIL PROTECTED] wrote:
 
 
 
 On 4/26/07, Herbert Poetzl [EMAIL PROTECTED] wrote:
 
  On Wed, Apr 25, 2007 at 12:40:12AM -0400, Wenbin Zhang wrote:
   
   
vcmd -i 42 -C ctx_create -- ps auxwww
vserver: ret = 0x002A (42)
USER   PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME
  COMMAND
root 11780  0.0  0.0   1944   672 pts/2R+   13:35   0:00
ps
auxwww
   
   I downloaded the vcmd source, and crosscompiled it, then copy to
the
  ARM
   phone, however, when I tried to run the command, it cannot create
the
   process successfully, very strange...
   when I run vcmd -h, it can show the help, but  when I run  vcmd
-i
  42 -C
   ctx_create -- ps auxwww, it just hung.
   [EMAIL PROTECTED]:/work/vcmd- 0.08# ./vcmd -h
   This is ./vcmd V0.08
   options are:
-hprint this help message
-Adump data after syscall
-Bdump data before syscall
  
   Btw, my ARM kernel is vserver enabled, I can find the
   /proc/virtual/info does exist but it is an empty file.
 
  that sounds odd ...
 
   I guess might be the vserver kernel module has some
   problem, but I cannot figure out what it is, which is the
   thing I am worrying about.
 
  there is no such thing as a Linux-VServer kernel module,
  so I'm pretty sure that is fine ...
 
   Can you think of any ideas?
 
  maybe you compiled the wrong kernel?
  maybe your toolchain is broken?
 
  Not really, I compiled other package with my tool chain, that's fine,
no
 problem
 However seems vserver kernel has some problems.
 
 [EMAIL PROTECTED]:/# vserver-info
 Versions:
Kernel: 2.6.16.13-vs2.0.3-rc1-ezx6
VS-API: Illegal instruction
 [EMAIL PROTECTED]:/# vserver-stat
 Illegal instruction
 
 Strange, any possiblities?
 
 Thanks,
 Wenbin
 

 ___
 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] anybody has experience for Vserver on ARM

2007-04-29 Thread Wenbin Zhang

Actually I think the syscall error is because of strace on ARM, not because
of vcmd.
[EMAIL PROTECTED]:/work/test# ./vcmd
wenbin print: num_cmd = 0, num_id = 0
Illegal instruction

[EMAIL PROTECTED]:/work/test# strace -fF -o vcmd.trace ./vcmd
syscall: unknown syscall trap 0xef000139

unknow syscall should be a strace bug, I think. The basic failure is
becuase of illegal instruction during vserver(num_cmd, num_id, data)
syscall.

Thanks,
Wenbin




On 4/29/07, Wenbin Zhang [EMAIL PROTECTED] wrote:


I traced the vcmd command. When the vcmd command is run and without
arguments, the error is:
syscall: unknown syscall trap 0xef000139

This syscall error is occured while num_ret = vserver(num_cmd, num_id,
data); is executed. I guss ARM is using a different method to register new
syscall?

Thanks,
Wenbin


On 4/29/07, Herbert Poetzl [EMAIL PROTECTED] wrote:

 On Fri, Apr 27, 2007 at 01:02:34PM -0400, Wenbin Zhang wrote:
  Hello, guys,
 
  This time I build a new Vserver enabled kernel and GPE package, now
 solved
  the Illegal instruction on ARM.
  But I tried vcmd -i 42 -C ctx_create -- ps auxwww, it just simply
  hung (but I can interrupt the command).
  Any approach to solve this?

 strace -fF -o vcmd.trace vcmd

  Btw, I tried below command for the vserver kernel, seems OK.
  1)[EMAIL PROTECTED]:/work/vcmd-0.08# cat /proc/virtual/info
  VCIVersion: 0002:0002
  VCISyscall: 313
  VCIKernel:  0336
 
  2) [EMAIL PROTECTED]:/work/vcmd-0.08# setattr --~hide /proc/uptime
 
  3) [EMAIL PROTECTED]:/work/vcmd-0.08# vserver-stat
  CTX   PROCVSZRSS  userTIME   sysTIMEUPTIME NAME
  0   49 165.9M  63.9M   0m55s76   0m24s19  10m14s64 root server
 
  4) [EMAIL PROTECTED]:/work/vcmd-0.08# vserver-info
  Versions:
Kernel: 2.6.16.13-vs2.0.3-rc1
VS-API: 0x00020002
  util-vserver: 0.30.212; Apr 17 2007, 18:47:18
 
  Features:
CC: arm-angstrom-linux-gnueabi-gcc,
  arm-angstrom-linux-gnueabi-gcc (GCC) 4.1.1
   CXX: arm-angstrom-linux-gnueabi-c++,
  arm-angstrom-linux-gnueabi-c++ (GCC) 4.1.1
  CPPFLAGS: ''
CFLAGS: '-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: i686-pc-linux-gnu/arm-unknown-none
  Use dietlibc: no (you have been warned)
 ~

Build C++ programs: yes
Build C99 programs: yes
Available APIs: v13,net,v21
 ext2fs Source: kernel
 syscall(2) invocation: traditional
   vserver(2) syscall#: 313/fallback
 
  Paths:
prefix:
 sysconf-Directory: ${prefix}/etc
 cfg-Directory: ${prefix}/etc/vservers
  initrd-Directory: $(sysconfdir)/init.d
pkgstate-Directory: ${prefix}/var/run/vservers
   vserver-Rootdir: /vservers
 
  Assumed 'SYSINFO' as no other option given; try '--help' for more
  information.
 
  Seems everything is fine, but why vcmd cannot be run correctly?

 no idea, maybe a broken toolchain?

 best,
 Herbert

  (I can run vcmd correctly on my PC machine)
 
  Thanks,
  Wenbin
 
  On 4/27/07, Wenbin Zhang [EMAIL PROTECTED] wrote:
  
  
  
  On 4/26/07, Herbert Poetzl  [EMAIL PROTECTED] wrote:
  
   On Wed, Apr 25, 2007 at 12:40:12AM -0400, Wenbin Zhang wrote:


 vcmd -i 42 -C ctx_create -- ps auxwww
 vserver: ret = 0x002A (42)
 USER   PID %CPU %MEMVSZ   RSS TTY  STAT START
 TIME
   COMMAND
 root 11780   0.0  0.0   1944   672 pts/2R+   13:35
 0:00 ps
 auxwww

I downloaded the vcmd source, and crosscompiled it, then copy to
 the
   ARM
phone, however, when I tried to run the command, it cannot create
 the
process successfully, very strange...
when I run vcmd -h, it can show the help, but  when I run 
 vcmd -i
   42 -C
ctx_create -- ps auxwww, it just hung.
[EMAIL PROTECTED]:/work/vcmd- 0.08# ./vcmd -h
This is ./vcmd V0.08
options are:
 -hprint this help message
 -Adump data after syscall
 -Bdump data before syscall
   
Btw, my ARM kernel is vserver enabled, I can find the
/proc/virtual/info does exist but it is an empty file.
  
   that sounds odd ...
  
I guess might be the vserver kernel module has some
problem, but I cannot figure out what it is, which is the
thing I am worrying about.
  
   there is no such thing as a Linux-VServer kernel module,
   so I'm pretty sure that is fine ...
  
Can you think of any ideas?
  
   maybe you compiled the wrong kernel?
   maybe your toolchain is broken?
  
   Not really, I compiled other package with my tool chain, that's
 fine, no
  problem
  However seems vserver kernel has some problems.
  
  [EMAIL PROTECTED] :/# vserver-info
  Versions:
 Kernel: 

[Vserver] behavior i have never seen before

2007-04-29 Thread Chuck

it just started today. has been behaving before this. i have a vserver 
configured to run cacti and nagios. oddly nagios runs, but does not show in 
the process listing using ps ax. it once did. when i go to stop it with the 
init scrip it says it cannot find the pid but if i run the init with stop 
once more it stops it and it truly does.

it appears to be hiding somehow and it appears to function normally.

any clues? i don't know if this is an o/s problem that just developed or a 
vserver situation or  a nagios configuration that i may have messed up 
accidently or what.. stopping and starting the vserver does not make it 
appear in the process listing although it is running.

im running gentoo on the host amd64

2.6.19-vs2.2.0-rc2
util-vserver-0.30.212-r2

and a gentoo amd64 guest.

-- 

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