linux-um archives
 help / color / mirror / Atom feed
From: "robl" <spam@robl.org.uk>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] UML Hang / strace fix
Date: Fri, 26 May 2006 23:30:12 +0100	[thread overview]
Message-ID: <20060526221751.M57003@robl.org.uk> (raw)

Hi,

I posted this on #UML and was asked to repeat it here ...

I've recently installed UML on a Compaq DL360 G1 Dual P3 1Ghz / Debian Sarge

I see intermittent hangs with the UML kernel at :

Initialized stdio console driver
Console initialized on /dev/tty0
Initializing software serial port version 1
 ubda: unknown partition table
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.  <----- Hangs here

The processlist at this point is :

root     14553  1.1  1.9 206200 10056 pts/0  S+   00:33   0:00          
linux mem=200M eth0=tuntap,tap1
root     14558  0.0  1.9 206200 10056 pts/0  S+   00:33   0:00             
linux mem=200M eth0=tuntap,tap1
root     14559  0.0  1.9 206200 10056 pts/0  S+   00:33   0:00             
linux mem=200M eth0=tuntap,tap1
root     14560  0.0  1.9 206200 10056 pts/0  S+   00:33   0:00             
linux mem=200M eth0=tuntap,tap1

If I strace -p 14560 then I see :

debian:~# strace -p 14560
Process 14560 attached - interrupt to quit
poll([{fd=15, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(15, "\0", 1)                       = 1
write(15, "\0", 1)                      = 1
poll(

This then causes the UML kernel to continue booting normally.

It seems a 50/50 success/hang rate.

The UML kernel is Linux (none) 2.6.16 #2 Sat Apr 29 23:36:42 CEST 2006 i686
GNU/Linux

I've tried this with a stock Debian sarge 2.4 and a patched 2.6 skas as the
host kernels both with the same results.

Anybody have any ideas why this hangs and why strace kicks it back into action ?

Thanks,

Rob



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
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-05-26 22:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-26 22:30 robl [this message]
2006-05-26 23:43 ` [uml-devel] UML Hang / strace fix robl

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=20060526221751.M57003@robl.org.uk \
    --to=spam@robl.org.uk \
    --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