On Wed, Jul 27, 2005 at 11:33:44AM +0200, Kyrre M Begnum wrote:
> I am using uml in a setting where i am only interested in the output of 
> its console, and won't give it any console input.
> I have encountered a phenomenon that if i pipe something to the uml 
> command the boot freezez at:
> 
> echo something | ./linux ......
> .
> .
> .
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> VFS: Mounted root (ext3 filesystem) readonly.
> *hang*

Aaah, yes.  I recently tangled with this (or a closely related) problem in
GUML.  I think you'll find that the UML isn't actually hanging, it's just
that no output is produced.  The way I solved the problem was to ensure that
the standard input of the UML process is closed.  A quick run through the
bash manpage suggests that

echo something | ./linux ...... <&- 

should be a suitable invocation.

Give it a whirl, if it doesn't work you're only out a few keystrokes. 
<grin>

- Matt

Attachment: signature.asc
Description: Digital signature

Reply via email to