linux-um archives
 help / color / mirror / Atom feed
From: Pekka Enberg <penberg@cs.helsinki.fi>
To: Jeff Dike <jdike@addtoit.com>
Cc: blaisorblade@yahoo.it, user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] UML hangs after forking gettys
Date: Sat, 22 Jul 2006 14:22:31 +0300	[thread overview]
Message-ID: <1153567351.7543.4.camel@ubuntu> (raw)
In-Reply-To: <20060722110215.GA24905@ccure.user-mode-linux.org>

On Sat, 2006-07-22 at 07:02 -0400, Jeff Dike wrote:
> On Sat, Jul 22, 2006 at 11:46:37AM +0300, Pekka Enberg wrote:
> > I have a problem with UML compiled from 2.6.18-rc2 git head. The kernel
> > boots fine and starts up the userspace but hangs completely after
> > forking gettys. I have port-helper in /usr/lib/uml but it doesn't seem
> > to start up.
> 
> The gettys are all sleeping.  I would think that at least some of them
> would be reading or selecting.  I believe there's a few second pause
> before getty puts out a login prompt.  Maybe the delay code is
> horribly broken.
> 
> Can you boot it single-user and time a sleep?

Seems to work.

penberg@ubuntu:~/src/linux/2.6$ ./linux ubd0=/home/penberg/uml-debian/root_fs_woody single

ubuntu:~# time sleep 1

real    0m1.037s
user    0m0.000s
sys     0m0.000s
ubuntu:~# time sleep 2

real    0m2.029s
user    0m0.000s
sys     0m0.000s
ubuntu:~# time sleep 4

real    0m4.029s
user    0m0.000s
sys     0m0.000s

This is a new installation for me, so anything I should check?

penberg@ubuntu:~/src/linux/2.6$ ls -l /usr/lib/uml/
total 12
-rwxr-xr-x 1 root root 10772 2006-07-22 11:07 port-helper

UML userspace created as follows:
http://www.huckstep.uklinux.net/mle/uml-woody.html

				Pekka


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2006-07-22 11:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-22  8:46 [uml-devel] UML hangs after forking gettys Pekka Enberg
2006-07-22 11:02 ` Jeff Dike
2006-07-22 11:22   ` Pekka Enberg [this message]
2006-07-22 12:05     ` Jeff Dike
2006-07-22 12:32       ` Pekka Enberg
2006-07-22 17:31         ` Blaisorblade
2006-07-22 11:41   ` Pekka Enberg
2006-07-22 11:47   ` Pekka Enberg
2006-07-27 15:15     ` Jeff Dike
2006-07-27 17:36       ` Pekka Enberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1153567351.7543.4.camel@ubuntu \
    --to=penberg@cs.helsinki.fi \
    --cc=blaisorblade@yahoo.it \
    --cc=jdike@addtoit.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox