From nobody Sun Jan 14 01:42:14 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 4TCJ1354Cbz56gyH for ; Sun, 14 Jan 2024 01:42: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 4TCJ13309zz4tck for ; Sun, 14 Jan 2024 01:42:15 +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=1705196535; 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; bh=qAewHLuDd5okDkWrQCn+7y74EQfS4ZxRGIIu5OKn/hk=; b=e2v7KNK629Qv17sAduJHJ4zabvjFKNaPTwUrFhE3nD8MT246maQ4iaZRg15WR0A73rJ38l f8TCimA3XYh5dPTy/4wHnmoN+CS1cdftDmEbd4hHzplgiVwsl+bd+DhHxBh3izTMKNXQKi FHeDZPnl7Y59kRqf53OE6nQBf/DvRNr7oPzyU8mz9+pdJmc2VNZSCYTsskY74XnsBXtCK+ H+tYdVBZ4PYaK4Ne2UUEIPhs6/aM3CBrWfONRCI5d5BohFYPnhIe4BRsfYROAb5N38b2Ok nv1Gh/9LHAWXIXCyE+jhNxlISAd3vU8nvXYUkX2Aolnh/OHu0A9K5HZ87fD4Ww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705196535; a=rsa-sha256; cv=none; b=RJU5mxSvmAypF4j+u67kPEXmd1Jmu8Ooox9dwd8J56Vz7BNbDRxZNXEcpA89B1JEIOk9Mo 21LiN1AeYWtXkBIMNWZu/1XLHDHlxxPV/JZm03oba4irPEzKPNaw846xWWQKty+f3XdF9Z eGs7DfNiZa1ZWHJwzh7XNds6Z0WPUg5VURV9nn0mGN0zXnf0fQNdb/9o2bSCSSEe7ZoFSG PWJhDC23URvzjPAWpFA4Mr3kTtdQFd+Jsosc8e3zAct3q1JTSwwQvQso11Zig+UxopVFV1 zRyahG+z/RpFFrRZsIqRLJhSBtX3/KzJBp7Dyzg+Vepj66HUNUUu99RPpUIdSg== 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 4TCJ13230DzvJP for ; Sun, 14 Jan 2024 01:42: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 40E1gFuX098677 for ; Sun, 14 Jan 2024 01:42:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40E1gF2K098657 for bugs@FreeBSD.org; Sun, 14 Jan 2024 01:42:15 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 276308] acpi_wmi: Error getting Embedded MOF on some hardware Date: Sun, 14 Jan 2024 01:42:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kennedy.greg@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.mimetype attachments.created Message-ID: 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=3D276308 Bug ID: 276308 Summary: acpi_wmi: Error getting Embedded MOF on some hardware Product: Base System Version: 14.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: kennedy.greg@gmail.com Attachment #247632 text/plain mime type: Created attachment 247632 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D247632&action= =3Dedit acpidump -d -t > DSDT.dsl Hardware - Dell Latitude E5420 laptop (2011), latest BIOS (A14), 8gb RAM, Intel Core i5-2430M CPU FreeBSD-14.0-RELEASE-p4, AMD64 standard kernel. Issue - Getting this error in `dmesg` after boot: acpi_wmi0: on acpi0 acpi_wmi0: Embedded MOF found ACPI: \134_SB.AMW0.WQMO: 1 arguments were passed to a non-method ACPI object (Buffer) (20221020/nsarguments-361) Seems to be a problem retrieving the BMOF from ACPI: where the kernel expec= ts to find a method to "block query", instead there is a Buffer w/ the data, a= nd no query method is present to call. Reference https://github.com/freebsd/freebsd-src/blob/main/sys/dev/acpi_support/acpi_= wmi.c#L280 On Linux, the result is different. Instead the kernel reports "data block query control method not found" and gives up. See https://github.com/torvalds/linux/blob/master/drivers/platform/x86/wmi.c#L9= 65 but also, the comments are enlightening - "On some Dell laptops, WQxx may n= ot be a method at all" Solution (maybe?) - Check that the WQxx result from ACPI for this GUID is a method, not a buffe= r. If it is a buffer, return the contents directly, instead of attempting to c= all the method to get the contents. Consider also the quirk about "optional" parameters when there is only one instance for the associated data block. Attached - I'm attaching the result of `acpidump -d -t` from the machine. This doesn't compile with iasl (because of external references), but it should be everyt= hing needed to help diagnose this issue. My research into this is also on the forums at https://forums.freebsd.org/threads/acpi-134_sb-amw0-wqmo-1-arguments-were-p= assed-to-a-non-method-acpi-object-buffer.91904/ if it is any help. --=20 You are receiving this mail because: You are the assignee for the bug.=