From: Stefano M. <ste...@op...> - 2006-02-07 22:24:37
|
On Tue, Feb 07, 2006 at 05:44:10PM +0100, Stefano Melchior wrote: Hi Matthias, > > just tried with "ssl0=3Dtty:/dev/ttyS0". The UML seems to hang when the= =20 > > serial line is accessed. Tried with: > >=20 > > guest inst / guest kernel > > SuSE8.1 / 2.4.26-3um hang when starting minicom > > SuSE9.2 / 2.6.11.5-skas3-v8-rc5 hang before usual > > "Serial line <n> assigned devic= e" > > Debian sarge / 2.4.26-3um hang during boot, probably access= ing > > the serial device > >=20 > > in this state, uml_mconsole still can access the guest, but commands=20 > > "reboot", "cad", "halt" do not proceed and hang the uml_mconsole proces= s,=20 > > while "version" and "log" work. > >=20 > > I used these kernel versions because I am running them rather reliably = for=20 > > quite some time. Should I try a more recent one? >=20 > I think it hangs because it misinterpreted the console/serial line: do you > use xterm or the console to access to the uml instance? >=20 > Look at here: > http://user-mode-linux.sourceforge.net/UserModeLinux-HOWTO-5.html I would also like to add the following comment from Blaisorblade to the previously mentioned email: ****************************************************************** > > I there a way to connect to UML machines with a virtual serial cable? > uml1> stty -F /dev/ttyS0 > uml1> dmesg| grep Serial > Serial line 0 assigned device '/dev/pts/9' > uml2> stty -F /dev/ttyS0 > uml2> dmesg| grep Serial > Serial line 0 assigned device '/dev/pts/5' (This assumes having ssl=3Dpts set on the UML command line or in the default config, which is the default however). > uml2> cat < /dev/pts/5 >> /dev/pts/9 & ; cat > /dev/pts/5 >> /dev/pts/9 > & This command should likely be done on the host, right? Otherwise I don't see how you get /dev/pts/5 and /dev/pts/9 on uml2. > it should be something like this: you need to replicate a *virtual cross > cable* I believe the above should work but probably there are better ways to achieve this - like attaching one guest tty directly to an host TTY. Likely, you'd attach one UML to a host master PTY (/dev/ttypX ?) and the other to a host slave PTY (/dev/ptypX ?). ****************************************************************** It seems correct for your own info to add these info, too, since I myself have a lot to understand and achieve from Paolo and the UML team (Thanx for your constant help). Cheers SteX --=20 Stefano Melchior, GPG key =3D D52DF829 - <ste...@op...> http://etinarcadiaego.dyndns.org -- http://www.stex.name |