WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Building Xen Linux on SuSE 9.3

To: XEN Users Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Building Xen Linux on SuSE 9.3
From: Robbie Dinn <robbie@xxxxxxxxxxxx>
Date: Wed, 14 Dec 2005 09:50:52 +0000
Cc: Nick Couchman <Nick.Couchman@xxxxxxxxx>
Delivery-date: Wed, 14 Dec 2005 09:52:45 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <439EDBBC.87A6.0099.1@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <439EDBBC.87A6.0099.1@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (X11/20041207)
Nick Couchman wrote:
I've seen the other messages in the list about this, but haven't seen any solutions. Could someone please tell me how in the world I am supposed to fix this error? I'm using the most recent Xen packages for SuSE 9.3 (Xen 2.0.7/Kernel 2.6.11.4-21.8).

I am not certain that this is your problem but are you
aware that to build a xen kernel from the SuSE sources you need
_two_ pieces, two source RPM's.

ftp://your.suse.mirror/pub/suse/i386/update/9.3/rpm/src/kernel-source-2.6.11.4-21.9.src.rpm
ftp://your.suse.mirror/pub/suse/i386/update/9.3/rpm/src/kernel-xen-2.6.11.4-21.9.nosrc.rpm

Don't use the sources from the kernel-source-2.6.11.4-21.9.rpm package.
You can use them to build a 'kernel-default' but not a 'kernel-xen'

do a 'rpm -i' for both the RPM's then look at the files
installed under /usr/src/packages . The order is important,
install the .src.rpm file first, then the .nosrc.rpm file.
The .nosrc.rpm overwrites/overlays on top of the first source
tree to give you a source tree suitable for building a Xen
kernel.

You will find a spec file installed under
  /usr/src/packages/SOURCES/kernel-xen.spec

Run rpmbuild using this spec file and this will build you a
xenified kernel binary RPM.

If you want to customise the kernel, you can unpack the sources
(tar files in /usr/src/packages/SOURCES), modify them, repackage
them as tar files, bump the version number in the spec file and
run rpmbuild again.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users