[Bug 231099] getty fails to open /dev/ttyu0

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 11 Mar 2026 11:35:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231099

Carl Ådahl <carl.adahl@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carl.adahl@gmail.com

--- Comment #4 from Carl Ådahl <carl.adahl@gmail.com> ---
I see this issue (including the same error in the truss log) on 15.0-RELEASE-p4
as well.

It seems to happen when I've killed 'cu' on the client machine and try to
connect again to the serial console.

In my /etc/ttys:
ttyu0   "/usr/libexec/getty std.115200" vt100   onifconsole secure


Seen in dmesg:
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: console (115200,n,8,1)


This repeats in /var/log/messages after the error starts occurring:
...
Mar 11 12:31:24 vanir init[54351]: getty repeating too quickly on port
/dev/ttyu0, sleeping 30 secs
Mar 11 12:31:54 vanir init[56904]: getty repeating too quickly on port
/dev/ttyu0, sleeping 30 secs
Mar 11 12:32:24 vanir init[58996]: getty repeating too quickly on port
/dev/ttyu0, sleeping 30 secs
Mar 11 12:32:54 vanir init[61388]: getty repeating too quickly on port
/dev/ttyu0, sleeping 30 secs

-- 
You are receiving this mail because:
You are the assignee for the bug.