Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-22-2003, 06:25 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 8
Rep:
|
Red Hat 8.0 SMP / Poweroff Problems
Hi, I just installed RH 8.0, on a dual processor machine, and also on a single processor machine... When it boots up on the dual processor, I select the RH 8.0 SMP to run, and on the other machine, I just select the default(NOT smp).
When I do a 'poweroff' command on the dual processor, it says "shutting down all devices" and finally "powerdown", but the system just sits there, it doesn't go off..
When I do the same 'poweroff" on the single processor machine, it goes down completely, which is what I need.
I am new to Linux so if anyone can help me out, I would greatly appericiate it. Thanks,
|
|
|
08-22-2003, 06:42 PM
|
#2
|
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,337
Rep:
|
Try loading the following module as root:
modprobe apm
then use the shutdown command:
shutdown -h now
If it works, add the modprobe apm line to your /etc/rc.d/rc.modules or /etc/rc.d/rc.local if you don't have /etc/rc.d/rd.modules 
|
|
|
08-23-2003, 01:56 AM
|
#3
|
LQ Newbie
Registered: Mar 2003
Distribution: Gentoo
Posts: 18
Rep:
|
To make it work on the dual processer machine, assuming your using grub under redhat 8 edit the file /etc/grub.conf and add "apm=power_off" to the end of the SMP kernel line
eg:
kernel /boot/vmlinuz-2.4.19-smp ro root=/dev/hda2 hdd=ide-scsi apm=power_off
|
|
|
08-26-2003, 11:57 AM
|
#4
|
LQ Newbie
Registered: Aug 2003
Posts: 8
Original Poster
Rep:
|
First, I tried loading the module as root:
modprobe apm
I get an error saying that cannot locate module
Second, I edited the file /etc/grub.conf to add the line:
apm=power_off to the end of the file, and that didn't seem to work either,
Any other suggestions?
Thanks
|
|
|
08-27-2003, 02:31 AM
|
#5
|
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,337
Rep:
|
How did you become root? "su"? Try using "su -" , then try again modprobe apm and see if it helps 
|
|
|
08-27-2003, 08:40 AM
|
#6
|
LQ Newbie
Registered: Aug 2003
Posts: 8
Original Poster
Rep:
|
I login as root, then I tried the modprobe apm...I also typed in su to become superuser, and tried the same modprobe, still no luck.....Any help?
If I can't load the module, any way I can enable poweroff (apm) with smp mode?
Thanks,
|
|
|
All times are GMT -5. The time now is 08:11 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|