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

[Xen-users] Custom 2.6.24.2 domu Kernel

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Custom 2.6.24.2 domu Kernel
From: Mike Lovell <toelovell@xxxxxxxxx>
Date: Thu, 14 Feb 2008 11:00:06 -0700
Delivery-date: Thu, 14 Feb 2008 09:59:32 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; bh=RtG1bvcuZmveGes0hoaH5yiPZHXEGqHccGJuxdrWjNY=; b=IjHGj/UHEBapm+LjZkxM8CWVN1jzzQusZxsngCktAtjs6zCuqE1/gYWP/dpCTaAjNJk6xbFdpkLDOdCz7ExPQAte2bsuLKxoFKfFmxnofZ9bL4u29FO5SsdYN903xd2qmCMmI5xQLZ8njJIi57ngZNXceHVIEILfot9Na/d2DVk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=sh8KXHJ+YhCedEsVMblWdvauFbzHu716gmlYHvoF8TTGZftkPCVTGKIBKJOObgsyWSeYbR+xWT2S1gOeCWzzfJ/dRYAHcaVopYUJYp2sr9apI6FQApHTVhNlEWTJvmwNb8srTFIDr2owkcKzKM5QpAHrFalSr28cF9vZ2sbVR3U=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (X11/20071114)
Hey all,
I am trying to build a custom kernel for a domu using the vanilla
2.6.24.2 kernel. I figured that it would be easy considering that the
mainline kernel has guest support. But it isn't working and I get an
error that says "Error: (2, 'Invalid kernel', 'xc_dom_find_loader: no
loader found\n')." Here is what I am doing.

Download 2.6.24.2 from kernel.org and unpack
`make menuconfig` and select the "Paravirtualized guest support" and the
"Xen guest support"
make the kernel and copy the arch/i386/boot/bzImage to the folder with
the rest of my guest configuration as vmlinuz-2.6.24.2
Then I try to start the guest. and get this.

heimdall:/home/xen/slim # xm create -c slim
Using config file "./slim".
Error: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\n')

Here is the config for the guest

kernel = "/home/xen/slim/vmlinuz-2.6.24.2"
memory = 192
name = "Slim"
vif = [ 'bridge=xenbr0' ]
disk = [ 'file:/home/xen/slim-build/disk1,hda,w' ]
root = "/dev/hda2"
extra = ""

I am using openSuSE 10.3 and xen 3.1.0. Any thoughts on this? I am
guessing that I need to do more for building the kernel besides just
selecting the options and building the kernel or change the guest
config. But I can't find a howto for this. Thanks in advance for any advice.

Mike Lovell

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

<Prev in Thread] Current Thread [Next in Thread>