Bug 202551 - ACPI, Exception, AE_ERROR, Could not acquire mutex
Summary: ACPI, Exception, AE_ERROR, Could not acquire mutex
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 10.1-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-acpi (Nobody)
: 238921 (view as bug list)
Depends on:
Reported: 2015-08-21 17:22 UTC by Kris
Modified: 2019-07-06 14:43 UTC (History)
6 users (show)

See Also:

Screen when problem is reported (408.13 KB, image/jpeg)
2015-08-21 17:22 UTC, Kris
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kris 2015-08-21 17:22:00 UTC
Created attachment 160184 [details]
Screen when problem is reported

User performs system shutdown (power off) - (irrespectively - through desktop manager or console), everything is fine until computer is supposed to turn off. Then it takes couple of seconds and the error is reported.  Unfortunately error message does not survive reboot so it is shown in attached picture only, taken from screen.

Not deterministic problem, with following traits:
- appears randomly but more than once every 10 shutdown at average 
- does not seem to be related to system up time. It was observed after few minutes of system uptime as well as after days of uptime
- does not seem to be related to any particular activities / tasks system had been performing during uptime

Misleading information is that system was going to reboot. That is not the case - system was going down for halt and turn off.

When it occurs computer remains in that state, does not turn off, CPU utilization must be high (fan is spinning like a crazy). Any key stroke would initiate system reboot.

Please let me know what (and how) further symptoms can be collected

Comment 1 Aleksander Alekseev 2016-08-16 09:58:15 UTC
Could be related to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211895
Comment 2 jakub_lach 2016-10-24 21:17:55 UTC
(In reply to Kris from comment #0)

bug #213759 is a duplicate I think. Very similar symptoms, I have a photo too, but could somehow retrieve the massage from log.
Comment 3 Martin 2019-06-11 18:08:17 UTC
I do have the same problem on my laptop, poweroff/shutdown -p now always halts the system, never shuts it down.

Hardware: Fujitsu Lifebook E Series
OS: FreeBSD 13.0-CURRENT r348832 GENERIC amd64
Misc: is in docking station, just monitor and ethernet are connected, no (external) usb device.

ACPI Error: AE_ERROR. Thread 100002 could not acquire Mutex [ACPI_MTX_Caches] (0x4) (20190509/utmutex-434)
ACPI Error: Aborting method \_SB.PCI0.LPCB.PPCC due to previous error (AE_NO_MEMORY) (20190509/psparse-689)
ACPI Error: Aborting method \_SB.PCI0.LPCB.TPTS due to previous error (AE_NO_MEMORY) (20190509/psparse-689)
ACPI Error: Aborting method \_PTS due to previous error (AE_NO_MEMORY) (20190509/psparse—689 )
acpi0: AcpiEnterSleepStatePrep failed - AE_NO_MEMORY

The operating system has halted.
Please press any key to reboot.
Comment 4 Martin Birgmeier 2019-07-01 14:11:12 UTC
*** Bug 238921 has been marked as a duplicate of this bug. ***
Comment 5 Martin Birgmeier 2019-07-06 14:43:10 UTC
Hi Jung-uk Kim,

I added you to the CC list for this bug because I have seen that you are working on ACPI stuff. It is also present in 12.0, see my bug report #238921.

Could you please have a look and maybe fix this? - The issue seems to be that the ACPI subsystem needs memory during shutdown which it does not get.

-- Martin