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

[Xen-users] new kernel on Fedora 10 domU


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Bojana Petrovic <bojanap@xxxxxxxxx>
  • Date: Thu, 10 Sep 2009 10:47:02 +0200
  • Delivery-date: Thu, 10 Sep 2009 07:07:52 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=eWWVsI5axrTfCW90tp+sbkgadD/8qc5eEpghmZ4QPotXhfUkUdS2cnzo0Y7DinQ9To bUKWm66Z39gF2ZzZ/Nw1DQigr+cG2q0rJ4Ba8L6lw20nI9p/8hXwaGyODXYmvDZx+x2o R7ESHfeCBT6JGiL4AhPXmgFLxfOBZZndX2y9M=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,
I installed Fedora 10 as domU on CentOS 5.3. I need new 2.6.25.14 kernel under domU (in order to patch it for MPLS protocol). I followed advice on
http://wiki.xensource.com/xenwiki/Kernel.org_Linux_on_Xen, and compiled kernel with XEN options enabled under domU. I got all relevant packages in /boot and /lib/modules, but when I try to boot virtual machine I got this error:

Error starting domain: virDomainCreate() failed POST operation failed: (xend.err "Error creating domain: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\\n')")

Here is my grub under domU:

#boot=/dev/xvda
default=1
timeout=0
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.25.14)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.25.14 ro root=UUID=d3721a3f-a574-40f4-94c4-9273923d5471 rhgb quiet
    initrd /boot/initrd-2.6.25.14.img
title Fedora (2.6.27.5-117.fc10.i686.PAE)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.27.5-117.fc10.i686.PAE ro root=UUID=d3721a3f-a574-40f4-94c4-9273923d5471 rhgb quiet
    initrd /boot/initrd-2.6.27.5-117.fc10.i686.PAE.img


Here is configuration file for  VM:

name = "masterf10big-1"
uuid = "4d1e3338-4392-7ea3-e128-57ae8727e96b"
kernel = "/boot/vmlinuz-2.6.25.14"
ramdisk = "/boot/initrd-2.6.25.14.img"
#kernel = "/boot/vmlinuz-2.6.27.5-117.fc10.i686.PAE"
#ramdisk = "/boot/initrd-2.6.27.5-117.fc10.i686.PAE.img"
maxmem = 256
memory = 256
vcpus = 1
#bootloader = "/usr/bin/pygrub"
>>>vfb = [ "type=vnc,vncunused=1" ]
disk = [ "tap:aio:/var/lib/xen/images/masterf10big-1.img,xvda,w" ]
vif = [ "mac=00:16:3e:4e:b9:40,bridge=virbr0" ]
extra = "console=hvc0"


If I try to compile kernel under dom0, I do not have in initrd xen-blkfront module.
I tried to compile this kernel under Fedora 8 domU, as well, but when I try to boot new kernel it alway says:
no xenblk module found!
According to new framework xenblk is replaced with xen-blkfront modules, then, why does he ask for that one? I understand that Fedora 8 domU uses 2.6.21.xen kernel which belong to old framework, but anyway how can I install mainline kernel on it?

Please, I would really appriciate any help,  I'm really stuck up with this, for very long time, I do not know what else to do?

_______________________________________________
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®.