From nobody Mon Apr 24 17:59:52 2023 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 4Q4tFP32s8z478QB for ; Mon, 24 Apr 2023 17:59:53 +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 4Q4tFP22G5z4NvV for ; Mon, 24 Apr 2023 17:59:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682359193; 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=pVZX80z6Nnm0YbuvVUGDssceBd9LhTrKypqop/cA/yc=; b=J09oVNEuJMnkaFqvRB8Y4u0bdrboGvfEMsEbTbuR0CQVaLdOY2TDv8O5+v0uElnsb5NOP2 8mmWz/Mi0RUGyBrPEkjED6RcoduJui9cCVrJb7ZLISzDdfr0eLsJL7EYTe3e5uAyRRfpiW olAknSzdxDnKJEV6XYFfRp/FvPPgTh3mJyGNAD39PkFYJyneQqNQmEaB+wWwNQH/9KB1mu bI+Gy8CzZFKbcNS0cEruHWVp5mU0zHDoSO1tLzNY0KJUrIEfH10UBY9nJl9fgw5LbBgQ5u r6MKA6FZoalLVaE/N/OcxOT2Y7qZ2lvg/Sxpkn3XuMKc6bpaIB0cQH+D4whjpQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682359193; a=rsa-sha256; cv=none; b=ctSeiNP87m3e748Xgir8mmroMLdb11jPo2OBh1oU9IiRUJitfBIlf/7M4MKyT3dM/6M6Bo 8s3JnnS1MUKtdMIToFaDEMyF3bXFmYtPVqIvCeujm24kVQCU3TfM0tI6TaFqLb9hysMk3E vmg+QcjrnpAvpAEu4VCzUNcZOXKeZyvkcmCWeWapDmnKWwnA86D+5ES8rJE2HSeXuOhgu5 Eg0fk/4YvLy/Y+lJB/Uf0Z6E3CbaTnTZ7jZD2eCLEyiZ/lkG/TWgQ7uMaC4GLh5UE8usax ROt5gGDklWMLc4T5c56gXkGyqWCOEbLYjctGGoIO1TtwKj/+cWNJ5gfkQfK91Q== 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 4Q4tFP16XCzZRS for ; Mon, 24 Apr 2023 17:59:53 +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 33OHxr06061327 for ; Mon, 24 Apr 2023 17:59:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33OHxrLI061326 for bugs@FreeBSD.org; Mon, 24 Apr 2023 17:59:53 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 270943] Complete system freeze on Asus dual socket AMD 7742 system Date: Mon, 24 Apr 2023 17:59:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: nb@synthcom.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270943 --- Comment #2 from Neil Bradley --- Workaround for this is to go in to BIOS, select "AMD CBS", then "Processor Features", and change "Global C state control" to "enabled" (or disabled, b= ut this uses more power). "auto" Is the setting that seems to cause the lockup= s. Once changed to enabled or disabled, the system is stable for >12 hours. More detail, with C state control "disabled", I get the following wattage usage: Power in =3D 300 watts Power out =3D 276 watts CPU =3D 168 watts Mem =3D 112 watts root@amd-megaserver:/home/nb # sysctl dev.cpu | grep cx dev.cpu.255.cx_method: C1/hlt dev.cpu.255.cx_usage_counters: 2525 dev.cpu.255.cx_usage: 100.00% last 713773us dev.cpu.255.cx_lowest: C1 dev.cpu.255.cx_supported: C1/1/0 However, when running with C state control "enabled", it's much more reason= able and in line with other operating systems' idle power consumption: Power in =3D 120 watts Power out =3D 108 watts CPU =3D 88 watts Mem =3D 16 watts nb@amd-megaserver:~ $ sysctl dev.cpu | grep cx dev.cpu.255.cx_method: C1/hlt C2/io dev.cpu.255.cx_usage_counters: 1752 0 dev.cpu.255.cx_usage: 100.00% 0.00% last 395716us dev.cpu.255.cx_lowest: C1 dev.cpu.255.cx_supported: C1/1/1 C2/2/400 Unsure of how to properly disposition this, as while this does provide a us= able workaround, it does feel like there's something OS-wise that's not quite ri= ght, given there are no lockup issues with Linux or Windows. Leaving open for the FreeBSD to disposition as they see fit with the information above. --=20 You are receiving this mail because: You are the assignee for the bug.=