Changes between Version 5 and Version 6 of Servers/virt_machines/kernel


Ignore:
Timestamp:
Feb 18, 2009, 12:08:09 PM (15 years ago)
Author:
rock
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Servers/virt_machines/kernel

    v5 v6  
    22= Xen & Lustre Kernel in Dell Machine =
    33== 1.問題和解決方案 ==
    4  * 因 Dell Machine 的新硬體(Intel ICH9R),原本 Xen 和 Lustre 支援的 Kernel 2.6.18 無法驅動 (2.6.19 後才有支援),與 rider 討論後,決定採用以下方法:
     4 * 因 Dell Machine 的新硬體晶片(Intel ICH9R),原本 Xen 和 Lustre 支援的 Kernel 2.6.18 無法驅動 (2.6.19 後才有支援),與 rider 討論後,決定採用以下方法:
    55   1. 下載 ubuntu Kernel source 2.6.22
    6    2. 採用 ubuntu 的 Xen patch (在 Ubuntu gusty 有提供 Xen patch file)
    7    3. 在使用 Lustre 的 patch
     6   2. 採用 ubuntu 的 Xen patch for 2.6.22 (在 Ubuntu gusty 有提供 Xen patch file)
     7   3. 再使用 Lustre 的 patch for 2.6.22
    88== 2.步驟 ==
    99 1. '''''__下載 Ubuntu Kenrel__,[https://trac.nchc.org.tw/grid/browser/xen/xen_lustre_patch 下載連結]'''''
     
    1212$ tar zxvf linux-source-2.6.22_2.6.22.orig.tar.gz
    1313}}}
    14  2. '''''__Patch Kernel__ (使用 ubuntu Xen patch file,可直接從本網頁最下面連結下載)'''''
     14 2. '''''__Build Xen-Compatible Kernel__ (使用 Ubuntu Xen patch file,可直接從本網頁最下面連結下載)'''''
    1515{{{
     16// Patch Kenrel to be compatible with Xen
    1617$ cd /usr/src/linux-2.6.22
    1718$ sudo patch -p1 < ../linux-source-2.6.22_2.6.22-16.61.diff
     
    2021$ sudo patch -p1 < debian/binary-custom.d/xen/patchset/003-fix-ia32entry-xen.patch
    2122$ sudo patch -p1 < debian/binary-custom.d/xen/patchset/004-fix-blkif-maxnrsegs.patch
     23
     24// Build Kernel
     25$ sudo menuconfig
     26$ sudo make -j 5 ; sudo make -j 5 modules ; sudo make install ; sudo make modules_install
     27$ sudo mkinitramfs -o /boot/initrd.img-2.6.22.9 2.6.22.9
    2228}}}
    23  3. '''''__Build Xen Image__,[wiki:Xen_Lustre 參考文章]'''''
     29 3. '''''__Build Xen Image and reboot__,[wiki:Xen_Lustre 參考文章]'''''
    2430{{{
    25 cd /usr/src/xen-3.3.1
     31// Install Xen Image
     32$ cd /usr/src/xen-3.3.1
    2633$ sudo make xen
    2734$ sudo make tools
    2835$ sudo make install-xen
    2936$ sudo make install-tools
     37
     38$ sudo update-grub
     39$ sudo sync ; sudo reboot
    3040}}}
    3141 4. '''''__Install e1000e driver__ (2.6.22 無 e1000e 的 driver)'''''