From nobody Wed Nov 27 09:42:51 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 4Xyvd50BPyz5dvVC for ; Wed, 27 Nov 2024 09:43:05 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xyvd43SpSz3x5Q for ; Wed, 27 Nov 2024 09:43:04 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-2ea499f264fso471287a91.1 for ; Wed, 27 Nov 2024 01:43:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1732700583; x=1733305383; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=l3lACmUSX7Cg1SFhd7oat2h1A+zHpXxZ5ddGqPWUQkY=; b=0Hm9ah6DTIMk1ijH1qEBguPSGN2MgpZr/jipxuWD3FGkQ/AMP85FQ/ncpYqkxnkM1b DNrSJlmDN+3k+B1Rc7UyzLpiPwMNWaAcN4plInmvRR/jV7k3vKnUVLkIWNJY6Iwz3Ojd d+PdtOZfRET0E3bso5iYQwz8ODRUMpDxT3HPf4wr4SGV6xqLHyoL5l/k3uYbE+TvFk/N jLe+GvB31aUo7omOuin1RfGZyNtvPxS05m8mDvPNwoT9nHg771w5m6yJo9gu6WSEFBSM mg38fiTKUA8Gfbrtg7CDT1T5Kzs16nylz+eqx3pwSOhepp2i9OTSba5TZ1XJZEtLP1ib m2/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732700583; x=1733305383; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=l3lACmUSX7Cg1SFhd7oat2h1A+zHpXxZ5ddGqPWUQkY=; b=Z1PJCWqidAuIpIE4Wy5T34e2W33mpgmmwHKq5B9e3Xqq1dIEMDVGqAdm1FPdBp70XW ZZ1385h+0oMc9qk/S1F8CKzIXGR5ue1HReqABdnQwHGmGnJZ3oY4/+0QPlN8aF8JHn3H bWVwD7/zEYT98qF5lbD0q9yO3u7dWyNLGBt/QO/lsENzEOrRFr1Rtrm2m53dDWwx+/Bt WoTUxUw3KH24PNelj5zjkxc1xmQX24Gzh9HMXDW7hrsJdwmzJe6yTDn4wqlHXsf1p4V0 ywd40IFeyNFH7xQvsLJJeRfual71ezGfj9AxTtXFTnn2XyHMKsU92b3HNtmTCXcNopUB jEig== X-Forwarded-Encrypted: i=1; AJvYcCVs3LJ7S1LKTaZvy1zJuzab6/zj9OpdVJTublED+tSUh78JXgsSOPq2tXSMikdPpWccLLqb/yc=@freebsd.org X-Gm-Message-State: AOJu0YyFP5IpVMqjRHYM0PL0ngisMM/gZoCu9se6GPWsaqYvAu8cjVGP Mo/0DtP7X7JuTM0xXd7o0SHdg1SGxFMWvszqyhopgTafXO+naPHTvAoRyqFCqn2bUO0+4LS9Hxs g1aG6WNOBzqlReqc8OI2iE5iLUpN7XUApdvb/8A+fHGqWPgEP X-Gm-Gg: ASbGncsEq4ONv2tY3np7dzEWOFpFmf6hmsMig4j5mdIErEYDhHp/u9edlWDMBFAYFrc i1seO0ISF7YBWi+p2HlWHGKwEVkwcAQhPjjCdFaqXLAi8P3MUrAiuqTFcyTfvqoK+ X-Google-Smtp-Source: AGHT+IEgeg+a4Hq6qBM3LU9o5nYgN2G8ZJdD+IMz5OwEPEpMvho/7rWMI1DCc9U+fPeolsias+mkDqhmRSB1PBfaPYg= X-Received: by 2002:a17:90b:3001:b0:2ea:7814:1d9f with SMTP id 98e67ed59e1d1-2edeb7b7541mr10033736a91.6.1732700582965; Wed, 27 Nov 2024 01:43:02 -0800 (PST) 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 References: In-Reply-To: From: Warner Losh Date: Wed, 27 Nov 2024 02:42:51 -0700 Message-ID: Subject: Re: not working /dev/console To: Daniel Braniss Cc: Kurt Jaeger , Freebsd-stable List Content-Type: multipart/alternative; boundary="000000000000c018b20627e1cadd" 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:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Xyvd43SpSz3x5Q X-Spamd-Bar: ---- --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 = wrote: > > > > On 27 Nov 2024, at 10:45, Kurt Jaeger 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


On Wed, Nov 27, 2024, 2:12=E2=80=AFAM Daniel Braniss &= lt;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 assu= me 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 mentio= n
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?

Warner

thanks,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 danny



>
> --
> 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 ?


--000000000000c018b20627e1cadd--