Re: not working /dev/console

From: Kurt Jaeger <pi_at_freebsd.org>
Date: Mon, 16 Dec 2024 12:10:09 UTC
Hi, John,

can you tell more on how to fix this ?

APU version apu1 lost their ability to have a serial console
in 14.2.

> > > btw, all works fine with a 13.1 kernel
[...]

> > I made a diff from booting 13.1 and 14.2 with boot_verbose, and this stands out:
> > (only in the 13.1)
> > 
> > -pcib0: allocated type 4 (0x3f8-0x3f8) for rid 0 of uart0
> > -pcib0: allocated type 4 (0x3f8-0x3f8) for rid 0 of uart0
> > -uart0: <16550 or compatible> at port 0x3f8 irq 4 flags 0x10 on isa0
> > -pcib0: allocated type 4 (0x3f8-0x3f8) for rid 0 of uart0
> > -uart0: console (115200,n,8,1)
> > -ioapic0: routing intpin 4 (ISA IRQ 4) to lapic 2 vector 53
> > -uart0: fast interrupt
> > -uart0: PPS capture mode: DCD
> > -pcib0: allocated type 4 (0x2f8-0x2f8) for rid 0 of uart1
> > -pcib0: allocated type 4 (0x2f8-0x2f8) for rid 0 of uart1
> > -uart1: <16550 or compatible> at port 0x2f8 irq 3 on isa0
> > -pcib0: allocated type 4 (0x2f8-0x2f8) for rid 0 of uart1
> > -ioapic0: routing intpin 3 (ISA IRQ 3) to lapic 3 vector 53
> > -uart1: fast interrupt
> > -uart1: PPS capture mode: DCD

> A change was made that uart does not attach on isa anymore.
> I think this was the commit about it:
> https://cgit.freebsd.org/src/commit/?h=releng/14.2&id=74b9fc7adcf4afb1c3039267e338c3cfdf022957

-- 
pi@FreeBSD.org         +49 171 3101372                  Now what ?