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

Re: [SOLVED] Re: compiled new kernel 2.4.22, but computer does not power off fully



H. S. wrote:
H. S. wrote:

Hi,

I compiled a new kernel (2.4.22) but upon shutdown my computer does not power off completely. It goes through all the shutting down routine, even shuts down hard disks and then the last message displayed is "Power Off", but the actual power does not go off. In my earlier kernel (2.4.18-bf2.4) it was powering off perfectly. Here are the relevant variables from the config files:

(self compiled new kernel) config-2.4.22-hs1-nvidia:
CONFIG_PM=y
CONFIG_APM=m
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
CONFIG_APM_CPU_IDLE=y
# CONFIG_APM_DISPLAY_BLANK is not set
# CONFIG_APM_RTC_IS_GMT is not set
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set


(old kernel) config-2.4.18-bf2.4
CONFIG_PM=y
CONFIG_APM=m
CONFIG_APM_CPU_IDLE=y


Since I did not use "make oldconfig" while compiling the new kernel, I could have got different options. But I went through the menuconfig and set the APM options as shown above. Are there any other options in 2.4.22 that I need to set to get complete power off?

Thanks,
->HS


I had SMP set as Y unintentionally. I set it to off. I have this in my config file now:
# CONFIG_SMP is not set


Right. Exactly the same happened to me. If I recall it says it in the docs: if SMP then no APM.

Hugo.



Didn't change any other options, not even APM, and also did not put any apm arguments in the grub.conf in the kernel-image command.

Computer now powers off perfectly. So, SMP support does not work alongwith APM. Just a guess: to make both work, maybe apm=on and apm=power-off argumets are needed in grub.conf in the kernel-image command. Just a hint, but I am not sure.

->HS





Reply to: