Jump to content

Xen serial passthrough? How?


m4f1050

Recommended Posts

Can someone please help me out, I'm trying to do a /dev/ttyS0 passthrough on Xen, but I've been reading and I have VNC=1 and from what I've read it doesn't allow me to passthrough the serial port?

 

I have this on my VM's .CFG file:

 

addirq = [4]

ioports = ["3f8-3ff"]

 

But I can't get it to work...  Any ideas?

 

Thanks!

Link to comment

google?

 

Background:- I have tested a Gentoo Virtual machine (DOMU) to access the serial port of Physical machine (opensuse 11.1) (DOM0) using the following configuration.

 

Step1: Following modules should be loaded on the DOM0

8250

8250_pnp

serial_core

 

check is using "lsmod" command.

 

Step 2:- Finding the IRQ and ioport ranges.

 

Run the following command on the DOM0 to find the irq for the serial port.

 

# 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

 

and run the following command to find the ioport

 

 

# cat /proc/ioports |grep serial

02f8-02ff : serial

03f8-03ff : serial

 

now add the following lines in the DOMU config file ( i mean configuration file of virtual machine)

 

 

domU config:

irq = [ 4 ]

ioports = [ "02f8-02ff" ]

 

check with minicom

Link to comment

Hrm....  I'll "try" that out, im using a Windows8 VM, but I will try to do the changes in the .cfg and in the xen unraid syslinux.cfg to see if I get it going.

 

Thanks!

 

No-go...  Any other ideas?  (BTW, I did google, and have tried numerous things/combinations, what I am really asking is the setup from someone that has this already working on unRAID 6 and a VM.

Link to comment
  • 10 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...