From nobody Mon May 12 18:16:50 2025 X-Original-To: sysinstall@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 4Zx79H0VYBz5vckc for ; Mon, 12 May 2025 18:16:51 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Zx79G6Th8z41cp for ; Mon, 12 May 2025 18:16:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747073810; 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=dEGyDQIoLP/3pUnP6iA5EwFLj9VuAq+2IL/M3FW2fq8=; b=yft+a8WppE/ZH7qXvTZfMKqBHICcrmVk6gRcDEbgb4N65kbxFcB5Bco8P8gcmkLMSi48EL THvijmtC3w60+9qfLKKCQmY7Q+lNXtbVeGRDLg9Y6962IhZRyoY6zz/X+BCNHg5S/IxxbA Ejz17Oa1ydjBK5EvrjW+n9qmkPTjLmO9sLMCmP+JiGFdwejUMRSblq6WRIBvtCMHbUEdJK X0w4dicjmABBcNTQKB4FC++I6VI9HugBgPYCx+5B8arKZPZtgyOiQSHaGkUTp3K7fWj2mm n32BCH3vNWdOKhoHY+8gIMWgYSDcjYawAjJW3B39B98I2b1iV6qR585OxwoMhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747073810; 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=dEGyDQIoLP/3pUnP6iA5EwFLj9VuAq+2IL/M3FW2fq8=; b=o64tusb4RR59fXsI36OimVRwnjeNpPHTPsr/YGQCm2Z+uwcmHXk9w8qnldj+jdNtOTZmlJ 5JGTvgPcxXQNDOGiezW4dEIZTmiUBxCqfSm+Jinw6p5Zuabkyq+rHsOibIUEwZYkgxNXQK LfKWp64qr0BzMlZpLIX+JweSCKjz6eTIE1a7ti6rOVD0aUR3msHj4VX+kfDauhHV8u4ryT eN9batLiFJepQSDixTRY3euOAKmN/8OJ0Mh2kfJNOkMw1qEA8j/CZH7FumDHNfsrgxDWFq lAuLVAeW0KYznR9j1jOaN619BwD+xp2I3c8c2GKpD8LQ/xUT7Ao3QT9uorH62A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1747073810; a=rsa-sha256; cv=none; b=dYOCnq1RtuMuV/SmcMQTh11SA+/XWxj1U987qddYlltVN54ft2sWk00Sv6569iiyo6UqSR cmwJdwDz8xCbmYX81k5IG4jKXeplVZrjYLSVYYdG+xwBk3BAw+iytb8BtzHPuqP0/jP787 2YXiQt+9ldrzQoVOUhrJLPdiNvruzaQhTI0j8mEzCEvHDug6PYLA6hE/isv/UrigmmI1pJ SY1d/7cCDW/5dG4htq2zuF6zbdDQKYxrmGNNmfNopIDzqBRxiR5K3TOJA1lYMYRyuFCdk7 nmPgGz2WlBM3kdpasyWmwJn1KUajSQkRM/qDBn1yqLksPDJbhcu5ixD6PAKBJA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4Zx79G5hGLz1QbM for ; Mon, 12 May 2025 18:16:50 +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 54CIGoT2090692 for ; Mon, 12 May 2025 18:16:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 54CIGoU6090690 for sysinstall@FreeBSD.org; Mon, 12 May 2025 18:16:50 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: sysinstall@FreeBSD.org Subject: [Bug 286703] During bsdinstall, pkg hangs outputting to serial console Date: Mon, 12 May 2025 18:16:50 +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: 14.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rpokala@panasas.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sysinstall@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Sysinstall Work List-Archive: https://lists.freebsd.org/archives/freebsd-sysinstall List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-sysinstall@freebsd.org Sender: owner-freebsd-sysinstall@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D286703 Ravi Pokala changed: What |Removed |Added ---------------------------------------------------------------------------- Component|bin |kern --- Comment #1 from Ravi Pokala --- My colleagues have gathered some additional information: 1. When in the non-responsive state, (some?) kernel messages are still emit= ted to the serial console. For example, resetting the BMC causes the virtual USB keyboard and mouse to detach and re-attach, and the corresponding messages = show up on the console. 2. When in the non-responsive state, it is always waiting on the 't_outwait' condvar in tty.c , which wakes up callers waiting on the TTY. 3. The main paths for triggering that event are 'ttydisc_getc()' or 'ttydisc_getc_uio()' in tty_ttydisc.c , which are in turn called by 'uart_tty_outwakup()' in uart_tty.c . 'uart_tty_outwakeup()' is responsible= for draining the TTY buffer and sending the contents to the UART driver. 4. Instrumenting the install, we found that while 'ixon' -- software flow-control -- is enabled, so is 'ixany' -- release the software flow-cont= rol pause when any character is input. Our investigation continues. In the mean time, while this was seen in the context of `bsdinstall', this looks like a bug in the UART and/or TTY drivers; 'kern', not 'bin'. --=20 You are receiving this mail because: You are the assignee for the bug.=