2015年6月3日

Kernel Panic not syncing (intel_pmu_init or intel_rapl) under QEMU - Reason and HowTo

This is a translation of my page "QEMU環境で、Kernel Panic not syncing が発生する場合の対処法 (確定) "
(summarized)

[What happens]

Kernel Panic - not syncing: Attempted to kill init!
is displayed in boot time.

intel_pmu_init
or
intel_rapl
also displayed in trace.


QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
in dmesg.


Environment:
QEMU guest. Bochs BIOS <= 2.4.x
Processor: >= Sandy Bridge

[Why it happens]
Bochs BIOS 2.4.x is "before" Sandy Bridge BIOS.
February 22, 2011: Bochs 2.4.6
(from Bochs News)


Sandy Bridge is released April 2011 (Xeon E3-1200 family), March 2012 (E5-2600 faimly).
(from Wiki "Xeon")

So, some features after Sandy Brige are not implemented.

[How to resolve]
Do NOT use features after SandyBridge.
Disable them in config and compile kernel.

Disable Intel P-state
CONFIG_X86_INTEL_PSTATE=n

Disable Intel RAPL
CONFIG_INTEL_RAPL=n

0 件のコメント:

コメントを投稿