LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-25-2002, 03:24 AM   #1
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
Question 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
 
Old 05-25-2002, 05:16 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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?
 
Old 05-25-2002, 05:26 AM   #3
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Original Poster
Rep: Reputation: 30
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
 
Old 05-26-2002, 04:31 AM   #4
danrees
Member
 
Registered: Jul 2001
Posts: 114

Rep: Reputation: 15
Have you tried using poweroff?
 
Old 05-26-2002, 04:57 AM   #5
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Original Poster
Rep: Reputation: 30
yes, but same thing happens
 
Old 05-26-2002, 12:26 PM   #6
imp
LQ Newbie
 
Registered: May 2002
Location: Belgrade, Serbia
Distribution: Slackware 8.0
Posts: 4

Rep: Reputation: 0
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.
 
Old 05-26-2002, 01:28 PM   #7
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Original Poster
Rep: Reputation: 30
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
 
Old 05-26-2002, 01:37 PM   #8
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Original Poster
Rep: Reputation: 30
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
 
Old 05-26-2002, 03:46 PM   #9
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
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.
 
Old 05-27-2002, 01:38 AM   #10
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Original Poster
Rep: Reputation: 30
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.
 
Old 05-28-2002, 02:59 AM   #11
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Original Poster
Rep: Reputation: 30
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
 
Old 05-28-2002, 06:55 PM   #12
ngomong
Member
 
Registered: Apr 2002
Posts: 54

Rep: Reputation: 15
How do you check what options are compiled in your kernel?
 
Old 05-28-2002, 07:36 PM   #13
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
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.
 
Old 05-29-2002, 01:11 AM   #14
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Original Poster
Rep: Reputation: 30
>>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
 
Old 05-29-2002, 07:29 PM   #15
verigoth
Member
 
Registered: May 2002
Posts: 179

Rep: Reputation: Disabled
set "[*] Use real mode APM BIOS call to power off (NEW)" to no, then it will work

verigoth
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
which config files are responsible for mounting and detecting filesystems.. deepclutch Linux - General 13 12-03-2005 03:25 PM
finding responsible contact info for an ip? sneakyimp Linux - Security 4 10-13-2005 09:57 AM
No bios on power up! dosnlinux Linux - Hardware 5 04-30-2005 08:25 AM
MS software is not responsible for computer problems! Sepero General 4 12-22-2004 09:47 AM
Redhat 9 disabling USB in BIOS chmodman Linux - Hardware 1 08-27-2003 12:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration