LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Red Hat 8.0 SMP / Poweroff Problems (https://www.linuxquestions.org/questions/linux-software-2/red-hat-8-0-smp-poweroff-problems-84702/)

arunkk 08-22-2003 06:25 PM

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,

Mega Man X 08-22-2003 06:42 PM

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

zebbedi 08-23-2003 01:56 AM

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

arunkk 08-26-2003 11:57 AM

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

Mega Man X 08-27-2003 02:31 AM

How did you become root? "su"? Try using "su -" , then try again modprobe apm and see if it helps :)

arunkk 08-27-2003 08:40 AM

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:05 AM.