From nobody Thu Aug 22 11:45:53 2024 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WqLxZ6FFsz5Slc7 for ; Thu, 22 Aug 2024 11:45:54 +0000 (UTC) (envelope-from SRS0=s+K5=PV=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WqLxZ51kVz4Wkh for ; Thu, 22 Aug 2024 11:45:54 +0000 (UTC) (envelope-from SRS0=s+K5=PV=klop.ws=ronald-lists@realworks.nl) Authentication-Results: mx1.freebsd.org; none Date: Thu, 22 Aug 2024 13:45:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1724327153; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=q1/4ckgGENJLQrPhTosudNl3ig4PCmLCJx7r9kYpxi8=; b=CaI+6+iRjhlJQE4a52Bj+fQIAYPqibJP8jVA7mnB5NBUC+vpptoo/MZZdne2YmL/hoF+8P pS8YtBNg4SxWYc2b2XJxC9jmtUSjt70BCPnol5VLFA6wQDI5BLVelazqrkTQo7wX3WP63t 1lEInBe0IlfxXD2rDhP13g4LlkelQr8epeaVQZ8CzUmWgrvxWFPrmq+IcDTXp78lresTNP RhTGUnkyKFvq6e86D121GSs25ItYr5otJqx2n9JrpoSrHnZU5jklOEHoQYHJ5PLKZ2nt/Q aYWP4Dx+g5MeT8jVsV6Te6e3KDBy8KsFoWTlVJBySHIgfQNYQNFNH/hQk2J3qA== From: Ronald Klop To: Konstantin Belousov Cc: KOT MATPOCKuH , freebsd-stable List Message-ID: <1510003604.3724.1724327153577@localhost> In-Reply-To: Subject: Re: uart device lost after upgrading 14.1 d56a912f2 to b99852587 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3723_1909895283.1724327153573" X-Mailer: Realworks (717.34) Importance: Normal X-Priority: 3 (Normal) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[K5=PV=klop.ws=ronald-lists]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL] X-Rspamd-Queue-Id: 4WqLxZ51kVz4Wkh ------=_Part_3723_1909895283.1724327153573 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Van: Konstantin Belousov Datum: 22 augustus 2024 12:14 Aan: KOT MATPOCKuH CC: freebsd-stable List 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 ------=_Part_3723_1909895283.1724327153573 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit

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
------=_Part_3723_1909895283.1724327153573--