LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   What is responsible for power off in redhat/bios (https://www.linuxquestions.org/questions/linux-general-1/what-is-responsible-for-power-off-in-redhat-bios-21775/)

Noerr 05-25-2002 03:24 AM

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

MasterC 05-25-2002 05:16 AM

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?

Noerr 05-25-2002 05:26 AM

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

danrees 05-26-2002 04:31 AM

Have you tried using poweroff?

Noerr 05-26-2002 04:57 AM

yes, but same thing happens

imp 05-26-2002 12:26 PM

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.

Noerr 05-26-2002 01:28 PM

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

Noerr 05-26-2002 01:37 PM

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

neo77777 05-26-2002 03:46 PM

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.

Noerr 05-27-2002 01:38 AM

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.

Noerr 05-28-2002 02:59 AM

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

ngomong 05-28-2002 06:55 PM

How do you check what options are compiled in your kernel?

Aussie 05-28-2002 07:36 PM

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.

Noerr 05-29-2002 01:11 AM

>>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

verigoth 05-29-2002 07:29 PM

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.