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] Re: Serial port fort domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Serial port fort domU
From: Matthew Palmer <mpalmer@xxxxxxxxxxx>
Date: Fri, 16 Jun 2006 12:36:53 +1000
Delivery-date: Thu, 15 Jun 2006 19:42:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060615154056.GE1599@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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20060615154056.GE1599@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Thu, Jun 15, 2006 at 05:40:56PM +0200, Emmanuel Lacour wrote:
> I have a modem on dom0 which I need to make accessible to one of my domU
> servers (for hylafax).
> 
> ttyS0 is ok on dom0:
> 
> serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> 
> but I can't access it on domU. I have a common kernel for dom0 and domU
> (2.6.16.19 xen 3.0.2) with serial port support as module.
> 
> Am I missing something? Is this a xen limitation?

You need to blacklist the serial drivers from the dom0 and make sure that
you don't have the hypervisor on a serial port, then just add the relevant
entries in the domU config.

Blacklist serial:

echo "8250\n8250_pnp\nserial_core" >> /etc/hotplug/blacklist

Hypervisor off the serial port: ensure that xencons=tty is on the command
line for your Xen kernel, and console=vga on your hypervisor command line

domU config:

interrupt = [ 4 ]
ioports = [ "3f8-3ff" ]

- Matt

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

<Prev in Thread] Current Thread [Next in Thread>