Once upon a time, mailist mailist@toolz.com said:
Even if you did have an RS232 port on the box, the serial drivers for CentOS 7 have never worked correctly. I had an application using RS232 that worked perfectly under CentOS 6, and then worked intermittently under CentOS 7, and failed miserably on CentOS 8. The handwriting on the RedHat wall says, "nobody uses RS232 anymore!"
I've used serial ports just fine on CentOS 7 (haven't had a physical CentOS 8 system so far, so can't say there, but have used serial consoles on CentOS 8 VMs), as well as newer Fedora (similar but newer kernels). Are you sure you weren't doing something in an unsupported and/or undefined way that just happened to work on CentOS 6?