On Wednesday 27 July 2005 11:33, Kyrre M Begnum wrote:
> 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:
If you have a console reading from stdin/stdout (as the default 
con0=fd:0,fd:1) this will happen. Change that to something else. Uml as 
partial assumptions on the fact that it has a tty as standard I/O.
> 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

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade


        

        
                
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
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