Changes between Version 3 and Version 4 of Xen_Lustre


Ignore:
Timestamp:
Jun 19, 2008, 9:46:16 AM (16 years ago)
Author:
rock
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Xen_Lustre

    v3 v4  
    22= Build Xen & Lustre enabled kernel =
    33 * Our OS: Dbian etch
    4  * Our Method:先使用xen patch過的kernel 2.6.18,之後在使用debian Lustre團隊的 patch file 來patch,將這新的kernel安裝至系統
     4 * Our Method: We used xen-patched kernel 2.6.18, then used Lustre patched file to patch it. We used xen tar ball to compile with this kernel to build Xen images amd used this kernel to reboot. Finally we used Lustre tar ball to build Lustre modules.
    55
    6 == 1.必要套件 ==
    7  * Build kernel需要的:
     6== 1.Requirement packages ==
     7 * Build kernel packages:
    88{{{
    99sudo aptitude install build-essential libncurses5-dev kernal-package
    1010}}}
    11  * Xne需要的:
     11 * Xne's packages:
    1212{{{
    1313$ sudo apt-get install iproute bridge-utils python-twisted gcc binutils make zlib1g-dev python-dev transfig bzip2 \
     
    1717}}}
    1818
    19  * Lustre需要的:
     19 * Lustre's packages:
    2020{{{
    2121$ sudo aptitude install bzip2 debhelper dpatch libsnmp-dev module-assistant
    2222
    23 安裝 libxml
     23Install libxml
    2424$ sudo wget http://http.us.debian.org/debian/pool/main/libx/libxml2/libxml2_2.6.27.dfsg-2_i386.deb
    2525$ sudo dpkg -i libxml2_2.6.27.dfsg-2_i386.deb
    2626
    27 安裝 pyxml
     27Install pyxml
    2828$ sudo wget PyXML-0.8.4.tar.gz
    2929$ sudo python setup.py build
     
    3131}}}
    3232[[BR]]
    33 == 2.Patch和安裝kernel ==
    34  * 下載Xen patch過的2.6.18 kernel和 Xen tar ball
     33== 2.Patch & install xen images ==
     34 * Download Xen-patched 2.6.18 kernel & Xen tar ball
    3535{{{
    3636$ cd /usr/src
     
    3939$ sudo hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg
    4040
    41 下載Debian Lustre 的 deb 檔 (http://packages.debian.org/source/sid/lustre)
     41Download Debian Lustre's deb file (http://packages.debian.org/source/sid/lustre)
    4242$ wget http://debian.linux.org.tw/debian/pool/main/l/lustre/linux-patch-lustre_1.6.5-1_all.deb
    4343$ wget http://debian.linux.org.tw/debian/pool/main/l/lustre/lustre-source_1.6.5-1_all.deb
    4444$ dpkg -i linux-patch-lustre_1.6.5-1_all.deb lustre-source_1.6.5-1_all.deb
    4545
    46 使用Lustre的patch file 來 patch xen kernel
     46Use Lustre's patch file to patch xen kernel
    4747$ cd linux-2.6.18-xen.hg
    4848$ sudo ln -s /usr/src/kernel-patches/lustre/series/2.6.18-vanilla.series /usr/src/linux-2.6.18-xen.hg/series
     
    5757(SCSI disk I/O must build-in)
    5858$ sudo make install
     59$ sduo mkinitramfs -o /boot/initrd.img-2.6.18.8-xen 2.6.18.8-xen
    5960$ sudo update-grub
    6061
     
    7273$ sudo make install
    7374$ sudo make modules_install
     75$ sduo mkinitramfs -o /boot/initrd.img-2.6.18.8 2.6.18.8
    7476$ sudo update-grub
    7577$ sudo reboot
    76 (choose new kernel booting)
     78(choose new kernel to booting)
    7779}}}
    7880{{{
     
    8385$ sudo make
    8486$ sudo make install
     87$ sduo depmod -a
    8588}}}
    8689[[BR]]