Operating System - Linux
1833059 Members
2483 Online
110049 Solutions
New Discussion

recompiling kernel 2.4.26

 
K.C. Chan
Trusted Contributor

recompiling kernel 2.4.26

All,
I have recompiled kernel-2.4.26. All is well except when shutding down system. The system will not power off automatically. cpu is an intel PIII. Any idea what option I need to include in the kernel? Thanks.
Reputation of a thousand years can be determined by the conduct of an hour
3 REPLIES 3
ger donohue_1
Advisor

Re: recompiling kernel 2.4.26

This will be depenndant on your BIOS

Does it support ACPI or APM.

Enable in the BIOS and recompile the BIOS with APM or ACPI support built in.

Chaeck out www.tldp.org for HOW-TO's

When using ACPI you still have to have APM suport compiled in the Kernel else it will not work.

Regards Ger
Ragu_1
Regular Advisor

Re: recompiling kernel 2.4.26

You should compile APM or ACPI support, either into the kernel or modularly. Do not forget to install the userspace apmd/acpid tools. In Debian GNU/Linux, you can do an `apt-get install apmd/acpid'. Reboot after inserting "apm=on" inside your /etc/lilo.conf or menu.lst (for grub).Hth ....
Share and share alike
Alexander Chuzhoy
Honored Contributor

Re: recompiling kernel 2.4.26

If before recompiling the kernel the power off function worked-then I suggest you to copy the config file of the "working kernel"-usually resides under boot as /boot/config-kernelname
where kernel name is the "working kernel"

to /usr/src/linux/.config
then run make oldconfig to define only new functions that weren't exist before.
And then run
make xconfig
and select the functions that you want to change....