Patrick Scharrenberg
2005-Sep-07 10:55 UTC
[Xen-users] How to use a newer Kernel with 2.0.7
Hi! I tried xen-2.0.7 binary-package which is missing support for my ide-controller. So I started compiling myself, but wodering that the buildscripts use 2.6.11 instead of 2.6.11.12 like in the binary-package. How can I tell the build-scripts to use an fresher version of the 2.6.11er kernel? Thanks in advance Patrick _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, On Wednesday 07 September 2005 12:55, Patrick Scharrenberg wrote:> Hi! > > I tried xen-2.0.7 binary-package which is missing support for my > ide-controller. > So I started compiling myself, but wodering that the buildscripts use > 2.6.11 instead of 2.6.11.12 like in the binary-package. > How can I tell the build-scripts to use an fresher version of the > 2.6.11er kernel?I might be wrong (I don''t use xen Makefiles to patch/build my xen kernels), but I think they do apply the 2.6.11->2.6.11.12 patch together with the xen patches after unpacking the kernel. Did you check the actual version number of the kernel sources inside your xen directory? /Ernst _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Patrick Scharrenberg
2005-Sep-07 11:47 UTC
Re: [Xen-users] How to use a newer Kernel with 2.0.7
Ernst Bachmann schrieb:>> How can I tell the build-scripts to use an fresher version of the >> 2.6.11er kernel? >> > > > I might be wrong (I don''t use xen Makefiles to patch/build my xen > kernels), but I think they do apply the 2.6.11->2.6.11.12 patch > together with the xen patches after unpacking the kernel. > > Did you check the actual version number of the kernel sources inside > your xen directory? >The kernel-version-number inside-the xen-source is 2.6.11 :-/ Patrick _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2005-Sep-07 15:35 UTC
Re: [Xen-users] How to use a newer Kernel with 2.0.7
Once you make dist, it should build with the latest 2.6.11.x patch. The directory is still labelled "2.6.11" because it saves us updating the build system everytime a new stable branch patch comes out. We apply the patches out of the patches/linux-2.6.11 directory, which always includes the latest stable branch patche. Cheers, Mark On Wednesday 07 September 2005 12:47, Patrick Scharrenberg wrote:> Ernst Bachmann schrieb: > >> How can I tell the build-scripts to use an fresher version of the > >> 2.6.11er kernel? > > > > I might be wrong (I don''t use xen Makefiles to patch/build my xen > > kernels), but I think they do apply the 2.6.11->2.6.11.12 patch > > together with the xen patches after unpacking the kernel. > > > > Did you check the actual version number of the kernel sources inside > > your xen directory? > > The kernel-version-number inside-the xen-source is 2.6.11 :-/ > > Patrick > > > > _______________________________________________ > 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
Patrick Scharrenberg
2005-Sep-08 05:49 UTC
Re: [Xen-users] How to use a newer Kernel with 2.0.7
Mark Williamson schrieb:>Once you make dist, it should build with the latest 2.6.11.x patch. The >[...] > > >We apply the patches out of the patches/linux-2.6.11 directory, which always >includes the latest stable branch patche. > >I tried that one again. The file patches/linux-2.6.11/linux-2.6.11.12.patch indeed exists, but a make dist does not include it. I get a vmlinuz-2.6.11-dom0 not at .12 one. :-/ Patrick _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2005-Sep-08 19:24 UTC
Re: [Xen-users] How to use a newer Kernel with 2.0.7
> >We apply the patches out of the patches/linux-2.6.11 directory, which > > always includes the latest stable branch patche. > > I tried that one again. > The file patches/linux-2.6.11/linux-2.6.11.12.patch indeed exists, but a > make dist does not include it. > I get a vmlinuz-2.6.11-dom0 not at .12 one. :-/After a make dist on 2.0-testing (almost the same as 2.0.7 at this time) I get: --- mark@maw48:~/xen/xen-2.0.hg/dist/install/boot$ ls config-2.6.11.12-xen0 vmlinuz-2.6.11.12-xen0 xen-2.0.7.gz config-2.6.11.12-xenU vmlinuz-2.6.11.12-xenU xen-2.0.gz System.map-2.6.11.12-xen0 vmlinuz-2.6.11-xen0 xen-2.gz System.map-2.6.11.12-xenU vmlinuz-2.6.11-xenU xen.gz vmlinux-syms-2.6.11.12-xen0 vmlinuz-2.6-xen0 xen-syms-2.0.7 --- Where most of the files you see are actually symlinks: vmlinuz-2.6-xen0 symlinks to vmlinuz-2.6.11-xen0 symlinks to vmlinuz-2.6.11.12-xen0. Also, I get: --- mark@maw48:~/xen/xen-2.0.hg$ head linux-2.6.11-xen0/Makefile VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 11 EXTRAVERSION = .12$(XENGUEST) XENGUEST = -xen0 NAME=Woozy Beaver # *DOCUMENTATION* # To see a list of typical targets execute "make help" # More info can be located in ./README --- Where EXTRAVERSION shows the patch has been applied... If this isn''t working for you, maybe it''ll be fixed by using -testing: it''s pretty conservative, so it shouldn''t generally introduce any regressions. Cheers, Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Patrick Scharrenberg
2005-Sep-09 11:39 UTC
Re: [Xen-users] How to use a newer Kernel with 2.0.7
On Thursday 08 September 2005 21:24, Mark Williamson wrote:> > After a make dist on 2.0-testing (almost the same as 2.0.7 at this time) I > get: > --- > mark@maw48:~/xen/xen-2.0.hg/dist/install/boot$ ls > config-2.6.11.12-xen0 vmlinuz-2.6.11.12-xen0 xen-2.0.7.gz > config-2.6.11.12-xenU vmlinuz-2.6.11.12-xenU xen-2.0.gz > System.map-2.6.11.12-xen0 vmlinuz-2.6.11-xen0 xen-2.gz > System.map-2.6.11.12-xenU vmlinuz-2.6.11-xenU xen.gz > vmlinux-syms-2.6.11.12-xen0 vmlinuz-2.6-xen0 xen-syms-2.0.7When I do a make dist in testing the Makefile fetches an builds a 2.6.12er kernel! How old was your testing-tarball you used? Patrick _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2005-Sep-10 03:34 UTC
Re: [Xen-users] How to use a newer Kernel with 2.0.7
> When I do a make dist in testing the Makefile fetches an builds a 2.6.12er > kernel! > How old was your testing-tarball you used? >I downloaded my testing using hg but I went and built some more copies to see if I could figure out what was going on. It seems to work for me in the 2.0.7 tarball as well... The directory is called linux-2.6.11 but it has the patch applied. There''s also the vmlinuz-2.6.11.12-xen0 that I saw when building on -testing. As I mentioned earlier you can check the patch level of the source by doing: head linux-2.6.11-xen0/Makefile And checking the value of EXTRAVERSION If it has a number in it (before the Xen stuff) then it got patched. Are you *really really* sure that you''re not getting a patched kernel? Have you tried booting it to see what number it displays? What do you see if you issue the "head" command above? What about "ls -l dist/install/boot"? HTH, Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Patrick Scharrenberg
2005-Sep-10 04:34 UTC
Re: [Xen-users] How to use a newer Kernel with 2.0.7
Hi! Okay now I found what was going wrong. I had set up a new tiny debian-system for use as domain-0 which was actiually missing "patch", so the .12-patch couldn''t be applied. :-/ Now it works and I get a 2.6.11.12 xen0-kernel Thanks for your help. Patrick _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users