Resetting a serial port

Andrea Venturoli ml at
Tue Mar 19 16:57:53 UTC 2019


I've got a box connected to an hardware device through a serial port.
This is a real RS-232 on the motherboard, not an USB adapter.

 From time to time, the serial port will got stuck and stop 
communicating with the device.
This is not a problem with the device, as powering it on and off won't 
help. Instead rebooting the whole FreeBSD server will solve.

This box, however, is running several services, several jails and a 
couple of bhyve VMs, so rebooting it all is... somewhat troublesome at 
the least.

Is there anything I can try (hopefully a long time from now) to get the 
serial port back working without a real reboot?

  bye & Thanks

More information about the freebsd-questions mailing list