LinuxQuestions.org
Visit Jeremy's Blog.
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 01-09-2003, 09:16 AM   #1
dnar
Member
 
Registered: Feb 2002
Location: Perth, Australia
Distribution: FC5 ::: Coyote ::: SCO Unixware :::
Posts: 201

Rep: Reputation: 30
No power off when shutting down RH8


I am running the following gear:-

Gigabyte GA-7VAXP mobo
RedHat 8.0
2.4.20 kernel

When I do an init 0, the system does not actually power off when it has shut down. If I drop my "overclocking" hard drive in (Windows lol), it is capable of doing a power off.

I have the following settings for ACPI and APM, do these have any bearing on hardware power down?

CONFIG_PM=y
# CONFIG_ACPI is not set
# CONFIG_APM is not set

Any ideas?

Cheers.
 
Old 01-09-2003, 09:05 PM   #2
dnar
Member
 
Registered: Feb 2002
Location: Perth, Australia
Distribution: FC5 ::: Coyote ::: SCO Unixware :::
Posts: 201

Original Poster
Rep: Reputation: 30
Anyone?
 
Old 01-09-2003, 09:20 PM   #3
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
CONFIG_APM=y
I have mine as a module,
CONFIG_APM=m
 
Old 01-09-2003, 09:39 PM   #4
dnar
Member
 
Registered: Feb 2002
Location: Perth, Australia
Distribution: FC5 ::: Coyote ::: SCO Unixware :::
Posts: 201

Original Poster
Rep: Reputation: 30
Thanks Aussie (I must owe you a beer by now, surely).

Read again, I don't have CONFIG_APM defined... Is that required for power off? I am guessing it is...

Thanks.
 
Old 01-09-2003, 09:51 PM   #5
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Yes, you need to define CONFIG_APM, don't worry about all the other options, they are for laptops.
I'll have a coopers :-)
 
Old 01-09-2003, 10:59 PM   #6
dnar
Member
 
Registered: Feb 2002
Location: Perth, Australia
Distribution: FC5 ::: Coyote ::: SCO Unixware :::
Posts: 201

Original Poster
Rep: Reputation: 30
Ok, so built as a module, how does this module get loaded? Do I need to add anything to /etc/modules.conf or does Kudzu detect this as new hardware at boot time and handle it for me?

Ok, Coopers it is, I guess you'll need a bed if your heading over for a beer?
 
Old 01-09-2003, 11:07 PM   #7
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Just put apm into /etc/modules.conf
 
Old 01-09-2003, 11:21 PM   #8
dnar
Member
 
Registered: Feb 2002
Location: Perth, Australia
Distribution: FC5 ::: Coyote ::: SCO Unixware :::
Posts: 201

Original Poster
Rep: Reputation: 30
Rodger that.

Re-compiling now, thanks.
 
Old 01-10-2003, 01:31 AM   #9
dnar
Member
 
Registered: Feb 2002
Location: Perth, Australia
Distribution: FC5 ::: Coyote ::: SCO Unixware :::
Posts: 201

Original Poster
Rep: Reputation: 30
Weird, when I compiled apm as a module, I received "unresolved symbol" errors when doing a depmod -a. I have re-compiled with apm in the kernel (non-modular) and no pro'bs. About to do an init 0 with the new kernel and see what happens.
 
Old 01-10-2003, 01:46 AM   #10
dnar
Member
 
Registered: Feb 2002
Location: Perth, Australia
Distribution: FC5 ::: Coyote ::: SCO Unixware :::
Posts: 201

Original Poster
Rep: Reputation: 30
No joy. When shutting down, I see the apm daemon being stopped, but the system shuts down to the "Power Off" message and that's it... I want the system to actually power off, so that my over-temperature shutdown mechanism will really save the CPU/mobo in the event of a CPU failure.
 
Old 01-10-2003, 01:55 AM   #11
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
What happens when you issue the commands halt or shutdown -h "now"?
 
Old 01-10-2003, 02:09 AM   #12
dnar
Member
 
Registered: Feb 2002
Location: Perth, Australia
Distribution: FC5 ::: Coyote ::: SCO Unixware :::
Posts: 201

Original Poster
Rep: Reputation: 30
I did not try that. I simply performed a /sbin/telinit 0. I was under the impression that shutdown performed an init 0 anyway, and from the man pages:-

man shutdown:-
Quote:
...shutdown does its job by signalling the init process, asking it to change the runlevel. Runlevel 0 is used to halt the system...
But I will try that later, I just re-connected so I'll stay online for a while and try shutting down again later tonight.

Thanks again Aussie.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
bad rh8 power-down Xstack Red Hat 4 12-09-2004 03:56 PM
"Power down" hangs when shutting Mandrake 10 DJ FlowFX Mandriva 7 08-24-2004 12:45 PM
shutting down computer does not auto power down... mmail75 Fedora 3 11-18-2003 07:25 PM
Power down by shutting notebook cover moosport Linux - Laptop and Netbook 6 10-02-2003 09:15 PM
screen does not power off after shutting the lid roaher Linux - Laptop and Netbook 4 09-19-2003 04:54 PM

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

All times are GMT -5. The time now is 12:04 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