Hi Richard, On Fri, Apr 29, 2011 at 5:47 PM, richard -rw- weinberger <richard.weinber...@gmail.com> wrote: > Anyway, what is the exact command-line which causes UML to hang? > Can you provide me a stand alone test case? >
Here it is: * download the 64-bit kernel: http://uml.devloop.org.uk/kernels/kernel64-2.6.35.7.bz2 * download the 64-bit filesystem http://fs.devloop.org.uk/filesystems/Debian-Squeeze/Debian-Squeeze-AMD64-root_fs.bz2 * Run (this works regularly): ./kernel64-2.6.35.7 umid=my mem=256M \ ubd0=Debian-Squeeze-AMD64-root_fs root=/dev/ubda \ con=fd:0,fd:1 * Now redirect stdin from /dev/null; the UML hangs and cannot be shutdown even from uml_mconsole (I have to manually kill the processes): ./kernel64-2.6.35.7 umid=my mem=256M \ ubd0=Debian-Squeeze-AMD64-root_fs root=/dev/ubda \ con=fd:0,fd:1 </dev/null > Do you really need a full blown disk image with a inittab? > I would use hostfs. > E.g: > ./linux rootfstype=hostfs init=/path/to/work/doit.sh con=null > con0=fd:0,fd:1 &> uml.log < /dev/null Well, the idea is that users get a "reference disk image", which they can run on their desktop to do development; when they are done with the coding and it runs on the reference machine, they can submit to the Grid. I guess we could do that with hostfs as well, but then we risk running into more permission problems than by distributing "opaque" disk images that users can boot like a regular VM. Thanks, Riccardo ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user