Hi all, I want to recompile the 2.6.24.19-xen kernel provided by Ubuntu hardy. I have install the linux-source linux-header deb but don''t know how to include the "xen patch" to the 2.6.24 source (I know 2.6.24 have Xen forward-ported) and compile the kernel. I am sorry this is quite a newbie question.. Could anyone help me? Basically I want to compile a 2.6.24 Xen kernel with some customized kernel settings. Thanks! Jett _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sun, Jul 20, 2008 at 12:57 PM, Jett <jett1014@gmail.com> wrote:> Hi all, > > I want to recompile the 2.6.24.19-xen kernel provided by Ubuntu hardy. > I have install the linux-source linux-header deb but don''t know how to > include the "xen patch" to the 2.6.24 source (I know 2.6.24 have Xen > forward-ported) and compile the kernel. I am sorry this is quite a newbie > question.. Could anyone help me? > > Basically I want to compile a 2.6.24 Xen kernel with some customized > kernel settings. >https://lists.ubuntu.com/archives/kernel-team/2008-April/002324.html> > Thanks! > > Jett > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Todd Deshane http://todddeshane.net check out our book: http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks Todd for pointing me to this page. I am now working on git and trying to config my xen kernel. Anyway, is there any document on describing the new ubuntu/debian kernel build method? (i.e. debian/rules {build}) Thanks again. Nice Day, Jett On Sun, Jul 20, 2008 at 12:57 PM, Jett <jett1014@gmail.com> wrote: Hi all, I want to recompile the 2.6.24.19-xen kernel provided by Ubuntu hardy. I have install the linux-source linux-header deb but don''t know how to include the "xen patch" to the 2.6.24 source (I know 2.6.24 have Xen forward-ported) and compile the kernel. I am sorry this is quite a newbie question.. Could anyone help me? Basically I want to compile a 2.6.24 Xen kernel with some customized kernel settings. https://lists.ubuntu.com/archives/kernel-team/2008-April/002324.html Thanks! Jett _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -- Todd Deshane http://todddeshane.net check out our book: http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, 2008-07-21 at 00:57 +0800, Jett wrote:> Hi all, > > I want to recompile the 2.6.24.19-xen kernelprovided by Ubuntu > hardy. I have install the linux-source linux-header deb but don''t know > how to include the "xen patch" to the 2.6.24 source (I know 2.6.24 > have Xen forward-ported) and compile the kernel. I am sorry this is > quite a newbie question.. Could anyone help me? > > Basically I want to compile a 2.6.24 Xen kernel with some > customized kernel settings.Your going to need the ''debhelper'' package. Once you have it, go to the source tree and type: debian/rules custom-prepare-xen This will (very likely) prompt you to install more packages or suggest commands to automagically install all dependencies needed to use the Debian build system. Once successful, you will find your source in debian/build/custom-source-xen, which can be copied anywhere that you like. That''s your Xen patched kernel. So you could cp -R debian/build/custom-source-xen /usr/src/linux-2.6-xen Unless you plan on making new .debs , there is really no need to further explore the rest of the stuff that you''ll see in debian/. The same method is used to generate builds for desktop / server / openvz, rtlinux, etc. HTH --Tim> > Thanks! > > Jett > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Monkey + Typewriter = Echoreply ( http://echoreply.us ) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sorry all, I have one more question. How can I change the config of the kernel source pulled from git? I have run "make menuconfig" and there is no Xen stuff (sound silly..though, sorry I am quite a newbie to this build method). Thanks! Jett On Sun, Jul 20, 2008 at 12:57 PM, Jett <jett1014@gmail.com> wrote: Hi all, I want to recompile the 2.6.24.19-xen kernel provided by Ubuntu hardy. I have install the linux-source linux-header deb but don''t know how to include the "xen patch" to the 2.6.24 source (I know 2.6.24 have Xen forward-ported) and compile the kernel. I am sorry this is quite a newbie question.. Could anyone help me? Basically I want to compile a 2.6.24 Xen kernel with some customized kernel settings. https://lists.ubuntu.com/archives/kernel-team/2008-April/002324.html Thanks! Jett _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -- Todd Deshane http://todddeshane.net check out our book: http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks Tim for the very detailed answer. It''s very useful! I am trying to config the kernel. =) Nice day, Jett On Mon, 2008-07-21 at 00:57 +0800, Jett wrote: Hi all, I want to recompile the 2.6.24.19-xen kernelprovided by Ubuntu hardy. I have install the linux-source linux-header deb but don''t know how to include the "xen patch" to the 2.6.24 source (I know 2.6.24 have Xen forward-ported) and compile the kernel. I am sorry this is quite a newbie question.. Could anyone help me? Basically I want to compile a 2.6.24 Xen kernel with some customized kernel settings. Your going to need the ''debhelper'' package. Once you have it, go to the source tree and type: debian/rules custom-prepare-xen This will (very likely) prompt you to install more packages or suggest commands to automagically install all dependencies needed to use the Debian build system. Once successful, you will find your source in debian/build/custom-source-xen, which can be copied anywhere that you like. That''s your Xen patched kernel. So you could cp -R debian/build/custom-source-xen /usr/src/linux-2.6-xen Unless you plan on making new .debs , there is really no need to further explore the rest of the stuff that you''ll see in debian/. The same method is used to generate builds for desktop / server / openvz, rtlinux, etc. HTH --Tim Thanks! Jett _______________________________________________ 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''d have thought it would be possible to use apt to retrieve the appropriate source without needing to use git but I''m not familiar enough with Debian matters to tell you the exact procedure off the top of my head. Cheers, Mark On Monday 21 July 2008, Todd Deshane wrote:> On Sun, Jul 20, 2008 at 12:57 PM, Jett <jett1014@gmail.com> wrote: > > Hi all, > > > > I want to recompile the 2.6.24.19-xen kernel provided by Ubuntu > > hardy. I have install the linux-source linux-header deb but don''t know > > how to include the "xen patch" to the 2.6.24 source (I know 2.6.24 have > > Xen forward-ported) and compile the kernel. I am sorry this is quite a > > newbie question.. Could anyone help me? > > > > Basically I want to compile a 2.6.24 Xen kernel with some customized > > kernel settings. > > https://lists.ubuntu.com/archives/kernel-team/2008-April/002324.html > > > Thanks! > > > > Jett > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users-- Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, 2008-07-21 at 22:44 +0100, Mark Williamson wrote:> I''d have thought it would be possible to use apt to retrieve the appropriate > source without needing to use git but I''m not familiar enough with Debian > matters to tell you the exact procedure off the top of my head. > > Cheers, > MarkYou can use apt, what you get is a tagged snapshot of the Git tree + patches that are applied to build different types of kernels. apt-get source linux-image-2.6.24-xx gets that snapshot. The stuff in debian/ is what''s used to turn that (more or less) pristine kernel into xen0, openvz, rt, server, desktop, etc ... Unless you need to go to a different version of the kernel, there''s no need to use git to fetch it, apt is fine. It can be rather confusing to people who aren''t familiar with the Debian build system. Regards, --Tim _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Is that mean the git tree is the most updated one while the apt is the snapshot of a specific time? Will the apt tree be updated? I have tried to compile the ubuntu kernel 2.6.24 (from git) with Lenny but the new kernel doesn''t boot up on my test machine. It just hangs on the "Early unpacking initramfs" step. I am trying to do the same thing on native hardy and let''s look at the result. Nice day, Jett On Mon, 2008-07-21 at 22:44 +0100, Mark Williamson wrote: I''d have thought it would be possible to use apt to retrieve the appropriate source without needing to use git but I''m not familiar enough with Debian matters to tell you the exact procedure off the top of my head. Cheers, Mark You can use apt, what you get is a tagged snapshot of the Git tree + patches that are applied to build different types of kernels. apt-get source linux-image-2.6.24-xx gets that snapshot. The stuff in debian/ is what''s used to turn that (more or less) pristine kernel into xen0, openvz, rt, server, desktop, etc ... Unless you need to go to a different version of the kernel, there''s no need to use git to fetch it, apt is fine. It can be rather confusing to people who aren''t familiar with the Debian build system. Regards, --Tim _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello, I think I have found the problem. I have done a mkinitramfs -o to create the ramdisk, but the resulting ramdisk is very very big. Is there a option to make a ramdisk in a "compressed" format to fit in a VPS? So far I have used the old way "make all ; make modules_install ; make install" to compile the kernel.. Thanks! Jett On Mon, 2008-07-21 at 22:44 +0100, Mark Williamson wrote: I''d have thought it would be possible to use apt to retrieve the appropriate source without needing to use git but I''m not familiar enough with Debian matters to tell you the exact procedure off the top of my head. Cheers, Mark You can use apt, what you get is a tagged snapshot of the Git tree + patches that are applied to build different types of kernels. apt-get source linux-image-2.6.24-xx gets that snapshot. The stuff in debian/ is what''s used to turn that (more or less) pristine kernel into xen0, openvz, rt, server, desktop, etc ... Unless you need to go to a different version of the kernel, there''s no need to use git to fetch it, apt is fine. It can be rather confusing to people who aren''t familiar with the Debian build system. Regards, --Tim _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Possibly Parallel Threads
- Ubuntu Hardy Heron x64 w/ Xen 3.2 hangs on boot at /etc/rc.local
- VNC access console of paravirtualised DomU
- Error compiling xen 3.2.1 on ubuntu hardy
- Fw: Re: What packages ubuntu-xen-server & ubuntu-xen-desktop are up to on intrepid
- using Ubuntu's dom0 xen support for kernel >=2.6.24?