getty repeating too quickly on port /dev/ttyU3, sleeping 30 secs

Started by rpr87, June 02, 2021, 05:45:56 PM

Previous topic - Next topic
Hi Folks,

newcomer to the forums here, and i really love using opnsense!. i have a stable platform running opnsense with sensei and for a few weeks now things have been going great!. recently i decided to login to my system and play around some more when i noticed that there are these messages in my system log:

getty repeating too quickly on port /dev/ttyU3, sleeping 30 secs
open /dev/ttyU3: No such file or directory

I'll attach a screenshot to this post as well to show how they appear to me (repeatedly). I tried searching and i'm wondering if anyone else has noticed this too.

I can try googling around some more and trying a few things like  maybe tunables or boot options however i'm posting now to see if anyone else has solved this (non?) issue as well.

screenshots here: https://imgur.com/a/T4H4pFY
(256KB is too small to post directly on this forum)


Replying to this thread to share the good news. I dug into this a bit further and realized this may be a rather simple settings. During my initial build and installation, I used a usb based serial adapter to test if serial connections work and to ensure I could install successfully. During the initial setup I remembered allowing usb based serial. With that said, I found the trick to getting these messages to stop.

First head over to "System: Settings: Administration" and Uncheck "Use USB-based serial ports". If you have this checked off and you don't have a usb-based serial port plugged in, then you see those repeating messages from getty trying to find that device(s). Reboot the device after saving this setting.

Enabling and disabling this setting changes the systems /etc/ttys file which is what controls this behaviour.

Checked "Use USB-based serial ports" <- the problem configuration
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyU0   "/usr/libexec/getty al.3wire.115200"    vt100   on secure
ttyU1   "/usr/libexec/getty al.3wire.115200"    vt100   on secure
ttyU2   "/usr/libexec/getty al.3wire.115200"    vt100   on secure
ttyU3   "/usr/libexec/getty al.3wire.115200"    vt100   on secure


Unchecked "Use USB-based serial ports" <- the solution configuration when not using usb serial.
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyu0   "/usr/libexec/getty al.3wire.115200"    vt100   onifconsole secure
ttyu1   "/usr/libexec/getty al.3wire.115200"    vt100   onifconsole secure
ttyu2   "/usr/libexec/getty al.3wire.115200"    vt100   onifconsole secure
ttyu3   "/usr/libexec/getty al.3wire.115200"    vt100   onifconsole secure


imgur album with screenshots:
https://imgur.com/a/1HHk17M

hope this helps anyone else if they have the same or similar findings.