Article Title: Analysis and Solution of power failure in 2.4.18. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
During work, I upgraded the linux kernel to 2.4.18. After making menuconfig configures all the parameters, restart the machine and run everything normally. however, when the shutdown operation was executed, it was found that after the machine shut down all services, it showed that the power was down, and then there was no static activity, and the power was not turned off!
Re-enter menuconfig and repeatedly test the various combinations of PM and APM (in general setup.
It was very interesting to look for an answer from yahoo. A netizen said: this problem won't work in his repeated tests, but I don't know why RedHat 7.3 (2.4.18) can power off the power. Is it a trade secret?
Patiently search and finally find the answer. In the past, APM was considered insecure in the SMP environment. If you select SMP, even if you select APM, the APM will be automatically disable during the runtime. So it should be like this:
Make menuconfig
In general setup, select PM, APM, and RTC to GMT in APM.
Remove SMP support from Processor.
After compilation, restart. Shutdown again to shut down, you can finally hear "click", shut down the power!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service