From nobody Wed Nov 27 16:44:43 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 4Xz4zq4Wtfz5fShh for ; Wed, 27 Nov 2024 16:44:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) (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 4Xz4zq44Sxz4r08 for ; Wed, 27 Nov 2024 16:44:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-212776d6449so76488355ad.1 for ; Wed, 27 Nov 2024 08:44:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1732725894; x=1733330694; 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=l/NgaVdA1NZwWjpNQQT89zhiXx+DTya6sy6UzvVc+Go=; b=sYV6YrGlukQBq/xUElVBzyzq+7ozdiTSmXscfMQrOtr/+Ui0ifuLD8oBokenTJ6TsD NSSkASeP2sLwGwEDQBBzgatPTa9Jdsis0K5c05stbOqfU6SRPFV9Mw4CLAEpSxf+PYZD uPcX8l3JhsriERhgzCn600OUJ2QhIaxkQJEL7NDA9YbtsibjkER1m3ZEVVAW1tyMG91C eJNCakA7rm729KNuzyhXBxLZvBMPt6EIzVLVe2KYWRnPmqqZ085V6ZhOvLVCH4SwqW+O x5VpvwnNj2rDVVQU1lANBc+TFoKCB4nnZILvoi4ovHKrQZw2DzkJqS4xE/rLkg6nSjP9 +4Og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732725894; x=1733330694; 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=l/NgaVdA1NZwWjpNQQT89zhiXx+DTya6sy6UzvVc+Go=; b=g4yxpGukpvXAehNkZoG6HjwHpnP0Q4qHpp38V6Sswu5o/NGdPPOAh+uGeQ1BHv3Ro+ H5cjIPzB+2LNeJk2ylGfwk5+gBz3ujPN1jGJnBWT8Rc1N4vKLUUE7Yk0oy61yFaqQ7XP LuLvqkA2msOuxszFtiCodlhG9ndDfQ9i0d4SFYsvT5oKLOpsbfCRXTeo39nuSb38ndUn /yDoUCBudzXktF7unh0WhdOAOdm0ti5mTS9hG8T+j1fe2MdNA+Ki0GC3xTm3ihXf917i sKDHU3bsBVDdwquv8kfmhNQgiji6f4AFvPffni0Xge/gTj+WvHsM1ARNE9d+tfH+w4Ak W/Wg== X-Gm-Message-State: AOJu0YwmrcwrksO1vixXkXc/q1fOZd1f8I4phJ8ZZNKafFq1aOqJvv5a zjmziy73xQSmt4ePt82gdHJnpnTjHq5yyN8cHiGSulDUWTuy1jbqkhOnaw6nebU3iDaPhvTFyTI 7ptc0gPCfz1z+m9JI8oYyrLFSI8iFt9Coth9ti17cKG9omtl1MpohOQ== X-Gm-Gg: ASbGnctJ5lTDm6870wsOMZPoQkXzjBZq2r5AyD+SMnaY0ZVWfJJzHnQyW74WJiLUiJc 1zwbN6c+pbFKZ0GFav8UFqXpy04IcQXo= X-Google-Smtp-Source: AGHT+IEzsqDIOaF/AFAZy2B3TM9dmVgVoNBaw3t67fb+pYkw/R/VJ7aj9dmHRClv9H81wsAgMRfoH6iufZ6Qlpqc2e4= X-Received: by 2002:a17:902:e5cb:b0:20c:79bf:6793 with SMTP id d9443c01a7336-215010854cbmr40313205ad.3.1732725894541; Wed, 27 Nov 2024 08:44:54 -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: <27224122-3f36-4e88-87b4-c4cfc0a6b7d8@bytecamp.net> In-Reply-To: <27224122-3f36-4e88-87b4-c4cfc0a6b7d8@bytecamp.net> From: Warner Losh Date: Wed, 27 Nov 2024 09:44:43 -0700 Message-ID: Subject: Re: not working /dev/console To: Robert Schulze Cc: stable@freebsd.org Content-Type: multipart/alternative; boundary="0000000000007014570627e7af42" 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: 4Xz4zq44Sxz4r08 X-Spamd-Bar: ---- --0000000000007014570627e7af42 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Nov 27, 2024 at 3:59=E2=80=AFAM Robert Schulze wr= ote: > Hello, > > Am 27.11.24 um 09:34 schrieb Daniel Braniss: > > Hi, > > when the console is not uart0, init=E2=80=99s output, which I assume us= es > /dev/console > > is lost. Boot, kernel and login work ok, also debugger. > > you can give the loader a hint, which uart is considered a console. > In my case, any IPMI-console on uart1 works with the following settings > in /boot/loader.conf: > > -- > boot_multicons=3D"yes" > comconsole_port=3D"0x2f8" > > hint.uart.0.flags=3D"0x0" > hint.uart.1.flags=3D"0x10" > hint.uart.1.baud=3D"115200" > -- > > hint.uart.N.flags=3D"0x10" means: this is a potential system console. > See uart(4) manpage for this. > hw.uart.console is preferred over the flags. In fact, nobody should be setting the flags at all. I should remove them from the man page, or burry them in a footnote somewhere. So boot_mulitcons w/o boot_serial=3Dyes will mean that video is the primary console and serial the secondary, and /etc/rc only runs on the primary console. Warner > regards, > Robert Schulze > > --0000000000007014570627e7af42 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


--0000000000007014570627e7af42--