Recently we had the need to have a Xen domU interact with a device attached to the serial port of it’s dom0 host. It’s not as easy to setup as as one would think! Here’s a quick howto. We used CentOS 5.3.
Add “xencons=off” as a kernel argument to your dom0 kernel
Edit /etc/modprobe.d/blacklist, and add the following lines:
blacklist 8250
blacklist 8250_pnp
blacklist serial_core
Restart the dom0
Add the following lines to your domU VM config:
addirq = [ 4 ]
ioports = [ "3f8-3ff" ]
Run “modprobe 8250″ on the domU to insert the module – you should now have access to your dom0′s serial port!
(You might want to add “modprobe 8250″ to /etc/rc.local, so that the module is added on startup)
Related posts:
If you enjoy the content, consider subscribing to the feed(s).
Subscribe via RSS
Subscribe via Email
Follow on Twitter
Follow on FriendFeed
Jump to comments