2010-08-10 11:21:07

by Jiri Slaby

[permalink] [raw]
Subject: Fan runs full speed after S3 sometimes (regression)

Hi,

till I was running on 2.6.34-rc5-mm1 (mmotm) and earlier everything was
fine. Now, I'm running 2.6.35-rc6-mm1 (.35-rc5-mm1 was the same) and
sometimes when the computer (desktop) returns from S3, the CPU fan is
running at full speed making a big noise.

I don't know how to debug that. Bisection is out of question -- it
happens once in 10 or 20 cases. There are no fan entries in /sys.

The load is as follows:
$ while :; do cat /proc/loadavg; sleep 3; done
0.37 0.33 0.32 1/325 21358
0.42 0.34 0.32 1/325 21362
0.42 0.34 0.32 1/326 21366
0.38 0.33 0.32 1/330 21386
0.38 0.33 0.32 1/331 21391
0.35 0.33 0.32 1/331 21394
0.32 0.32 0.32 1/331 21397
0.32 0.32 0.32 1/331 21400
0.30 0.32 0.32 1/331 21403
...

I can boot into 34-rc5 to compare that if this is of relevance.

290 kB kernel log since boot over several S3 sleep till now where the
fan is noisy:
http://www.fi.muni.cz/~xslaby/sklad/panics/boot.msg-fan_fullspeed

Should you need DSDT, it's there too:
http://www.fi.muni.cz/~xslaby/sklad/panics/DSDT

Any ideas what could have caused this?

thanks,
--
js


2010-08-10 18:39:52

by Jiri Slaby

[permalink] [raw]
Subject: Re: Fan runs full speed after S3 sometimes (regression)

On 08/10/2010 01:20 PM, Jiri Slaby wrote:
> Hi,
>
> till I was running on 2.6.34-rc5-mm1 (mmotm) and earlier everything was
> fine. Now, I'm running 2.6.35-rc6-mm1 (.35-rc5-mm1 was the same) and
> sometimes when the computer (desktop) returns from S3, the CPU fan is
> running at full speed making a big noise.

Just to add, full power cycle is needed to get rid of that. Warm reboot
is not enough.

> I don't know how to debug that. Bisection is out of question -- it
> happens once in 10 or 20 cases. There are no fan entries in /sys.
>
> The load is as follows:
> $ while :; do cat /proc/loadavg; sleep 3; done
> 0.37 0.33 0.32 1/325 21358
> 0.42 0.34 0.32 1/325 21362
> 0.42 0.34 0.32 1/326 21366
> 0.38 0.33 0.32 1/330 21386
> 0.38 0.33 0.32 1/331 21391
> 0.35 0.33 0.32 1/331 21394
> 0.32 0.32 0.32 1/331 21397
> 0.32 0.32 0.32 1/331 21400
> 0.30 0.32 0.32 1/331 21403
> ...
>
> I can boot into 34-rc5 to compare that if this is of relevance.
>
> 290 kB kernel log since boot over several S3 sleep till now where the
> fan is noisy:
> http://www.fi.muni.cz/~xslaby/sklad/panics/boot.msg-fan_fullspeed
>
> Should you need DSDT, it's there too:
> http://www.fi.muni.cz/~xslaby/sklad/panics/DSDT
>
> Any ideas what could have caused this?
>
> thanks,
--
js

2010-08-20 06:31:19

by Pavel Machek

[permalink] [raw]
Subject: Re: Fan runs full speed after S3 sometimes (regression)

On Tue 2010-08-10 20:39:44, Jiri Slaby wrote:
> On 08/10/2010 01:20 PM, Jiri Slaby wrote:
> > Hi,
> >
> > till I was running on 2.6.34-rc5-mm1 (mmotm) and earlier everything was
> > fine. Now, I'm running 2.6.35-rc6-mm1 (.35-rc5-mm1 was the same) and
> > sometimes when the computer (desktop) returns from S3, the CPU fan is
> > running at full speed making a big noise.
>
> Just to add, full power cycle is needed to get rid of that. Warm reboot
> is not enough.

Seems like bios problem... Update bios?

> > I don't know how to debug that. Bisection is out of question -- it
> > happens once in 10 or 20 cases. There are no fan entries in /sys.

Well, doing 20 suspends in a row from a script should not be too bad.

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

2010-08-20 06:40:02

by Jiri Slaby

[permalink] [raw]
Subject: Re: Fan runs full speed after S3 sometimes (regression)

On 08/20/2010 08:31 AM, Pavel Machek wrote:
> On Tue 2010-08-10 20:39:44, Jiri Slaby wrote:
>> On 08/10/2010 01:20 PM, Jiri Slaby wrote:
>>> Hi,
>>>
>>> till I was running on 2.6.34-rc5-mm1 (mmotm) and earlier everything was
>>> fine. Now, I'm running 2.6.35-rc6-mm1 (.35-rc5-mm1 was the same) and
>>> sometimes when the computer (desktop) returns from S3, the CPU fan is
>>> running at full speed making a big noise.
>>
>> Just to add, full power cycle is needed to get rid of that. Warm reboot
>> is not enough.
>
> Seems like bios problem... Update bios?

I don't think so, it had been working for more than 2 years before this
issue appeared.

>>> I don't know how to debug that. Bisection is out of question -- it
>>> happens once in 10 or 20 cases. There are no fan entries in /sys.
>
> Well, doing 20 suspends in a row from a script should not be too bad.

20 is just a guess. I haven't seen it for pretty few days until the day
before yesterday. And it looks like CPU1 is brought up a half way. When
the fan was at full speed I tried:
echo 0 > /sys/devices/system/cpu/cpu1/online
and whole system freezed. Otherwise this commands succeeds.

I'll load a crash kernel prior turning the CPU off next time.

thanks,
--
js

2010-08-20 23:31:05

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: Fan runs full speed after S3 sometimes (regression)

On Friday, August 20, 2010, Jiri Slaby wrote:
> On 08/20/2010 08:31 AM, Pavel Machek wrote:
> > On Tue 2010-08-10 20:39:44, Jiri Slaby wrote:
> >> On 08/10/2010 01:20 PM, Jiri Slaby wrote:
> >>> Hi,
> >>>
> >>> till I was running on 2.6.34-rc5-mm1 (mmotm) and earlier everything was
> >>> fine. Now, I'm running 2.6.35-rc6-mm1 (.35-rc5-mm1 was the same) and
> >>> sometimes when the computer (desktop) returns from S3, the CPU fan is
> >>> running at full speed making a big noise.
> >>
> >> Just to add, full power cycle is needed to get rid of that. Warm reboot
> >> is not enough.
> >
> > Seems like bios problem... Update bios?
>
> I don't think so, it had been working for more than 2 years before this
> issue appeared.
>
> >>> I don't know how to debug that. Bisection is out of question -- it
> >>> happens once in 10 or 20 cases. There are no fan entries in /sys.
> >
> > Well, doing 20 suspends in a row from a script should not be too bad.
>
> 20 is just a guess. I haven't seen it for pretty few days until the day
> before yesterday. And it looks like CPU1 is brought up a half way. When
> the fan was at full speed I tried:
> echo 0 > /sys/devices/system/cpu/cpu1/online
> and whole system freezed. Otherwise this commands succeeds.
>
> I'll load a crash kernel prior turning the CPU off next time.

You can also try to use RTC wakealarm to run suspend/resume in a tight loop.

Rafael

2010-08-21 17:05:59

by Pavel Machek

[permalink] [raw]
Subject: Re: Fan runs full speed after S3 sometimes (regression)

Hi!

> >>> till I was running on 2.6.34-rc5-mm1 (mmotm) and earlier everything was
> >>> fine. Now, I'm running 2.6.35-rc6-mm1 (.35-rc5-mm1 was the same) and
> >>> sometimes when the computer (desktop) returns from S3, the CPU fan is
> >>> running at full speed making a big noise.
> >>
> >> Just to add, full power cycle is needed to get rid of that. Warm reboot
> >> is not enough.
> >
> > Seems like bios problem... Update bios?
>
> I don't think so, it had been working for more than 2 years before this
> issue appeared.

Well; if it survives warm reboot, then it looks like BIOS problem...

> >>> I don't know how to debug that. Bisection is out of question -- it
> >>> happens once in 10 or 20 cases. There are no fan entries in /sys.
> >
> > Well, doing 20 suspends in a row from a script should not be too bad.
>
> 20 is just a guess. I haven't seen it for pretty few days until the day
> before yesterday. And it looks like CPU1 is brought up a half way. When
> the fan was at full speed I tried:
> echo 0 > /sys/devices/system/cpu/cpu1/online
> and whole system freezed. Otherwise this commands succeeds.

Ok, so this looks like the kernel problem, on the other hand. Two
different problems?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html