serial port not working on kvm guest

sebastien

New Member
Feb 14, 2013
3
0
1
Hi there,

I have a serial port pci add-on card. It brings 2 extra serial ports.

It is correctly detected by proxmox system (lspci -v shows the new card with the 2 extra ports)

After running 'setserial' on proxmox, I have /dev/ttyS2 correctly set and working: cat /dev/ttyS2 display a correct data flow sent from the serial device connected to it.

I'd like to use this 2 extra serial ports on my kvm vm guest.

So I mapped /dev/ttyS0 (myVM-101) on /dev/ttyS2 (proxmox):
qm -serial0 /dev/ttyS2 101

which created this entry in 101.conf:
serial0: /dev/ttyS2

Unfortunately, this is not working. With this configuration, when I start the vm up,
- cat /dev/ttyS0 returns nothing on the vm
- cat /dev/ttyS2 returns nothing on proxmox ether

Any idea ?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!