* can't shut down
@ 2008-04-15 14:09 majie
2008-04-16 8:36 ` Zhao Yakui
2008-05-20 17:18 ` Sergio Monteiro Basto
0 siblings, 2 replies; 8+ messages in thread
From: majie @ 2008-04-15 14:09 UTC (permalink / raw)
To: linux-acpi
Hi all,
I'm using Linux kernel 2.6.21.5-smp(Slackware 12). I experience an
error when I turn off my computer. It doesn't turn off itself (maybe
called going into G2/S5 Soft Off in the specification) after printing
a message "acpi_power_off called". I have to press the power button
for several seconds to turn it off. I think the CPUs may be running in
full speed because I hear my fan running in high speed.
I tried to find out the problem by adding some printk()'s to the
function acpi_enter_sleep_state()(in
linux-2.6.21.5\drivers\acpi\hardware\hwsleep.c). And It shows that it
runs into the final do-while loop in the function and doing an
infinite loop. Maybe this is why my CPUs are running in full speed.
I don't have the ability to debug the kernel. So this is the only
information I can provide about the code. If you want me to post my
hardware spec or anything else, I'm very glad to, but please tell me
which command and arguments should I use to get the info.
I have tried the kernel options, but they don't work for me. My laptop
can shut down flawlessly when using windows xp.
By the way, It's a linux distribution independent problem because I
also experienced it in kubuntu 7.10.
I'm truly grateful for your help.
Thank you very much.
-----
Best regards,
majie
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: can't shut down
2008-04-15 14:09 can't shut down majie
@ 2008-04-16 8:36 ` Zhao Yakui
2008-04-17 6:03 ` majie
2008-05-20 17:18 ` Sergio Monteiro Basto
1 sibling, 1 reply; 8+ messages in thread
From: Zhao Yakui @ 2008-04-16 8:36 UTC (permalink / raw)
To: majie; +Cc: linux-acpi
On Tue, 2008-04-15 at 22:09 +0800, majie wrote:
> Hi all,
>
> I'm using Linux kernel 2.6.21.5-smp(Slackware 12). I experience an
> error when I turn off my computer. It doesn't turn off itself (maybe
> called going into G2/S5 Soft Off in the specification) after printing
> a message "acpi_power_off called". I have to press the power button
> for several seconds to turn it off. I think the CPUs may be running in
> full speed because I hear my fan running in high speed.
>
> I tried to find out the problem by adding some printk()'s to the
> function acpi_enter_sleep_state()(in
> linux-2.6.21.5\drivers\acpi\hardware\hwsleep.c). And It shows that it
> runs into the final do-while loop in the function and doing an
> infinite loop. Maybe this is why my CPUs are running in full speed.
>
> I don't have the ability to debug the kernel. So this is the only
> information I can provide about the code. If you want me to post my
> hardware spec or anything else, I'm very glad to, but please tell me
> which command and arguments should I use to get the info.
>
> I have tried the kernel options, but they don't work for me. My laptop
> can shut down flawlessly when using windows xp.
>
> By the way, It's a linux distribution independent problem because I
> also experienced it in kubuntu 7.10.
Will you please attach the output of acpidump?
The latest dump tool (20070116) can be found in
http://www.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/
Thanks.
Yakui
> I'm truly grateful for your help.
> Thank you very much.
>
> -----
> Best regards,
> majie
> --
> 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] 8+ messages in thread
* Re: can't shut down
2008-04-16 8:36 ` Zhao Yakui
@ 2008-04-17 6:03 ` majie
[not found] ` <1208523832.4072.6.camel@yakui_zhao.sh.intel.com>
0 siblings, 1 reply; 8+ messages in thread
From: majie @ 2008-04-17 6:03 UTC (permalink / raw)
To: linux-acpi
[-- Attachment #1: Type: text/plain, Size: 1577 bytes --]
Zhao Yakui wrote:
> On Tue, 2008-04-15 at 22:09 +0800, majie wrote:
>> Hi all,
>>
>> I'm using Linux kernel 2.6.21.5-smp(Slackware 12). I experience an
>> error when I turn off my computer. It doesn't turn off itself (maybe
>> called going into G2/S5 Soft Off in the specification) after printing
>> a message "acpi_power_off called". I have to press the power button
>> for several seconds to turn it off. I think the CPUs may be running in
>> full speed because I hear my fan running in high speed.
>>
>> I tried to find out the problem by adding some printk()'s to the
>> function acpi_enter_sleep_state()(in
>> linux-2.6.21.5\drivers\acpi\hardware\hwsleep.c). And It shows that it
>> runs into the final do-while loop in the function and doing an
>> infinite loop. Maybe this is why my CPUs are running in full speed.
>>
>> I don't have the ability to debug the kernel. So this is the only
>> information I can provide about the code. If you want me to post my
>> hardware spec or anything else, I'm very glad to, but please tell me
>> which command and arguments should I use to get the info.
>>
>> I have tried the kernel options, but they don't work for me. My laptop
>> can shut down flawlessly when using windows xp.
>>
>> By the way, It's a linux distribution independent problem because I
>> also experienced it in kubuntu 7.10.
> Will you please attach the output of acpidump?
> The latest dump tool (20070116) can be found in
> http://www.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/
>
> Thanks.
> Yakui
Here it is.
Thanks.
------
Regards,
majie
[-- Attachment #2: acpidump.txt.gz --]
[-- Type: application/gzip, Size: 25106 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: can't shut down
[not found] ` <1208523832.4072.6.camel@yakui_zhao.sh.intel.com>
@ 2008-04-21 4:45 ` majie
2008-04-22 11:32 ` Zhao Yakui
0 siblings, 1 reply; 8+ messages in thread
From: majie @ 2008-04-21 4:45 UTC (permalink / raw)
To: Zhao Yakui, linux-acpi
Zhao Yakui wrote:
> On Thu, 2008-04-17 at 14:03 +0800, majie wrote:
>> Zhao Yakui wrote:
>>> On Tue, 2008-04-15 at 22:09 +0800, majie wrote:
>>>> Hi all,
>>>>
>>>> I'm using Linux kernel 2.6.21.5-smp(Slackware 12). I experience an
>>>> error when I turn off my computer. It doesn't turn off itself (maybe
>>>> called going into G2/S5 Soft Off in the specification) after printing
>>>> a message "acpi_power_off called". I have to press the power button
>>>> for several seconds to turn it off. I think the CPUs may be running in
>>>> full speed because I hear my fan running in high speed.
>>>>
>>>> I tried to find out the problem by adding some printk()'s to the
>>>> function acpi_enter_sleep_state()(in
>>>> linux-2.6.21.5\drivers\acpi\hardware\hwsleep.c). And It shows that it
>>>> runs into the final do-while loop in the function and doing an
>>>> infinite loop. Maybe this is why my CPUs are running in full speed.
>>>>
>>>> I don't have the ability to debug the kernel. So this is the only
>>>> information I can provide about the code. If you want me to post my
>>>> hardware spec or anything else, I'm very glad to, but please tell me
>>>> which command and arguments should I use to get the info.
>>>>
>>>> I have tried the kernel options, but they don't work for me. My laptop
>>>> can shut down flawlessly when using windows xp.
>>>>
>>>> By the way, It's a linux distribution independent problem because I
>>>> also experienced it in kubuntu 7.10.
>>> Will you please attach the output of acpidump?
>>> The latest dump tool (20070116) can be found in
>>> http://www.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/
>>>
> Will you please try the latest kernel(2.6.25-rc9) and see whether the
> problem still exists?
> Note:
> a. ACPI should be enabled in kernel configuration.
> b. Don't use the custom DSDT
> c. use "poweroff" command to shutdown
>
> If the problem still exists, please attach the output of dmesg.
> thanks.
>
Hi Yakui,
Do you receive my email I sent to you on April 19 ? I'm still unable to
have the 2.6.25-rc9 kernel boot and run. I can't make a valid initrd to
boot the kernel. I've spend the whole weekend to solve the problem. But
I've no idea why it can mount my real root filesystem.
So I can't test the 2.6.25-rc9 kernel in normal mode. I want to shutdown
the computer using busybox's poweroff in the initrd before the real root
filesystem being mounted. Is this approach equal to the "normal" shutdown?
Sorry for causing the trouble to you.
Thank you.
-------
Regards,
majie
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: can't shut down
2008-04-21 4:45 ` majie
@ 2008-04-22 11:32 ` Zhao Yakui
2008-04-24 7:43 ` majie
0 siblings, 1 reply; 8+ messages in thread
From: Zhao Yakui @ 2008-04-22 11:32 UTC (permalink / raw)
To: majie; +Cc: linux-acpi
On Mon, 2008-04-21 at 12:45 +0800, majie wrote:
> Zhao Yakui wrote:
> > On Thu, 2008-04-17 at 14:03 +0800, majie wrote:
> >> Zhao Yakui wrote:
> >>> On Tue, 2008-04-15 at 22:09 +0800, majie wrote:
> >>>> Hi all,
> >>>>
> >>>> I'm using Linux kernel 2.6.21.5-smp(Slackware 12). I experience an
> >>>> error when I turn off my computer. It doesn't turn off itself (maybe
> >>>> called going into G2/S5 Soft Off in the specification) after printing
> >>>> a message "acpi_power_off called". I have to press the power button
> >>>> for several seconds to turn it off. I think the CPUs may be running in
> >>>> full speed because I hear my fan running in high speed.
> >>>>
> >>>> I tried to find out the problem by adding some printk()'s to the
> >>>> function acpi_enter_sleep_state()(in
> >>>> linux-2.6.21.5\drivers\acpi\hardware\hwsleep.c). And It shows that it
> >>>> runs into the final do-while loop in the function and doing an
> >>>> infinite loop. Maybe this is why my CPUs are running in full speed.
> >>>>
> >>>> I don't have the ability to debug the kernel. So this is the only
> >>>> information I can provide about the code. If you want me to post my
> >>>> hardware spec or anything else, I'm very glad to, but please tell me
> >>>> which command and arguments should I use to get the info.
> >>>>
> >>>> I have tried the kernel options, but they don't work for me. My laptop
> >>>> can shut down flawlessly when using windows xp.
> >>>>
> >>>> By the way, It's a linux distribution independent problem because I
> >>>> also experienced it in kubuntu 7.10.
> >>> Will you please attach the output of acpidump?
> >>> The latest dump tool (20070116) can be found in
> >>> http://www.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/
> >>>
> > Will you please try the latest kernel(2.6.25-rc9) and see whether the
> > problem still exists?
> > Note:
> > a. ACPI should be enabled in kernel configuration.
> > b. Don't use the custom DSDT
> > c. use "poweroff" command to shutdown
> >
> > If the problem still exists, please attach the output of dmesg.
> > thanks.
> >
>
> Hi Yakui,
> Do you receive my email I sent to you on April 19 ? I'm still unable to
> have the 2.6.25-rc9 kernel boot and run. I can't make a valid initrd to
> boot the kernel. I've spend the whole weekend to solve the problem. But
> I've no idea why it can mount my real root filesystem.
Sorry for the no response.
IMO the problem is related to the kernel config. For example: the SATA
driver should be built into kernel. (If not, OS can't find the root
filesystem).
Please do it again as listed in the following:(Pay attention to the
kernel configuration).
a. make bzImage; make modules;
b. make modules_install; make install;
> So I can't test the 2.6.25-rc9 kernel in normal mode. I want to shutdown
> the computer using busybox's poweroff in the initrd before the real root
> filesystem being mounted. Is this approach equal to the "normal" shutdown?
> Sorry for causing the trouble to you.
> Thank you.
>
> -------
> Regards,
> majie
>
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: can't shut down
2008-04-22 11:32 ` Zhao Yakui
@ 2008-04-24 7:43 ` majie
0 siblings, 0 replies; 8+ messages in thread
From: majie @ 2008-04-24 7:43 UTC (permalink / raw)
To: Zhao Yakui, linux-acpi
[-- Attachment #1: Type: text/plain, Size: 3025 bytes --]
Zhao Yakui 写道:
> On Mon, 2008-04-21 at 12:45 +0800, majie wrote:
>> Zhao Yakui wrote:
>>> On Thu, 2008-04-17 at 14:03 +0800, majie wrote:
>>>> Zhao Yakui wrote:
>>>>> On Tue, 2008-04-15 at 22:09 +0800, majie wrote:
>>>>>> Hi all,
>>>>>>
>>>>>> I'm using Linux kernel 2.6.21.5-smp(Slackware 12). I experience an
>>>>>> error when I turn off my computer. It doesn't turn off itself (maybe
>>>>>> called going into G2/S5 Soft Off in the specification) after printing
>>>>>> a message "acpi_power_off called". I have to press the power button
>>>>>> for several seconds to turn it off. I think the CPUs may be running in
>>>>>> full speed because I hear my fan running in high speed.
>>>>>>
>>>>>> I tried to find out the problem by adding some printk()'s to the
>>>>>> function acpi_enter_sleep_state()(in
>>>>>> linux-2.6.21.5\drivers\acpi\hardware\hwsleep.c). And It shows that it
>>>>>> runs into the final do-while loop in the function and doing an
>>>>>> infinite loop. Maybe this is why my CPUs are running in full speed.
>>>>>>
>>>>>> I don't have the ability to debug the kernel. So this is the only
>>>>>> information I can provide about the code. If you want me to post my
>>>>>> hardware spec or anything else, I'm very glad to, but please tell me
>>>>>> which command and arguments should I use to get the info.
>>>>>>
>>>>>> I have tried the kernel options, but they don't work for me. My laptop
>>>>>> can shut down flawlessly when using windows xp.
>>>>>>
>>>>>> By the way, It's a linux distribution independent problem because I
>>>>>> also experienced it in kubuntu 7.10.
>>>>> Will you please attach the output of acpidump?
>>>>> The latest dump tool (20070116) can be found in
>>>>> http://www.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/
>>>>>
>>> Will you please try the latest kernel(2.6.25-rc9) and see whether the
>>> problem still exists?
>>> Note:
>>> a. ACPI should be enabled in kernel configuration.
>>> b. Don't use the custom DSDT
>>> c. use "poweroff" command to shutdown
>>>
>>> If the problem still exists, please attach the output of dmesg.
>>> thanks.
>>>
>> Hi Yakui,
>> Do you receive my email I sent to you on April 19 ? I'm still unable to
>> have the 2.6.25-rc9 kernel boot and run. I can't make a valid initrd to
>> boot the kernel. I've spend the whole weekend to solve the problem. But
>> I've no idea why it can mount my real root filesystem.
>
> Sorry for the no response.
> IMO the problem is related to the kernel config. For example: the SATA
> driver should be built into kernel. (If not, OS can't find the root
> filesystem).
> Please do it again as listed in the following:(Pay attention to the
> kernel configuration).
> a. make bzImage; make modules;
> b. make modules_install; make install;
Hi, Yakui
2.6.25-rc9 kernel successfully runs on my computer. But the bad news is
that this kernel can't shut down my computer too. Can you fix this
problem in a newer kernel? Thanks.
And my dmesg output is here.
------------
Regards,
majie
[-- Attachment #2: dmesg.txt.gz --]
[-- Type: application/gzip, Size: 6534 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: can't shut down
2008-04-15 14:09 can't shut down majie
2008-04-16 8:36 ` Zhao Yakui
@ 2008-05-20 17:18 ` Sergio Monteiro Basto
2008-05-21 5:37 ` majie
1 sibling, 1 reply; 8+ messages in thread
From: Sergio Monteiro Basto @ 2008-05-20 17:18 UTC (permalink / raw)
To: majie; +Cc: linux-acpi
[-- Attachment #1: Type: text/plain, Size: 102 bytes --]
On Tue, 2008-04-15 at 22:09 +0800, majie wrote:
> 2.6.21.5-smp
try 2.6.25
--
Sérgio M. B.
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2192 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: can't shut down
2008-05-20 17:18 ` Sergio Monteiro Basto
@ 2008-05-21 5:37 ` majie
0 siblings, 0 replies; 8+ messages in thread
From: majie @ 2008-05-21 5:37 UTC (permalink / raw)
To: Sergio Monteiro Basto; +Cc: linux-acpi
Sergio Monteiro Basto wrote:
> On Tue, 2008-04-15 at 22:09 +0800, majie wrote:
>> 2.6.21.5-smp
>
> try 2.6.25
Hi Sergio,
I tried 2.6.25-rc9 as Zhao Yakui told me to. But it doesn't work too.
Thanks for the information.
------
Regards,
majie
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-05-21 5:35 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-15 14:09 can't shut down majie
2008-04-16 8:36 ` Zhao Yakui
2008-04-17 6:03 ` majie
[not found] ` <1208523832.4072.6.camel@yakui_zhao.sh.intel.com>
2008-04-21 4:45 ` majie
2008-04-22 11:32 ` Zhao Yakui
2008-04-24 7:43 ` majie
2008-05-20 17:18 ` Sergio Monteiro Basto
2008-05-21 5:37 ` majie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox