Maybe Sadique can field this one. I don''t have the blkfront (xenblk.ko) or netfront (xennet.ko) modules (or any of the kernel/drivers/xen tree). I go into ''make xconfig'' -> Processor type and features'', and check ''Enable support for Xen hypervisor''. (Everything else in ''Paravirtualization support (EXPERIMENTAL}'' was already checked.) This automatically checks 4 more options for xen and hvm. I rebuild the .src.rpm (I''ve tried 2.6.23.15-137 and 2.6.23.14-115). Rpmbuild complains that it could not find the xennet module, continuing anyway, presumably at the mkinitrd step. When I try to load this kernel as a domu, I get invalid kernel type, whether I load it with the kernel/ramdisk= parms in the domu config, or select it in the domu''s grub menu. [661] > egrep XEN\|HVM /boot/config-2.6.23* /boot/config-2.6.23.14-115.fc8PAE:CONFIG_XEN=y /boot/config-2.6.23.14-115.fc8PAE:CONFIG_XEN_BLKDEV_FRONTEND=y /boot/config-2.6.23.14-115.fc8PAE:CONFIG_NETXEN_NIC=m /boot/config-2.6.23.14-115.fc8PAE:CONFIG_XEN_NETDEV_FRONTEND=y /boot/config-2.6.23.14-115.fc8PAE:CONFIG_HVC_XEN=y /boot/config-2.6.23.15-137.fc8PAE:CONFIG_XEN=y /boot/config-2.6.23.15-137.fc8PAE:CONFIG_XEN_BLKDEV_FRONTEND=y /boot/config-2.6.23.15-137.fc8PAE:CONFIG_NETXEN_NIC=m /boot/config-2.6.23.15-137.fc8PAE:CONFIG_XEN_NETDEV_FRONTEND=y /boot/config-2.6.23.15-137.fc8PAE:CONFIG_HVC_XEN=y [662] > xm create fc8 -c Using config file "/etc/xen/fc8". VNC= 1 Error: (2, ''Invalid kernel'', ''xc_dom_find_loader: no loader found\n'') zsh: exit 1 xm create fc8 -c What else do I need to do to get a bootable 2.6.23 domu on fc8? Thanx. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I''m currently trying the same. Mark wrote a small howto http://wiki.xensource.com/xenwiki/Kernel.org_Linux_on_Xen I''ve not reached the end of the howto, so I don''t know if this leads to a working kernel, but maybe it''s helpful. jim burns schrieb:> Maybe Sadique can field this one. > > I don''t have the blkfront (xenblk.ko) or netfront (xennet.ko) modules (or any > of the kernel/drivers/xen tree). I go into ''make xconfig'' -> Processor type > and features'', and check ''Enable support for Xen hypervisor''. (Everything > else in ''Paravirtualization support (EXPERIMENTAL}'' was already checked.) > This automatically checks 4 more options for xen and hvm. I rebuild > the .src.rpm (I''ve tried 2.6.23.15-137 and 2.6.23.14-115). Rpmbuild complains > that it could not find the xennet module, continuing anyway, presumably at > the mkinitrd step. When I try to load this kernel as a domu, I get invalid > kernel type, whether I load it with the kernel/ramdisk= parms in the domu > config, or select it in the domu''s grub menu. > > [661] > egrep XEN\|HVM /boot/config-2.6.23* > /boot/config-2.6.23.14-115.fc8PAE:CONFIG_XEN=y > /boot/config-2.6.23.14-115.fc8PAE:CONFIG_XEN_BLKDEV_FRONTEND=y > /boot/config-2.6.23.14-115.fc8PAE:CONFIG_NETXEN_NIC=m > /boot/config-2.6.23.14-115.fc8PAE:CONFIG_XEN_NETDEV_FRONTEND=y > /boot/config-2.6.23.14-115.fc8PAE:CONFIG_HVC_XEN=y > /boot/config-2.6.23.15-137.fc8PAE:CONFIG_XEN=y > /boot/config-2.6.23.15-137.fc8PAE:CONFIG_XEN_BLKDEV_FRONTEND=y > /boot/config-2.6.23.15-137.fc8PAE:CONFIG_NETXEN_NIC=m > /boot/config-2.6.23.15-137.fc8PAE:CONFIG_XEN_NETDEV_FRONTEND=y > /boot/config-2.6.23.15-137.fc8PAE:CONFIG_HVC_XEN=y > [662] > xm create fc8 -c > Using config file "/etc/xen/fc8". > VNC= 1 > Error: (2, ''Invalid kernel'', ''xc_dom_find_loader: no loader found\n'') > zsh: exit 1 xm create fc8 -c > > What else do I need to do to get a bootable 2.6.23 domu on fc8? Thanx. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Stephan Seitz Senior System Administrator *netz-haut* e.K. multimediale kommunikation zweierweg 22 97074 würzburg fon: +49 931 2876247 fax: +49 931 2876248 web: www.netz-haut.de <http://www.netz-haut.de/> registriergericht: amtsgericht würzburg, hra 5054 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Saturday 23 February 2008 09:34:44 am you wrote:> root@Insp6400 02/23/08 9:23AM:/boot > [512] > file vm* > vmlinuz-2.6.21-2957.fc8xen: gzip compressed data, from Unix, last > modified: Sat Feb 16 22:13:23 2008, max compression > vmlinuz-2.6.21.7-2.fc8xen: gzip compressed data, from Unix, last > modified: Tue Feb 19 20:46:01 2008, max compression > vmlinuz-2.6.23.14-115.fc8PAE: Linux kernel x86 boot executable > RO-rootFS, swap_dev 0x1, Normal VGA > vmlinuz-2.6.23.15-137.fc8PAE: Linux kernel x86 boot executable > RO-rootFS, swap_dev 0x1, Normal VGA > > Then: > > root@Insp6400 02/23/08 9:13AM:/boot > [513] > gzip -c > vmlinuz-2.6.23.14-115.fc8PAE>vmlinuz-2.6.23.14-115.fc8PAE.gz > > and I try to boot off of that kernel, and I still get the same error: > > root@Insp6400 02/23/08 9:32AM:/boot > [515] > xm create fc8 > Using config file "/etc/xen/fc8". > VNC= 1 > Error: (2, ''Invalid kernel'', ''xc_dom_find_loader: no loader found\n'') > zsh: exit 1 xm create fc8Umm - a little more info: jimb@Insp6400 02/24/08 8:50AM:~ [666] > gunzip -c /boot/vmlinuz-2.6.21-2957.fc8xen>vm jimb@Insp6400 02/24/08 8:51AM:~ [667] > file vm vm: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, not stripped Apparently, the file format for a xen kernel is ELF, not kernel, as per 2.6.23. How can I get an ELF format kernel from the rpmbuild of the 2.6.23 .src.rpm? Sadique? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users