From nobody Thu May 26 00:14:48 2022 X-Original-To: bugs@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 45C2A1AE23F8 for ; Thu, 26 May 2022 00:14:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L7pN80dbmz4kMn for ; Thu, 26 May 2022 00:14:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E686623429 for ; Thu, 26 May 2022 00:14:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 24Q0ElLv073625 for ; Thu, 26 May 2022 00:14:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24Q0ElXm073624 for bugs@FreeBSD.org; Thu, 26 May 2022 00:14:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264226] setting kern.vty=sc causes hang during boot Date: Thu, 26 May 2022 00:14:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653524088; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nJTsXYmcRiyXHI/77uihR8VaAFY0m2wYNNOweXGnmdE=; b=LdbLDFQ+RJ1CjAGR9uE4dFMids+mQPCXK7HCDYuTScDddyTZraaiwZN534n28NJfMM/d8G X7cte2GO7swOHboLVUD+e++zQL8pzTGXJ12J/haPmQUDMohSBF9K93bLIWBb5Cojpts0T+ 6HpQcnZbNN8tssJT0J4YtI1i7NN/2WQVtCev5KDW0i6joel5CBNZSaAV8eUF6uhc9S26du /vffAhpIUQwIOi7GRIdFI7N2dWe4QfbHuMRr/1JZGkTJ3bPZ9uuk3EWkb+ePe2U1CLJoxz GNLWwIfGd5E02d6Nba8qKZDhWV90jwn8hZk8iQ6I6+kO/4tXpsg8OLRkLdZ8Tw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653524088; a=rsa-sha256; cv=none; b=xFMM3eSv3dW96MnTiBoGf0f0LzjYDxBRUpteo7U/uOeGdvobgsY/bcgnP4Fi8rLVlm+0d3 os83D7gsIUQz1uPBijRczrRnVdiTL7qFSddh/3Rfxcahjp1m49eaypS7p1Oim0ZVI2NDFC fzmpOQT+9T+T7eve7QtYymMjpO9GaFlbwcsIg8x2oFkidczTW60VCj7Pe7h7+pSPwEWM8d sBvjn4vLrG5IG3uKdVvTLAPLptZzDHXgzx8hBmSRA5lrfpIrcxx3cTDi1GXI9F5fRn8t7L nZoinngY3VpMTzKtA/FiMMKiNDYvzUGPpgHMJWQ0SN4Ol0lX6/BCM5hTe0Gpaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264226 --- Comment #4 from Ed Maste --- (In reply to Kubilay Kocak from comment #3) There's no need to include a log - this behaviour is clear from the code. References: sys/amd64/amd64/machdep.c sys/kern/kern_cons.c The priority order for choosing a console is: - sc, if kern.vty=3Dsc - vt, if kern.vt=3Dvt - vt, if EFI boot (via vty_set_preferred) - vt - sc (there's some redundancy left over, from the iterative approach we took to changing the default) Moving the vty_set_preferred handling to the top of the list would have the behaviour you describe, but would mean the system ignores the user's setting when it has a preferred choice. The easiest way to address this will be to just remove sc from GENERIC. --=20 You are receiving this mail because: You are the assignee for the bug.=