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" on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" 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@lists.xensource.com http://lists.xensource.com/xen-users
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" on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" 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@lists.xensource.com http://lists.xensource.com/xen-users
In addition I have one more question. Command file gave me this result: file /boot/* /boot/vmlinuz-2.6.27.5-117.fc10.i686.PAE: Linux kernel x86 boot executable RO-rootFS, root_dev 0x902, swap_dev 0x2, Normal VGA /boot/vmlinuz-2.6.25.14: Linux kernel x86 boot executable RO-rootFS, swap_dev 0x2, Normal VGA /root/router/vmlinux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, not stripped /boot/vmlinux-stripped: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped We can see that *root_dev 0x902* is missing from the kernel I''m supposed to boot, but in the kernel which I''m able to boot in domU (2.6.27.5-117.fc10) it is present. Can anyone tell me, how this happened? Please, any idea! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users