Changes between Version 9 and Version 10 of Servers/virt_machines/kernel


Ignore:
Timestamp:
Feb 18, 2009, 5:36:17 PM (16 years ago)
Author:
rock
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Servers/virt_machines/kernel

    v9 v10  
    4848 6. '''''__Patch Lustre-Compatiable Kernel & Build Lustre Modules__,[wiki:Xen_Lustre 參考此處]'''''
    4949    * [wiki:i/Servers/virt_machines/kernel/1.6.6.log Lustre 1.6.6 Patch Log]
    50     * 1.6.5 Error Message
     50    * Build Lutsre Modules
    5151{{{
    52   CC [M]  /usr/src/lustre-1.6.5/lustre/lvfs/lvfs_linux.o
    53 /usr/src/lustre-1.6.5/lustre/lvfs/lvfs_linux.c: In function ‘simple_mkdir’:
    54 /usr/src/lustre-1.6.5/lustre/lvfs/lvfs_linux.c:303: warning: passing argument 3 of ‘vfs_mkdir’ makes
    55 pointer from integer without a cast
    56 /usr/src/lustre-1.6.5/lustre/lvfs/lvfs_linux.c:303: error: too few arguments to function ‘vfs_mkdir’
    57 /usr/src/lustre-1.6.5/lustre/lvfs/lvfs_linux.c: In function ‘lustre_rename’:
    58 /usr/src/lustre-1.6.5/lustre/lvfs/lvfs_linux.c:339: warning: passing argument 3 of ‘vfs_rename’ from
    59 incompatible pointer type
    60 /usr/src/lustre-1.6.5/lustre/lvfs/lvfs_linux.c:339: warning: passing argument 4 of ‘vfs_rename’ from
    61 incompatible pointer type
    62 /usr/src/lustre-1.6.5/lustre/lvfs/lvfs_linux.c:339: error: too few arguments to function ‘vfs_rename’
    63 make[6]: *** [/usr/src/lustre-1.6.5/lustre/lvfs/lvfs_linux.o] Error 1
    64 make[5]: *** [/usr/src/lustre-1.6.5/lustre/lvfs] Error 2
    65 make[5]: *** Waiting for unfinished jobs....
     52$ sudo ln -s /usr/src/linux-2.6.22 /usr/src/linux
     53$ cd /usr/src/lustre-1.6.6
     54$ sudo vim lustre/include/linux/lustre_compat25.h
     55570 //#define ll_remove_suid(inode,mnt)               remove_suid(inode,mnt)
     56$ sudo ./configure --with-linux=/usr/src/linux-2.6.22
     57$ sudo make -j 4
     58$ sudo make install ; sudo depmod -a
    6659}}}
    6760 7. '''''__設定 Lustre FS  & 啟動 xend __,[wiki:Xen_Lustre 參考此處]