Date: Wed, 27 Nov 2024 12:48:25 +0200 From: Daniel Braniss <danny@cs.huji.ac.il> To: Warner Losh <imp@bsdimp.com> Cc: Kurt Jaeger <pi@freebsd.org>, Freebsd-stable List <stable@freebsd.org> Subject: Re: not working /dev/console Message-ID: <365D866D-F7D2-4DB6-AFFB-B4C3829D8467@cs.huji.ac.il> In-Reply-To: <CANCZdfoQtYLP62rWO6oTHg4ajbV7SK=ehq2jkv1o0ZX8_im0jw@mail.gmail.com> References: <DBE9ABDF-092F-4198-9E14-DF2E0AAB3638@cs.huji.ac.il> <Z0bcQvu36o-rqsJn@fc.opsec.eu> <CAA78225-E266-4CBE-807D-B72D9BCE58E8@cs.huji.ac.il> <CANCZdfoQtYLP62rWO6oTHg4ajbV7SK=ehq2jkv1o0ZX8_im0jw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_9047F022-E572-4279-9FBF-659B512BD9FC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 27 Nov 2024, at 11:42, Warner Losh <imp@bsdimp.com> wrote: >=20 >=20 >=20 > On Wed, Nov 27, 2024, 2:12=E2=80=AFAM Daniel Braniss = <danny@cs.huji.ac.il <mailto:danny@cs.huji.ac.il>> wrote: >=20 >=20 > > On 27 Nov 2024, at 10:45, Kurt Jaeger <pi@freebsd.org = <mailto:pi@freebsd.org>> wrote: > >=20 > > Hi! > >=20 > >> when the console is not uart0, init=E2=80=99s output, which I = assume uses /dev/console > >> is lost. Boot, kernel and login work ok, also debugger. > >>=20 > >> so, is there a way to configure /dev/console to uart1? > >=20 > > I made some notes, and they point, among other things, to: > >=20 > > https://reviews.freebsd.org/D36286 = <https://reviews.freebsd.org/D36286> > >=20 > > 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" > >=20 > > So probably it can be configured, but I've never tried it. >=20 > done that, that=E2=80=99s how I get most of the messages - forgot to = mention > i=E2=80=99m using SOL/ipmi to get the console,=20 > it=E2=80=99s the annoying init=E2=80=99s output that is missing, so I = have to guess > why it=E2=80=99s not going multiuser :-( >=20 > BIOS or UEFI? UEFI. the hosts in question are Dell 7xx, and bios/pxeboot no longer works >=20 > Warner >=20 > thanks, > danny >=20 >=20 >=20 > >=20 > > --=20 > > pi@FreeBSD.org <mailto:pi@FreeBSD.org> +49 171 3101372 = Now what ? --Apple-Mail=_9047F022-E572-4279-9FBF-659B512BD9FC Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br = class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div = class=3D"">On 27 Nov 2024, at 11:42, Warner Losh <<a = href=3D"mailto:imp@bsdimp.com" class=3D"">imp@bsdimp.com</a>> = wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><meta = charset=3D"UTF-8" class=3D""><div dir=3D"auto" style=3D"caret-color: = rgb(0, 0, 0); font-family: Helvetica; font-size: 16px; font-style: = normal; font-variant-caps: normal; font-weight: 400; letter-spacing: = normal; text-align: start; text-indent: 0px; text-transform: none; = white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none;" class=3D""><div class=3D""><br class=3D""><br = class=3D""><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 <<a href=3D"mailto:danny@cs.huji.ac.il" = class=3D"">danny@cs.huji.ac.il</a>> wrote:<br = class=3D""></div><blockquote class=3D"gmail_quote" style=3D"margin: 0px = 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; = border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><br = class=3D""><br class=3D"">> On 27 Nov 2024, at 10:45, Kurt Jaeger = <<a href=3D"mailto:pi@freebsd.org" target=3D"_blank" rel=3D"noreferrer"= class=3D"">pi@freebsd.org</a>> wrote:<br class=3D"">><span = class=3D"Apple-converted-space"> </span><br class=3D"">> Hi!<br = class=3D"">><span class=3D"Apple-converted-space"> </span><br = class=3D"">>> when the console is not uart0, init=E2=80=99s = output, which I assume uses /dev/console<br class=3D"">>> is lost. = Boot, kernel and login work ok, also debugger.<br class=3D"">>><span= class=3D"Apple-converted-space"> </span><br class=3D"">>> = so, is there a way to configure /dev/console to uart1?<br = class=3D"">><span class=3D"Apple-converted-space"> </span><br = class=3D"">> I made some notes, and they point, among other things, = to:<br class=3D"">><span = class=3D"Apple-converted-space"> </span><br class=3D"">><span = class=3D"Apple-converted-space"> </span><a = href=3D"https://reviews.freebsd.org/D36286" rel=3D"noreferrer = noreferrer" target=3D"_blank" = class=3D"">https://reviews.freebsd.org/D36286</a><br class=3D"">><span = class=3D"Apple-converted-space"> </span><br class=3D"">> kenv | = grep cons<br class=3D"">> boot_multicons=3D"YES"<br class=3D"">> = comconsole_pcidev=3D""<br class=3D"">> comconsole_port=3D"1016"<br = class=3D"">> comconsole_speed=3D"115200"<br class=3D"">> = console=3D"comconsole"<br class=3D"">> = hw.uart.console=3D"io:1016,br:115200"<br class=3D"">><span = class=3D"Apple-converted-space"> </span><br class=3D"">> So = probably it can be configured, but I've never tried it.<br class=3D""><br = class=3D"">done that, that=E2=80=99s how I get most of the messages - = forgot to mention<br class=3D"">i=E2=80=99m using SOL/ipmi to get the = console,<span class=3D"Apple-converted-space"> </span><br = class=3D"">it=E2=80=99s the annoying init=E2=80=99s output that is = missing, so I have to guess<br class=3D"">why it=E2=80=99s not going = multiuser :-(<br class=3D""></blockquote></div></div><div dir=3D"auto" = class=3D""><br class=3D""></div><div dir=3D"auto" class=3D"">BIOS or = UEFI?</div></div></div></blockquote>UEFI.</div><div>the hosts in = question are Dell 7xx, and bios/pxeboot no longer works</div><div><br = class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div = dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; = font-size: 16px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;" class=3D""><div dir=3D"auto" class=3D""><br class=3D""></div><div = dir=3D"auto" class=3D"">Warner</div><div dir=3D"auto" class=3D""><br = class=3D""></div><div dir=3D"auto" class=3D""><div = class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin: = 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; = border-left-color: rgb(204, 204, 204); padding-left: 1ex;">thanks,<br = class=3D""> <span = class=3D"Apple-converted-space"> </span>danny<br class=3D""><br = class=3D""><br class=3D""><br class=3D"">><span = class=3D"Apple-converted-space"> </span><br class=3D"">> --<span = class=3D"Apple-converted-space"> </span><br class=3D"">><span = class=3D"Apple-converted-space"> </span><a = href=3D"mailto:pi@FreeBSD.org" class=3D"">pi@FreeBSD.org</a> = +49 171 3101372 = Now what = ?</blockquote></div></div></div></div></blockquote></div><br = class=3D""></body></html>= --Apple-Mail=_9047F022-E572-4279-9FBF-659B512BD9FC--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?365D866D-F7D2-4DB6-AFFB-B4C3829D8467>