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] Howto use the serialport in domU (windows 2003 server)

To: "Martin Fernau" <m.fernau@xxxxxxxxxx>
Subject: Re: [Xen-users] Howto use the serialport in domU (windows 2003 server)
From: "Andrew Lyon" <andrew.lyon@xxxxxxxxx>
Date: Thu, 23 Oct 2008 10:47:32 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 23 Oct 2008 02:48:19 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=v4NXpLo6DBAxgjxpiUk2kJTlZfgA/bisu0f5Lbv5SUc=; b=sIrH9gC3U0TmJ7aZJ+bU6ri+dNEU6X3RGvjSEMDiO2Qqkgw69UvTHkiYZkgFoOw9FL Uv7Pwhgz0A60ps25FQQstJGPbRAvA8OceFsi+ajIcNVT5qn+zOeUUFEfJSXJAxqHEjaJ f37uc3gvUU//qD+9eYaywYT+bMHsMpkN+iJd0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=B43V7PamPw/zjkZJmOPhHJe+cESbLnTZVdXcp2rGcLDITuvsMv9VsKMFRRh2eev9Z2 WtCWrC594Uv2MqL8pqj2vTMNr387w+HLyeBUE64B0OOdoqlR03yvuB08LiEFCdvmyS43 OTetNU7gO7KRpAsr9hCZMLDRt7/SW1F/wA5Co=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200810231004.35850.m.fernau@xxxxxxxxxx>
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: <200810231004.35850.m.fernau@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Oct 23, 2008 at 9:04 AM, Martin Fernau <m.fernau@xxxxxxxxxx> wrote:
> Hello,
>
> I just googled around since a day and I can't find a working solution to get
> the serial port to work under my domU (running windows server 2003). I want
> to use my external faxmodem from windows to receive incoming fax-calls from
> this machine.

I had a similar requirement, we needed a modem on our windows terminal
server for dialup access to a remote network, I could not get serial
port to work under Xen so I used a Tibbo DS202 (www.tibbo.com) to
access the modem over tcp/ip network.

Andy

> What I've done so far:
>
> --- cut
> grub.conf
> kernel /boot/xen.gz
> module /boot/kernel-xen xencons=off root=/dev/ram0 init=/linuxrc
> real_root=/dev/dm-1 dodmraid
> module /boot/initramfs-xen
> --- cut
>
> I enabled the 8250 driver in my kernel (I needed to disable the "XEN ->
> Disable serial port drivers" option in my 2.6.21-xen kernel for this)
>
> --- cut
> # 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
> 00:0d: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> 00:0e: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> --- cut
>
> and I finally changed my domU config to this:
>
> --- cut
> # cat /mnt/data/xen/configs/windows
> kernel = '/usr/lib/xen/boot/hvmloader'
> builder = 'hvm'
> memory = '1024'
> cpus   = "0"
> device_model='/usr/lib/xen/bin/qemu-dm'
> disk = [ 'phy:/dev/mapper/vg-windows,hda,w',
>         'phy:/dev/cdrom,hdb:cdrom,r' ]
> serial = "/dev/ttyS0"
> name = 'windows'
> vif = ['type=ioemu, bridge=xenbr0']
> boot="cd"
> keymap='de'
> vnc=1
> vncviewer=0
> sdl=0
> --- cut
>
> unfortunately - it doesn't work :/ Windows isn't able to use the serial port.
> Do I miss something? Is there any debug-output I can review to see any kinds
> of problems?
>
> Regards,
> Martin
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>

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

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