Hello I would like to have access to the 4 serial ports (16550 based hardware, no USB dongles) of the host system from a DomU. I followed the steps mentioned in the Xen Wiki (http://wiki.xensource.com/xenwiki/InstallationNotes#head-327388b324997719e864f8740fed06036c799e38), but I tried Debian Etch (Xen-3.0.3, linux-2.6.18-6-xen-686 in Dom0 and DomU) and Debian Lenny (Xen-3.2, linux-2.6.18-6-xen-686 in Dom0 and linux-2.6.18-6-xen-686 or linux-2.6.26-1-xen-686 in DomU) The devices nodes "ttyS[0-3]" are present and i can start minicom using them, but no characters are transmitted or received. The "xen-tools.conf" file on Debian Lenny mentions that newer version of the Xen guest kernel will use "xvc[0-9]" for the guest serial device, but no "xvc" device nodes are present when running linux-2.6.26-1-xen-686 in DomU. Any ideas what''s going wrong? Dave _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Background:- I have tested a Gentoo Virtual machine (DOMU) to access the serial port of Physical machine (opensuse 11.1) (DOM0) using the following configuration. Step1: Following modules should be loaded on the DOM0 8250 8250_pnp serial_core check is using "lsmod" command. Step 2:- Finding the IRQ and ioport ranges. Run the following command on the DOM0 to find the irq for the serial port. # dmesg |grep tty serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A and run the following command to find the ioport # cat /proc/ioports |grep serial 02f8-02ff : serial 03f8-03ff : serial now add the following lines in the DOMU config file ( i mean configuration file of virtual machine) domU config: irq = [ 4 ] ioports = [ "02f8-02ff" ] check with minicom uprooter wrote:> > I''m having the same issue. > Did you get any progress ? > > > "David Müller (ELSOFT AG)" wrote: >> >> Hello >> >> I would like to have access to the 4 serial ports (16550 based hardware, >> no USB dongles) of the host system from a DomU. >> >> I followed the steps mentioned in the Xen Wiki >> (http://wiki.xensource.com/xenwiki/InstallationNotes#head-327388b324997719e864f8740fed06036c799e38), >> but >> >> I tried Debian Etch (Xen-3.0.3, linux-2.6.18-6-xen-686 in Dom0 and DomU) >> and Debian Lenny (Xen-3.2, linux-2.6.18-6-xen-686 in Dom0 and >> linux-2.6.18-6-xen-686 or linux-2.6.26-1-xen-686 in DomU) >> >> The devices nodes "ttyS[0-3]" are present and i can start minicom using >> them, but no characters are transmitted or received. >> >> The "xen-tools.conf" file on Debian Lenny mentions that newer version of >> the Xen guest kernel will use "xvc[0-9]" for the guest serial device, >> but no "xvc" device nodes are present when running >> linux-2.6.26-1-xen-686 in DomU. >> >> Any ideas what''s going wrong? >> >> >> Dave >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> > >-- View this message in context: http://www.nabble.com/Serial-port-access-from-DomU-tp19793131p23811652.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users