Re: uart device lost after upgrading 14.1 d56a912f2 to b99852587

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Thu, 22 Aug 2024 10:14:34 UTC
On Thu, Aug 22, 2024 at 12:53:22PM +0300, KOT MATPOCKuH wrote:
> Hello all!
> 
> After upgrading FreeBSD 14.1 from d56a912f2 to b99852587 system lost uart
> device on my SunFire X2270 system.
> Entries from dmesg.boot file BEFORE update:
> uart0: <Non-standard ns8250 class UART with FIFOs> at port 0x3f8 irq 4
> flags 0x1
> 0 on isa0
> uart0: console (9600,n,8,1)
> 
> What happened? How can I return my serial console to working state?
> 
> On the updated system I do not have these entries, also I have NO ttyu0
> devices that were used as console.
> I'm using stable/14 git's branch.
> There were no changes in the kernel configuration file.
> I do not have this problem on other systems, including different Sun's
> servers, but this servers using different chipset. For example log entries
> from SunFire X4200:
> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
> ns8250: UART FCR is broken
> uart0: console (9600,n,8,1)
Compare /boot/device.hints on 14.0 vs. 14.1.  I remember the isa hints for
the uarts were removed.  If not enumerated by acpi, as in case of X4200,
the hints needs to be provided.