From nobody Thu Jan 18 22:32:12 2024 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 4TGHYT1n3Tz579CV for ; Thu, 18 Jan 2024 22:32:13 +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 4TGHYT0n3xz4DMp for ; Thu, 18 Jan 2024 22:32:13 +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=1705617133; 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=UR7fok+i7RnEmf5wZi90s07SuzQZPWRzRRKQwX6ivmo=; b=LNzWTrxzH3oq136nNCiOaGnkL71yGbFzepOqWQbxh5uEaxfcNtx5sjqFIINlGF8w2SZxUr 42SC5cj7YZXqgDn9XUI7S8CwwszePCQYiGDSfuTThxQImR04pA83+uSM53IsidjpkPMoBF wjvJBZYpv/U8dYUW3QonDv5hRq1qPOYBM/DceACIYQsWJQdj5pOleveodjGFbOYN8oy3Q+ q7rX049WVYOm+teWzVhCWVE1UDkHKbiGbVEz3WAM8lRUiR2YfXTP0NvmGd84JKIeZNEHi6 ePCJb7dpsObP1VAf6U9l5j0Ka9vdvDqLH7Om99ytL368FRQdcu1n8wMf6p7BTg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705617133; a=rsa-sha256; cv=none; b=EJMqbzhmU53CK/Fp4Y5hnzRmxhg+VkcsB0h4njNy2BHUuV8/LVz6h26sgIn963fwhVHwiO n4IwkC1nCT6AgjJe0//h6R8hWjDLcM7qDTitBQ8jQu65NZlQBGpmESNYABI+Y7wmSuOjWv jJTtwBG0rgfnSfLjRd7lXuZm8bMwgaVIB4ahomnTbdaKw++nurOj29j6YM9zHoq97rJ1fj WHQLXQ95B0HkeeSMCJlC9+AeLpu4ctA2VUrKWBykgWo0Fo2cHlsfj5IhC9i7RoMlwgItZo OqXK3pWYEsistNri6AY2WeQBQXqtIxKAJSCNiWnqiDXSaMSpNejt/uSh1Eh+oQ== 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 4TGHYS6xwNzQXC for ; Thu, 18 Jan 2024 22:32:12 +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 40IMWC0C029753 for ; Thu, 18 Jan 2024 22:32:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40IMWC9S029752 for bugs@FreeBSD.org; Thu, 18 Jan 2024 22:32:12 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 276426] amd64: microcode update caused a page fault trying to send data to the logger Date: Thu, 18 Jan 2024 22:32:12 +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-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jfc@mit.edu 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276426 --- Comment #11 from John F. Carr --- The stack trace goes through line 759 in trap.c. In my code that is the if statement here: if (td->td_critnest !=3D 0 || WITNESS_CHECK(WARN_SLEEPOK | WARN_GIANTOK, NULL, "Kernel page fault") !=3D 0) { trap_fatal(frame, eva); return (-1); } That prompted me to check td->td_critnest. The WITNESS_CHECK should return= 0. I have WITNESS disabled. I have INVARIANTS enabled. Otherwise my kernel is GENERIC. Could we be getting a page fault handling a page fault? I don't know if th= at can be reconciled with the stack. --=20 You are receiving this mail because: You are the assignee for the bug.=