Hi all, I would like to know the right way to install xen3 from source. This is my current installation procedure. First: vi Makefile #KERNELS ?= linux-2.6-xen0 linux-2.6-xenU KERNELS ?= linux-2.6 This step isn''t necessary now, right? and then I do: 1. make linux-2.6-xen-config CONFIGMODE=menuconfig 2. make dist 3. make install 4. make linux-2.6-xen-build 5. make linux-2.6-xen-install If I want to recompile the kernel to include or exclude modules, I do steps 1, 4, 5. This works, but is there a better/faster way? Thanks. Chris. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, On 7/19/06, Chris Fanning <christopher.fanning@gmail.com> wrote:> [...] > If I want to recompile the kernel to include or exclude modules, I do > steps 1, 4, 5. > > This works, but is there a better/faster way?If you want to recompile the kernel, you have to recompile the kernel - You could make it much faster by removing the part that takes the most time while recompiling the kernel - recompiling the kernel, but then, you wouldn''t recompile the kernel :) To be serious: the only way I know you can speed up recompiling the kernel is removing any unnecessary modules. And if you split into xen0 and xenU kernel, you can cut each single kernel even more, and you are faster if you ony need to change one of these. There was a question here once asking which kernel features must keep in the kernel to keep xen fully working, but was never answered. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi. This is not xen-only stuff, but I use ccache to speed up compilations. Install it and add these lines to your .bash_profile. if [ -d /usr/lib/ccache ] ; then PATH=/usr/lib/ccache:"${PATH}" fi The package files location might vary depending on your distro. It saves a lot of time when recompiling. On 7/19/06, Henning Sprang wrote:> > Hi, > > On 7/19/06, Chris Fanning wrote: > > [...] > > If I want to recompile the kernel to include or exclude modules, I do > > steps 1, 4, 5. > > > > This works, but is there a better/faster way? > > If you want to recompile the kernel, you have to recompile the kernel > - You could make it much faster by removing the part that takes the > most time while recompiling the kernel - recompiling the kernel, but > then, you wouldn''t recompile the kernel :) > > To be serious: the only way I know you can speed up recompiling the > kernel is removing any unnecessary modules. And if you split into xen0 > and xenU kernel, you can cut each single kernel even more, and you are > faster if you ony need to change one of these. > > There was a question here once asking which kernel features must keep > in the kernel to keep xen fully working, but was never answered. > > Henning > > _______________________________________________ > 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
Thanks Abel, I''ll try that. On 7/19/06, Abel Martín <abel.martin.ruiz@gmail.com> wrote:> Hi. > > This is not xen-only stuff, but I use ccache to speed up compilations. > Install it and add these lines to your .bash_profile. > > if [ -d /usr/lib/ccache ] ; then > PATH=/usr/lib/ccache:"${PATH}" > fi > > The package files location might vary depending on your distro. It saves a > lot of time when recompiling. > > > On 7/19/06, Henning Sprang wrote: > > Hi, > > > On 7/19/06, Chris Fanning wrote: > > [...] > > If I want to recompile the kernel to include or exclude modules, I do > > steps 1, 4, 5. > > > > This works, but is there a better/faster way? > > If you want to recompile the kernel, you have to recompile the kernel > - You could make it much faster by removing the part that takes the > most time while recompiling the kernel - recompiling the kernel, but > then, you wouldn''t recompile the kernel :) > > To be serious: the only way I know you can speed up recompiling the > kernel is removing any unnecessary modules. And if you split into xen0 > and xenU kernel, you can cut each single kernel even more, and you are > faster if you ony need to change one of these. > > There was a question here once asking which kernel features must keep > in the kernel to keep xen fully working, but was never answered. > > Henning > > _______________________________________________ > 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 > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users