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 |
try shutdown -h now
|
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.
|
Have you compiled the kernel? Probably you need the correct APM (advanced power management) option to be compiled in.
|
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. |
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. |