linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [v3.20]: Missing /sys/class/ACAD directory OR Cannot release Mutex
@ 2015-02-22 12:33 Jörg Otte
  2015-02-23 23:24 ` Rafael J. Wysocki
  0 siblings, 1 reply; 4+ messages in thread
From: Jörg Otte @ 2015-02-22 12:33 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Rafael J. Wysocki, Linus Torvalds,
	ACPI Devel Maling List

Starting with kernel 3.19.0-05184-g18320f2, I often find my notebook
running with 'powersave' policy even if it is on AC.

It turned out that /sys/class/ACAD directory is missing and in the
logs I see:

ACPI Error: Cannot release Mutex [MUT0], not acquired (20150204/exmutex-376)
ACPI Error: Method parse/execution failed [\_SB_.ACAD._PSR] (Node
ffff880216028d48), AE_AML_MUTEX_NOT_ACQUIRED (20150204/psparse-536)
ACPI Exception: AE_AML_MUTEX_NOT_ACQUIRED, Error reading AC Adapter
state (20150204/ac-131)

At the last 25 startups since 3.19.0-05184-g18320f2 it occured 13 times.

It does not occur with kernels older than 3.19.0-05184-g18320f2.

Thanks, Jörg
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [v3.20]: Missing /sys/class/ACAD directory OR Cannot release Mutex
  2015-02-22 12:33 [v3.20]: Missing /sys/class/ACAD directory OR Cannot release Mutex Jörg Otte
@ 2015-02-23 23:24 ` Rafael J. Wysocki
  2015-02-24 11:03   ` Jörg Otte
  0 siblings, 1 reply; 4+ messages in thread
From: Rafael J. Wysocki @ 2015-02-23 23:24 UTC (permalink / raw)
  To: Jörg Otte
  Cc: Linux Kernel Mailing List, Rafael J. Wysocki, Linus Torvalds,
	ACPI Devel Maling List

On Sunday, February 22, 2015 01:33:09 PM Jörg Otte wrote:
> Starting with kernel 3.19.0-05184-g18320f2, I often find my notebook
> running with 'powersave' policy even if it is on AC.
> 
> It turned out that /sys/class/ACAD directory is missing and in the
> logs I see:
> 
> ACPI Error: Cannot release Mutex [MUT0], not acquired (20150204/exmutex-376)
> ACPI Error: Method parse/execution failed [\_SB_.ACAD._PSR] (Node
> ffff880216028d48), AE_AML_MUTEX_NOT_ACQUIRED (20150204/psparse-536)
> ACPI Exception: AE_AML_MUTEX_NOT_ACQUIRED, Error reading AC Adapter
> state (20150204/ac-131)
> 
> At the last 25 startups since 3.19.0-05184-g18320f2 it occured 13 times.
> 
> It does not occur with kernels older than 3.19.0-05184-g18320f2.

Which mainline commit is that?

The only changes in 4.0-rc1 that can affect that are the ACPI EC updates IIRC.

Is there a chance to try the acpi-ec branch from linux-pm.git and see if the
problem is there?

Rafael

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [v3.20]: Missing /sys/class/ACAD directory OR Cannot release Mutex
  2015-02-23 23:24 ` Rafael J. Wysocki
@ 2015-02-24 11:03   ` Jörg Otte
  2015-02-24 13:29     ` Jörg Otte
  0 siblings, 1 reply; 4+ messages in thread
From: Jörg Otte @ 2015-02-24 11:03 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Linux Kernel Mailing List, Rafael J. Wysocki, Linus Torvalds,
	ACPI Devel Maling List

2015-02-24 0:24 GMT+01:00 Rafael J. Wysocki <rjw@rjwysocki.net>:
> On Sunday, February 22, 2015 01:33:09 PM Jörg Otte wrote:
>> Starting with kernel 3.19.0-05184-g18320f2, I often find my notebook
>> running with 'powersave' policy even if it is on AC.
>>
>> It turned out that /sys/class/ACAD directory is missing and in the
>> logs I see:
>>
>> ACPI Error: Cannot release Mutex [MUT0], not acquired (20150204/exmutex-376)
>> ACPI Error: Method parse/execution failed [\_SB_.ACAD._PSR] (Node
>> ffff880216028d48), AE_AML_MUTEX_NOT_ACQUIRED (20150204/psparse-536)
>> ACPI Exception: AE_AML_MUTEX_NOT_ACQUIRED, Error reading AC Adapter
>> state (20150204/ac-131)
>>
>> At the last 25 startups since 3.19.0-05184-g18320f2 it occured 13 times.
>>
>> It does not occur with kernels older than 3.19.0-05184-g18320f2.
>
> Which mainline commit is that?
18320f2 Merge tag 'pm+acpi-3.20-rc1-2' of
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

>
> The only changes in 4.0-rc1 that can affect that are the ACPI EC updates IIRC.
>
> Is there a chance to try the acpi-ec branch from linux-pm.git and see if the
> problem is there?
Should be no problem. I will give it a try.

Thanks, Jörg
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [v3.20]: Missing /sys/class/ACAD directory OR Cannot release Mutex
  2015-02-24 11:03   ` Jörg Otte
@ 2015-02-24 13:29     ` Jörg Otte
  0 siblings, 0 replies; 4+ messages in thread
From: Jörg Otte @ 2015-02-24 13:29 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Linux Kernel Mailing List, Rafael J. Wysocki, Linus Torvalds,
	ACPI Devel Maling List

2015-02-24 12:03 GMT+01:00 Jörg Otte <jrg.otte@gmail.com>:
> 2015-02-24 0:24 GMT+01:00 Rafael J. Wysocki <rjw@rjwysocki.net>:
>> On Sunday, February 22, 2015 01:33:09 PM Jörg Otte wrote:
>>> Starting with kernel 3.19.0-05184-g18320f2, I often find my notebook
>>> running with 'powersave' policy even if it is on AC.
>>>
>>> It turned out that /sys/class/ACAD directory is missing and in the
>>> logs I see:
>>>
>>> ACPI Error: Cannot release Mutex [MUT0], not acquired (20150204/exmutex-376)
>>> ACPI Error: Method parse/execution failed [\_SB_.ACAD._PSR] (Node
>>> ffff880216028d48), AE_AML_MUTEX_NOT_ACQUIRED (20150204/psparse-536)
>>> ACPI Exception: AE_AML_MUTEX_NOT_ACQUIRED, Error reading AC Adapter
>>> state (20150204/ac-131)
>>>
>>> At the last 25 startups since 3.19.0-05184-g18320f2 it occured 13 times.
>>>
>>> It does not occur with kernels older than 3.19.0-05184-g18320f2.
>>
>> Which mainline commit is that?
> 18320f2 Merge tag 'pm+acpi-3.20-rc1-2' of
> git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
>
>>
>> The only changes in 4.0-rc1 that can affect that are the ACPI EC updates IIRC.
>>
>> Is there a chance to try the acpi-ec branch from linux-pm.git and see if the
>> problem is there?
> Should be no problem. I will give it a try.

I booted kernel 3.19.0-rc5-00560-g92e4b1b from linux-pm/acpi-ec 5 times
and it didn't occure.

Today I noticed 2 other things:
1) There are at least 2 slightly different error cases
     a) ACPI Error: Cannot release Mutex [MUT0], not acquired
     b) ACPI Error: Thread 370114560 cannot release Mutex [MUT0]
acquired by thread ..

2) Boot times are different between good and bad case, bad case takes
significally longer:
     a)  Good case
[    0.285892] intel_idle: MWAIT substates: 0x21120
[    0.285893] intel_idle: v0.4 model 0x3A
[    0.285894] intel_idle: lapic_timer_reliable_states 0xffffffff
[    0.288461] ACPI: AC Adapter [ACAD] (off-line)

     b) Bad case
[    0.284061] intel_idle: MWAIT substates: 0x21120
[    0.284062] intel_idle: v0.4 model 0x3A
[    0.284063] intel_idle: lapic_timer_reliable_states 0xffffffff
[    1.279089] tsc: Refined TSC clocksource calibration: 2494.334 MHz
[    2.280355] Switched to clocksource tsc
[    5.194933] ACPI Error: Thread 370114560 cannot release Mutex [MUT0]

Thanks, Jörg
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-24 13:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-22 12:33 [v3.20]: Missing /sys/class/ACAD directory OR Cannot release Mutex Jörg Otte
2015-02-23 23:24 ` Rafael J. Wysocki
2015-02-24 11:03   ` Jörg Otte
2015-02-24 13:29     ` Jörg Otte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).