Re: [Vserver] anybody has experience for Vserver on ARM
> 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. 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. Can you think of any ideas? Thanks, Wenbin ___ 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
On Tue, Apr 24, 2007 at 02:18:57PM -0400, Wenbin Zhang wrote: > 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 /vserver1 --pkgbase > >/vserver1/.pkg > >> >-- > >> >> -d fc6 > >> > > >> >this is one of them, although it has some bugs, like the > >> >--hostname= which should be --hostname va780.some.domain > >> > >> > >> The other ways mean vcmd, right? > >> But I reviewed the page > >> http://linux-vserver.org/VCMD_HowTo > >> > >> Seems no way to create isolated process, right? > > > >why do you think so? vcmd can do everything necessary > >for context isolation and context setup (for both, > >process and network contexts) > > > >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 > > > >Thanks! That's pretty good. > One more question, If I create 3 vserver processes by this way, and I > allow the 3 processes can access only certain files in my machine, for > example, only 4 files on my systems. > Can I group the 3 processes and 4 files together? yes, somewhat ... > say, they can see each other on their vserver domain, but they will > not be accessible by other program on my host machine? no, as the host context is also the admin context, it will have access to those processes and files in some way ... but you can keep them separate from eachother or another group of processes ... > 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: java crash in vserver...
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 ... 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
Re: [Vserver] anybody has experience for Vserver on ARM
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 /vserver1 --pkgbase /vserver1/.pkg > >-- > >> -d fc6 > > > >this is one of them, although it has some bugs, like the > >--hostname= which should be --hostname va780.some.domain > > > The other ways mean vcmd, right? > But I reviewed the page > http://linux-vserver.org/VCMD_HowTo > > Seems no way to create isolated process, right? why do you think so? vcmd can do everything necessary for context isolation and context setup (for both, process and network contexts) 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 Thanks! That's pretty good. One more question, If I create 3 vserver processes by this way, and I allow the 3 processes can access only certain files in my machine, for example, only 4 files on my systems. Can I group the 3 processes and 4 files together? say, they can see each other on their vserver domain, but they will not be accessible by other program on my host machine? Thanks, Wenbin ___ 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
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 /vserver1 --pkgbase /vserver1/.pkg > >-- > >> -d fc6 > > > >this is one of them, although it has some bugs, like the > >--hostname= which should be --hostname va780.some.domain > > > The other ways mean vcmd, right? > But I reviewed the page > http://linux-vserver.org/VCMD_HowTo > > Seems no way to create isolated process, right? why do you think so? vcmd can do everything necessary for context isolation and context setup (for both, process and network contexts) 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 best, Herbert > >#vserver va780 enter > >> > >> What's your mean "get the Linux-VServer isolation working", I guess we > >> definitely need build a guest, right? > > > >no, guests are complex and specialized forms of the > >modular isolation (processes, networking, filesystem) ... > > > >> What's the vcmd doing? > > > >it issues all kinds of Linux-VServer syscall commands > >and thus allows to utilize the complete Linux-VServer API > > > Thanks :-) Any detailed documents other than > http://linux-vserver.org/VCMD_HowTo ? > > >I hardly can find downloadable source/binary for vcmd. > > > >you must have been hardly looking then :) > > > >http://vserver.13thfloor.at/Experimental/TOOLS/vcmd-0.08.tar.bz2 > > > 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
On Tue, 2007-04-24 at 11:46 -0400, Wenbin Zhang wrote: > Thanks, Martin. > > Do you mean Debian has an ARM port? http://www.debian.org/ports/arm/ > But I tried "-d debian" on arm, > But it told me "Can not find configuration for the distribution > 'debian'. > Why that? Maybe debian isn't the right word or perhaps you need to change one of the other parameters as well. Without you posting the exact command you ran and the exact output, it's difficult to tell. Maybe searching the wiki / archive for 'how to install a Debian guest', might point you in the right direction . This page: http://linux-vserver.org/Building_Guest_Systems has instructions for Ubuntu guests. Given the common lineage between the two I suspect it could be adapted for installing Debian guests. HTH Cheers, - Martin ___ 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
> 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 should be --hostname va780.some.domain The other ways mean vcmd, right? But I reviewed the page http://linux-vserver.org/VCMD_HowTo Seems no way to create isolated process, right? #vserver va780 enter > > What's your mean "get the Linux-VServer isolation working", I guess we > definitely need build a guest, right? no, guests are complex and specialized forms of the modular isolation (processes, networking, filesystem) ... > What's the vcmd doing? it issues all kinds of Linux-VServer syscall commands and thus allows to utilize the complete Linux-VServer API Thanks :-) Any detailed documents other than http://linux-vserver.org/VCMD_HowTo ? I hardly can find downloadable source/binary for vcmd. you must have been hardly looking then :) http://vserver.13thfloor.at/Experimental/TOOLS/vcmd-0.08.tar.bz2 Thanks .. Wenbin ___ 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
On Tue, Apr 24, 2007 at 09:05:28AM -0400, Wenbin Zhang wrote: > 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... if you send me a phone, I will gladly install the necessary stuff to create a Linux-VServer guest there and test that everything works :) best, Herbert > Thanks, > Wenbin > > On 4/24/07, Wenbin Zhang <[EMAIL PROTECTED]> wrote: > > > >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 the guest. > >> Has Fedora Core 6 been ported to ARM? I didn't think it had been. > >> Obviously I'm missing something. > >> > >> Cheers, > >> - Martin > >> > >> > >> > > > ___ > 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
On Tue, 2007-04-24 at 09:05 -0400, Wenbin Zhang wrote: > 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... I haven't tried it but I see no reason why vserver couldn't be run on your ARM system; assuming that it has a Linux kernel running on it already. It may take a bit of work and you may have to be pretty slow and methodical baout getting it running but it should be possible. When I was trying to get vserver running on my UltraSPARC based server, the people here (esp. Bertl) were very helpful and supportive. I suspect by getting it running on ARM you will help improve the software as well as helping anyone else who is working on using vserver on an embedded platform. Cheers, - Martin ___ 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
On Tue, 2007-04-24 at 07:58 -0400, Wenbin Zhang wrote: > 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! If I am correct then -d controls the distro of the guest that you are building. By default only the common few distros are supported, but I'm told that it's pretty simple to add support for others (check the Wiki / archives I'd guess). Of the top of my head I couldn't tell you which distros other than Debian have an ARM port. HTH Cheers, - Martin ___ 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
On Mon, Apr 23, 2007 at 04:14:49PM -0400, Wenbin Zhang wrote: > >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 > >building (which I consider extreme for a phone) > >you'll have to provide a bunch of tools and libs > >too ... > > > Hello, Thank you very much for your response. > I just want to build the vserver guest, and can login the guest. well, there are many different ways to 'build' a guest > 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 should be --hostname va780.some.domain > #vserver va780 enter > > What's your mean "get the Linux-VServer isolation working", I guess we > definitely need build a guest, right? no, guests are complex and specialized forms of the modular isolation (processes, networking, filesystem) ... > What's the vcmd doing? it issues all kinds of Linux-VServer syscall commands and thus allows to utilize the complete Linux-VServer API > I hardly can find downloadable source/binary for vcmd. you must have been hardly looking then :) http://vserver.13thfloor.at/Experimental/TOOLS/vcmd-0.08.tar.bz2 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] anybody has experience for Vserver on ARM
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", 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 the guest. > Has Fedora Core 6 been ported to ARM? I didn't think it had been. > Obviously I'm missing something. > > Cheers, > - Martin > > > ___ 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
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 the guest. Has Fedora Core 6 been ported to ARM? I didn't think it had been. Obviously I'm missing something. Cheers, - Martin ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Re: java crash in vserver...
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? Thanx for your help. Thomas ___ 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
On Mon, 2007-04-23 at 11:33 -0400, Wenbin Zhang wrote: > Now I am using "-d fc6" to build the guest. Has Fedora Core 6 been ported to ARM? I didn't think it had been. Obviously I'm missing something. Cheers, - Martin ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver