Thanks a lot for your reply Blaisorblade.  However, I've tried basically
everything and nothing has worked so far.  Any other ideas?
 
> On Friday 11 August 2006 20:18, Mathew Brown wrote:
> > Hi,
> >   I'm a UML newbie and am currently trying to configure consoles /
> >   serial lines as illustrated here:
> >   http://user-mode-linux.sourceforge.net/input.html  It seems that no
> >   matter how I configure a console, nothing seems to be working.  For
> >   example, I tried each of the following:
> >
> > uml_mconsole vZFvJC config con2=tty:/dev/tty12  (it returned OK)
> Then you'd do ctrl-alt-f12 and press Enter there.

I did so but it gave me a blank screen.  I also tried to redirect it to
an active tty (/dev/tty6) but it also didn't change (still giving me the
host login).

> > uml_mconsole vZFvJC config con1=pts:/dev/pts/7 (it returned OK)
> 
> Has any program inside UML opened /dev/tty2 (first case) or /dev/tty1 (2nd
> case)?

No.  Only /dev/tty0 is open for the initial login (fd0:fd1) 

> Another problem (more likely) is the slave/master problem. Search this mailing
> list for master/slave ttys - when two processes must talk via ttys, you
> attach one to the master and the other to the slave (for instance, /dev/ptypN
> and /dev/ttypN).
> 
> > However, trying to attack screen to either /dev/tty12 or /dev/pts/7
> > gives me the following error:
> 
> Hmm, I frankly doubt you can attach to /dev/pts/7. Usually you attach to "pts"
> and see in the kernel logs which pts has been choosed. In that case, the
> kernel opens /dev/ptmx and you open /dev/pts/N following what the kernel
> says, and it should work easily.

I tried attaching to pts and uml_mconsole told me that it's okay but
there were no kernel logs telling me which pts was chosen.

> > /var/run/screen/S-root/3825.pts-1.Kano: No such file or directory

I think this is because the pts / tty device isn't being initialized or
started since there is no mention of it in the UML instance's kernel
logs.
 
> This error is a strange one, you should check your screen syntax (it is
> probably trying to resume a detached screen session if you see the above).
> 
> > Looking at the dmesg output in the UML instance, I only find the
> > following:
> Ignore those messages, they're harmless.
> > line_ioctl: tty0: ioctl TIOCLINUX called
> > line_ioctl: tty0: ioctl TIOCLINUX called
> > line_ioctl: tty0: ioctl TIOCLINUX called
> > line_ioctl: tty0: ioctl TIOCLINUX called
> > line_ioctl: tty0: ioctl TIOCLINUX called
> 
> > I find no mention of the consoles or serial lines.  Also, the above was
> > shown by dmesg before even running the uml_mconsole commands, which
> > means that although uml_mconsole returned with an 'OK', it seems the UML
> > instance isn't aware of anything.  Any ideas?  Thanks for your help.
> 
> > PS.  I'm using the kernel downloaded from:
> > http://user-mode-linux.sourceforge.net/new/linux-2.6.16.bz2 and the root
> > filesystem from:
> > http://uml.nagafix.co.uk/FedoraCore5/FedoraCore5-x86-root_fs.bz2  I'm
> > also running every as root.
> > --
> >   Mathew Brown
> >   [EMAIL PROTECTED]

Thanks.  Any ideas?

> -- 
> Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
> Paolo Giarrusso, aka Blaisorblade
> 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
-- 
  Mathew Brown
  [EMAIL PROTECTED]

-- 
http://www.fastmail.fm - Same, same, but differentÂ…


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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