Re: [Vserver] anybody has experience for Vserver on ARM

2007-05-06 Thread Wenbin Zhang
Hi All, I can use vcmd command correctly on my ARM phone. However, I can only use vcmd to start a single isolated process, and no way to build a competed guest machine. Anybody know how to use vcmd to build a completed guest? I guess we might be achieve this to copy a new filesystem and start a

Re: [Vserver] anybody has experience for Vserver on ARM

2007-04-30 Thread Wenbin Zhang
. Seems the syscall does not tested on ARM. Anybody make vserver successfully on ARM? Thank you so much! Thanks, Wenbin On 4/30/07, Herbert Poetzl [EMAIL PROTECTED] wrote: On Sun, Apr 29, 2007 at 05:30:45PM -0400, Wenbin Zhang wrote: Actually I think the syscall error is because of strace on ARM

Re: [Vserver] anybody has experience for Vserver on ARM

2007-04-29 Thread Wenbin Zhang
, 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

Re: [Vserver] anybody has experience for Vserver on ARM

2007-04-29 Thread Wenbin Zhang
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

Re: [Vserver] anybody has experience for Vserver on ARM

2007-04-27 Thread Wenbin Zhang
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

Re: [Vserver] anybody has experience for Vserver on ARM

2007-04-27 Thread Wenbin Zhang
, 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

Re: [Vserver] anybody has experience for Vserver on ARM

2007-04-24 Thread Wenbin Zhang
Hi Martin, FC6 has not been ported to ARM. I tried -d fc6, that does not work. But what should be used for -d option on ARM? Thank you very much! Thanks, Wenibn On 4/24/07, Martin [EMAIL PROTECTED] wrote: On Mon, 2007-04-23 at 11:33 -0400, Wenbin Zhang wrote: Now I am using -d fc6 to build

Re: [Vserver] anybody has experience for Vserver on ARM

2007-04-24 Thread Wenbin Zhang
Btw, Anybody run Vserver successfully on Arm phone? I am using a Moto E680i phone, with GPE or OPIE installed, and very doubt vserver can run on my platform... Thanks, Wenbin On 4/24/07, Wenbin Zhang [EMAIL PROTECTED] wrote: Hi Martin, FC6 has not been ported to ARM. I tried -d fc6

Re: [Vserver] anybody has experience for Vserver on ARM

2007-04-24 Thread Wenbin Zhang
For example, I use below command to create the guest: #/sbin/vserver va780 build -m rpm --context 43 --hostname=va780 --interface va7800=eth0:192.168.1.2/24 --rootdir /vserver1 --pkgbase /vserver1/.pkg -- -d fc6 this is one of them, although it has some bugs, like the --hostname= which

Re: [Vserver] anybody has experience for Vserver on ARM

2007-04-24 Thread Wenbin Zhang
On 4/24/07, Herbert Poetzl [EMAIL PROTECTED] wrote: On Tue, Apr 24, 2007 at 11:43:54AM -0400, Wenbin Zhang wrote: For example, I use below command to create the guest: #/sbin/vserver va780 build -m rpm --context 43 --hostname=va780 --interface va7800=eth0:192.168.1.2/24 --rootdir

Re: [Vserver] anybody has experience for Vserver on ARM

2007-04-24 Thread Wenbin Zhang
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

Re: [Vserver] anybody has experience for Vserver on ARM

2007-04-23 Thread Wenbin Zhang
it still need more libraries, any idea? I don't know whether I can make vserver work on phone, it seems too complicated. Thanks, Wenbin On 4/20/07, Herbert Poetzl [EMAIL PROTECTED] wrote: On Fri, Apr 20, 2007 at 12:01:26PM -0400, Wenbin Zhang wrote: Hi Herbert and Martin, Now I solved the getopt

Re: [Vserver] anybody has experience for Vserver on ARM

2007-04-23 Thread Wenbin Zhang
well, depends on _what_ you install and _what_ you actually need, complete kernel and userspace to get the Linux-VServer isolation working should be doable without any libraries and external tools, just with something like vcmd, but if you want the full userspace stuff, including legacy and guest

[Vserver] anybody has experience for Vserver on ARM

2007-04-20 Thread Wenbin Zhang
Hi All, Anybody has experiences for Vserver on ARM? I have lots of problems for this. Firstly I compiled the kernel with Vserver, then compiled the util-vserver. However I haven't made the util-vserver run on my Arm phone. The first reason is my arm phone doesnot support Bash while vserver

Re: [Vserver] anybody has experience for Vserver on ARM

2007-04-20 Thread Wenbin Zhang
? thanks! Wenbin On 4/20/07, Herbert Poetzl [EMAIL PROTECTED] wrote: On Fri, Apr 20, 2007 at 09:35:13AM -0400, Wenbin Zhang wrote: Hi All, Anybody has experiences for Vserver on ARM? I have lots of problems for this. yep, seems to works fine here ... Firstly I compiled the kernel with Vserver

Re: [Vserver] Re: about Vserver for ARM

2007-03-18 Thread Wenbin Zhang
to use a binary make for ARM to run make install on the phone, but I failed to get the ARM version make. Any ideas? Thanks, Wenbin On 3/13/07, Herbert Poetzl [EMAIL PROTECTED] wrote: On Tue, Mar 13, 2007 at 01:45:56AM -0400, Wenbin Zhang wrote: Hi Herbert, Now I merged Vserver code

[Vserver] how to make default system running on the top of one vserver?

2007-03-18 Thread Wenbin Zhang
Hello Guys, I have one question here, how to make default system running on the top of one vserver? That is: - vserver --- host linux hardware --- 1) I setup one server on the default host system.( Both the host system and

Re: [Vserver] Re: about Vserver for ARM

2007-03-12 Thread Wenbin Zhang
to cross-compile it with arm-linux-gcc. But I tried below command: # ./configure --target=arm-linux --prefix=/ I expect to generate a ARM version Makefile. However, the generated Makefile is still for x86 gcc version. What's wrong with my process? Any ideas? Thank you, Wenbin On 3/5/07, Wenbin

Re: [Vserver] Re: about Vserver for ARM

2007-03-05 Thread Wenbin Zhang
perfect ... I'll send you my postal address in a private mail then ... :-) I will keep you posted on my progress... But before I do that, let me try it firstly :-) sure ... Yes I can switch to 2.6, no problems. in this case, I'd suggest to do so, for several reasons, one being the fact

Re: [Vserver] Re: about Vserver for ARM

2007-03-02 Thread Wenbin Zhang
, Mar 01, 2007 at 01:51:20PM -0500, Wenbin Zhang wrote: Hello Guys, I want to run the Vserver on Moto E680i cell phone, which is an ARM chip, specically the Intel XScale-Bulverde chip. I guess Vserver should be able to support this architecture. I downloaded the E680i kernel souce code from

[Vserver] about Vserver for ARM

2007-03-01 Thread Wenbin Zhang
Hello Guys, I want to run the Vserver on Moto E680i cell phone, which is an ARM chip, specically the Intel XScale-Bulverde chip. I guess Vserver should be able to support this architecture. I downloaded the E680i kernel souce code from:

[Vserver] Re: about Vserver for ARM

2007-03-01 Thread Wenbin Zhang
Hello Guys, I want to run the Vserver on Moto E680i cell phone, which is an ARM chip, specically the Intel XScale-Bulverde chip. I guess Vserver should be able to support this architecture. I downloaded the E680i kernel souce code from: