Hello list,

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*

What would normally have appeard next is:


line_ioctl: tty0: ioctl KDSIGACCEPT called
INIT: version 2.84 booting
Activating swap.
Checking root file system...
fsck 1.27 (8-Mar-2002) .
.
.


The same happens if i run the uml command from a perl-wrapper:

#!/usr/bin/perl
system("linux .....");
exit 0;


echo something | perl-wrapper.pl

... and it hangs at the same spot.


I understand that it is related to tty-allocation, but i could not find any solution after trying with different con-settings. I seem to miss something. So my question is, how do i get only the output and remove the hang if the perl wrapper is piped to?


Thank you in advance.

Kyrre


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to