Re: uart device lost after upgrading 14.1 d56a912f2 to b99852587

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Thu, 22 Aug 2024 11:45:53 UTC
Van: Konstantin Belousov <kostikbel@gmail.com>
Datum: 22 augustus 2024 12:14
Aan: KOT MATPOCKuH <matpockuh@gmail.com>
CC: freebsd-stable List <freebsd-stable@freebsd.org>
Onderwerp: Re: uart device lost after upgrading 14.1 d56a912f2 to b99852587

> 
> 
> 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:  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.
> 
> 
> 
> 
> 

See 
https://cgit.freebsd.org/src/commit/?h=stable/14&id=74b9fc7adcf4afb1c3039267e338c3cfdf022957



Regards,
Ronald