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

[Xen-users] Using serial port from a domU



Hi everyone!
I just wanted to share all the bits of information I needed while trying to get a serial modem to work under a Xen guest :) I found other howtos but every one was missing something.

So, my setup consists of dom0 and domU with CentOS 5.2, kernel 2.6.18-92.1.10.el5xen and Xen 3.2.1

To get /dev/ttyS0 to work under domU:

- Tell Xen to use something else for its console:
in /boot/grub/menu.lst, add "console=xvc0 xencons=xvc0" to the kernel parameters (maybe just xencons is needed)

- Tell Xen to "show" IRQ/port to the domU:
in domU's .cfg add
addirq = [ 4 ]
ioports = [ "3f8-3ff" ]

- Tell the domU to autoload the serial module:
create in /etc/sysconfig/modules an executable script containing
modprobe 8250

Bye!


_______________________________________________
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®.