LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Init 0 does not shutdown the server on its own (https://www.linuxquestions.org/questions/linux-general-1/init-0-does-not-shutdown-the-server-on-its-own-114440/)

samble 11-10-2003 10:27 AM

Init 0 does not shutdown the server on its own
 
I have upgraded the kernel on my Red Hat 7.3 server from "2.4.18-3smp" to "2.4.18-5smp". The server has a dual Xeon based motherboard with a RocketRAID133 controller. When I was running "2.4.18-3smp" kernel I could issue "init 0" to shutdown the server and it would shutdown on its own. In "2.4.18-5smp" kernel whenever I issue "init 0" I have to manually shutdown the server. Would any of you have any suggestions for me to get over this deficiency?

Thanks in advance for any help

Srini

Joey.Dale 11-10-2003 10:45 AM

try shutdown -h now

samble 11-10-2003 11:28 AM

Thanks for taking time to read through and make a suggestion. I tried "shutdown -h now" and its behavior is no different from "init 0". I still have to mnually shutdown the server after I issued the command. I am open to other suggestions.

dorian33 11-10-2003 11:35 AM

Have you compiled the kernel? Probably you need the correct APM (advanced power management) option to be compiled in.

samble 11-10-2003 12:12 PM

The kernel I am using "2.4.18-5smp" is from an RPM. I have not recompiled the kernel. I just had to drop in the driver for RAID and recreate the "initrd" using the "mkinitrd" command. Could you please elaborate on "APM"? I did not follow it fully.

Thanks for your help.

dorian33 11-10-2003 01:38 PM

Well, I've dug a little bit, so I am currently not sure if it is a matter of PM or APM option.
Anyway I am sure it is a matter of kernel compiling options. If you have got a binary kernel - it could be compiled in any way.
Regarding your ask "Could you please elaborate on "APM" - what can be added more? If you not familiar with kernel compiling - it is a high time to do it :) During setting the options you'll find nice help and a lot of docs as well which comes with the kernel sources.


All times are GMT -5. The time now is 09:48 AM.