On Saturday 07 January 2006 11:12, Tassilo Horn wrote:
> Hello!
>
> I'm trying to get vnuml running to do some network testing. Therefore
> I've built a new Gentoo-root_fs from scratch.
>
> Host kernel:
>   - 2.6.14 with SKAS3-patch
>
> Guest kernel:
>   - 2.6.14 with uml-2.6.14-bs3.patch.bz2
>
> When I try to start a vnuml-scenario I get the following (shortened,
> full output is attached as vnuml-boot.log) output:


> #######################################################################

> After that the boot has failed and the terminal accepts no input
> anymore.

> The really interesting thing is, that I can boot the guests from a
> terminal with exactly the same call the vnumlparser.pl-script performs:

> ### This works! #######################################################
> $ /usr/local/share/vnuml/kernels/linux \
>         ubd0=/tmp/vnuml/simulations/tutorial-r1/vms/uml1/fs/root_cow_fs,\
>         /usr/local/share/vnuml/filesystems/root_fs \
>         ubd1=/tmp/vnuml/simulations/tutorial-r1/vms/uml1/fs/opt_fs \
>         root=/dev/ubda
> #######################################################################

> So why do I get this new_tty_pgrp error if the script performs the call
> but all works fine if I emit it directly in a terminal?
Likely, it's exactly because it wants a terminal - UML puts the terminal in 
raw mode. Probably, instead, the script pipes the output to something, and 
you can't set a pipe in raw mode!

However, even when I did this, I never got such an error. Thus mine is just a 
guess from similar situations.

That said, workarounds can be:
*) pass con0=xterm - con0 output (and login prompt, if you have one) will go 
on an xterm.

*) change the script - perhaps running UML into screen, or something strange.
-- 
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
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to