WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Serial port access from DomU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Serial port access from DomU
From: Chandramani Yadav <chandramani.yadav@xxxxxxxxx>
Date: Mon, 1 Jun 2009 02:45:57 -0700 (PDT)
Delivery-date: Tue, 02 Jun 2009 01:51:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20344045.post@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <48E5C5D7.30801@xxxxxxxxx> <20344045.post@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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 ?
> 
> 
> &quot;David Müller (ELSOFT AG)&quot; 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@xxxxxxxxxxxxxxxxxxx
>> 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] Serial port access from DomU, Chandramani Yadav <=