public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Unexcepted shutdown in 2.6.28-rc5
@ 2008-11-20 23:13 Maxime Poncet
  2008-11-21  0:59 ` Zhao Yakui
  2008-11-21  1:09 ` Zhang Rui
  0 siblings, 2 replies; 9+ messages in thread
From: Maxime Poncet @ 2008-11-20 23:13 UTC (permalink / raw)
  To: linux-acpi

Hi,

I have the same problem in 2.6.28-rc5 and 2.6.27.x :
my laptop shutdown automatically while working on it.

That problem doesn't appear in 2.6.28-rc3.

This terminal output show well the problem
$uname -a
2.6.28-rc5
$while true;
do cat /proc/acpi/thermal_zone/THRM/temperature;
sleep 1;
done

...
temperature:             51 C
temperature:             51 C
temperature:             144 C

And then it shutdowns because critical temperature was reached

Another thing that might be important : the output of dmesg
Every 5 seconds this message appears (not in 2.6.28-rc3):

ACPI: Transitioning device [FAN] to D3
ACPI: Unable to turn cooling device [ffff81007fb656d0] 'off'

Hope it will help you.

Maxime








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

* Re: Unexcepted shutdown in 2.6.28-rc5
  2008-11-20 23:13 Unexcepted shutdown in 2.6.28-rc5 Maxime Poncet
@ 2008-11-21  0:59 ` Zhao Yakui
  2008-11-23 14:06   ` Maxime Poncet
  2008-11-21  1:09 ` Zhang Rui
  1 sibling, 1 reply; 9+ messages in thread
From: Zhao Yakui @ 2008-11-21  0:59 UTC (permalink / raw)
  To: Maxime Poncet; +Cc: linux-acpi@vger.kernel.org

On Fri, 2008-11-21 at 07:13 +0800, Maxime Poncet wrote:
> Hi,
> 
> I have the same problem in 2.6.28-rc5 and 2.6.27.x :
> my laptop shutdown automatically while working on it.
Will you please add the boot option of "thermal.nocrt=1" and attach the
following output?
   a. acpidump
   b. dmesg
   c. cat /proc/acpi/thermal_zone/*/*

Of course you can file a bug report at
http://bugzilla.kernel.org/enter_bug.cgi?product=ACPI
and attach the output of acpidump, dmesg.

Will you please add the boot option of "acpi.power_nocheck=1" and see
whether the following message still exists?
 >ACPI: Transitioning device [FAN] to D3
 >ACPI: Unable to turn cooling device [ffff81007fb656d0] 'off'

Thanks.
> 
> That problem doesn't appear in 2.6.28-rc3.
> 
> This terminal output show well the problem
> $uname -a
> 2.6.28-rc5
> $while true;
> do cat /proc/acpi/thermal_zone/THRM/temperature;
> sleep 1;
> done
> 
> ...
> temperature:             51 C
> temperature:             51 C
> temperature:             144 C
> 
> And then it shutdowns because critical temperature was reached
> 
> Another thing that might be important : the output of dmesg
> Every 5 seconds this message appears (not in 2.6.28-rc3):
> 
> ACPI: Transitioning device [FAN] to D3
> ACPI: Unable to turn cooling device [ffff81007fb656d0] 'off'
> 
> Hope it will help you.
> 
> Maxime
> 
> 
> 
> 
> 
> 
> 
> --
> 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] 9+ messages in thread

* Re: Unexcepted shutdown in 2.6.28-rc5
  2008-11-20 23:13 Unexcepted shutdown in 2.6.28-rc5 Maxime Poncet
  2008-11-21  0:59 ` Zhao Yakui
@ 2008-11-21  1:09 ` Zhang Rui
  2008-12-07 21:17   ` Rafael J. Wysocki
  1 sibling, 1 reply; 9+ messages in thread
From: Zhang Rui @ 2008-11-21  1:09 UTC (permalink / raw)
  To: Maxime Poncet; +Cc: linux-acpi@vger.kernel.org

On Fri, 2008-11-21 at 07:13 +0800, Maxime Poncet wrote:
> Hi,
> 
> I have the same problem in 2.6.28-rc5 and 2.6.27.x :
> my laptop shutdown automatically while working on it.
> 
> That problem doesn't appear in 2.6.28-rc3.
> 
there are not many ACPI changes between 2.6.28-rc3 and -rc5.
it would be great if you can use git-bisect to find out
which commit introduces this regression.

thanks,
rui

> This terminal output show well the problem
> $uname -a
> 2.6.28-rc5
> $while true;
> do cat /proc/acpi/thermal_zone/THRM/temperature;
> sleep 1;
> done
> 
> ...
> temperature:             51 C
> temperature:             51 C
> temperature:             144 C
> 
> And then it shutdowns because critical temperature was reached
> 
> Another thing that might be important : the output of dmesg
> Every 5 seconds this message appears (not in 2.6.28-rc3):
> 
> ACPI: Transitioning device [FAN] to D3
> ACPI: Unable to turn cooling device [ffff81007fb656d0] 'off'
> 
> Hope it will help you.
> 
> Maxime
> 
> 
> 
> 
> 
> 
> 
> --
> 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] 9+ messages in thread

* Re: Unexcepted shutdown in 2.6.28-rc5
  2008-11-21  0:59 ` Zhao Yakui
@ 2008-11-23 14:06   ` Maxime Poncet
  0 siblings, 0 replies; 9+ messages in thread
From: Maxime Poncet @ 2008-11-23 14:06 UTC (permalink / raw)
  To: linux-acpi@vger.kernel.org

2008/11/21, Zhao Yakui <yakui.zhao@intel.com>:
> Will you please add the boot option of "thermal.nocrt=1" and attach the
> following output?
>    a. acpidump
>    b. dmesg
>    c. cat /proc/acpi/thermal_zone/*/*
>
> Of course you can file a bug report at
> http://bugzilla.kernel.org/enter_bug.cgi?product=ACPI
> and attach the output of acpidump, dmesg.
>
I will try 2.6.28-rc6 to check if this bug disappear.
I have tried several times to send attachement but I can't see my
email on http://marc.info/?l=linux-acpi&r=1&b=200811&w=2.
I think it's because I'am using thunderbird.

> Will you please add the boot option of "acpi.power_nocheck=1" and see
> whether the following message still exists?
>  >ACPI: Transitioning device [FAN] to D3
>  >ACPI: Unable to turn cooling device [ffff81007fb656d0] 'off'
>

This message disappear using this boot option.

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

* Re: Unexcepted shutdown in 2.6.28-rc5
  2008-11-21  1:09 ` Zhang Rui
@ 2008-12-07 21:17   ` Rafael J. Wysocki
  2008-12-08  1:16     ` Zhao Yakui
  0 siblings, 1 reply; 9+ messages in thread
From: Rafael J. Wysocki @ 2008-12-07 21:17 UTC (permalink / raw)
  To: Zhang Rui
  Cc: Maxime Poncet, linux-acpi@vger.kernel.org, Zhao Yakui,
	Alexey Starikovskiy, Len Brown

On Friday, 21 of November 2008, Zhang Rui wrote:
> On Fri, 2008-11-21 at 07:13 +0800, Maxime Poncet wrote:
> > Hi,
> > 
> > I have the same problem in 2.6.28-rc5 and 2.6.27.x :
> > my laptop shutdown automatically while working on it.
> > 
> > That problem doesn't appear in 2.6.28-rc3.
> > 
> there are not many ACPI changes between 2.6.28-rc3 and -rc5.
> it would be great if you can use git-bisect to find out
> which commit introduces this regression.
> 
> thanks,
> rui
> 
> > This terminal output show well the problem
> > $uname -a
> > 2.6.28-rc5
> > $while true;
> > do cat /proc/acpi/thermal_zone/THRM/temperature;
> > sleep 1;
> > done
> > 
> > ...
> > temperature:             51 C
> > temperature:             51 C
> > temperature:             144 C
> > 
> > And then it shutdowns because critical temperature was reached
> > 
> > Another thing that might be important : the output of dmesg
> > Every 5 seconds this message appears (not in 2.6.28-rc3):
> > 
> > ACPI: Transitioning device [FAN] to D3
> > ACPI: Unable to turn cooling device [ffff81007fb656d0] 'off'
> > 
> > Hope it will help you.

I wonder why _may_ be the reason of this.  Alex?

Rafael

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

* Re: Unexcepted shutdown in 2.6.28-rc5
  2008-12-07 21:17   ` Rafael J. Wysocki
@ 2008-12-08  1:16     ` Zhao Yakui
  2008-12-10 23:34       ` Maxime Poncet
  0 siblings, 1 reply; 9+ messages in thread
From: Zhao Yakui @ 2008-12-08  1:16 UTC (permalink / raw)
  To: Rafael J. Wysocki, maxime Poncet
  Cc: Zhang, Rui, linux-acpi@vger.kernel.org, Alexey Starikovskiy,
	Len Brown

On Mon, 2008-12-08 at 05:17 +0800, Rafael J. Wysocki wrote:
> On Friday, 21 of November 2008, Zhang Rui wrote:
>From the test it seems that the shutdown is caused by that the
temperature is above the critical threshold.
   >CRT threshold 100
   >the temperature 144C

But the problem is why the temperature is above the critical threshold.
>From the acpidump the temperature is obtained by evaluating the _TMP
object. 
 Method (_TMP, 0, Serialized)
            {
                If (DTSE)
                {
                    If (LGreaterEqual (DTS1, DTS2))
                    {
                        Return (Add (0x0AAC, Multiply (DTS1, 0x0A)))
                    }

                    Return (Add (0x0AAC, Multiply (DTS2, 0x0A)))
                }

                If (ECON)
                {
                    Return (Add (0x0AAC, Multiply
(\_SB.PCI0.LPC.WBEC.DTMP, 0x0A)))
                }

                Return (0x0BB8)
            }
>From the above definition of _TMP object the temperature will be related
with the following factor:
   a. DTSE . If the DTSE is non-zero, the temperature will be the
maixium of DTSE1/DTS2. But the DTSE/DTS1/DTS2 is defined in ACPI NVS
memory region. If the DTSE is non-zero, in theory the shutdown will
happen on the kernel of 2.6.28-rc3.
   b. DTMP. When the DTSE is zero, the temperature will be obtained from
DTMP, which is an EC internal register. 

Hi, Maxime
   As there exist some changes related with EC between 2.6.28-rc3/rc5,
Will you please use the git-bisect to identify which commit causes the
regression?
   Thanks.


> > > ...
> > > temperature:             51 C
> > > temperature:             51 C
> > > temperature:             144 C
> > > 
> > > And then it shutdowns because critical temperature was reached
> > > 
> > > Another thing that might be important : the output of dmesg
> > > Every 5 seconds this message appears (not in 2.6.28-rc3):
> > > 
> > > ACPI: Transitioning device [FAN] to D3
> > > ACPI: Unable to turn cooling device [ffff81007fb656d0] 'off'
> > > 
> > > Hope it will help you.
> 
> I wonder why _may_ be the reason of this.  Alex?
> 
> Rafael


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

* Re: Unexcepted shutdown in 2.6.28-rc5
  2008-12-08  1:16     ` Zhao Yakui
@ 2008-12-10 23:34       ` Maxime Poncet
  2008-12-15  2:23         ` Zhao Yakui
  0 siblings, 1 reply; 9+ messages in thread
From: Maxime Poncet @ 2008-12-10 23:34 UTC (permalink / raw)
  To: Zhao Yakui
  Cc: Rafael J. Wysocki, Zhang, Rui, linux-acpi@vger.kernel.org,
	Alexey Starikovskiy, Len Brown

Zhao Yakui wrote:
> Hi, Maxime
>    As there exist some changes related with EC between 2.6.28-rc3/rc5,
> Will you please use the git-bisect to identify which commit causes the
> regression?
>    Thanks.
Hi Zhao,
This issue is resolved for me in 2.6.28-rc7

But I am still getting the following message every 5 seconds
ACPI: Transitioning device [FAN] to D3
ACPI: Unable to turn cooling device [ffff88007fb63590] 'off'

I am using bitsect to find out which commit causes this regression.



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

* Re: Unexcepted shutdown in 2.6.28-rc5
  2008-12-10 23:34       ` Maxime Poncet
@ 2008-12-15  2:23         ` Zhao Yakui
  2008-12-17 10:43           ` Maxime Poncet
  0 siblings, 1 reply; 9+ messages in thread
From: Zhao Yakui @ 2008-12-15  2:23 UTC (permalink / raw)
  To: Maxime Poncet
  Cc: Rafael J. Wysocki, Zhang, Rui, linux-acpi@vger.kernel.org,
	Alexey Starikovskiy, Len Brown

On Thu, 2008-12-11 at 07:34 +0800, Maxime Poncet wrote:
> Zhao Yakui wrote:
> > Hi, Maxime
> >    As there exist some changes related with EC between 2.6.28-rc3/rc5,
> > Will you please use the git-bisect to identify which commit causes the
> > regression?
> >    Thanks.
> Hi Zhao,
> This issue is resolved for me in 2.6.28-rc7
Sorry for the late response.

It is good news that the shutdown issue is fixed in 2.6.28-rc7.
But the following issue still exists.
   >ACPI: Transitioning device [FAN] to D3
   >ACPI: Unable to turn cooling device [ffff88007fb63590] 'off'
Will you please add the boot option of "acpi.power_nocheck=1" and see
whether the above issue still exists?
   Thanks.
> 
> But I am still getting the following message every 5 seconds
> ACPI: Transitioning device [FAN] to D3
> ACPI: Unable to turn cooling device [ffff88007fb63590] 'off'
> 
> I am using bitsect to find out which commit causes this regression.
> 
> 


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

* Re: Unexcepted shutdown in 2.6.28-rc5
  2008-12-15  2:23         ` Zhao Yakui
@ 2008-12-17 10:43           ` Maxime Poncet
  0 siblings, 0 replies; 9+ messages in thread
From: Maxime Poncet @ 2008-12-17 10:43 UTC (permalink / raw)
  To: Zhao Yakui
  Cc: Rafael J. Wysocki, Zhang, Rui, linux-acpi@vger.kernel.org,
	Alexey Starikovskiy, Len Brown

Zhao Yakui wrote:
> Sorry for the late response.
>
> It is good news that the shutdown issue is fixed in 2.6.28-rc7.
> But the following issue still exists.
>    >ACPI: Transitioning device [FAN] to D3
>    >ACPI: Unable to turn cooling device [ffff88007fb63590] 'off'
> Will you please add the boot option of "acpi.power_nocheck=1" and see
> whether the above issue still exists?
>    Thanks.
>   
This boot option resolve this issue.


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

end of thread, other threads:[~2008-12-17 10:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-20 23:13 Unexcepted shutdown in 2.6.28-rc5 Maxime Poncet
2008-11-21  0:59 ` Zhao Yakui
2008-11-23 14:06   ` Maxime Poncet
2008-11-21  1:09 ` Zhang Rui
2008-12-07 21:17   ` Rafael J. Wysocki
2008-12-08  1:16     ` Zhao Yakui
2008-12-10 23:34       ` Maxime Poncet
2008-12-15  2:23         ` Zhao Yakui
2008-12-17 10:43           ` Maxime Poncet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox