Chris Epicier
2005-May-25 13:00 UTC
[Xen-users] Re: Problems building a xen0 kernel on Suse 9.3
Following up my previous post and searching around a bit, Itried the following: cd /usr/src/linux make mrproper ./arch/i386/defconfig.xen .config make ARCH=xen menuconfig (I just change general setup-> Local version) make ARCH=xen prepare make: Zirkuläre Datei /usr/src/linux-2.6.11.4-20a/include/asm <- /usr/src/linux-2.6.11.4-20a/include/asm Abhängigkeit wird nicht verwendet. SYMLINK /usr/src/linux-2.6.11.4-20a/include/asm -> include/asm-xen SYMLINK include/asm -> include/asm-i386 SPLIT include/linux/autoconf.h -> include/config/* HOSTCC scripts/genksyms/genksyms.o SHIPPED scripts/genksyms/lex.c SHIPPED scripts/genksyms/parse.h SHIPPED scripts/genksyms/keywords.c HOSTCC scripts/genksyms/lex.o SHIPPED scripts/genksyms/parse.c HOSTCC scripts/genksyms/parse.o HOSTLD scripts/genksyms/genksyms CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/sumversion.o HOSTLD scripts/mod/modpost HOSTCC scripts/kallsyms HOSTCC scripts/conmakehash HOSTCC scripts/bin2c CHK include/linux/version.h UPD include/linux/version.h CC arch/i386/kernel/asm-offsets.s CHK include/asm-i386/asm_offsets.h UPD include/asm-i386/asm_offsets.h there are symlinks in ./include which I do not understand: ~.asm-ignore -> asm-xen (delete or not?) ~asm -> asm-i386 (shouldn''t that point to asm-xen?) nevertheless I continue: make ARCH=xen CHK include/linux/version.h SYMLINK include/asm -> include/asm-i386 make[1]: »arch/i386/kernel/asm-offsets.s« ist bereits aktualisiert. ... ... arch/xen/kernel/ctrl_if.c:466: warning: implicit declaration of function `teardown_irq'' ... -so it uses code from xen, but throws warnings on what it''s gonna fail at the end, meanwhile... ... CC [M] fs/befs/datastream.o In file included from fs/befs/befs.h:11, from fs/befs/datastream.c:18: fs/befs/befs_fs_types.h:21:1: warning: "PACKED" redefined In file included from include/asm-xen/xen-public/xen.h:13, ... -lots of similar warnings that do not look promising:... include/asm-xen/xen-public/arch-x86_32.h:14:1: warning: this is the location of the previous definition CC [M] fs/reiser4/plugin/item/extent_item_ops.o In file included from fs/reiser4/plugin/plugin_header.h:11, from fs/reiser4/plugin/item/item.h:17, from fs/reiser4/plugin/item/extent_item_ops.c:3: fs/reiser4/dformat.h:44:1: warning: "PACKED" redefined In file included from include/asm-xen/xen-public/xen.h: ... next I removed support for reiserfs4 and BeFs, same results Any hints? Greets chris ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Robbie Dinn
2005-May-25 14:42 UTC
Re: [Xen-users] Re: Problems building a xen0 kernel on Suse 9.3
Chris Epicier write on Wed, 25 May 2005 11:49:23 +0200 (CEST):> I also tried the KOTD: > ftp.suse.com/pub/projects/kernel/kotd/i386/HEAD/kernel-xen-2.6.11.10-20050523173601.i586.rpm > but that dos not solve the issues with raid1 neither.Have you seen Gert Knorr''s reply to Xen-users? http://lists.xensource.com/archives/html/xen-users/2005-05/msg00443.html Thank you Gert! I think you are on the right track using KOTD, but are you aware that that you need two pieces to get sources that you can build the SuSE Xen kernel from? ftp://your.suse.mirror.here/pub/projects/kernel/kotd/i386/HEAD/kernel-xen-2.6.11.10-20050524103609.abuild-extra.tar.gz ftp://your.suse.mirror.here/pub/projects/kernel/kotd/i386/HEAD/kernel-source-2.6.11.10-20050524103609.src.rpm In fact I tried using the stuff in following place instead: ftp://your.suse.mirror.here/pub/projects/kernel/kotd/9.3-i386/SL93_BRANCH/ i.e. not kernel-source-<version>.i586.rpm but kernel-source-<version>.src.rpm and kernel-xen-<version>.abuild-extra.tar.gz you need to do rpm -i kernel-source-<version>.src.rpm cat kernel-xen-<version>.abuild-extra.tar.gz | \ (cd /usr/src/packages/SOURCE/ && tar xf - ) Then either build using rpmbuild and the kernel-xen.spec file or manually with make ARCH=xen config ; make ARCH=xen Remember to set CONFIG_BLK_DEV_MD=y I am busy compiling this at the moment :) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Gerd Knorr
2005-May-25 15:14 UTC
Re: [Xen-users] Re: Problems building a xen0 kernel on Suse 9.3
Robbie Dinn <robbie@microbus.com> writes:> In fact I tried using the stuff in following place > instead: > ftp://your.suse.mirror.here/pub/projects/kernel/kotd/9.3-i386/SL93_BRANCH/> Remember to set CONFIG_BLK_DEV_MD=yNot sure how often this is updated, but I think tomorrow that place should have binary rpms configured with CONFIG_BLK_DEV_MD=y Gerd _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users