Hello
I am trying to add a virtual serial port (as a named pipe) on two FreeBSD 10 VMs in workstation. One end, I am keeping it as the server (the one VM which will actually be having the virtual serial port) and the other VM will connect to the other end.
MY host is Windows 8.1. However when I power on the server, I try to see log messages to verify if the kernel detected my serial port using
On checking if the corresponding device node got created, I check the contents of /dev/ and I see that /dev/ttyu0 is indeed there and I can indeed see it's configuration using
As an aside, what does the 'u' in
So what does this mean? The device apparently there however the driver for it is no where to be found. Do I have to manually configure the serial port (as per this)? I think the port has been configured properly with some defaults so this part is presumably covered. So what are your suggestions could be behind this anomaly?
I am keen to hear your suggestions. What I am looking forward to, is to do some single stepping in the kernel via a serial debugger like one does in Linux. The server machine would be the one debugged and I would connect gdb via the other VM. So the first step is to have one VM talk to the other VM (both FreeBSDs) via the serial port.
And since I have a Windows host, I do not want to dual boot the system. Thus the use of virtualization
I am trying to add a virtual serial port (as a named pipe) on two FreeBSD 10 VMs in workstation. One end, I am keeping it as the server (the one VM which will actually be having the virtual serial port) and the other VM will connect to the other end.
MY host is Windows 8.1. However when I power on the server, I try to see log messages to verify if the kernel detected my serial port using
dmesg | grep -E "^sio[0-9]"
I see absolutely nothing. I believe sio
is the name of the serial port driver, isn't it?On checking if the corresponding device node got created, I check the contents of /dev/ and I see that /dev/ttyu0 is indeed there and I can indeed see it's configuration using
stty -a -f /dev/ttyu0
.As an aside, what does the 'u' in
ttyu0
signify? Does it mean virtual terminal number 0 now has a physical (from the VM's perspective) port attached to it? Since running stty
on those other terminals like ttyv1
gives nothing.So what does this mean? The device apparently there however the driver for it is no where to be found. Do I have to manually configure the serial port (as per this)? I think the port has been configured properly with some defaults so this part is presumably covered. So what are your suggestions could be behind this anomaly?
I am keen to hear your suggestions. What I am looking forward to, is to do some single stepping in the kernel via a serial debugger like one does in Linux. The server machine would be the one debugged and I would connect gdb via the other VM. So the first step is to have one VM talk to the other VM (both FreeBSDs) via the serial port.
And since I have a Windows host, I do not want to dual boot the system. Thus the use of virtualization