Re: can't shut down

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: dmesg.txt.gz
Description: application/gzip


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux