[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Custom 2.6.24.2 domu Kernel


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Mike Lovell <toelovell@xxxxxxxxx>
  • Date: Thu, 14 Feb 2008 11:00:06 -0700
  • Delivery-date: Thu, 14 Feb 2008 09:59:32 -0800
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.