Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

hwclock --systohc がビジーまたは仮想マシンでハングアップする

Solution Verified - Updated -

Issue

  • --systohc オプションを追加した hwclock コマンドが最低 500 ms 間継続して実行 (100 ms 間以上の割り込みがない) できないと、終了することができません。この問題は、ビジーのマシン、または物理 CPU がより大きな仮想 CPU で共有されている仮想マシンで発生します。

以下のコマンドが、

# sudo /sbin/hwclock --systohc -D

以下のメッセージパターンを出力します。

Time elapsed since reference time has been 5.364920 seconds.
Delaying further to reach the new time.

そして終了しません。

これにより、システムの再起動またはシャットダウンがハングします。

追記:

この問題を発生させる 2.17.2 の hwclock における設計上の不具合は、2011-07-25 頃の変更により取り込まれたバグにより、マスク (未修正) されました。これにより常に終了するようになりましたが、適切または意図した方法ではありません (上述のバグを修正するための変更で意図された方法でもありません)。

Environment

  • Red Hat Enterprise Linux 6.4
  • util-linux-ng 2.17.2, util-linux 2.20.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.