[uml-user] when running multiple UML instances, seems they are running 1 by 1

2012-01-26 Thread ning ji
Basically you see the messages 1 by 1 from different instances,not that smooth. Though these are processes running in a ubuntu, should be multi-threaded. Is this expected to be so or it's just running slow ? thanks !

Re: [uml-user] xterm got kill when i run application in uml, how come ?

2012-01-03 Thread ning ji
om > To: nin...@hotmail.com > CC: lars.g.ek...@ericsson.com; user-mode-linux-user@lists.sourceforge.net > > On Tue, Jan 3, 2012 at 6:01 PM, ning ji wrote: > > Starting system logger: [ OK ] > > Retrigger failed udev events[ OK ] > > [ 156.81] helper_wait

Re: [uml-user] xterm got kill when i run application in uml, how come ?

2012-01-03 Thread ning ji
aracters > Date: Sat, 24 Dec 2011 11:19:07 +0100 > Subject: Re: [uml-user] xterm got kill when i run application in uml, how > come ? > From: richard.weinber...@gmail.com > To: nin...@hotmail.com > CC: lars.g.ek...@ericsson.com; user-mode-linux-user@lists.sourceforge.net > >

Re: [uml-user] xterm got kill when i run application in uml, how come ?

2011-12-23 Thread ning ji
window will stay open > even when the executed program has terminated. But you will have > to close all windows manually, which you might find very annoying > considering the number of vm's. > > Regards, > Lars Ekman > > > -Original Message- > From: ning

[uml-user] xterm got kill when i run application in uml, how come ?

2011-12-22 Thread ning ji
it's a little bit complicated,1. i have a script starts 20 xterms like this, xterm -e "uml ..." so basically i run 20 umls in my pc, each in a xterm so i can check the progress.2. each of uml will automatically start my application, which is multithreaded, has pipes, sockets etc.when i do

Re: [uml-user] stack smashing detected when running apps in the hostfs

2011-12-22 Thread ning ji
This problem solved, it's a bug in our app. But i'll come with another question. From: nin...@hotmail.com CC: user-mode-linux-user@lists.sourceforge.net Date: Tue, 20 Dec 2011 02:46:25 + Subject: Re: [uml-user] stack smashing detected when running apps in the hostfs just to b

Re: [uml-user] stack smashing detected when running apps in the hostfs

2011-12-19 Thread ning ji
just to be clear, if we run the application in the stand alone linux pc, never seen such errors. From: nin...@hotmail.com To: nin...@hotmail.com CC: user-mode-linux-user@lists.sourceforge.net Subject: stack smashing detected when running apps in the hostfs Date: Tue, 20 Dec 2011 01:13:09 +

[uml-user] stack smashing detected when running apps in the hostfs

2011-12-19 Thread ning ji
hi everyone, i'm running 20 UMLs in linux,each of them can access a public folder in the host linux.( http://user-mode-linux.sourceforge.net/hostfs.html )So i don't need to copy these apps/libs to each UML.so i start all these UMLs at the same time, they will automatically run the same appin th

[uml-user] Setting up NAT: uml can ping remote PC, but not the other way around

2011-12-13 Thread ning ji
Hi all, 1. I run uml in linux1, ./umlinux ubda=my_rootfs mem=128M eth0=tuntap,,,192.117.0.254 2. after it boot up, i set the uml ip to be 192.117.0.7route add default gw 192.117.0.254 3. in the linux1, i addiptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE 4. linux 1 and linux 2 can ping

Re: [uml-user] The max instance of uml is limited by memory and disk size ?

2011-12-12 Thread ning ji
Thanks for the info, that's a great help. BTW, 1. when i change "mem=128M" to "mem=64M", seems it didn't help, still uses the same amount of /dev/shm.why ? 2. Where did you learn the /dev/shm info for uml ? Have a nice day ! > Date: Sun, 11 Dec 2011 03:20:44 -0600 > Subject: Re: [uml-user]

[uml-user] The max instance of uml is limited by memory and disk size ?

2011-12-10 Thread ning ji
Hi all, when i run 60 umls in the same host with "mem=128M""free -m" says almost no free memory left. if i run more, all umls got killed. Now if i run uml with "mem=64M", was trying to run 100 umls, but still got terminated.Why ? (our goal is to run 200 umls in each host, 4GB memory each host.)(

Re: [uml-user] Can i run uml in the background ?

2011-12-02 Thread ning ji
54[0.36] 0fc6bf9c: [<08048e54>] prepare_namespace > From: r...@gmx.co.uk > To: user-mode-linux-user@lists.sourceforge.net > Date: Fri, 2 Dec 2011 15:50:50 -0600 > Subject: Re: [uml-user] Can i run uml in the background ? > > On Friday 02 December 2011 15:10:35 ning

Re: [uml-user] Can i run uml in the background ?

2011-12-02 Thread ning ji
screen -r name_you_want > > > Once you are in the screen, you can daemonize it again with: > > Ctrl-A d > > > > > > Hi Ning Ji, > > > > On Fri, Dec 2, 2011 at 22:10, ning ji wrote: > >> but when i run > >> > >> Â

Re: [uml-user] Can i run uml in the background ?

2011-12-02 Thread ning ji
s.sourceforge.net > > Hi Ning Ji, > > On Fri, Dec 2, 2011 at 22:10, ning ji wrote: > > but when i run > > > > #sudo ./umlinux ubda=./fs6 mem=128M > > eth0=tuntap,,00:50:F9:00:00:65,10.50.181.51 & > > > > i got this > > > > [1]+ S

[uml-user] Can i run uml in the background ?

2011-12-02 Thread ning ji
Guess the answer is yes,but when i run #sudo ./umlinux ubda=./fs6 mem=128M eth0=tuntap,,00:50:F9:00:00:65,10.50.181.51 & i got this [1]+ Stopped sudo ./umlinux ubda=./fs6 mem=128M eth0=tuntap,,00:50:F9:00:00:65,10.50.181.51 Any hints pls ?Thanks !

Re: [uml-user] Cannot bringup DHCP (2.6.39 kernel + Debian 5.0 rootfs)

2011-12-01 Thread ning ji
Antoine, We cannot setup another DHCP server to run UML, even if it's not connected to the corporate network.How i wish you have an instruction of dhcp relay for UML in your site, :) Thanks for all the replies ! > Date: Thu, 1 Dec 2011 14:32:32 +0700 > From: anto...@nagafix.co.uk > To: nin...@

Re: [uml-user] Cannot bringup DHCP (2.6.39 kernel + Debian 5.0 rootfs)

2011-12-01 Thread ning ji
Jeff, i think you are right, but our team roll out the possibility of setting up another DHCP server. After spent hours on the dhcrelay3 and bcrelay, i gave up.(I followed http://r3dux.org/2009/09/how-to-make-virtualbox-use-your-routers-dhcp-to-get-an-ip-address-in-linux/as i cannot find good d

Re: [uml-user] Cannot bringup DHCP (2.6.39 kernel + Debian 5.0 rootfs)

2011-11-30 Thread ning ji
> Date: Thu, 1 Dec 2011 01:50:08 +0700 > From: anto...@nagafix.co.uk > To: user-mode-linux-user@lists.sourceforge.net > Subject: Re: [uml-user] Cannot bringup DHCP (2.6.39 kernel + Debian 5.0 > rootfs) > > On 11/30/2011 02:54 AM, ning ji wrote: > > > >

[uml-user] Cannot bringup DHCP (2.6.39 kernel + Debian 5.0 rootfs)

2011-11-29 Thread ning ji
Hi everyone, I'm new to UML, having issues bring up DHCP for my uml. step 1:./kernel2.6.39 ubda=./debian50.rfs mem=128M eth0=tuntap,,,10.50.183.254 so as you see,kernel: Linux (none) 2.6.39.4 #2 Thu Sep 1 11:25:36 EDT 2011 i686 GNU/Linuxrootfs: Debian-5.0-x86-root_fs step 2:After it boots,(no