[uml-user] Trying to run X11 inside UML

2007-06-12 Thread Partha R
Hi All, I need some help in setting up X11 inside UML - it hangs after the following set of messages: ~/uml/linux-2.6.18$ ./linux ubd0=debian-3.0r0.ext2 stderr=1 .. TCP: Hash tables configured (established 1024 bind 512) TCP reno registered (Please see attachment "dump.txt

Re: [uml-user] Hang on FC7 after mounting root filesystem

2007-06-12 Thread Jeff Dike
On Tue, Jun 12, 2007 at 11:33:43AM +0530, Pravin wrote: > The problem is still persistant in case of Fedora core. Can you confirm that you still see it with a 2.6.21.5 UML? > I hope that it will be solved soon. Not if I don't get some information about it. Jeff

Re: [uml-user] how to get uml going on a fully patched and up-to-date CentOS 5 machine?

2007-06-12 Thread Jeff Dike
On Tue, Jun 12, 2007 at 07:56:22AM +0100, Urs Rau wrote: > OK, fair enough. I have tried all three 64bit pre-compiled kernels from > nagafix and attached are the logs this produces. If I interpret this > correctly then in all three cases the error is the same, but afaics > there is a init process o

Re: [uml-user] how to get uml going on a fully patched and up-to-date CentOS 5 machine?

2007-06-12 Thread Urs Rau
Jeff Dike wrote: > On Mon, Jun 11, 2007 at 10:07:16PM +0100, Urs Rau wrote: >> What should I do on a CentOS 5 box that runs 2.6.18-8.1.4.el5xen? AFAIK >> there is not going to be a higher than 2.6.19.5 kernel for this very >> recent enterprise release. > > Run a recent UML - that has its own bug

Re: [uml-user] how to get uml going on a fully patched and up-to-date CentOS 5 machine?

2007-06-12 Thread Antoine Martin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Urs Rau wrote: > Jeff Dike wrote: >> On Mon, Jun 11, 2007 at 10:07:16PM +0100, Urs Rau wrote: >>> What should I do on a CentOS 5 box that runs 2.6.18-8.1.4.el5xen? AFAIK >>> there is not going to be a higher than 2.6.19.5 kernel for this very >>> rec

Re: [uml-user] Trying to run X11 inside UML

2007-06-12 Thread Antoine Martin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Partha R wrote: > Hi All, > > I need some help in setting up X11 inside UML - it hangs after the > following set of messages: > ~/uml/linux-2.6.18$ ./linux ubd0=debian-3.0r0.ext2 stderr=1 > . > TCP: Hash tables configured (es

Re: [uml-user] how to get uml going on a fully patched and up-to-date CentOS 5 machine?

2007-06-12 Thread Urs Rau
Jeff Dike wrote: > On Tue, Jun 12, 2007 at 07:56:22AM +0100, Urs Rau wrote: >> OK, fair enough. I have tried all three 64bit pre-compiled kernels >> from nagafix and attached are the logs this produces. If I >> interpret this correctly then in all three cases the error is the >> same, but afaics th

Re: [uml-user] Trying to run X11 inside UML

2007-06-12 Thread Jeff Dike
On Tue, Jun 12, 2007 at 06:26:08PM +0530, Partha R wrote: > 03. Apply until x11-fb patch (quilt push x11-fb) 04. Make changes to > x11-fb patch to fix some error Do you really want X displaying on a frame buffer, or do you want X displaying somewhere (such as the host's display)? If the former, y

Re: [uml-user] how to get uml going on a fully patched and up-to-date CentOS 5 machine?

2007-06-12 Thread Urs Rau
Antoine, Antoine Martin wrote: > Urs Rau wrote: >> I get the error: >> arch/um/os-Linux/start_up.c: In function âstart_ptraced_childâ: >> arch/um/os-Linux/start_up.c:110: error: âPAGE_SIZEâ undeclared (first >> use in this function) >> arch/um/os-Linux/start_up.c:110: error: (Each undeclared ident

Re: [uml-user] Trying to run X11 inside UML

2007-06-12 Thread Partha R
Sure, will post a message if I get it running... Thanks, ~Partha On 6/12/07, Antoine Martin <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Partha R wrote: > > Hi All, > > > > I need some help in setting up X11 inside UML - it hangs after the > > following set o

Re: [uml-user] how to get uml going on a fully patched and up-to-date CentOS 5 machine?

2007-06-12 Thread Antoine Martin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Urs Rau wrote: > Antoine, > > Antoine Martin wrote: >> Urs Rau wrote: >>> I get the error: >>> arch/um/os-Linux/start_up.c: In function âstart_ptraced_childâ: >>> arch/um/os-Linux/start_up.c:110: error: âPAGE_SIZEâ undeclared (first >>> use in this

Re: [uml-user] Trying to run X11 inside UML

2007-06-12 Thread Partha R
I was looking to have X displaying on a frame-buffer - will see if I can find something. Thanks, ~Partha On 6/12/07, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Tue, Jun 12, 2007 at 06:26:08PM +0530, Partha R wrote: > > 03. Apply until x11-fb patch (quilt push x11-fb) 04. Make changes to > > x11-fb

Re: [uml-user] how to get uml going on a fully patched and up-to-date CentOS 5 machine?

2007-06-12 Thread Jeff Dike
On Tue, Jun 12, 2007 at 03:06:28PM +0100, Urs Rau wrote: > arch/um/os-Linux/start_up.c:156: error: âPAGE_SIZEâ undeclared (first > use in this function) > make[1]: *** [arch/um/os-Linux/start_up.o] Error 1 > make: *** [arch/um/os-Linux] Error 2 What's the host distro? I thought I had a patch for

Re: [uml-user] Trying to run X11 inside UML

2007-06-12 Thread Jeff Dike
On Tue, Jun 12, 2007 at 09:02:50PM +0530, Partha R wrote: > I was looking to have X displaying on a frame-buffer - will see if I > can find something. Would Xnest on the host work for you? That makes it look like a dedicated UML display, and the process is the same as displaying on a remote syste

Re: [uml-user] how to get uml going on a fully patched and up-to-date CentOS 5 machine?

2007-06-12 Thread Jeff Dike
On Tue, Jun 12, 2007 at 04:03:17PM +0100, Urs Rau wrote: > Yes, shows me the usage message. OK, I'd like to start narrowing things down. The host - can you try running UML on another host system which is running a different kernel, and preferably a different distro? The filesystem - try download

Re: [uml-user] C-c/sig.intr is caught

2007-06-12 Thread Sylvain Beucler
On Mon, Jun 11, 2007 at 09:26:12PM +, Paolo Giarrusso wrote: > /bin/bash is running with stding and stdout attached to > /dev/console, and on /dev/console ignores Ctrl-* (and that's on > purpose, and not UML specific). Possibly just the terminal emulator > is noticing the press of Ctrl-C, or it

Re: [uml-user] C-c/sig.intr is caught

2007-06-12 Thread Sylvain Beucler
On Tue, Jun 12, 2007 at 07:42:13PM +0200, Sylvain Beucler wrote: > On Mon, Jun 11, 2007 at 09:26:12PM +, Paolo Giarrusso wrote: > > /bin/bash is running with stding and stdout attached to > > /dev/console, and on /dev/console ignores Ctrl-* (and that's on > > purpose, and not UML specific). Pos

Re: [uml-user] C-c/sig.intr is caught

2007-06-12 Thread Jeff Dike
On Wed, Jun 13, 2007 at 01:41:11AM +0200, Sylvain Beucler wrote: > Actually the crucial part appears to be setsid(). > (Otherwise "ps" doesn't show tty0 as the process' TTY.) > > It works now, C-c,C-\,C-z work directly :) > I don't know exactly why setsid is necessary though :/ It's POSIX job con

Re: [uml-user] Trying to run X11 inside UML

2007-06-12 Thread Partha R
I too was thinking in the same lines - I would go with this, and will look at x11-fb at a later point in time... Thanks, ~Partha On 6/12/07, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Tue, Jun 12, 2007 at 09:02:50PM +0530, Partha R wrote: > > I was looking to have X displaying on a frame-buffer -