|
From: Richard W. <ric...@gm...> - 2015-02-15 10:10:29
|
On Thu, Feb 12, 2015 at 9:14 PM, Julien Iguchi-Cartigny <jul...@un...> wrote: > On 02/10/2015 09:27 PM, Richard Weinberger wrote: >> On Tue, Feb 10, 2015 at 3:53 PM, Julien Iguchi-Cartigny >> <jul...@un...> wrote: >>> 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. >> >> Can you find the last working kernel version? >> If we know that it worked in version X and was broken in X+1 >> we can start searching. :) >> > > Hello, > > thank you for your feedback. > > At the present time I've only the "official" kernel from debian. So I've > a working instance based on Lenny and a not-working one on Wheezy. > testing by dichotomy every kernel between these two will require a lot > of time. Is there any standard UML testbed to fastly evaluate it ? You can build UML by your own. Pick a kernel and run: make defconfig ARCH=um make menuconfig ARCH=um make linux ARCH=um I tried Linus' tree today, having multiple xterms worked fine. So, I'm not sure what the real issue is. -- Thanks, //richard |