Just to close this up.
Instead of trying to hack the xen code, I decided to buy a USB-RS232 cable.
And by passing the USB port to the domU, I was able to access the serial
port.
However, this required abit of kernel compiling, as usbserial driver was not
compiled into the kernel, and obviously the driver for converted need to be
compiled too.
And it all works well.
W
----- Original Message -----
From: "William Man" <williamman@xxxxxxxxxxxxxxxx>
To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Sent: Friday, December 23, 2005 12:40 PM
Subject: [Xen-users] Serial port in domU/0
> Hi,
>
> I am looking to using a serial port for a bit of gadget. Every thing
works
> under Debian Sarge, but since I've installed xen I can't seem to access it
> on any of the DomU, even Dom0.
>
> I've read some of the archive listings, and some people have manged this.
In
> my grub this is what I have:
> title Xen-Debian GNU/Linux, kernel 2.6.11-ocxen0
> root (hd0,0)
> kernel /xen.gz dom0_mem=65536 physdev_dom0_hide='(00:14.0)'
> xencons=off console=vga
> module /xen-linux-2.6.11-ocxen0 root=/dev/hda2 ro vga=771
> console=vga xencons=off
> savedefault
> boot
>
>
> I've read that I need to enable the serial drivers on dom0, but I can't
> figure out how.
> Could anyone give me some pointers?
>
> Also, I've downloaded the kernel source and wanted to see how to allow
> hiding and exposing serial ports to domU, can anyone give me the heads up
> before I dig into it?
>
> Any help I'll be grateful.
>
> Cheers
>
>
> _______________________________________________
> 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
|