Date: Mon, 16 Dec 2024 06:48:53 -0700 From: Warner Losh <imp@bsdimp.com> To: Kurt Jaeger <pi@freebsd.org> Cc: John Baldwin <jhb@freebsd.org>, Daniel Braniss <danny@cs.huji.ac.il>, Freebsd-stable List <stable@freebsd.org> Subject: Re: not working /dev/console Message-ID: <CANCZdfoHGs=KSz92sm_1RxSEpG7QNtzkA1EwTa=96Yuz-xXyYQ@mail.gmail.com> In-Reply-To: <Z2AsSIAKlBvgHQ2t@fc.opsec.eu> References: <ED9E83DE-FA40-4685-B073-E5BF5A29B1CB@cs.huji.ac.il> <Z1XbDqEzeI_Qvf8I@fc.opsec.eu> <CANCZdfrrpdaR_4Zyj3WgZTj7EcXT-YzdaeD%2BM-0ucUTDs9Aucg@mail.gmail.com> <Z1Xk_SpEZL4XVm2S@fc.opsec.eu> <3F04B2DC-1AA9-4663-BCDE-3EFD0B01527E@cs.huji.ac.il> <044EAFE1-DCB8-439C-A422-4B5F8CD4C37C@cs.huji.ac.il> <501640865.7444.1734350498438@localhost> <Z2AYoahDvVt52Wt2@fc.opsec.eu> <Z2AZzTOWgSNPsmZF@fc.opsec.eu> <CANCZdfqEfKHRoppUb8pLpveST61S_SbkjmCW2dDC=Pd5Yz=DTw@mail.gmail.com> <Z2AsSIAKlBvgHQ2t@fc.opsec.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000090c59e062963710a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Dec 16, 2024 at 6:34=E2=80=AFAM Kurt Jaeger <pi@freebsd.org> wrote: > Hi! > > > > > can you tell more on how to fix this ? > > > > > APU version apu1 lost their ability to have a serial console > > > > in 14.2. > > > > hw.acpi.override_isa_irq_polarity=3D1 > > > > > > in /boot/loader.conf > > > > > > changed the value after reboot, but the serial console is still lost. > > > > Are the serial ports there at all? APU needs hints now for that. > > They are not. As the hardware did not change (I did not unsolder > some chips from the board 8-), I guess that's what I'm asking: > > How can I tell the kernel that the serials are still there ? > > The system boots via serial, and then stops displaying any > kernel output. > APU is one of the latest machines that don't quite enumerate the serial ports right via ACPI, so you'll need to add the following to loader.conf hint.uart.0.at=3D"isa" hint.uart.0.port=3D"0x3F8" hint.uart.0.irq=3D"4" hint.uart.1.at=3D"isa" hint.uart.1.port=3D"0x2F8" hint.uart.1.irq=3D"3" Warner --00000000000090c59e062963710a 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 g= mail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Dec 16,= 2024 at 6:34=E2=80=AFAM Kurt Jaeger <<a href=3D"mailto:pi@freebsd.org">= pi@freebsd.org</a>> wrote:<br></div><blockquote class=3D"gmail_quote" st= yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd= ing-left:1ex">Hi!<br> <br> > > > can you tell more on how to fix this ?<br> <br> > > > APU version apu1 lost their ability to have a serial console= <br> > > > in 14.2.<br> <br> > > hw.acpi.override_isa_irq_polarity=3D1<br> > ><br> > > in /boot/loader.conf<br> > ><br> > > changed the value after reboot, but the serial console is still l= ost.<br> > <br> > Are the serial ports there at all? APU needs hints now for that.<br> <br> They are not. As the hardware did not change (I did not unsolder<br> some chips from the board 8-), I guess that's what I'm asking:<br> <br> How can I tell the kernel that the serials are still there ?<br> <br> The system boots via serial, and then stops displaying any<br> kernel output.<br></blockquote><div><br></div><div>APU is one of the latest= machines that don't quite enumerate the</div><div>serial ports right v= ia ACPI, so you'll need to add the following to</div><div>loader.conf</= div><div><br></div><div><a href=3D"http://hint.uart.0.at">hint.uart.0.at</a= >=3D"isa"<br>hint.uart.0.port=3D"0x3F8"</div><div>hint.= uart.0.irq=3D"4"<br><a href=3D"http://hint.uart.1.at">hint.uart.1= .at</a>=3D"isa"<br>hint.uart.1.port=3D"0x2F8"<br>hint.u= art.1.irq=3D"3"</div><div><br></div><div>Warner</div></div></div> --00000000000090c59e062963710a--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoHGs=KSz92sm_1RxSEpG7QNtzkA1EwTa=96Yuz-xXyYQ>