[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D96E90D.9000905@osadl.org>
Date: Sat, 02 Apr 2011 11:14:53 +0200
From: Carsten Emde <C.Emde@...dl.org>
To: Mike Galbraith <efault@....de>
CC: Greg KH <gregkh@...e.de>, linux-kernel@...r.kernel.org,
Venkatesh Pallipadi <venkatesh.pallipadi@...el.com>,
"H. Peter Anvin" <hpa@...ux.intel.com>,
Arjan van de Ven <arjan@...ux.intel.com>,
Len Brown <lenb@...nel.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Asit Mallick <asit.k.mallick@...el.com>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: Linux 2.6.33.8
Mike,
> [..]
>> Bisecting from 2.6.33.7 to 2.6.33.8 revealed:
>> 74a6e0fd8fc216cfa5edcde4bd356a8972cbc74c is the first bad commit
>> commit 74a6e0fd8fc216cfa5edcde4bd356a8972cbc74c
>> Author: H. Peter Anvin<hpa@...ux.intel.com>
>> Date: Fri Dec 10 23:57:04 2010 -0500
>>
>> x86, hotplug: Use mwait to offline a processor, fix the legacy case
>>
>> upstream ea53069231f9317062910d6e772cca4ce93de8c8
>> x86, hotplug: Use mwait to offline a processor, fix the legacy case
>
> The question would appear to be does mainline beyond this point exhibit
> the same symptom?
Unfortunately, I could not immediately try to reproduce the situation on
a more recent mainline kernel, since the box was freezing while enabling
the various services on any kernel >= 2.6.35.
After applying a workaround for this problem which may or may not be
related (https://lkml.org/lkml/2011/4/2/33), I was able to test more
recent kernels up to 2.6.39-rc1; they all show the same behavior.
Interestingly, the system only refuses to power down, if processor
frequency scaling was selected. The problem persisted, even if frequency
scaling was disabled by selecting userspace or performance
scaling_governor before halting the system.
CPU info:
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz
stepping : 2
This is the situation:
1. Without commit ea53069231f9317062910d6e772cca4ce93de8c8:
Everyting is fine. The system correctly powers off.
2. With commit ea53069231f9317062910d6e772cca4ce93de8c8:
a) Frequency scaling never enabled (acpi_cpufreq not loaded,
cpufreq_ondemand not loaded):
Everything is fine. The system correctly powers off.
b) Frequency scaling enabled (acpi_cpufreq loaded, cpufreq_ondemand
loaded) or
c) Frequency scaling enabled and disabled (acpi_cpufreq still loaded
since it cannot be removed easily, cpufreq_ondemand no longer
loaded) or
d) Frequency scaling enabled and disabled (acpi_cpufreq unloaded
with force, cpufreq_ondemand no longer loaded):
Not powering off, message:
ACPI: Preparing to enter system sleep state S5
Disabling non-boot CPUs ...
In a next step, I will debug arch/x86/kernel/smpboot.c to find out why
mwait_play_dead() returns when frequency scaling was not enabled and why
it does not after it was enabled.
Thanks,
-Carsten.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists