wiki:Servers/virt_machines/kernel

Version 5 (modified by rock, 15 years ago) (diff)

--

Xen & Lustre Kernel in Dell Machine

1.問題和解決方案

  • 因 Dell Machine 的新硬體(Intel ICH9R),原本 Xen 和 Lustre 支援的 Kernel 2.6.18 無法驅動 (2.6.19 後才有支援),與 rider 討論後,決定採用以下方法:
    1. 下載 ubuntu Kernel source 2.6.22
    2. 採用 ubuntu 的 Xen patch (在 Ubuntu gusty 有提供 Xen patch file)
    3. 在使用 Lustre 的 patch

2.步驟

  1. 下載 Ubuntu Kenrel下載連結
    $ 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參考文章
    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




先 Try Try See,有問題在提出............................

Attachments (2)

Download all attachments as: .zip