From nobody Sun Sep 10 17:31:12 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 4RkH2C26L1z4sjZm for ; Sun, 10 Sep 2023 17:31:15 +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 4RkH2C155dz4P2m for ; Sun, 10 Sep 2023 17:31:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694367075; a=rsa-sha256; cv=none; b=FX9GWpHxRPUw2m2UWpe4xiE5jDWQoAgnG08Ca2AJ4yHrS/LLnAexvX9VRN+ZK3vwRskV0e LJ0GI79l6wnr5qdHeanLmY57e0dozAwmNeFYfue9a8BqAq5RqwM7RJTM4s2aZN1SghHl8r QuyTHFZaTM/Rpeb5Oz7taMEOsGzUbTlKKjNg2pJJzukyOiSvwh9KI6HKQRhmYCypFc7rzG 9DtjJ2CY4H5aFf0kkfn7fGLv2WPP+c8FihTJ0g/GE481gg5/quj160W8/LStoeqZLHLcAe x9MW8Q+kJ6D2aYxno3+SxhXataPWMbRKG2w+OJjA7dSTQu1DpyF7HHZI/rLAxw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694367075; 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=CStXach5lZzxsXn3TIdyscYa6Fbinxfsdvz8Bi7pQFs=; b=apBqHOfYo8KLWYAcOq5aJTV1uNSWu8x2NUdL8hPQCi9qdnntTQkUroFb5nnFHB0oWEuyLR WXpFWL/dho4EiVRZNU6hEVczdUaZSosLoS4JvXx7Z6ITLW4yiqvExgYQZ/mLU7ZxKBLZua dbBSVVlxkP3/hKZIC0xv61PFcmzI8gBXAecJR8YbU+euIfz9l0ZAbaL6CNYsqu2esA2v63 uw3DUKgie4KDt4AjM1bGcJCMwd/YFFLMrclkdEZQ0KNS2Zr81tmdjmvzB3jdqGlaRu+aE5 55Zl9TApiJvdzqEdSzUPppo+WsbHPMYT42JL40f8f7Uob7IjaYUos+4OfyD1Nw== 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 4RkH2C0BBxz1wt for ; Sun, 10 Sep 2023 17:31:15 +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 38AHVE42073352 for ; Sun, 10 Sep 2023 17:31:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38AHVEtt073351 for bugs@FreeBSD.org; Sun, 10 Sep 2023 17:31:14 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 268393] system always reboots once from a powered off state Date: Sun, 10 Sep 2023 17:31:12 +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.1-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: o.hushchenkov@gmail.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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268393 --- Comment #69 from Oleh Hushchenkov --- (In reply to Mark Johnston from comment #68) Just moved hdac_irq_alloc() call in hdac_attach() to be after the hdac_rirb_init() call and rebuilt the kernel. It fixed the issue for me. Now I'm wondering which patch should I use? 1. Removing "intsts !=3D 0xffffffff" from "while (intsts !=3D 0xffffffff &&= (intsts & HDAC_INTSTS_GIS) !=3D 0)" in "hdac_intr_handler()". 2. Adding "rirb_base =3D=3D NULL" and "rirb =3D=3D NULL" checks in "hdac_ri= rb_flush()". 3. Moving "hdac_irq_alloc()" to be after "hdac_rirb_init()" in "hdac_attach= ()". --=20 You are receiving this mail because: You are the assignee for the bug.=