problems with openssi and xen
Holger Lechner <[email protected]>
| Newsgroups | gmane.linux.cluster.ssic.user |
|---|---|
| Organization | R-KOM |
| Message-ID | <[email protected]> |
Hi I am trying to build an openssi cluster inside of a xen virtualisation and having some problems. I am new to this, so sure some of you can help. First I built a xen host and guest kernel using the current xen version, which is xen 3.1.0 with linux kernel 2.6.18. The xen environment works, i can boot serval guests, debian sarge or etch. Then I tried to build an openssi guest kernel but get compile errors. I used ci and openssi from cvs, and a vanilla kernel 2.6.10 (Is it still 2.6.10 ?). Then make xenkern, copied openssi/kernel.configs/kernel-ssi-xenU.config to linux-ssi/.config, make ARCH=xen oldconfig and make ARCH=xen vmlinuz which dies with CC arch/i386/kernel/asm-offsets.s In file included from arch/i386/kernel/asm-offsets.c:7: include/linux/sched.h:23:25: error: asm/cputime.h: No such file or directory In file included from arch/i386/kernel/asm-offsets.c:7: include/linux/sched.h:364: error: expected specifier-qualifier-list before 'cputime_t' include/linux/sched.h:673: error: expected specifier-qualifier-list before 'cputime_t' include/linux/sched.h: In function 'process_group': include/linux/sched.h:792: error: 'struct task_struct' has no member named 'signal' include/linux/sched.h:793: warning: control reaches end of non-void function include/linux/sched.h: In function 'dequeue_signal_lock': include/linux/sched.h:992: error: 'struct task_struct' has no member named 'sighand' include/linux/sched.h:994: error: 'struct task_struct' has no member named 'sighand' include/linux/sched.h: In function 'on_sig_stack': include/linux/sched.h:1051: error: 'struct task_struct' has no member named 'sas_ss_sp' include/linux/sched.h:1051: error: 'struct task_struct' has no member named 'sas_ss_size' include/linux/sched.h:1052: warning: control reaches end of non-void function include/linux/sched.h: In function 'sas_ss_flags': include/linux/sched.h:1056: error: 'struct task_struct' has no member named 'sas_ss_size' include/linux/sched.h:1058: warning: control reaches end of non-void function include/linux/sched.h: In function 'capable': include/linux/sched.h:1067: error: 'struct task_struct' has no member named 'cap_effective' include/linux/sched.h: In function 'task_lock': include/linux/sched.h:1216: error: 'struct task_struct' has no member named 'alloc_lock' include/linux/sched.h: In function 'task_unlock': include/linux/sched.h:1221: error: 'struct task_struct' has no member named 'alloc_lock' make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1 make: *** [arch/i386/kernel/asm-offsets.s] Error 2 Furthermore there is no file cputime.h in the whole source tree. I also tried to boot the precompiled openssi xen guest kernel from http://deb.openssi.org/openssi-v2/xenU-vmlinuz, but xen dies. mrpink:~# xm create -c /etc/xen/guests/guest01.cfg Using config file "/etc/xen/guests/guest01.cfg". Error: (2, 'Invalid kernel', 'elf_xen_note_check: ERROR: Xen will only load images built for Xen v3.0\n') So I need to know how to compile this openssi-xen guest kernel to boot inside my xen 3.1.0 host system. Any help is appreciated, thank you. Holger Lechner ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace