Re: [Vserver] Re: about Vserver for ARM

2007-03-18 Thread Wenbin Zhang

Hi Herbert,

Thanks! I can build vserver for ARM successfully with your approach, but how
to use make install to install those verser related files to corrosponding
directory in rootfs?
For example, my rootfs is under /work/rootfs/opie, how can I install vserver
to this directory? Actually I want 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 and OpenEZX code, and compile the kernel with
 vserver code successfully. However, according to
 http://linux-vserver.org/Installation_on_Linux_2.6
 ,
 we still need compile util-vserver, which is user land tool for
 vserver. I download the util-vserver code, want 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?

if you have a proper cross compile toolchain (if not,
you can get one from me), try the following:

export ARCH=arm
export CC=arm-linux-gcc
export CPP=arm-linux-cpp
export CXX=arm-linux-c++
export DIET=arm-linux-diet

then do:

./configure --prefix=

and

make

if your toolchain is working correctly, that should
build you a proper util-vserver toolset for arm

note that you might have to comment out the warning
line in the alternative syscall implementation like
this:

// #warning syscall arch arm not tested yet

best,
Herbert

 Thank you,
 Wenbin

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


Re: [Vserver] Re: about Vserver for ARM

2007-03-12 Thread Wenbin Zhang

Hi Herbert,

Now I merged Vserver code and OpenEZX code, and compile the kernel with
vserver code successfully. However, according to
http://linux-vserver.org/Installation_on_Linux_2.6,
we still need compile util-vserver, which is user land tool for vserver. I
download the util-vserver code, want 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 Zhang [EMAIL PROTECTED] wrote:


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 that the 2.0/2.2
 branches are much more performant than the 1.2
 branch, another being that the 2.2 patches provide
 a lot more useful features ...


I see, thanks! Now I have switched to 2.6 already.

 However I checked the arm-ezx patch,
  http://www.openezx.org/download/,

  all the patches are for linux 2.6.16 kernel.

 yeah, folks love the 2.6.16 kernel :)

  However, for Vserver patches,
  http://ftp.linux-vserver.org/pub/kernel/vs2.0/,

  they are only 2.6.12, 2.6.14, 2.6.17 version.
  So the two kind of patches are not for the same
  version of 2.6 kernel.

 check out this one:

 http://people.linux-vserver.org/~dhozac/p/k/patch-2.6.16.37-vs2.0.3-rc1.diff

 
http://people.linux-vserver.org/%7Edhozac/p/k/patch-2.6.16.37-vs2.0.3-rc1.diff


Thanks!

 Moreover, even they are for the same version, for
  example, 2.6.16 kernel, I guess there are still
   conflicts if we apply the two patches simutaneously.

  We have two ways:
  1) apply openezx patch, then Vserver patch
  2) apply Vserver patch, then openexz patch
 
  But we cannot guarantee the two patch have no i
  conflicts each other, any ideas?

 yes, that's called merging, and that is what you
 have to do when you got more than one patch ...

 of course, it helps a lot if you know one or even
 better all of the involved patches :)


Yes, I think I need try merge the two patches. So far I still don't know
how difficult it is :-)

Thanks,
Wenbin


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


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 that the 2.0/2.2
branches are much more performant than the 1.2
branch, another being that the 2.2 patches provide
a lot more useful features ...



I see, thanks! Now I have switched to 2.6 already.


However I checked the arm-ezx patch,
 http://www.openezx.org/download/,

 all the patches are for linux 2.6.16 kernel.

yeah, folks love the 2.6.16 kernel :)

 However, for Vserver patches,
 http://ftp.linux-vserver.org/pub/kernel/vs2.0/,

 they are only 2.6.12, 2.6.14, 2.6.17 version.
 So the two kind of patches are not for the same
 version of 2.6 kernel.

check out this one:


http://people.linux-vserver.org/~dhozac/p/k/patch-2.6.16.37-vs2.0.3-rc1.diff



Thanks!


Moreover, even they are for the same version, for
 example, 2.6.16 kernel, I guess there are still
  conflicts if we apply the two patches simutaneously.

 We have two ways:
 1) apply openezx patch, then Vserver patch
 2) apply Vserver patch, then openexz patch

 But we cannot guarantee the two patch have no i
 conflicts each other, any ideas?

yes, that's called merging, and that is what you
have to do when you got more than one patch ...

of course, it helps a lot if you know one or even
better all of the involved patches :)



Yes, I think I need try merge the two patches. So far I still don't know how
difficult it is :-)

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


Re: [Vserver] Re: about Vserver for ARM

2007-03-02 Thread Wenbin Zhang

Hi Herbert,

Thank you very much! Actually I'd like to send you a phone to test it :-)
But before I do that, let me try it firstly :-)

Yes I can switch to 2.6, no problems. However I checked the arm-ezx patch,
http://www.openezx.org/download/,
all the patches are for linux 2.6.16 kernel. However, for Vserver patches,
http://ftp.linux-vserver.org/pub/kernel/vs2.0/,
they are only 2.6.12, 2.6.14, 2.6.17 version. So the two kind of patches are
not for the same version of 2.6 kernel.

Moreover, even they are for the same version, for example, 2.6.16 kernel, I
guess there are still conflicts if we apply
the two patches simutaneously. We have two ways:
1) apply openezx patch, then Vserver patch
2) apply Vserver patch, then openexz patch

But we cannot guarantee the two patch have no conflicts each other, any
ideas?

Thanks,
Wenbin

On 3/1/07, Herbert Poetzl [EMAIL PROTECTED] wrote:


On Thu, 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:

https://opensource.motorola.com/sf/frs/do/downloadFile/projects.a780e680/frs.a780_e680_source.a780_e680/frs1003?dl=1

sounds good!

 However, all the Vserver patches on
 http://ftp.linux-vserver.org/pub/kernel/vs1.2/ cannot match the
 E680i linux 2.4 source code. There are lots of conflicts.

not unexpected, it's quite old and doesn't probably fit
what you need for the E680i ...

the main question is, are you sure you want to go with
the 2.4 kernel instead of 2.6? I know, arm support is
not the best in Linux, especially as there are many
different hardware vendors with quite different ideas
how the arch support should look like ...

 Could you let me know where to download the ARM kernel source
 code and the corresponding Vserver patch? Thank you very much!

well, here are the good news, the 2.6 patches will
work on arm quite well, so given that you can go with
2.6 on your sub-arch, that would simplify it a lot

there are also good news when you have to stick with
2.4 for whatever reason, and it basically boils down
to the fact that Linux-VServer is quite hardware
agnostic, so I do not think it would be too hard to
adapt the patches to your vendor specific tree ...

so for example I could imagine to adapt the patches
for your specific branch if you send me a phone for
testing it :)

best,
Herbert

 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] Re: about Vserver for ARM

2007-03-02 Thread Herbert Poetzl
On Fri, Mar 02, 2007 at 12:26:30PM -0500, Wenbin Zhang wrote:
 Hi Herbert,
 
 Thank you very much!
 Actually I'd like to send you a phone to test it :-)

perfect ... I'll send you my postal address
in a private mail then ...

 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 that the 2.0/2.2
branches are much more performant than the 1.2
branch, another being that the 2.2 patches provide
a lot more useful features ...

 However I checked the arm-ezx patch,
 http://www.openezx.org/download/,

 all the patches are for linux 2.6.16 kernel. 

yeah, folks love the 2.6.16 kernel :)

 However, for Vserver patches,
 http://ftp.linux-vserver.org/pub/kernel/vs2.0/,

 they are only 2.6.12, 2.6.14, 2.6.17 version. 
 So the two kind of patches are not for the same 
 version of 2.6 kernel.

check out this one:

http://people.linux-vserver.org/~dhozac/p/k/patch-2.6.16.37-vs2.0.3-rc1.diff

 Moreover, even they are for the same version, for
 example, 2.6.16 kernel, I guess there are still
  conflicts if we apply the two patches simutaneously. 

 We have two ways:
 1) apply openezx patch, then Vserver patch
 2) apply Vserver patch, then openexz patch
 
 But we cannot guarantee the two patch have no i
 conflicts each other, any ideas?

yes, that's called merging, and that is what you
have to do when you got more than one patch ...

of course, it helps a lot if you know one or even
better all of the involved patches :)

best,
Herbert

 Thanks,
 Wenbin
 
 On 3/1/07, Herbert Poetzl [EMAIL PROTECTED] wrote:
 
 On Thu, 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:
 
 https://opensource.motorola.com/sf/frs/do/downloadFile/projects.a780e680/frs.a780_e680_source.a780_e680/frs1003?dl=1
 
 sounds good!
 
  However, all the Vserver patches on
  http://ftp.linux-vserver.org/pub/kernel/vs1.2/ cannot match the
  E680i linux 2.4 source code. There are lots of conflicts.
 
 not unexpected, it's quite old and doesn't probably fit
 what you need for the E680i ...
 
 the main question is, are you sure you want to go with
 the 2.4 kernel instead of 2.6? I know, arm support is
 not the best in Linux, especially as there are many
 different hardware vendors with quite different ideas
 how the arch support should look like ...
 
  Could you let me know where to download the ARM kernel source
  code and the corresponding Vserver patch? Thank you very much!
 
 well, here are the good news, the 2.6 patches will
 work on arm quite well, so given that you can go with
 2.6 on your sub-arch, that would simplify it a lot
 
 there are also good news when you have to stick with
 2.4 for whatever reason, and it basically boils down
 to the fact that Linux-VServer is quite hardware
 agnostic, so I do not think it would be too hard to
 adapt the patches to your vendor specific tree ...
 
 so for example I could imagine to adapt the patches
 for your specific branch if you send me a phone for
 testing it :)
 
 best,
 Herbert
 
  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

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


[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:
https://opensource.motorola.com/sf/frs/do/downloadFile/projects.a780e680/frs.a780_e680_source.a780_e680/frs1003?dl=1


However, all the Vserver patches on
http://ftp.linux-vserver.org/pub/kernel/vs1.2/ cannot match the E680i linux
2.4 source code. There are lots of conflicts.

Could you let me know where to download the ARM kernel source code and the
corresponding Vserver patch? Thank you very much!

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


Re: [Vserver] Re: about Vserver for ARM

2007-03-01 Thread Herbert Poetzl
On Thu, 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:
 https://opensource.motorola.com/sf/frs/do/downloadFile/projects.a780e680/frs.a780_e680_source.a780_e680/frs1003?dl=1

sounds good!

 However, all the Vserver patches on
 http://ftp.linux-vserver.org/pub/kernel/vs1.2/ cannot match the 
 E680i linux 2.4 source code. There are lots of conflicts.

not unexpected, it's quite old and doesn't probably fit
what you need for the E680i ...

the main question is, are you sure you want to go with
the 2.4 kernel instead of 2.6? I know, arm support is
not the best in Linux, especially as there are many
different hardware vendors with quite different ideas
how the arch support should look like ...

 Could you let me know where to download the ARM kernel source 
 code and the corresponding Vserver patch? Thank you very much!

well, here are the good news, the 2.6 patches will
work on arm quite well, so given that you can go with
2.6 on your sub-arch, that would simplify it a lot

there are also good news when you have to stick with
2.4 for whatever reason, and it basically boils down
to the fact that Linux-VServer is quite hardware
agnostic, so I do not think it would be too hard to
adapt the patches to your vendor specific tree ...

so for example I could imagine to adapt the patches 
for your specific branch if you send me a phone for
testing it :)

best,
Herbert

 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