Cent OS 5.1 x86_64 (※1)のカーネルを2.6.24-2にアップグレードするために、Linuxカーネルの再構築作業を行っていた時の話。
再起動しようとすると、途端にKernel Panicとなり起動できなくなった。

とりあえず古いカーネルで起動し、原因を調査したところ次のことが判明。

「Processor type and features > Preemption Model」
の欄にて、”No Forced Preemption”を選ぶと、アウト。
“Voluntary Kernel Preemption”にするか、”Preemptible Kernel”にする。
僕は前者に設定。ちなみにデフォルトも前者。

カーネル再構築は、マシンのパフォーマンスを最適化できる反面、思わぬ秘孔が存在するようなので、気をつけられたし。
また、うまく動いている.configのバックアップもお忘れなく。

※1
x64カーネルが動いていたSuSE Linux 10.1でも同様でした。たぶん全般的にそうなのでしょう。

「カーネル再構築でカーネルパニックにはまる」に2件のコメントがあります
  1. Cho-san>
    Thank you for writing comment on my BLOG!
    I was much happy, too 🙂
    I’ll study English so much more.

    I hope to “drink” you again~ ! In Korea? Japan? or United States!?

    See you!

    Yuichiro Saito.

  2. Hi~ Saito san..
    This is JaeHoon. (Cho san ^^)
    So..here is your blog.
    Wow..it looks cool even though I can’t read japanese. huhu.
    Oh~ if this is not the right place to write something,
    please forgive me. Anyway..I’ll use email next time.
    I was really happy to meet you in the 4th floor
    I promise I’ll be able to speak japanese much better than now, when I meet you next time.!!
    Oh..also Thank you so much for joining yesterday’s party.^^/
    Please keep in touch~

    sincerely, JaeHoon. Cho

コメントは受け付けていません。