Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2024 02:42:51 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        Kurt Jaeger <pi@freebsd.org>, Freebsd-stable List <stable@freebsd.org>
Subject:   Re: not working /dev/console
Message-ID:  <CANCZdfoQtYLP62rWO6oTHg4ajbV7SK=ehq2jkv1o0ZX8_im0jw@mail.gmail.com>
In-Reply-To: <CAA78225-E266-4CBE-807D-B72D9BCE58E8@cs.huji.ac.il>
References:  <DBE9ABDF-092F-4198-9E14-DF2E0AAB3638@cs.huji.ac.il> <Z0bcQvu36o-rqsJn@fc.opsec.eu> <CAA78225-E266-4CBE-807D-B72D9BCE58E8@cs.huji.ac.il>

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

On Wed, Nov 27, 2024, 2:12=E2=80=AFAM Daniel Braniss <danny@cs.huji.ac.il> =
wrote:

>
>
> > On 27 Nov 2024, at 10:45, Kurt Jaeger <pi@freebsd.org> wrote:
> >
> > Hi!
> >
> >> when the console is not uart0, init=E2=80=99s output, which I assume u=
ses
> /dev/console
> >> is lost. Boot, kernel and login work ok, also debugger.
> >>
> >> so, is there a way to configure /dev/console to uart1?
> >
> > I made some notes, and they point, among other things, to:
> >
> > https://reviews.freebsd.org/D36286
> >
> > kenv | grep cons
> > boot_multicons=3D"YES"
> > comconsole_pcidev=3D""
> > comconsole_port=3D"1016"
> > comconsole_speed=3D"115200"
> > console=3D"comconsole"
> > hw.uart.console=3D"io:1016,br:115200"
> >
> > So probably it can be configured, but I've never tried it.
>
> done that, that=E2=80=99s how I get most of the messages - forgot to ment=
ion
> i=E2=80=99m using SOL/ipmi to get the console,
> it=E2=80=99s the annoying init=E2=80=99s output that is missing, so I hav=
e to guess
> why it=E2=80=99s not going multiuser :-(
>

BIOS or UEFI?

Warner

thanks,
>         danny
>
>
>
> >
> > --
> > pi@FreeBSD.org         +49 171 3101372                  Now what ?
>
>
>

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

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Wed, Nov 27, 2024, 2:12=E2=80=AFAM Daniel Braniss &=
lt;<a href=3D"mailto:danny@cs.huji.ac.il">danny@cs.huji.ac.il</a>&gt; wrote=
:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bor=
der-left:1px #ccc solid;padding-left:1ex"><br>
<br>
&gt; On 27 Nov 2024, at 10:45, Kurt Jaeger &lt;<a href=3D"mailto:pi@freebsd=
.org" target=3D"_blank" rel=3D"noreferrer">pi@freebsd.org</a>&gt; wrote:<br=
>
&gt; <br>
&gt; Hi!<br>
&gt; <br>
&gt;&gt; when the console is not uart0, init=E2=80=99s output, which I assu=
me uses /dev/console<br>
&gt;&gt; is lost. Boot, kernel and login work ok, also debugger.<br>
&gt;&gt; <br>
&gt;&gt; so, is there a way to configure /dev/console to uart1?<br>
&gt; <br>
&gt; I made some notes, and they point, among other things, to:<br>
&gt; <br>
&gt; <a href=3D"https://reviews.freebsd.org/D36286" rel=3D"noreferrer noref=
errer" target=3D"_blank">https://reviews.freebsd.org/D36286</a><br>;
&gt; <br>
&gt; kenv | grep cons<br>
&gt; boot_multicons=3D&quot;YES&quot;<br>
&gt; comconsole_pcidev=3D&quot;&quot;<br>
&gt; comconsole_port=3D&quot;1016&quot;<br>
&gt; comconsole_speed=3D&quot;115200&quot;<br>
&gt; console=3D&quot;comconsole&quot;<br>
&gt; hw.uart.console=3D&quot;io:1016,br:115200&quot;<br>
&gt; <br>
&gt; So probably it can be configured, but I&#39;ve never tried it.<br>
<br>
done that, that=E2=80=99s how I get most of the messages - forgot to mentio=
n<br>
i=E2=80=99m using SOL/ipmi to get the console, <br>
it=E2=80=99s the annoying init=E2=80=99s output that is missing, so I have =
to guess<br>
why it=E2=80=99s not going multiuser :-(<br></blockquote></div></div><div d=
ir=3D"auto"><br></div><div dir=3D"auto">BIOS or UEFI?</div><div dir=3D"auto=
"><br></div><div dir=3D"auto">Warner</div><div dir=3D"auto"><br></div><div =
dir=3D"auto"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
thanks,<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 danny<br>
<br>
<br>
<br>
&gt; <br>
&gt; -- <br>
&gt; pi@FreeBSD.org=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0+49 171 3101372=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Now what ?<br>
<br>
<br>
</blockquote></div></div></div>

--000000000000c018b20627e1cadd--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoQtYLP62rWO6oTHg4ajbV7SK=ehq2jkv1o0ZX8_im0jw>