linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sleep/fan problem bisected to 73201dbec64aebf6b0dca855b523f437972dc7bb
@ 2013-04-12 18:08 Jake Edge
  2013-04-12 23:18 ` Jake Edge
  2013-04-13  4:48 ` auxsvr
  0 siblings, 2 replies; 3+ messages in thread
From: Jake Edge @ 2013-04-12 18:08 UTC (permalink / raw)
  To: hpa, rjw, linux-kernel


Hi Peter,

I have been having a problem on my laptop (HP Compaq 2510p) over the
last two months with >= 3.7 kernels.  After the first resume, it turns
on the fan and leaves it running at top speed no matter what the system
is doing.  I finally bisected it over the last two days and that points
the finger at your patch 73201dbec64aebf6b0dca855b523f437972dc7bb:

 x86, suspend: On wakeup always initialize cr4 and EFER
    
    We already have a flag word to indicate the existence of
 MISC_ENABLES, so use the same flag word to indicate existence of cr4
 and EFER, and always restore them if they exist.  That way if
 something passes a nonzero value when the value *should* be zero, we
 will still initialize it.

I should note that the bisection (between 3.6, which works, and 3.7,
which doesn't) did not exhibit the same symptoms as I see with any 3.7
or 3.8 kernel (either from Fedora or built myself), but would instead
refuse to come out of sleep (but still have the fan running at top
speed) ... so maybe I've really bisected the "fails to come out of
sleep" problem, rather than the "fan runs at top speed after resume"
problem, dunno ... but it would seem that code is still present in 3.7+
and I have no trouble resuming using those kernels (other than the damn
noisy fan :)

The output of "sensors" is interesting ... for "temp6" in
"acpitz-virtual-0" it sits at +100C (near the +110C critical level)
when things have gone bad (just in Fedora or my kernels >=3.7, not in
the bisect, cuz those don't come back from the sleep) ... in the "good"
case, it normally sits around 30, but goes as high as 50 (and sometimes
reports 0 for a try or two -- frozen motherboard! :) ...

thoughts on this?  Other info you need or things I should be trying?

thanks,

jake

-- 
Jake Edge - LWN - jake@lwn.net - http://lwn.net

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

* Re: sleep/fan problem bisected to 73201dbec64aebf6b0dca855b523f437972dc7bb
  2013-04-12 18:08 sleep/fan problem bisected to 73201dbec64aebf6b0dca855b523f437972dc7bb Jake Edge
@ 2013-04-12 23:18 ` Jake Edge
  2013-04-13  4:48 ` auxsvr
  1 sibling, 0 replies; 3+ messages in thread
From: Jake Edge @ 2013-04-12 23:18 UTC (permalink / raw)
  To: Jake Edge; +Cc: hpa, rjw, linux-kernel

On Fri, 12 Apr 2013 12:08:31 -0600 Jake Edge wrote:

> I have been having a problem on my laptop (HP Compaq 2510p) over the
> last two months with >= 3.7 kernels.  After the first resume, it turns
> on the fan and leaves it running at top speed no matter what the
> system is doing.  I finally bisected it over the last two days and
> that points the finger at your patch
> 73201dbec64aebf6b0dca855b523f437972dc7bb:
> 
>  x86, suspend: On wakeup always initialize cr4 and EFER
>     
>     We already have a flag word to indicate the existence of
>  MISC_ENABLES, so use the same flag word to indicate existence of cr4
>  and EFER, and always restore them if they exist.  That way if
>  something passes a nonzero value when the value *should* be zero, we
>  will still initialize it.
> 
> I should note that the bisection (between 3.6, which works, and 3.7,
> which doesn't) did not exhibit the same symptoms as I see with any 3.7
> or 3.8 kernel (either from Fedora or built myself), but would instead
> refuse to come out of sleep (but still have the fan running at top
> speed) ... so maybe I've really bisected the "fails to come out of
> sleep" problem, rather than the "fan runs at top speed after resume"
> problem, dunno ... 

As you've undoubtedly surmised, I was in fact tracking down the resume
failure which was caused by the above and fixed by another of your
patches: 1396adc3c2bdc556d4cdd1cf107aa0b6d59fbb1e ... neither of which
were related to the fan issue as far as I can tell ... now I am off
bisecting while applying those ...

sorry for the noise ...

jake

-- 
Jake Edge - LWN - jake@lwn.net - http://lwn.net

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

* Re: sleep/fan problem bisected to 73201dbec64aebf6b0dca855b523f437972dc7bb
  2013-04-12 18:08 sleep/fan problem bisected to 73201dbec64aebf6b0dca855b523f437972dc7bb Jake Edge
  2013-04-12 23:18 ` Jake Edge
@ 2013-04-13  4:48 ` auxsvr
  1 sibling, 0 replies; 3+ messages in thread
From: auxsvr @ 2013-04-13  4:48 UTC (permalink / raw)
  To: linux-kernel

Jake Edge wrote:

> 
> Hi Peter,
> 
> I have been having a problem on my laptop (HP Compaq 2510p) over the
> last two months with >= 3.7 kernels.  After the first resume, it turns
> on the fan and leaves it running at top speed no matter what the system
> is doing.
> The output of "sensors" is interesting ... for "temp6" in
> "acpitz-virtual-0" it sits at +100C (near the +110C critical level)
> when things have gone bad (just in Fedora or my kernels >=3.7, not in
> the bisect, cuz those don't come back from the sleep) ... in the "good"
> case, it normally sits around 30, but goes as high as 50 (and sometimes
> reports 0 for a try or two -- frozen motherboard! :) ...
> 
> thoughts on this?  Other info you need or things I should be trying?

This is known, see https://lkml.org/lkml/2012/12/4/428 for more details.

> thanks,
> 
> jake

Regards,
Peter


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

end of thread, other threads:[~2013-04-13  4:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-12 18:08 sleep/fan problem bisected to 73201dbec64aebf6b0dca855b523f437972dc7bb Jake Edge
2013-04-12 23:18 ` Jake Edge
2013-04-13  4:48 ` auxsvr

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).