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@lists.xensource.com http://lists.xensource.com/xen-users
Am Thursday, den 14 February hub Mike Lovell folgendes in die Tasten:> 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'')You have to use the vmlinux image as Xen isn''t able to boot bzImages yet. Ciao Max -- Follow the white penguin. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
>> heimdall:/home/xen/slim # xm create -c slim >> Using config file "./slim". >> Error: (2, ''Invalid kernel'', ''xc_dom_find_loader: no loader found\n'') >> > > You have to use the vmlinux image as Xen isn''t able to boot bzImages > yet. > >I just tried using the vmlinux.bin file that was in arch/x86/boot but I still got that same error. Mike _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Am Thursday, den 14 February hub Mike Lovell folgendes in die Tasten:> >> heimdall:/home/xen/slim # xm create -c slim > >> Using config file "./slim". > >> Error: (2, ''Invalid kernel'', ''xc_dom_find_loader: no loader found\n'')> > You have to use the vmlinux image as Xen isn''t able to boot bzImages > > yet.> I just tried using the vmlinux.bin file that was in arch/x86/boot but I > still got that same error.I''ve have 2.6.24.2 running as DomU without any problems. Maybe you have to use the ''vmlinux'' file in the top kernel directory? HTH Ciao Max -- Follow the white penguin. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Maximilian Wilhelm wrote:> Am Thursday, den 14 February hub Mike Lovell folgendes in die Tasten: > > >>>> heimdall:/home/xen/slim # xm create -c slim >>>> Using config file "./slim". >>>> Error: (2, ''Invalid kernel'', ''xc_dom_find_loader: no loader found\n'') >>>> > > >>> You have to use the vmlinux image as Xen isn''t able to boot bzImages >>> yet. >>> > > >> I just tried using the vmlinux.bin file that was in arch/x86/boot but I >> still got that same error. >> > > I''ve have 2.6.24.2 running as DomU without any problems. > Maybe you have to use the ''vmlinux'' file in the top kernel directory? > > HTH > Ciao > Max >That seems to have done it. Thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users