Le Fri, 06 Aug 2010 12:52:00 +0300, Manuel Wolfshant wolfy@nobugconsulting.ro a écrit :
On 08/05/2010 04:31 PM, Manuel Wolfshant wrote:
Hello
Can anyone share a known working config for xen which would
transfer a serial interface ( add-on card preferably, mine uses e880-e887 : 0000:03:05.0 / ec00-ec07 : 0000:03:05.0 ) to a DomU ?
[...]
Replying to myself: the very same config works OK when using the onboard interface, i.e. using
irq = [ 4 ] ioports = [ "3f8-3ff" ]
Is it a known bug / feature that add-on ports are not transferred to DomU ?
Are you sure your expansion board is based on the "classical" UART (8250 or 16550) ? Many add-on cards require specific modules.
This will not work on dom0 if the serial port is already shared, but you can try it when no domU is running :
$ for x in 0 1 2 3 4 ; do setserial /dev/ttyS$x ; done /dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4 /dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3 /dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4 /dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3 /dev/ttyS4: No such file or directory # (this machine has only one physical port)
My 2 cents,