[[PageOutline]] = Xen & Lustre Kernel in Dell Machine = == 1.問題和解決方案 == * 因 Dell Machine 的新硬體(Intel ICH9R),原本 Xen 和 Lustre 支援的 Kernel 2.6.18 無法驅動 (2.6.19 後才有支援),與 rider 討論後,決定採用以下方法: 1. 下載 mainline Kernel 2.6.22 2. 採用 ubuntu 的 Xen patch (在 Ubuntu gusty 有提供 Xen patch file) 3. 在使用 Lustre 的 patch == 2.步驟 == 1. '''''__下載 Ubuntu Kenrel__,[https://trac.nchc.org.tw/grid/browser/xen/xen_lustre_patch 下載連結]''''' {{{ $ cd /usr/src $ tar zxvf linux-source-2.6.22_2.6.22.orig.tar.gz }}} 2. '''''__Patch Kernel__ (使用 ubuntu Xen patch file,可直接從本網頁最下面連結下載)''''' {{{ $ cd /usr/src/linux-2.6.22 $ sudo patch -p1 < ../linux-source-2.6.22_2.6.22-16.61.diff $ sudo patch -p1 < debian/binary-custom.d/xen/patchset/001.patch $ sudo patch -p1 < debian/binary-custom.d/xen/patchset/002-fix-pae-vmalloc-sync.patch $ sudo patch -p1 < debian/binary-custom.d/xen/patchset/003-fix-ia32entry-xen.patch $ sudo patch -p1 < debian/binary-custom.d/xen/patchset/004-fix-blkif-maxnrsegs.patch }}} 3. '''''__Build Xen Image__,[wiki:Xen_Lustre 參考文章]''''' {{{ cd /usr/src/xen-3.3.1 $ sudo make xen $ sudo make tools $ sudo make install-xen $ sudo make install-tools }}} 4. '''''__Install e1000e driver__ (2.6.22 無 e1000e 的 driver)''''' {{{ $ sudo tar zxvf e1000e-0.5.11.2.tar.gz $ cd e1000e-0.5.11.2/src ; sudo make install }}} 5. '''''__Patch Lustre-Compatiable Kernel__''''' [[BR]] [[BR]] [[BR]] 先 Try Try See,有問題在提出............................