public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Zhang Rui <rui.zhang@intel.com>
To: "maciej.rutecki@gmail.com" <maciej.rutecki@gmail.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
	"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
	"Brown, Len" <len.brown@intel.com>,
	"Rafael J. Wysocki" <rjw@sisk.pl>
Subject: Re: [REGRESSION] [2.6.37-rc1] Fan noise after suspend to ram/disk
Date: Tue, 16 Nov 2010 09:26:15 +0800	[thread overview]
Message-ID: <1289870775.8148.2020.camel@rui> (raw)
In-Reply-To: <201011152139.46261.maciej.rutecki@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1262 bytes --]

On Tue, 2010-11-16 at 04:39 +0800, Maciej Rutecki wrote:
> On poniedziałek, 15 listopada 2010 o 04:16:35 Zhang Rui wrote:
> > On Tue, 2010-11-09 at 01:35 +0800, Maciej Rutecki wrote:
> > > On poniedziałek, 8 listopada 2010 o 07:58:52 Zhang Rui wrote:
> > > > IMO, the only one that may cause this regression is commit
> > > > c57b62f5b1e6dd69ff8c96f6db7f86ea31c0e21f
> > > > some app may enable polling via procfs and update the thermal zone
> > > > status.
> > > 
> > > I revert this commit from 2.6.37-rc1. Still the same:
> > could you please apply the patch attached, on top of 2.6.37-rc1, and
> > then attach the dmesg output if the fan is noise after suspend/resume.
> > 
> 
> Dmesg in attachement.
> 
> Starting suspend to ram from:
> [  104.602674] PM: Syncing filesystems ... done.
> resume OK, but next:
> [  144.298104] PM: Syncing filesystems ... done.
> after resume fan starts on full speed.
> 
it seems that it's not the thermal driver that changes the Fan speed.
Please apply the debug patch attached, rebuild with CONFIG_ACPI_DEBUG
set and reboot with "acpi.debug_level=0x004
acpi.debug_layer=0x04A10000", and then attach the dmesg output after the
same test.
Please attach the acpidump output of this laptop as well.

thanks,
rui

> Regards


[-- Attachment #2: patch-thermal-debug-2 --]
[-- Type: text/x-vhdl, Size: 596 bytes --]

---
 drivers/acpi/bus.c |    5 +++++
 1 file changed, 5 insertions(+)

Index: linux-2.6/drivers/acpi/bus.c
===================================================================
--- linux-2.6.orig/drivers/acpi/bus.c
+++ linux-2.6/drivers/acpi/bus.c
@@ -256,6 +256,11 @@ int acpi_bus_set_power(acpi_handle handl
 	if (result)
 		return result;
 
+	if (!strcmp(acpi_device_hid(device), "PNP0C0B")) {
+		printk("Rui: Change %s state from %d to %d\n", device->pnp.bus_id, device->power.state, state);
+		dump_stack();
+	}
+
 	if ((state < ACPI_STATE_D0) || (state > ACPI_STATE_D3))
 		return -EINVAL;
 

  parent reply	other threads:[~2010-11-16  1:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-04 16:06 [REGRESSION] [2.6.37-rc1] Fan noise after suspend to ram/disk Maciej Rutecki
2010-11-05  0:27 ` Zhang Rui
2010-11-05 19:49   ` Maciej Rutecki
2010-11-08  6:58     ` Zhang Rui
2010-11-08 17:35       ` Maciej Rutecki
2010-11-15  3:16         ` Zhang Rui
     [not found]           ` <201011152139.46261.maciej.rutecki@gmail.com>
2010-11-16  1:26             ` Zhang Rui [this message]
2010-11-16 15:46               ` Maciej Rutecki
2010-11-16 17:31               ` Maciej Rutecki
2010-11-16 19:28               ` Maciej Rutecki
2010-11-16 22:35                 ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1289870775.8148.2020.camel@rui \
    --to=rui.zhang@intel.com \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maciej.rutecki@gmail.com \
    --cc=rjw@sisk.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox