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

[Xen-users] Using serial port from a domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Using serial port from a domU
From: Federico Fanton <fake@xxxxxxxxxxxx>
Date: Fri, 17 Oct 2008 18:36:16 +0200
Delivery-date: Fri, 17 Oct 2008 09:45:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Organization: Panizzolo s.a.s.
Reply-to: federico@xxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.17 (X11/20080925)
Hi everyone!
I just wanted to share all the bits of information I needed while trying to get a serial modem to work under a Xen guest :) I found other howtos but every one was missing something.

So, my setup consists of dom0 and domU with CentOS 5.2, kernel 2.6.18-92.1.10.el5xen and Xen 3.2.1

To get /dev/ttyS0 to work under domU:

- Tell Xen to use something else for its console:
in /boot/grub/menu.lst, add "console=xvc0 xencons=xvc0" to the kernel parameters (maybe just xencons is needed)

- Tell Xen to "show" IRQ/port to the domU:
in domU's .cfg add
addirq = [ 4 ]
ioports = [ "3f8-3ff" ]

- Tell the domU to autoload the serial module:
create in /etc/sysconfig/modules an executable script containing
modprobe 8250

Bye!


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Using serial port from a domU, Federico Fanton <=