Greetings Xen Masters! I have an application that will only install in specific RedHat ES Kernels and I''m trying to install XEN using a RedHat kernel as the source. I created a tar.bz2 image of the kernel source for RedHat ES4 and placed it in the /usr/src/xen-3.0.2-2 directory. ( I have no inet access from this box so the original install had the linux-2.6.16.tar.bz6 image and worked). I then typed ''make world'' and it fails with the following message: ''snip'' make -C linux-2.6.9-xen ARCH=x86_64 oldconfig make[4]: Entering directory `/usr/src/xen-3.0.2-2/linux-2.6.9-xen'' scripts/kconfig/conf -o arch/x86_64/Kconfig arch/x86_64/Kconfig:493: can''t open file "kernel/Kconfig.hz" make[5]: *** [oldconfig] Error 1 make[4]: *** [oldconfig] Error 2 ''snip'' I can extract Kconfig.hz from linux-2.6.16-tar.bz2, but I don''t know what this file is or what it does. My goal is to run my application in a subdomain using a RedHat kernel without a VT processor. Has anyone else used a distro''s kernel to create a xen domain? any help would be greatly appreciated :>) Thanx...Max _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
________________________________ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Max E Baro Sent: 25 May 2006 21:06 To: ''xen-users@lists.xensource.com'' Subject: [Xen-users] XENified RH Kernel Greetings Xen Masters! I have an application that will only install in specific RedHat ES Kernels and I''m trying to install XEN using a RedHat kernel as the source. I created a tar.bz2 image of the kernel source for RedHat ES4 and placed it in the /usr/src/xen-3.0.2-2 directory. ( I have no inet access from this box so the original install had the linux-2.6.16.tar.bz6 image and worked). I then typed ''make world'' and it fails with the following message: ''snip'' make -C linux-2.6.9-xen ARCH=x86_64 oldconfig make[4]: Entering directory `/usr/src/xen-3.0.2-2/linux-2.6.9-xen'' scripts/kconfig/conf -o arch/x86_64/Kconfig arch/x86_64/Kconfig:493: can''t open file "kernel/Kconfig.hz" make[5]: *** [oldconfig] Error 1 make[4]: *** [oldconfig] Error 2 ''snip'' I can extract Kconfig.hz from linux-2.6.16-tar.bz2, but I don''t know what this file is or what it does. My goal is to run my application in a subdomain using a RedHat kernel without a VT processor. Has anyone else used a distro''s kernel to create a xen domain? any help would be greatly appreciated :>) Thanx...Max I don''t know the answer to your question about Kconfig.hz, nor does there seem to be one of those files in my .../linux-2.6.16.13-xen/../kernel directory, so I guess extracting it from the linux-2.6.16.tar.bz2 file would not work either. Are you sure that it will even work to do this? Most installations that I''ve seen that require a very particular kernel version are also using binary modules that are compiled to be used with that particular version of kernel, and will most likely fail if you try to give it a Xenified kernel... -- Mats _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I''m not sure what I''m trying will work. I get a segmentation fault whe I try to install my application, but the support team for the app won''t look at the error if it''s run under an unsupported kernel. I had the app working in Xen 2.0.7, but could only grab 750MG of ram. Any more you give me a buffer error, but again, they wonlt help me troubleshoot under a xen kernel, only Rad Hat. max -----Original Message----- From: Petersson, Mats [mailto:Mats.Petersson@amd.com] Sent: Thursday, May 25, 2006 4:25 PM To: Max E Baro; xen-users@lists.xensource.com Subject: RE: [Xen-users] XENified RH Kernel _____ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Max E Baro Sent: 25 May 2006 21:06 To: ''xen-users@lists.xensource.com'' Subject: [Xen-users] XENified RH Kernel Greetings Xen Masters! I have an application that will only install in specific RedHat ES Kernels and I''m trying to install XEN using a RedHat kernel as the source. I created a tar.bz2 image of the kernel source for RedHat ES4 and placed it in the /usr/src/xen-3.0.2-2 directory. ( I have no inet access from this box so the original install had the linux-2.6.16.tar.bz6 image and worked). I then typed ''make world'' and it fails with the following message: ''snip'' make -C linux-2.6.9-xen ARCH=x86_64 oldconfig make[4]: Entering directory `/usr/src/xen-3.0.2-2/linux-2.6.9-xen'' scripts/kconfig/conf -o arch/x86_64/Kconfig arch/x86_64/Kconfig:493: can''t open file "kernel/Kconfig.hz" make[5]: *** [oldconfig] Error 1 make[4]: *** [oldconfig] Error 2 ''snip'' I can extract Kconfig.hz from linux-2.6.16-tar.bz2, but I don''t know what this file is or what it does. My goal is to run my application in a subdomain using a RedHat kernel without a VT processor. Has anyone else used a distro''s kernel to create a xen domain? any help would be greatly appreciated :>) Thanx...Max I don''t know the answer to your question about Kconfig.hz, nor does there seem to be one of those files in my .../linux-2.6.16.13-xen/../kernel directory, so I guess extracting it from the linux-2.6.16.tar.bz2 file would not work either. Are you sure that it will even work to do this? Most installations that I''ve seen that require a very particular kernel version are also using binary modules that are compiled to be used with that particular version of kernel, and will most likely fail if you try to give it a Xenified kernel... -- Mats _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks Julius, Unfortunate this does speed things up for me in that I can''t use XEN for the application I need to run. I guess I can keep hacking to see if I stumble upon the cause of my segmentation fault error in the domU.. Thanx...max -----Original Message----- From: Julius Spencer [mailto:julius@msa.co.nz] Sent: Thursday, May 25, 2006 4:44 PM To: Max E Baro Subject: Re: [Xen-users] XENified RH Kernel Hi Max, I came to the conclusion that this doesn''t work. I tried using a specific 2.6.9 kernel (CentOS) and I don''t think it is possible to patch /"xenify" the kernel. As far as I have found it is only possible to compile and "xenify" specific Linux kernels. It meant that I couldn''t use some hardware for which there is only a closed source/binary driver. Hope that speeds things up for you. Cheers, Julius. Max E Baro wrote:> Greetings Xen Masters! > > I have an application that will only install in specific RedHat ES > Kernels and I''m trying to install XEN using a RedHat kernel as the source. > > I created a tar.bz2 image of the kernel source for RedHat ES4 and placed > it in the /usr/src/xen-3.0.2-2 directory. ( I have no inet access from > this box so the original install had the linux-2.6.16.tar.bz6 image and > worked). > > I then typed ''make world'' and it fails with the following message: > > ''snip'' > make -C linux-2.6.9-xen ARCH=x86_64 oldconfig > make[4]: Entering directory `/usr/src/xen-3.0.2-2/linux-2.6.9-xen'' > scripts/kconfig/conf -o arch/x86_64/Kconfig > arch/x86_64/Kconfig:493: can''t open file "kernel/Kconfig.hz" > make[5]: *** [oldconfig] Error 1 > make[4]: *** [oldconfig] Error 2 > ''snip'' > > I can extract Kconfig.hz from linux-2.6.16-tar.bz2, but I don''t know > what this file is or what it does. My goal is to run my application in > a subdomain using a RedHat kernel without a VT processor. > > Has anyone else used a distro''s kernel to create a xen domain? > > any help would be greatly appreciated :>) > > Thanx...Max > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I was having problems bringing up a guest OS, getting a "root not found" error. The config file, copied from the example file, had the ramdisk setting commented out. I uncommented it and the guest OS came up just fine. Ramdisk is not really described, so my question is "what function does it perform?" If it''s critical to getting guests up and running, why is it commented out in the example, which would seem to imply it''s not critical to bringing guest OS systems up? Bernard Golden _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ramdisk is important if you have some critical kernel components built as modules, as opposed to statically built into the kernel. If you''re exporting disk partitions from dom0 to domU''s as SCSI drives, you should have the necessary SCSI components turned on in the guest kernel and have them available as modules or built into the kernel. If you have them as modules, you should run depmod, do mkinitrd and have ramdisk settings in your guest config file for it to recognize the root drive. I think it''s commented out (at least in mine) because it''s assuming you''re exporting partitions as hda[012] (IDE drives). Are you exporting it as SCSI? S On May 25, 2006, at 3:43 PM, Bernard Golden wrote:> I was having problems bringing up a guest OS, getting a "root not > found" error. The config file, copied from the example file, had > the ramdisk setting commented out. I uncommented it and the guest > OS came up just fine. > > Ramdisk is not really described, so my question is "what function > does it perform?" If it''s critical to getting guests up and > running, why is it commented out in the example, which would seem > to imply it''s not critical to bringing guest OS systems up? > > Bernard Golden > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I have copied xen modules into guest kernel directory (am running suse 10.1 guest), so I conclude that is why ramdisk parameter is vital. Am running IDE drive, not SCSI. Bernard Golden Chief Executive Officer, Navica www.navicasoft.com <http://www.navicasoft.com/> Author, "Succeeding with Open Source," Addison-Wesley, 2005 (T) 650 585 5309 (C) 650 400 3204 (F) 650 591 3805 Sign up <http://www.navicasoft.com/pages/newslform2.htm> for Navica''s monthly open source newsletter Read <http://blogs.cio.com/node/269> my open source blog for CIO Magazine -----Original Message----- From: Stephen Yum [mailto:steveyum@exactimage.com] Sent: Friday, May 26, 2006 12:17 AM To: Xen-users@lists.xensource.com Subject: Re: [Xen-users] Ramdisk Parameter in config file Ramdisk is important if you have some critical kernel components built as modules, as opposed to statically built into the kernel. If you''re exporting disk partitions from dom0 to domU''s as SCSI drives, you should have the necessary SCSI components turned on in the guest kernel and have them available as modules or built into the kernel. If you have them as modules, you should run depmod, do mkinitrd and have ramdisk settings in your guest config file for it to recognize the root drive. I think it''s commented out (at least in mine) because it''s assuming you''re exporting partitions as hda[012] (IDE drives). Are you exporting it as SCSI? S On May 25, 2006, at 3:43 PM, Bernard Golden wrote: I was having problems bringing up a guest OS, getting a "root not found" error. The config file, copied from the example file, had the ramdisk setting commented out. I uncommented it and the guest OS came up just fine. Ramdisk is not really described, so my question is "what function does it perform?" If it''s critical to getting guests up and running, why is it commented out in the example, which would seem to imply it''s not critical to bringing guest OS systems up? Bernard Golden _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users