VMware Cloud Community
bpedrant
Contributor
Contributor

ESXi v6.7 can't attach Serial port to VM

I have a new v6.7 ESXi server running on a Dell 990.

The computer has one Serial port.

How do I test to see if ESXi can use it? I do see it under /dev/char/serial/uart0.

I can add it to the VM (powered-off), via ESXi web interface, as a "Use physical serial port", then I select "/dev/char/serial/uart0".

That saves ok.

When powering the VM on, I get "Cannot connect the virtual device serial0 because no corresponding device is available on the host. Do you want to try to connect this virtual device every time you power on the virtual machine?"

Any ideas?

-Brian

0 Kudos
4 Replies
Sinorama
Enthusiast
Enthusiast

Did you try

/dev/char/serial/uart1

0 Kudos
bpedrant
Contributor
Contributor

When SSHing to the host, that device is not listed under /dev.

The host only has 1 COM port, and it is configured as COM1.

0 Kudos
Sinorama
Enthusiast
Enthusiast

If possible, try to test the serial port and cable by redirecting the esxi direct console to it.

Attach a vt100 terminal.

Boot esxi and press shift-O

Append the following boot options

"gdbPort=none logPort=none tty2Port=com1";

0 Kudos
BJBW
Contributor
Contributor

Hi!

Interesting case. Look at the article where the testing monitor com port device, maybe these steps will help solve the problem.

Most likely the matter is in setting the com port.

0 Kudos