From nobody Wed Nov 27 10:48:25 2024 X-Original-To: stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xyx4Y3LXrz5f0px for ; Wed, 27 Nov 2024 10:48:29 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xyx4Y0pDCz43Tw; Wed, 27 Nov 2024 10:48:29 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=References:To:Cc:In-Reply-To:Date:Subject:Mime-Version:Content-Type:Message-Id:From; bh=4a838/GlHqXwAZspmyQ2G3WiWvMBpS88psDWcjQ9TRs=; b=0RA41LyWmMaspMU4dlfsqM6oq2N80lvjvRz05v1eXDk6glhyfd2IU4ztugjd01kjQy0xdH+hmxhXhnwSs99oZCA/Tlo2RZT2BYjCnLo3U5rUEof1nVei0wfnGgIeXvZjEUDrSjP2Ml/RRbx8AYBLXTQwx/tQnrwHU+75tPL0fr5cXGAh7L8UMivynKeVlBrci0dayVYPEFOo7twiOFKCWGl0l79rB5zWq/SrMYLvD1SP1HK+ceB6DKQxwtGVnqNYniCz4vPAQCavrEQyyDZAp3PFnkW0NCoseBQkiIHtWjm7/sLdMUPUvauYc/KC/n20CCpCpctttAF/gq4kGHfZAQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cse.huji.ac.il; s=57791128; h=References:To:Cc:In-Reply-To:Date:Subject:Mime-Version:Content-Type:Message-Id:From; bh=4a838/GlHqXwAZspmyQ2G3WiWvMBpS88psDWcjQ9TRs=; b=VLmeUa6n5SBLyvoUI1RsPvcIBcyAar1DGvVmRFBCqjfQMg9tss5uzqnX5RO0rFdzyWJi1khoEn19UJ3VQLGhc75G/IpBsNqCBgrplbnjvYZgA11ZVNTWq1SDFlZTWY1PKhfO7WUbgtNFe3pHz8UItDfgaLpx0uE0+ZYBfqHtNZ5YXbCHaHKHJc/W9MYT6oCJTZkrYlQQeAgE7+1EOXZBuokvwxCYWAoQGyl5PsJdvjNK0QwgkzA6HdgWd8Q1E0K2rwmpQRPAj5XhXYDsnsa12KjZ6YGlnKjpanDQI0GZKB5lxFUdPunMkU8zC17nWQoKTciBX5pUD7nrkqq77G2fhA==; Received: from bach.cs.huji.ac.il ([132.65.80.20] helo=smtpclient.apple) by kabab.cs.huji.ac.il with esmtp id 1tGFar-000Fvq-M5; Wed, 27 Nov 2024 12:48:25 +0200 From: Daniel Braniss Message-Id: <365D866D-F7D2-4DB6-AFFB-B4C3829D8467@cs.huji.ac.il> Content-Type: multipart/alternative; boundary="Apple-Mail=_9047F022-E572-4279-9FBF-659B512BD9FC" List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.10\)) Subject: Re: not working /dev/console Date: Wed, 27 Nov 2024 12:48:25 +0200 In-Reply-To: Cc: Kurt Jaeger , Freebsd-stable List To: Warner Losh References: X-Mailer: Apple Mail (2.3696.120.41.1.10) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:378, ipnet:132.64.0.0/15, country:IL] X-Rspamd-Queue-Id: 4Xyx4Y0pDCz43Tw X-Spamd-Bar: ---- --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 wrote: >=20 >=20 >=20 > On Wed, Nov 27, 2024, 2:12=E2=80=AFAM Daniel Braniss = > wrote: >=20 >=20 > > On 27 Nov 2024, at 10:45, Kurt Jaeger > 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 = > >=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 +49 171 3101372 = Now what ? --Apple-Mail=_9047F022-E572-4279-9FBF-659B512BD9FC Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On 27 Nov 2024, at 11:42, Warner Losh <imp@bsdimp.com> = wrote:



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 uses /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 mention
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 have to guess
why it=E2=80=99s not going = multiuser :-(

BIOS or = UEFI?
UEFI.
the hosts in = question are Dell 7xx, and bios/pxeboot no longer works


Warner

thanks,
        danny



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

= --Apple-Mail=_9047F022-E572-4279-9FBF-659B512BD9FC--