Hello,

I'm maintaining Netkit-NG, a set of scripts to boot and configure small
networks using UML machines for teaching purposes.

<https://netkit-ng.github.io/>

This set of scripts is based on Netkit

<http://www.netkit.org/>

which was using kernel from Debian Lenny. Starting UML with con1=xterm
was working at this time. But now, using the same configuration to boot
Debian Wheezy UML kernel with a xterm on con1 fails.

So far I'm stuck with the following command lines.

This one works (starts a xterm with UML):

xterm -e /home/kartoch/works/netkit/netkit-ng/kernel/netkit-kernel
modules=/home/kartoch/works/netkit/netkit-ng/kernel/modules name=dummy
title=dummy umid=dummy mem=36M
ubd0=/home/kartoch/tmp/tmp/dummy.disk,/home/kartoch/works/netkit/netkit-ng/fs/netkit-fs
root=98:0 uml_dir=/home/kartoch/.netkit/mconsole hosthome=/home/kartoch
quiet con0=fd:0,fd:1 con1=null SELINUX_INIT=0

But if I want to start UML with a second xterm on the con1, i.e.
replacing con1= null by con1=xterm in the commad line, no second xterm
is started. This was the expected behavior in the original netkit (and
it worked).

I'm looking for help, especially about how to debug this problem (so far
no error messages in messages or dmesg in the host or the UML machine)
and how port-helper works on this case.

I think UML cannot found xterm or port-helper, as if UML is started with
xterm on con0 and con1 it block after display the amount of physical
memory. The command line is:

/home/kartoch/works/netkit/netkit-ng/kernel/netkit-kernel
modules=/home/kartoch/works/netkit/netkit-ng/kernel/modules name=dummy
title=dummy umid=dummy mem=36M
ubd0=/home/kartoch/tmp/tmp/dummy.disk,/home/kartoch/works/netkit/netkit-ng/fs/netkit-fs
root=98:0 uml_dir=/home/kartoch/.netkit/mconsole hosthome=/home/kartoch
quiet con0=xterm con1=xterm

Thanks for your help.

Regards.

Julien

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
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