Hi all, Has anyone tried to patch CKRM to linux-2.6.20 ? I need it so that I can run CKRM in UML mode, which is very stable in linux-2.6.20, and very unstable in linux-2.6.18 :-(
I tried to port CKRM in linux-2.6.20 vanilla kernel, by doing similar modification's as there were in linux-2.6.18 CKRM patched kernel. I had some problems in doing modifications in "kernel/sched.c" as quite a few things are changed there. Unfortunately, after modifications, kernel-2.6.20 is not compiling, and giving error's at unexpected places where I have not done any modifications. I am getting compilation errors in "arch/i386/kernel/asm-offsets.c" Please, let me know if it is possible to patch 2.6.20 with CKRM patch, and all steps that I need to take in order to do so. I got following errors, from which I was not able to make any sense. {{{ arch/i386/kernel/asm-offsets.c: In function 'foo': arch/i386/kernel/asm-offsets.c:41: error: invalid use of undefined type 'struct cpuinfo_x86' arch/i386/kernel/asm-offsets.c:42: error: invalid use of undefined type 'struct cpuinfo_x86' arch/i386/kernel/asm-offsets.c:43: error: invalid use of undefined type 'struct cpuinfo_x86' arch/i386/kernel/asm-offsets.c:44: error: invalid use of undefined type 'struct cpuinfo_x86' arch/i386/kernel/asm-offsets.c:45: error: invalid use of undefined type 'struct cpuinfo_x86' arch/i386/kernel/asm-offsets.c:46: error: invalid use of undefined type 'struct cpuinfo_x86' arch/i386/kernel/asm-offsets.c:47: error: invalid use of undefined type 'struct cpuinfo_x86' arch/i386/kernel/asm-offsets.c:48: error: invalid use of undefined type 'struct cpuinfo_x86' arch/i386/kernel/asm-offsets.c:54: error: 'struct thread_info' has no member named 'status' arch/i386/kernel/asm-offsets.c:58: error: 'struct thread_info' has no member named 'sysenter_return' arch/i386/kernel/asm-offsets.c:61: error: invalid use of undefined type 'struct Xgt_desc_struct' arch/i386/kernel/asm-offsets.c:62: error: invalid use of undefined type 'struct Xgt_desc_struct' arch/i386/kernel/asm-offsets.c:63: error: invalid use of undefined type 'struct Xgt_desc_struct' arch/i386/kernel/asm-offsets.c:66: error: 'struct pt_regs' has no member named 'ebx' arch/i386/kernel/asm-offsets.c:67: error: 'struct pt_regs' has no member named 'ecx' arch/i386/kernel/asm-offsets.c:68: error: 'struct pt_regs' has no member named 'edx' arch/i386/kernel/asm-offsets.c:69: error: 'struct pt_regs' has no member named 'esi' arch/i386/kernel/asm-offsets.c:70: error: 'struct pt_regs' has no member named 'edi' arch/i386/kernel/asm-offsets.c:71: error: 'struct pt_regs' has no member named 'ebp' arch/i386/kernel/asm-offsets.c:72: error: 'struct pt_regs' has no member named 'eax' arch/i386/kernel/asm-offsets.c:73: error: 'struct pt_regs' has no member named 'xds' arch/i386/kernel/asm-offsets.c:74: error: 'struct pt_regs' has no member named 'xes' arch/i386/kernel/asm-offsets.c:75: error: 'struct pt_regs' has no member named 'xgs' arch/i386/kernel/asm-offsets.c:76: error: 'struct pt_regs' has no member named 'orig_eax' arch/i386/kernel/asm-offsets.c:77: error: 'struct pt_regs' has no member named 'eip' arch/i386/kernel/asm-offsets.c:78: error: 'struct pt_regs' has no member named 'xcs' arch/i386/kernel/asm-offsets.c:79: error: 'struct pt_regs' has no member named 'eflags' arch/i386/kernel/asm-offsets.c:80: error: 'struct pt_regs' has no member named 'esp' arch/i386/kernel/asm-offsets.c:81: error: 'struct pt_regs' has no member named 'xss' arch/i386/kernel/asm-offsets.c:93: error: invalid use of undefined type 'struct tss_struct' arch/i386/kernel/asm-offsets.c:93: error: invalid application of 'sizeof' to incomplete type 'struct tss_struct' arch/i386/kernel/asm-offsets.c:97: error: 'VDSO_PRELINK' undeclared (first use in this function) arch/i386/kernel/asm-offsets.c:102: error: invalid use of undefined type 'struct i386_pda' arch/i386/kernel/asm-offsets.c:103: error: invalid use of undefined type 'struct i386_pda' make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 }}} Thank you for help. -- Pravin Shinde ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech