Changes between Version 3 and Version 4 of Xen_Lustre
- Timestamp:
- Jun 19, 2008, 9:46:16 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Xen_Lustre
v3 v4 2 2 = Build Xen & Lustre enabled kernel = 3 3 * 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. 5 5 6 == 1. 必要套件==7 * Build kernel 需要的:6 == 1.Requirement packages == 7 * Build kernel packages: 8 8 {{{ 9 9 sudo aptitude install build-essential libncurses5-dev kernal-package 10 10 }}} 11 * Xne 需要的:11 * Xne's packages: 12 12 {{{ 13 13 $ sudo apt-get install iproute bridge-utils python-twisted gcc binutils make zlib1g-dev python-dev transfig bzip2 \ … … 17 17 }}} 18 18 19 * Lustre 需要的:19 * Lustre's packages: 20 20 {{{ 21 21 $ sudo aptitude install bzip2 debhelper dpatch libsnmp-dev module-assistant 22 22 23 安裝libxml23 Install libxml 24 24 $ sudo wget http://http.us.debian.org/debian/pool/main/libx/libxml2/libxml2_2.6.27.dfsg-2_i386.deb 25 25 $ sudo dpkg -i libxml2_2.6.27.dfsg-2_i386.deb 26 26 27 安裝pyxml27 Install pyxml 28 28 $ sudo wget PyXML-0.8.4.tar.gz 29 29 $ sudo python setup.py build … … 31 31 }}} 32 32 [[BR]] 33 == 2.Patch 和安裝kernel==34 * 下載Xen patch過的2.6.18 kernel和Xen tar ball33 == 2.Patch & install xen images == 34 * Download Xen-patched 2.6.18 kernel & Xen tar ball 35 35 {{{ 36 36 $ cd /usr/src … … 39 39 $ sudo hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg 40 40 41 下載Debian Lustre 的 deb 檔(http://packages.debian.org/source/sid/lustre)41 Download Debian Lustre's deb file (http://packages.debian.org/source/sid/lustre) 42 42 $ wget http://debian.linux.org.tw/debian/pool/main/l/lustre/linux-patch-lustre_1.6.5-1_all.deb 43 43 $ wget http://debian.linux.org.tw/debian/pool/main/l/lustre/lustre-source_1.6.5-1_all.deb 44 44 $ dpkg -i linux-patch-lustre_1.6.5-1_all.deb lustre-source_1.6.5-1_all.deb 45 45 46 使用Lustre的patch file 來patch xen kernel46 Use Lustre's patch file to patch xen kernel 47 47 $ cd linux-2.6.18-xen.hg 48 48 $ sudo ln -s /usr/src/kernel-patches/lustre/series/2.6.18-vanilla.series /usr/src/linux-2.6.18-xen.hg/series … … 57 57 (SCSI disk I/O must build-in) 58 58 $ sudo make install 59 $ sduo mkinitramfs -o /boot/initrd.img-2.6.18.8-xen 2.6.18.8-xen 59 60 $ sudo update-grub 60 61 … … 72 73 $ sudo make install 73 74 $ sudo make modules_install 75 $ sduo mkinitramfs -o /boot/initrd.img-2.6.18.8 2.6.18.8 74 76 $ sudo update-grub 75 77 $ sudo reboot 76 (choose new kernel booting)78 (choose new kernel to booting) 77 79 }}} 78 80 {{{ … … 83 85 $ sudo make 84 86 $ sudo make install 87 $ sduo depmod -a 85 88 }}} 86 89 [[BR]]