On Tue, Feb 07, 2006 at 05:44:10PM +0100, Stefano Melchior wrote:
Hi Matthias,
> > just tried with "ssl0=tty:/dev/ttyS0". The UML seems to hang when the 
> > serial line is accessed. Tried with:
> > 
> >   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 device"
> >   Debian sarge / 2.4.26-3um           hang during boot, probably accessing
> >                                         the serial device
> > 
> > in this state, uml_mconsole still can access the guest, but commands 
> > "reboot", "cad", "halt" do not proceed and hang the uml_mconsole process, 
> > while "version" and "log" work.
> > 
> > I used these kernel versions because I am running them rather reliably for 
> > quite some time. Should I try a more recent one?
> 
> I think it hangs because it misinterpreted the console/serial line: do you
> use xterm or the console to access to the uml instance?
> 
> 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=pts 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
-- 
Stefano Melchior, GPG key = D52DF829 - <[EMAIL PROTECTED]>
http://etinarcadiaego.dyndns.org    --     http://www.stex.name

Attachment: signature.asc
Description: Digital signature

Reply via email to