Hi, I am new to Xen and trying to install xen 3.4.0 on a Linux box. I followed the user manual packaged in the tar ball and in section 2.4.2, "To customize the set of kernels built you need to edit the top-level Makefile. Look for the line: KERNELS ? + linux-2.6-xen0 linux-2.6-xenU ..." Unfortunately, I did not find that, is the manual out of date? Best regards, Donglai _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, I am new to Xen and trying to install xen 3.4.0 on a Linux box. I followed the user manual packaged in the tar ball and in section 2.4.2, "To customize the set of kernels built you need to edit the top-level Makefile. Look for the line: KERNELS ? + linux-2.6-xen0 linux-2.6-xenU ..." Unfortunately, I did not find that, is the manual out of date? Best regards, Donglai _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2009-May-26 07:12 UTC
Re: [Xen-users] Install xen 3.4.0 and build from source
The very first time do :- # hg clone http://xenbits.xensource.com/xen-3.4-testing.hg # cd xen-3.4-testing.hg # make world Next step will install standard 2.6.18.8-xen on your system # make install I''ve never customized 2.6.18.8-xen. Per README :- 5. To rebuild a kernel with a modified config: # make linux-2.6-xen-config CONFIGMODE=menuconfig (or xconfig) # make linux-2.6-xen-build # make linux-2.6-xen-install So, i would try just to do it afterwards . Different option ( i understand, that it would build kernel twice) :- # make world # make install-xen # make install-tools # make install-stubdom Rebuild and install customized kernel # make linux-2.6-xen-config CONFIGMODE=menuconfig (or xconfig) # make linux-2.6-xen-build # make linux-2.6-xen-install Boris. --- On Tue, 5/26/09, Donglai Zhang <dlzhangster@gmail.com> wrote: From: Donglai Zhang <dlzhangster@gmail.com> Subject: [Xen-users] Install xen 3.4.0 and build from source To: xen-users@lists.xensource.com Date: Tuesday, May 26, 2009, 12:47 AM Hi, I am new to Xen and trying to install xen 3.4.0 on a Linux box. I followed the user manual packaged in the tar ball and in section 2.4.2, "To customize the set of kernels built you need to edit the top-level Makefile. Look for the line: KERNELS ? + linux-2.6-xen0 linux-2.6-xenU ..." Unfortunately, I did not find that, is the manual out of date? Best regards, Donglai -----Inline Attachment Follows----- _______________________________________________ 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
Donglai Zhang
2009-May-28 04:01 UTC
Re: [Xen-users] Install xen 3.4.0 and build from source
Hi, Boris: Thanks for that !! Donglai On Tue, May 26, 2009 at 4:42 PM, Boris Derzhavets <bderzhavets@yahoo.com>wrote:> The very first time do :- > > # hg clone http://xenbits.xensource.com/xen-3.4-testing.hg > # cd xen-3.4-testing.hg > # make world > > Next step will install standard 2.6.18.8-xen on your system > > # make install > > I''ve never customized 2.6.18.8-xen. Per README :- > > 5. To rebuild a kernel with a modified config: > > # make linux-2.6-xen-config CONFIGMODE=menuconfig (or xconfig) > # make linux-2.6-xen-build > # make linux-2.6-xen-install > > So, i would try just to do it afterwards . > Different option ( i understand, that it would build kernel twice) :- > > # make world > # make install-xen > # make install-tools > # make install-stubdom > > Rebuild and install customized kernel > > # make linux-2.6-xen-config CONFIGMODE=menuconfig (or xconfig) > # make linux-2.6-xen-build > # make linux-2.6-xen-install > > > Boris. > > --- On *Tue, 5/26/09, Donglai Zhang <dlzhangster@gmail.com>* wrote: > > > From: Donglai Zhang <dlzhangster@gmail.com> > Subject: [Xen-users] Install xen 3.4.0 and build from source > To: xen-users@lists.xensource.com > Date: Tuesday, May 26, 2009, 12:47 AM > > > Hi, > > I am new to Xen and trying to install xen 3.4.0 on a Linux > box. > I followed the user manual packaged in the tar ball and in > section 2.4.2, > "To customize the set of kernels built you need to edit the > top-level Makefile. Look for the line: > KERNELS ? + linux-2.6-xen0 linux-2.6-xenU > ..." > > Unfortunately, I did not find that, is the manual out of > date? > > > Best regards, > > Donglai > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > >-- Donglai Zhang Ph.D Candidate School of Computer Science University of Adelaide, SA, Australia 5083 Tel: 0061 8 83036166 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Donglai Zhang
2009-May-31 06:52 UTC
Re: [Xen-users] Install xen 3.4.0 and build from source
Hi, I followed the following steps and after #make world, everything seems fine. In #make install: I got the error information: .... include2/asm/byteorder.h:5:28: error: linux/compiler.h: No such file or directory //Donglai : after paused for a while, it continued. Building modules, stage 2. MODPOST ....... Then I got following error: ..... gcc -O2 -fomit-frame-pointer -m32 -march=i686 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .build.o.d -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -DNDEBUG -Werror -fno-stack-protector -fno-builtin -msoft-float -I. -I.. -I../../../../tools/include -c -o build.o build.c build.c: In function ‘construct_secondary_tables’: build.c:184: error: ‘AmlCode_PM’ undeclared (first use in this function) build.c:184: error: (Each undeclared identifier is reported only once build.c:184: error: for each function it appears in.) make[8]: *** [build.o] Error 1 Any idea what is the problem? Thanks! Donglai On Tue, May 26, 2009 at 4:42 PM, Boris Derzhavets <bderzhavets@yahoo.com>wrote:> The very first time do :- > > # hg clone http://xenbits.xensource.com/xen-3.4-testing.hg > # cd xen-3.4-testing.hg > # make world > > Next step will install standard 2.6.18.8-xen on your system > > # make install> > > I''ve never customized 2.6.18.8-xen. Per README :- > > 5. To rebuild a kernel with a modified config: > > # make linux-2.6-xen-config CONFIGMODE=menuconfig (or xconfig) > # make linux-2.6-xen-build > # make linux-2.6-xen-install > > So, i would try just to do it afterwards . > Different option ( i understand, that it would build kernel twice) :- > > # make world > # make install-xen > # make install-tools > # make install-stubdom > > Rebuild and install customized kernel > > # make linux-2.6-xen-config CONFIGMODE=menuconfig (or xconfig) > # make linux-2.6-xen-build > # make linux-2.6-xen-install > > > Boris. > > --- On *Tue, 5/26/09, Donglai Zhang <dlzhangster@gmail.com>* wrote: > > > From: Donglai Zhang <dlzhangster@gmail.com> > Subject: [Xen-users] Install xen 3.4.0 and build from source > To: xen-users@lists.xensource.com > Date: Tuesday, May 26, 2009, 12:47 AM > > > Hi, > > I am new to Xen and trying to install xen 3.4.0 on a Linux > box. > I followed the user manual packaged in the tar ball and in > section 2.4.2, > "To customize the set of kernels built you need to edit the > top-level Makefile. Look for the line: > KERNELS ? + linux-2.6-xen0 linux-2.6-xenU > ..." > > Unfortunately, I did not find that, is the manual out of > date? > > > Best regards, > > Donglai > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > >-- Donglai Zhang Ph.D Candidate School of Computer Science University of Adelaide, SA, Australia 5083 Tel: 0061 8 83036166 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users