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/
Home Products Support Community News


RE: [Xen-users] Need to Access 2 Serial Ports in HVM Win 2K3 server.

To: "'Trolle Selander'" <trolle.selander@xxxxxxxxx>
Subject: RE: [Xen-users] Need to Access 2 Serial Ports in HVM Win 2K3 server.
From: "David Griswold" <david.griswold@xxxxxxxxx>
Date: Tue, 12 May 2009 20:52:10 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 12 May 2009 18:52:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <515922b50905121459mb3420cco13e26954f10c935@xxxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcnTTOA/5FBsG9pCQy2y7q+NRauCJgAH4HYg
Sorry - I thought I had sent my last reply to the list as well.
Thanks for the advice, that is exactly what I did, and it worked, in that I could see and access to serial ports in the Win2k3 domU.  Unfortunately, I think I am going to have to scrap this configuration.  I am running Hylafax in the dom0 and serial port performance under the xen kernel is not acceptable.  I can't even reliable receive one fax at a time let alone have all 8 ports on the 8 port fax modem active at once.  When I boot into the native kernel, I have no issues at all.  I would have expected this had I been running hylafax in a domU, but not the dom0.
Have you seen performance issues in regards to serial ports?
-----Original Message-----
From: Trolle Selander [mailto:trolle.selander@xxxxxxxxx]
Sent: Tuesday, May 12, 2009 4:59 PM
To: David Griswold
Subject: Re: [Xen-users] Need to Access 2 Serial Ports in HVM Win 2K3 server.

You could let the config file create com1 and let the wrapper script only add com2.

-- Trolle

On Tue, May 12, 2009 at 5:52 PM, David Griswold <david.griswold@xxxxxxxxx> wrote:
I had a brain fart when I created the qemu.2serial script - forgot to
put the '#! /bin/bash' at the top of it.

Since, I have upgraded to xen 3.3.1 from the the gitco repo.  I am
still having issues.  It seems that by default qemu-dm will provide
more emulated hardware, like a serial and parallel port, unless you
tell it not to (serial none).  When I have attempted to configure the
.sxp file with more than one serial port, the vm won't start.  If I
use the wrapper script, then I get a 'com1' and 'com2' in the device
manager, but com1 doesn't work and in fact hyperterminal sees two
'com1' ports.  I am sure this is a confusion between the default
serial port provided to the vm and the serial ports I am trying to
give to it via the wrapper script.

So, I succeeded in starting a hvm where windows sees two serial ports,
but one of them doesn't work.


On Mon, May 11, 2009 at 3:35 PM, David Griswold
> Ok, so I saved the attached script to /usr/lib/xen/bin/qemu.2serial,
> chmod  to 755 and added this to the domU config file:
> device_model = "/usr/lib/xen/bin/qemu-dm.2serial"
> and removed the 'serial =' entries from the config.  I started the vm
> and I get the same results as before with the vm listed but not
> running.  There doesn't appear to be anything more in the logs.
> David

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.325 / Virus Database: 270.12.26/2110 - Release Date: 05/12/09 06:22:00

Xen-users mailing list