[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Re: Problems building a xen0 kernel on Suse
> > 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/msg > 00443.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 :) Robbie, Thanks for the hints! I'm now running my own stripped-down xen0 kernel that took only 5 minutes to build. A couple comments and steps that I did that might be helpful to others: 1. The tar command should be "tar zxf -" 2. rpmbuild -bp --target=i386 kernel-xen.spec 3. cd /usr/src/packages/BUILD/kernel-xen-2.6.11.10/linux-2.6.11 4. vi Makefile # EXTRAVERSION = .10-xen0 5. make ARCH=xen menuconfig # modify config file 6. make ARCH=xen; make ARCH=xen modules; make ARCH=xen modules_install; make ARCH=xen install 7. cd /boot; mkinitrd -k vmlinuz-2.6.11.10-xen0-4 -i initrd-2.6.11.10-xen0-4.img 8. edit grub.conf The mkinitrd step was done automatically when building the regular kernel, does anyone know why it is not produced by the xen0 build? Why are there 2 different source rpms? Is the xen stuff simply not put into the i586 version? Jeff _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |