What is responsible for power off in redhat/bios
I have installed may clean distributions of redhat on many differnet motherboards, but it's been ages when I was able to get power down when halt was issued.
Can anyone tell me what I need to check to get this working. Bios? Kernel? Thanks |
In mine, I had to check the BIOS, also it had to be an ATX style MOBO, not AT. In the BIOS was an option: Shutoff at system halt. I had to select Enable. It was in the APM menu. I am not at home so I can't tell you exactly how, but that's pretty close.
I also usually use the "shutdown -h now" option instead of halt, I don't know why, just habit I guess. What happens when you issue halt, does it get all the way through the shutdown process and hang, or does it just sit there after the command is issued? |
I'm using new atx cases, motherboards, and even tried with windoze ekzp, but they shutdown properly. I know that I always set option PowerLoss actions to be "laststate" or "always on" in bios, but I tried to disable that too, but no change. I know that it should shut down. I beleive it's up to some kernel option.
When i issue halt it would always shut down properly and write: System Halted so it's missing power-off only |
Have you tried using poweroff?
|
yes, but same thing happens
|
you need to turn on the APM (advanced power management) support in the kernel (that part of the kernel is in charge for shutting down the atx boxes) and recompile it.
|
I'll check my kernel to see what was compiled. Can you give me a quick clue, what's a difference between apm and acpi?
thanks |
I always compile ACPI into my kernel! It says in help that ACPI and APM can not be use at the same time, and ACPI should have better functionallity.
So what do you suggest, to use? Thanks |
If your mobo is ACPI compatable you can safly compile ACPI support, the mobos from second half of 2000 are ACPI compatable. Check the manual, or throw here the manufacturer and model number of your mobo and BIOS and we'll tell you, actually you can look it up yourself, just do a basic search on the net.
|
the mobo is ACPI compliant it even has some ACPI settings in Bios. And ACPI is compiled. But I'll try to recompile with apm and then test it.
|
i tried compiling with ACPI
<*> ACPI Bus Manager <*> System <*> Processor <*> Button and I even got my rh to freeze, while compiling another option. then i tried < > ACPI Bus Manager <*> Advanced Power Management BIOS support [ ] Ignore USER SUSPEND (NEW) [ ] Enable PM at boot time (NEW) [ ] Make CPU Idle calls when idle (NEW) [ ] Enable console blanking using APM (NEW) [ ] RTC stores time in GMT (NEW) [ ] Allow interrupts during APM BIOS calls (NEW) [*] Use real mode APM BIOS call to power off (NEW) and same result. It only says "system halted" Any suggestions, what else I should try! btw, I have ms8127+Athlon1400 on kernel 2.4.18 |
How do you check what options are compiled in your kernel?
|
You should be able to "modprobe apm" and it will work, put it in one of your start up scripts so it loads when you boot.
|
>>ngomong_ How do you check what options are compiled in >>your kernel?
I go to /usr/src/linux and run make menuconfig I have tried apm, but no change I'll try to flash bios in my mobo |
set "[*] Use real mode APM BIOS call to power off (NEW)" to no, then it will work
verigoth |
All times are GMT -5. The time now is 01:44 PM. |