Le Lundi, 2 Nov 2009 09:56:30 -0800, David Francisco Rodriguez Perez <david.francisco.rodrig...@gmail.com> a écrit :
Hello, > I have a console definition on the inittab file as: > ttyS1::respawn:/sbin/getty -L ttyS1 9600 vt100 > Then I have the node definition built upon bootup on /dev as: > crw--w---- 1 root root 4, 65 Nov 2 17:53 ttyS1 > And I do not start uml with any con config. Then uml set ups the > console once it finishes bootup. I'm trying your approach and sure enough there's a ttyS0 serviced by getty in the UML, such as: root [...] 464 ttyS0 [...] 0:00 /sbin/getty ttyS0 38400 From an inittab line like: 1:2345:respawn:/sbin/getty ttyS0 38400 Now, how do you connect from your host to this serial port in the UML ? Thanks, lanas > On Sun, Nov 1, 2009 at 7:09 PM, lanas <la...@securenet.net> wrote: > > > All, > > > > This is about using a serial line between a uml and the host > > without having xterm popping in the way > > > > I'm following the book so here's how I do it. The problem is > > with a xterm popping up unexpectedly (at least until it is > > understood why) when the uml is launched with the pts. Here's > > how it goes: > > > > 1) With unwanted xterm > > > > [... uml1 command line ...] con8=pts > > > > uml1 # cat < /dev/tty8 > > > > A xterm window appears on the desktop and uml_mconsole returns: > > > > host # uml_mconsole uml1 config con8 > > OK xterm > > > > 2) W/o xterm (wished use) > > > > On the other hand, if the uml is *not* started with con8=pts and > > the following is done after it has booted: > > > > host # uml_mconsole uml1 config con8=pts > > > > Then doing the following does not pop up a xterm window on the > > desktop, and the serial port can be used from the host side > > thereafter. > > > > uml1 # cat < /dev/tty8 > > > > The mconsole on the host then returns not an xterm, but a pts, as > > it should: > > > > host # uml_mconsole uml1 config con8 > > OK pts:/dev/pts/7 > > > > Why does it work now ? > > > > I do not understand where the difference lies. I'd like to be > > able to launch the uml with a con device ready to use, w/o having > > the xterm in the way. > > > > Thanks for any hints/suggestions/ideas. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user