-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I''m new to the list and I like to create a Xen Dom0 kernel with 2.6.24 kernel-sources, because I need the drivers of that kernel version. I downloaded the Xen 3.2 Soruces tar.gz and tried to compile, but that failed. I think that only do "make world" will build an 2.6.18 Kernel but I couldn''t check that yet. So I think I need to connect the Xen sources somehow to my recent kernel sources. The information on the net are a little bit confusing. I''m using gentoo and I''m firm compiling my own kernel, so that would not be the problem. But I can''t get it how i can patch my kernel sources for build the dom0. Can someone tell me what to do to build the desired kernel? Thanks. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgtTZwACgkQ364kUuqz/D6nOQCgsLXHMG0axZ/r28CwjIaifuPh cEcAn0KLDliNq6C+WjsIApboxwz5GjDN =rrSs -----END PGP SIGNATURE----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Heiko Rehder <heiko.rehder@nordakademie.de> wrote:> I''m new to the list and I like to create a Xen Dom0 kernel with 2.6.24 > kernel-sources, because I need the drivers of that kernel version.We are in the same situation - 2.6.18 doesn''t support the latest hardware we are getting in.> I downloaded the Xen 3.2 Soruces tar.gz and tried to compile, but that > failed. > > I think that only do "make world" will build an 2.6.18 Kernel but I > couldn''t check that yet. So I think I need to connect the Xen sources > somehow to my recent kernel sources.The way I''ve done this is the past is to do make mkpatches In the xen source tree. This produces linux-2.6-xen.patch which you can then apply to the kernel tree of your choice. However the kernel has moved on since 2.6.18 and bits of Xen have gone upstream so that patch no longer applies to current kernels. Some distributions (eg Fedora and Debian) seem to have Xen enabled kernels for recent kernel versions, but I don''t know how they got made - I''d be interested to learn! -- Nick Craig-Wood <nick@craig-wood.com> -- http://www.craig-wood.com/nick _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Fri, 2008-05-16 at 15:52 +0100, Nick Craig-Wood wrote:> Heiko Rehder <heiko.rehder@nordakademie.de> wrote: > > I''m new to the list and I like to create a Xen Dom0 kernel with 2.6.24 > > kernel-sources, because I need the drivers of that kernel version. > > We are in the same situation - 2.6.18 doesn''t support the latest > hardware we are getting in. > > > I downloaded the Xen 3.2 Soruces tar.gz and tried to compile, but that > > failed. > > > > I think that only do "make world" will build an 2.6.18 Kernel but I > > couldn''t check that yet. So I think I need to connect the Xen sources > > somehow to my recent kernel sources. > > The way I''ve done this is the past is to do > > make mkpatches > > In the xen source tree. This produces linux-2.6-xen.patch which you > can then apply to the kernel tree of your choice. > > However the kernel has moved on since 2.6.18 and bits of Xen have gone > upstream so that patch no longer applies to current kernels. > > Some distributions (eg Fedora and Debian) seem to have Xen enabled > kernels for recent kernel versions, but I don''t know how they got made > - I''d be interested to learn!Those kernels are currently domU (and 32 bit) only. Dom0 support for the paravirt kernels is being worked on by the Fedora guys for F10 http://git.et.redhat.com/?p=linux-2.6-dom0-pvops.git;a=summary http://fedoraproject.org/wiki/Features/XenPvopsDom0 Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Fri, 16 May 2008, Ian Campbell wrote:>> Some distributions (eg Fedora and Debian) seem to have Xen enabled >> kernels for recent kernel versions, but I don''t know how they got made >> - I''d be interested to learn! > > Those kernels are currently domU (and 32 bit) only. Dom0 support for the > paravirt kernels is being worked on by the Fedora guys for F10 > http://git.et.redhat.com/?p=linux-2.6-dom0-pvops.git;a=summary > http://fedoraproject.org/wiki/Features/XenPvopsDom0Actually, Ubuntu 8.04 claims to offer a 2.6.24 kernel that can run on 64-bit, dom0 and domU.. from my 64-bit machine: nc@nc-desktop:~$ apt-cache show linux-image-2.6.24-16-xen | grep ^Desc Description: Linux kernel image for version 2.6.24 on This kernel can be used for Xen dom0 and domU I keep meaning to try it out, and then figure out where their patches came from, but haven''t gotten to it yet. ;) ------------------------------------------------------------------------ | nate carlson | natecars@natecarlson.com | http://www.natecarlson.com | | depriving some poor village of its idiot since 1981 | ------------------------------------------------------------------------ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> Actually, Ubuntu 8.04 claims to offer a 2.6.24 kernel that can run on > 64-bit, dom0 and domU.. from my 64-bit machine:There has been quite a bit of testing of this see: http://www.howtoforge.com/ubuntu-8.04-server-install-xen-from-ubuntu-repositories http://deshantm.livejournal.com/29959.html _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Todd Deshane writes ("Re: [Xen-devel] Compiling 2.6.24 Dom0 Kernel"):> There has been quite a bit of testing of this see: > http://www.howtoforge.com/ubuntu-8.04-server-install-xen-from-ubuntu-repositories > http://deshantm.livejournal.com/29959.htmlThis is very interesting. I wanted to see what those 2.6.24 dom0 kernels were like but THERE WAS NO SOURCE CODE for the unofficial fixed kernels ! [1][2] Could you please get the source code for those kernels put up alongside them, as a matter of urgency ? Failing to provide source code makes it impossible for anyone to work properly with this software, and violates the copyright licence. [1] http://www.il.is.s.u-tokyo.ac.jp/%7Ehiranotaka/ [2] http://downloads.howtoforge.com/ubuntu_8.04_server_xen_from_repositories/ In the meantime I''ll take a look at what''s in the stock Ubuntu 8.04 2.6.24 kernels. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Tue, May 20, 2008 at 5:35 AM, Ian Jackson <Ian.Jackson@eu.citrix.com> wrote:> Todd Deshane writes ("Re: [Xen-devel] Compiling 2.6.24 Dom0 Kernel"): >> There has been quite a bit of testing of this see: >> http://www.howtoforge.com/ubuntu-8.04-server-install-xen-from-ubuntu-repositories >> http://deshantm.livejournal.com/29959.html > > This is very interesting. I wanted to see what those 2.6.24 dom0 > kernels were like but THERE WAS NO SOURCE CODE for the unofficial > fixed kernels ! [1][2] Could you please get the source code for those > kernels put up alongside them, as a matter of urgency ? > > Failing to provide source code makes it impossible for anyone to work > properly with this software, and violates the copyright licence. > > [1] http://www.il.is.s.u-tokyo.ac.jp/%7Ehiranotaka/ > [2] http://downloads.howtoforge.com/ubuntu_8.04_server_xen_from_repositories/ > > In the meantime I''ll take a look at what''s in the stock Ubuntu 8.04 > 2.6.24 kernels. >I forward the message to Hirano, but in the mean time, his patches and links to them are described in an email to the Ubuntu kernel team here: https://lists.ubuntu.com/archives/kernel-team/2008-April/002347.html Cheers, Todd _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel