カーネルの再構築

再構築ポリシー

(コンパイル環境)
$ sudo aptitude install kernel-package libncurses-dev ncurses-dev libqt3-mt-dev
$ sudo aptitude install linux-source
・・・
$ cd /usr/src/
$ sudo tar xf linux-source-3.2.0.tar.bz2
(コンフィギュレーション)
$ cd linux-source-3.2.0
$ sudo cp /boot/config-3.2.0-43-generic .config
$ sudo make oldconfig(.configの設定を反映させる)
$ sudo make menuconfig
==
Processor family → Intel Atom
Hardware Monitoring support → Intel Core/Core2/Atom temperature sensor
Hardware Monitoring support → Winbond W83627EHF/EHG/DHG/UHG, W83667HG, NCT6775F, NCT6776F
==
(コンパイル)
$ sudo make-kpkg --jobs 4 --initrd --append_to_version=-atom --revision=0.1 kernel_image
・・・
$ cd ..
$ sudo dpkg -i linux-image-3.2.42-atom_0.1_amd64.deb

再起動

$ lsmod
Module                  Size  Used by
vesafb                 13844  1
w83627ehf              38805  0
hwmon_vid              12827  1 w83627ehf
coretemp               13554  0
psmouse                97485  0
serio_raw              13211  0
mac_hid                13253  0
video                  19651  0
lp                     17799  0
parport                46562  1 lp
e1000e                156873  0
$