close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_fs.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Jul 22, 2008, 3:49:12 PM (16 years ago)
- Author:
-
rock
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v16
|
v17
|
|
1 | 1 | [[PageOutline]] |
2 | 2 | = Build Xen & Lustre enabled kernel = |
3 | | * Our OS: Dbian etch |
| 3 | * Our OS: Dbian etch |
4 | 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 | [[BR]] |
… |
… |
|
58 | 58 | (SCSI disk I/O must build-in) |
59 | 59 | |
60 | | = If you want enable some feature for kernel = |
| 60 | = If you want enable some feature for custom kernel = |
61 | 61 | $ cd /usr/src/xen-3.2.1/build-linux-2.6.18-xen_x86_64/ |
62 | 62 | $ make menuconfig |
… |
… |
|
75 | 75 | == 4.Make Lustre modules == |
76 | 76 | {{{ |
77 | | $ sudo cp /boot/config-2.6.18.8-xen /usr/src/linux-2.6.18-xen.hg/.config |
78 | | $ cd /usr/src/linux-2.6.18-xen.hg |
79 | | |
80 | | = Because XEN rename 2.6.18.8 to 2.6.18.8-xen, so we rebuild kernel for corrent 2.6.18.8. Then Lustre will read correct kernel version = |
81 | | $ sudo make menuconfig (or sudo make config) |
82 | | $ sudo make -j 5 |
83 | | $ sudo make install |
84 | | $ sudo make modules_install |
85 | | $ sduo mkinitramfs -o /boot/initrd.img-2.6.18.8 2.6.18.8 |
86 | | $ sudo update-grub |
87 | | $ sudo reboot |
88 | | (choose new kernel to booting) |
89 | | }}} |
90 | | {{{ |
91 | | = Now, we start build and install lustre module and tools = |
92 | | $ cd /usr/src |
93 | | $ sudo tar jxvf lustre.tar.bz2 |
94 | | $ cd module/lustre |
95 | | $ sudo ./configure -with-linux=/usr/src/linux-2.6.18-xen.hg |
96 | | $ sudo make |
| 77 | $ cd /usr/src/lustre-1.6.5.1 |
| 78 | $ sudo ./configure --with-linux=/usr/src/linux-2.6.18-xen.hg/ --with-linux-obj=/usr/src/xen-3.2.1/build-linux-2.6.18-xen_x86_64/ |
| 79 | $ sudo make -j 4 |
97 | 80 | $ sudo make install |
98 | 81 | $ sduo depmod -a |
… |
… |
|
103 | 86 | ldiskfs |
104 | 87 | lnet networks=tcp |
105 | | |
| 88 | $ sudo reboot |
106 | 89 | }}} |
107 | 90 | [[BR]] |