[Ubuntu][Kernel] Ubuntu 13.04環境のカーネルを3.11にしてみた。

Ubuntu

先日までKernelの3.10rc9を導入していたのですが、ようやくKVMが起動しない問題の理由が分かったので、最新のKernel 3.11を導入してみることにしました。

確認環境:

Ubuntu 13.04 x64

手順

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/linux-headers-3.11.0-031100-generic_3.11.0-031100.201309021735_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/linux-headers-3.11.0-031100_3.11.0-031100.201309021735_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/linux-image-3.11.0-031100-generic_3.11.0-031100.201309021735_amd64.deb

sudo dpkg -i linux-headers-3.11.0*.deb linux-image-3.11.0*.deb

導入が終わったら、再起動を実施する。

その後、そのままではKVMが起動してこない理由は単純で、KVMモジュールがロードされていないからです。

という訳で環境に合わせて、モジュールをロードする。

sudo modprobe kvm-intel
sudo modprobe kvm
lsmod | grep kvm
kvm_intel             143875  0
kvm                   447883  1 kvm_intel

以上で、KVM環境が正常に起動してくると思います。

もし、Kernelを上げたことで問題があるようであれば、以下のコマンドを実行しKernelを削除する。

sudo apt-get purge linux-image-3.11.0*

ちなみに3.11では以下の機能について強化実装が図られているようです。

Graphics:
•The DRM driver changes dominate the Linux 3.11 kernel! The big feature is Radeon dynamic power management support has finally come to AMD’s open-source driver along with early support for the Radeon HD 8000 “Sea Islands” GPUs. Phoronix tests have shown Radeon DPM is successful at improving power use and lowering temperatures while delivering great performance.
•There’s a new DRM display driver for the Renesas R-Car SoC.
•Intel Haswell improvements and Valley View / Bay Trail support is now ready for Linux desktop usage.
•H.264 / MPEG-2 video decoding for Nouveau with select NVIDIA GPUs bearing the VP2 engine as part of the PureVideo HD support. This is exposed in Gallium3D via the VDPAU state tracker. There’s also early GK110 GPU support. The NVIDIA GK110 is the firm’s latest high-end Kepler GPU.

Disk / File-System:
•LZ4 compression support.
•Zswap was merged for compressed swap caching.
•Various XFS file-system improvements.
•Performance tuning for Btrfs.
•F2FS file-system updates.
•EXT4 file-system updates.
•The Lustre file-system client was merged for the first time.

CPU:
•AVX2 Crypto optimizations.
•PowerPC improvements from IBM.
•Continued ARM improvements.
•Xen and KVM virtualization now work for 64-bit ARM.

General Hardware & Miscellaneous Improvements:
•Input device improvements.
•Lots of audio / sound improvements.
•With Linux 3.11, Wine can now handle Windows RT applications.

この記事を書いた人

kometchtech

うつ病を患いながら、IT業界の末席にいるおっさんエンジニア。科学計算をしたことがないのに、HPC分野にお邪魔している。興味のある分野で学習したことをblogにまとめつつ、うつ病の経過症状のメモも置いておく日々。じつはRouterboard User Group JPの中の人でもある。 Amazon欲しいものリスト / Arm板を恵んでくれる人募集中

kometchtechをフォローする
タイトルとURLをコピーしました