Rate this page del.icio.us  Digg slashdot StumbleUpon

Tips and tricks: Why does my system sometimes hang at the end of reboot or shutdown?

by the editorial team

I have noticed that my Red Hat Enterprise Linux 5 and/or Red Hat Enterprise Linux 5.1 system very occasionally hang at the end of the reboot / shutdown process. What can I do to avoid this?

This issue affects Red Hat Enterprise Linux 5 releases before Red Hat Enterprise Linux 5.2 and is due to a bug in cpufreq locking that may deadlock when the modules are unloaded, which is what happens at reboot and shutdown very late in the process.

To resolve this issue, update the systems kernel to at least the Red Hat Enterprise Linux 5.2 kernel. Alternatively, work around the problem by disabling cpuspeed with:

# chkconfig cpuspeed off
# service cpuspeed stop

This does means the loss of some energy efficiency.

Red Hat’s customer service and support teams receive technical support questions from users all over the world. Red Hat technicians add the questions and answers to Red Hat Knowledgebase on a daily basis. Access to Red Hat Knowledgebase is free. Every month, Red Hat Magazine offers a preview into the Red Hat Knowledgebase by highlighting some of the most recent entries. The information provided in this article is for your information only. The origin of this information may be internal or external to Red Hat. While Red Hat attempts to verify the validity of this information before it is posted, Red Hat makes no express or implied claims to its validity.

One response to “Tips and tricks: Why does my system sometimes hang at the end of reboot or shutdown?”

  1. Jack Smith says:

    What a shame “rmmod -f” doesn’t always work.

Leave a reply