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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Howto use the serialport in domU (windows 2003 server)
From: Martin Fernau <m.fernau@xxxxxxxxxx>
Date: Thu, 23 Oct 2008 10:04:35 +0200
Delivery-date: Thu, 23 Oct 2008 01:05:13 -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: CPS Entwicklungsgesellschaft mbH
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.9
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.
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

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