[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Howto use the serialport in domU (windows 2003 server)


  • To: "Martin Fernau" <m.fernau@xxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.