From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Bob Zhang" Subject: Re: [bug report ] hp's rx2860 (kernel is 2.6.27.19-5 in sles11 ia64) power off failrue when "shutdown -h 0" . Date: Tue, 29 Jun 2010 22:30:03 +0800 Message-ID: References: <201006242333018701088@tom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=gbk; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from smtpr2.tom.com ([202.108.255.197]:54838 "HELO tom.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with SMTP id S1756162Ab0F2OaI (ORCPT ); Tue, 29 Jun 2010 10:30:08 -0400 In-Reply-To: Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Tony Luck Cc: "len.brown" , linux-ia64 , linux-acpi I finally found "S5" definition , details can got from my following reply. Next step, I will send this information to firmware engineer to verify SSDT17.dsl is right for our sentosa. Because same values into registers every time, but got different hardware behaviors. So we must doubt hardware and firmware design. Now, from software point of view : acpi_enter_sleep_state() is the last function to run when shutdown machine , which write value into acpi registers to tell hardware to enter S5 (SLP_TYPx and SLP_EN) .Once written to these two registers, software task has been over. The left things are hardware is to work. So I think Linux kernel is good, this issue is from related with kernel,at acpi driver's logic is right. I have printed values which will be written to acpi registers , those values are the same every time, but hardware has different behaviors , so we need firmware engineer to help me check . Maybe I need to ask firmware designer what is the meaning of this definition: Where is {0x7,0x7} from ?? which datasheet ? which document ? In "SSDT17.dsl" . DefinitionBlock ("SSDT17.aml", "SSDT", 2, "HP ", "RX2800-2", 0x00000007) { Scope (\) { Name (\_S5, Package (0x03) { 0x07, 0x07, Zero }) } This is equal of that return from acpi_get_sleep_type_data(5,&type_a, &type_b)