Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2024 20:49:52 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        KOT MATPOCKuH <matpockuh@gmail.com>
Cc:        freebsd-stable List <freebsd-stable@freebsd.org>
Subject:   Re: uart device lost after upgrading 14.1 d56a912f2 to b99852587
Message-ID:  <CANCZdfqsHgNubJw=PjYof%2BkCcAYgQGJxhcSpypB94jGzsANBRg@mail.gmail.com>
In-Reply-To: <CALmdT0VjnxLGKEsY_V8Q=djah7uU-AxAo8xru=QVBkeF5W%2BbrQ@mail.gmail.com>
References:  <CALmdT0VjnxLGKEsY_V8Q=djah7uU-AxAo8xru=QVBkeF5W%2BbrQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000ffa1ea062050d4e0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 22, 2024 at 3:54=E2=80=AFAM KOT MATPOCKuH <matpockuh@gmail.com>=
 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?
>

I believe that kib@ is correct. on isa0 is a good hint that we're attaching
with the old hints.

I think we should add an entry about this to the release notes for the next
14.x release.


> 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 entrie=
s
> 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)
>

Yea, ACPI on the newer system has these uarts listed. On the other systems
not so much.

The X2270 was released 2009 or 2010, which is new enough I'd expect it to
have ACPI and have the serial ports in its AML....

Warner

--000000000000ffa1ea062050d4e0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Thu, Aug 22, 2024 at 3:54=E2=80=AF=
AM KOT MATPOCKuH &lt;<a href=3D"mailto:matpockuh@gmail.com">matpockuh@gmail=
.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1=
ex"><div dir=3D"ltr"><div>Hello all!<br><br></div><div>After upgrading Free=
BSD 14.1 from d56a912f2 to b99852587 system lost uart device on my SunFire =
X2270 system.<br></div><div>Entries from dmesg.boot file BEFORE update:<br>=
</div><div>uart0: &lt;Non-standard ns8250 class UART with FIFOs&gt; at port=
 0x3f8 irq 4 flags 0x1<br>0 on isa0<br>uart0: console (9600,n,8,1)<br></div=
><div><div><br></div><div>What happened? How can I return my serial console=
 to working state?</div></div></div></blockquote><div><br></div><div>I beli=
eve that kib@ is correct. on isa0 is a good hint that we&#39;re attaching w=
ith the old hints.</div><div><br></div><div>I think we should add an entry =
about this to the release notes for the next 14.x release.</div><div>=C2=A0=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b=
order-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><d=
iv><div>On the updated system I do not have these entries, also I have NO t=
tyu0 devices that were used as console.</div><div>I&#39;m using stable/14 g=
it&#39;s branch.</div><div>There were no changes in the kernel configuratio=
n file.</div><div>I do not have this problem on other systems, including di=
fferent Sun&#39;s servers, but this servers using different chipset. For ex=
ample log entries from SunFire X4200:<br></div><div>uart0: &lt;16550 or com=
patible&gt; port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0<br>ns8250: UART FCR =
is broken<br>uart0: console (9600,n,8,1)</div></div></div></blockquote><div=
><br></div><div>Yea, ACPI on the newer system has these uarts listed. On th=
e other systems not so much.</div><div><br></div><div>The=C2=A0X2270 was=C2=
=A0released 2009 or 2010, which is new enough I&#39;d expect it to have ACP=
I and have the serial ports in its AML....</div><div><br></div><div>Warner<=
/div></div></div>

--000000000000ffa1ea062050d4e0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfqsHgNubJw=PjYof%2BkCcAYgQGJxhcSpypB94jGzsANBRg>