Hi, How create the xen kernel create. I download linux-2.6.18-xen-3.3.0. I do make menu config; make m make installes_modules but there are not a bzimage in /archi386/boot/. And in the xen source I test make dist, make world; it s download a new kernel but it don t want compile when i config with make menuconfig. So what is the file that make and copy in the kernel ? What is the process for install xen with the xen kernel ? the README said : ./install make dist ! :s -- Cyril _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ok thank you for the response. But after pute title Xen 3.3 / XenLinux 2.6 kernel /boot/xen-3.3.gz console=vga module /boot/vmlinuz-2.6.18.8-xen root=/dev/hda1 ro console=tty0 in grub/menu. My new kernel not boot. If I do make menuconfig in xen-3.3.1/linux-2.6.18-xen.hg Make dist not compile :s. how I can add my drivers and modules for my machine ? -----Message d'origine----- De : Yi, Shunli [mailto:syi@websense.com] Envoyé : mercredi 11 mars 2009 14:35 À : Cyril DE DANILOFF; xen-users@lists.xensource.com Objet : 答复: cearte kernel Hi: Please refer to http://www.xen.org/download/docs/xen33.linux-2.6.18.README.txt. steps: 1. download the xen-3.3.1.tar.gz 2. tar -zxf xen-3.3.1.tar.gz 3. Download kernel code by "http://www.xen.org/download/docs/xen33.linux-2.6.18.README.txt" 4. cd to folder xen-3.3.1 5. make prep-kernels. 6. run other make commands you want.( you can get help by "make help") enjoy your time :) Shunli ________________________________________ 发件人: xen-users-bounces@lists.xensource.com [xen-users-bounces@lists.xensource.com] 代表 Cyril DE DANILOFF [cyril@fwa.eu] 发送时间: 2009年3月11日 19:05 收件人: xen-users@lists.xensource.com 主题: [Xen-users] cearte kernel Hi, How create the xen kernel create. I download linux-2.6.18-xen-3.3.0. I do make menu config; make m make installes_modules but there are not a bzimage in /archi386/boot/. And in the xen source I test make dist, make world; it s download a new kernel but it don t want compile when i config with make menuconfig. So what is the file that make and copy in the kernel ? What is the process for install xen with the xen kernel ? the README said : ./install make dist ! :s -- Cyril __________ Information from ESET NOD32 Antivirus, version of virus signature database 3925 (20090311) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com Click here<https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==> to report this email as spam. Protected by Websense Hosted Email Security -- www.websense.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3926 (20090311) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3926 (20090311) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
The boot menu for xen kernel is a little different with normal Linux kernel. Please change your boot menu refer this example: title Centos-2.6.18(2.6.18) root (hd1,4) kernel /boot/xen.gz-2.6.18.8-1 vga=gfx-1280x1024x16 module /boot/vmlinuz-2.6.18.8-1xen ro root=/dev/sdb5 module /boot/initrd-2.6.18.8-1xen.img This boot menu works on my workstation. the parameter vga indicate that, to enable frame buffer in booting(or text mode).This need your kernel supports. Please select the frame buffer support in kernel configuration. For the kernel configuration, after you implement "make prep-kernels" , a new kernel folder will be generated under xen-3.3.x. (named build-linux-2.6.18-xen_x86_32 for my build.). Just run "make menuconfig" in this new kernel folder. You can customize your new kernel now, and command "make kernels" in folder xen-3.3.x can build the new kernels. Best Regards! SHUNLI -----Original Message----- From: Cyril DE DANILOFF [mailto:cyril@fwa.eu] Sent: 2009年3月11日 23:05 To: Yi, Shunli; xen-users@lists.xensource.com Subject: RE: cearte kernel Ok thank you for the response. But after pute title Xen 3.3 / XenLinux 2.6 kernel /boot/xen-3.3.gz console=vga module /boot/vmlinuz-2.6.18.8-xen root=/dev/hda1 ro console=tty0 in grub/menu. My new kernel not boot. If I do make menuconfig in xen-3.3.1/linux-2.6.18-xen.hg Make dist not compile :s. how I can add my drivers and modules for my machine ? -----Message d'origine----- De : Yi, Shunli [mailto:syi@websense.com] Envoyé : mercredi 11 mars 2009 14:35 À : Cyril DE DANILOFF; xen-users@lists.xensource.com Objet : 答复: cearte kernel Hi: Please refer to http://www.xen.org/download/docs/xen33.linux-2.6.18.README.txt. steps: 1. download the xen-3.3.1.tar.gz 2. tar -zxf xen-3.3.1.tar.gz 3. Download kernel code by "http://www.xen.org/download/docs/xen33.linux-2.6.18.README.txt" 4. cd to folder xen-3.3.1 5. make prep-kernels. 6. run other make commands you want.( you can get help by "make help") enjoy your time :) Shunli ________________________________________ 发件人: xen-users-bounces@lists.xensource.com [xen-users-bounces@lists.xensource.com] 代表 Cyril DE DANILOFF [cyril@fwa.eu] 发送时间: 2009年3月11日 19:05 收件人: xen-users@lists.xensource.com 主题: [Xen-users] cearte kernel Hi, How create the xen kernel create. I download linux-2.6.18-xen-3.3.0. I do make menu config; make m make installes_modules but there are not a bzimage in /archi386/boot/. And in the xen source I test make dist, make world; it s download a new kernel but it don t want compile when i config with make menuconfig. So what is the file that make and copy in the kernel ? What is the process for install xen with the xen kernel ? the README said : ./install make dist ! :s -- Cyril __________ Information from ESET NOD32 Antivirus, version of virus signature database 3925 (20090311) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com Click here<https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==> to report this email as spam. Protected by Websense Hosted Email Security -- www.websense.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3926 (20090311) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3926 (20090311) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi I was wondering what is the official procedure to compile Xen 3.3.1. In fact the readme that comes with this release says: make world make install however, this does not copy the compiled vmlinuz-2.6.26-1-xen-686 into /boot it seems that I have to run ./install.sh as well. if instead I say: make world KERNELS="linux-2.6-xen0 linux-2.6.-xenU" as suggested in the readme and in the users manual, I will get: vmlinuz-2.6.18.8-xen0 and vmlinuz-2.6.18.8-xenU ( note the different versions ) also , the xen download site talks about 2.6.18.-8 and not ( yet ) about 2.6.26.1 in a recent mail , the following procedure was suggested:> Hi: > Please refer to http://www.xen.org/download/docs/xen33.linux-2.6.18.README.txt. > > steps: > 1. download the xen-3.3.1.tar.gz > 2. tar -zxf xen-3.3.1.tar.gz > 3. Download kernel code by "http://www.xen.org/download/docs/xen33.linux-2.6.18.README.txt" > 4. cd to folder xen-3.3.1 > 5. make prep-kernels. > 6. run other make commands you want.( you can get help by "make help") > > > enjoy your time :) > > Shunli >My questions are: on a fresh debian lenny system: 1) what is the recommend installation command sequence ? 2) what is the recommend kernel version for dom0 and domU ? Thanks very much for your help peter _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I tend to compile my kernels separately after doing make world and make install make linux-2.6-xen0-config CONFIGMODE=menuconfig KERNELS="linux-2.6-xen0" followed by: make linux-2.6-xen0-build KERNELS="linux-2.6-xen0" make linux-2.6-xen0-install KERNELS="linux-2.6-xen0" And the same 3 options for domU (or xenU) Below is an incomplete list of debian packages required to compile xen from source on a debian etch or lenny server. xinetd bzip2 zlib1g-dev make autoconf libncurses5 (and dev) python python2.5 python2.5-dev bridge-utils patch zlib-dev iproute (and dev) udev tetex-bin (for docs) tetex-extra latex2html xfig (and libs) to build docs transfig graphviz texinfo libpci-dev libx11-dev libcrypto (try libgcrypt & dev) libssl-dev For HVM on Xen bin86 bcc mercurial (to download the linux-image) Xend has the following runtime requirements: python-pyopenssl python-pam python-xml On Tue, 2009-03-17 at 23:37 +0100, Peter wrote:> > My questions are: > on a fresh debian lenny system: > 1) what is the recommend installation command sequence ? > 2) what is the recommend kernel version for dom0 and domU ? > > Thanks very much for your help > peter > > > _______________________________________________ > 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
Thiago Camargo Martins Cordeiro wrote: Try the Xen Live CD! It''s a Debian Lenny! ;-) http://wiki.xensource.com/xenwiki/LiveCD - Thiago 2009/3/20 Thiago Camargo Martins Cordeiro <thiagocmartinsc@gmail.com> You do not need to compile entire Xen and a dom0 kernel if you are running Debian Lenny... Just install Debian Lenny and to install Xen, run: apt-get install xen-linux-system-2.6.26-1-xen-686 reboot ;-) - Thiago 2009/3/17 Peter <vmail@mycircuit.org> Hi I was wondering what is the official procedure to compile Xen 3.3.1. In fact the readme that comes with this release says: make world make install however, this does not copy the compiled vmlinuz-2.6.26-1-xen-686 into /boot it seems that I have to run ./install.sh as well. if instead I say: make world KERNELS="linux-2.6-xen0 linux-2.6.-xenU" as suggested in the readme and in the users manual, I will get: vmlinuz-2.6.18.8-xen0 and vmlinuz-2.6.18.8-xenU ( note the different versions ) also , the xen download site talks about 2.6.18.-8 and not ( yet ) about 2.6.26.1 in a recent mail , the following procedure was suggested: Hi: Please refer to http://www.xen.org/download/docs/xen33.linux-2.6.18.README.txt. steps: 1. download the xen-3.3.1.tar.gz 2. tar -zxf xen-3.3.1.tar.gz 3. Download kernel code by "http://www.xen.org/download/docs/xen33.linux-2.6.18.README.txt" 4. cd to folder xen-3.3.1 5. make prep-kernels. 6. run other make commands you want.( you can get help by "make help") enjoy your time :) Shunli My questions are: on a fresh debian lenny system: 1) what is the recommend installation command sequence ? 2) what is the recommend kernel version for dom0 and domU ? Thanks very much for your help peter _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users Hi Thanks very much for your help. In fact, I wanted to compile myself to better understand xen and also because I will ultimately want to build a custom kernel with xen. I also think it could benefit to other users if installation instructions were consolidated in the different places where they appear. For example, the README of the latest 3.3.1 tarball suggest , that you call make world KERNELS="linux-2.6-xen0 linux-2.6-xenU" however the Installation instructions on the web reads as follows: ... Many users will be better off using the "-xen" kernel instead of "-xen0" and "-xenU" kernels. .... In fact, the usage of the make world command is not suggested ! I did the following to successfully install xen 3.3.1 on debian lenny. This is adapted from thoandswelt.blogspot.com/2008/10/xen-33-installation-auf-debian-etch.html ( in german ) and maybe it would be useful for people new to xen to have something clear and straigthforward on the xen website ( maybe its already there but I missed it ... ) (my) Installation Instructions for xen 3.3.1 on a pristine debian lenny 5.0.0 ( please notify if this is incorrect ) : aptitude update && aptitude dist-upgrade aptitude install build-essential mercurial gawk libx11-dev libssl-dev zlib1g-dev gettext ncurses-dev python-dev iproute bridge-utils texinfo pciutils-dev wget http://bits.xensource.com/oss-xen/release/3.3.1/xen-3.3.1.tar.gz tar xvzpf xen-3.3.1.tar.gz cd xen-3.3.1 make world && make dist ./install.sh aptitude install linux-image-xen-686 add this to /boot/grub/menu.lst title Debian GNU/Linux, kernel vmlinuz-2.6.26-1-xen-686 root (hd0,0) kernel /boot/xen-3.3.1.gz module /boot/vmlinuz-2.6.26-1-xen-686 root=/dev/hda1 ro module /boot/initrd.img-2.6.26-1-xen-686 savedefault _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I think by this you will not be able to compile hvm support. When I remember right, you need bcc and bin86 installed and it''s not part of build-essential. But I might be wrong...check whether hvmloader is built. BR, Carsten. You wrote: Hi Thanks very much for your help. In fact, I wanted to compile myself to better understand xen and also because I will ultimately want to build a custom kernel with xen. I also think it could benefit to other users if installation instructions were consolidated in the different places where they appear. For example, the README of the latest 3.3.1 tarball suggest , that you call make world KERNELS="linux-2.6-xen0 linux-2.6-xenU" however the Installation instructions on the web reads as follows: ... Many users will be better off using the "-xen" kernel instead of "-xen0" and "-xenU" kernels. .... In fact, the usage of the make world command is not suggested ! I did the following to successfully install xen 3.3.1 on debian lenny. This is adapted from thoandswelt.blogspot.com/2008/10/xen-33-installation-auf-debian-etch.html ( in german ) and maybe it would be useful for people new to xen to have something clear and straigthforward on the xen website ( maybe its already there but I missed it ... ) (my) Installation Instructions for xen 3.3.1 on a pristine debian lenny 5.0.0 ( please notify if this is incorrect ) : aptitude update && aptitude dist-upgrade aptitude install build-essential mercurial gawk libx11-dev libssl-dev zlib1g-dev gettext ncurses-dev python-dev iproute bridge-utils texinfo pciutils-dev wget http://bits.xensource.com/oss-xen/release/3.3.1/xen-3.3.1.tar.gz tar xvzpf xen-3.3.1.tar.gz cd xen-3.3.1 make world && make dist ./install.sh aptitude install linux-image-xen-686 add this to /boot/grub/menu.lst title Debian GNU/Linux, kernel vmlinuz-2.6.26-1-xen-686 root (hd0,0) kernel /boot/xen-3.3.1.gz module /boot/vmlinuz-2.6.26-1-xen-686 root=/dev/hda1 ro module /boot/initrd.img-2.6.26-1-xen-686 savedefault _______________________________________________ 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
Hi, here is what I did: aptitude install build-essential mercurial gawk libx11-dev libssl-dev zlib1g-dev gettext ncurses-dev python-dev iproute bridge-utils texinfo pciutils-dev pkg-config bin86 bcc bzip2 cd /usr/src/ wget "http://bits.xensource.com/oss-xen/release/3.3.1/xen-3.3.1.tar.gz" tar -xzvf xen-3.3.1.tar.gz cd /usr/src/xen-3.3.1/ make -s xen make -s tools make -s stubdom .. compile your kernel or use linux-image-2.6-xen-686 make install-xen make install-tools make install-stubdom sed -i ''s/# xenhopt=/# xenhopt=dom0_mem=256m/g'' /boot/grub/menu.lst update-grub update-rc.d xend defaults 20 21 update-rc.d xendomains defaults 21 20 reboot Cu, Fabian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fabian Zimmermann wrote:> Hi, > > here is what I did: > > aptitude install build-essential mercurial gawk libx11-dev libssl-dev > zlib1g-dev gettext ncurses-dev python-dev iproute bridge-utils texinfo > pciutils-dev pkg-config bin86 bcc bzip2 > cd /usr/src/ > wget "http://bits.xensource.com/oss-xen/release/3.3.1/xen-3.3.1.tar.gz" > tar -xzvf xen-3.3.1.tar.gz > cd /usr/src/xen-3.3.1/ > make -s xen > make -s tools > make -s stubdom > > .. compile your kernel or use linux-image-2.6-xen-686 > > make install-xen > make install-tools > make install-stubdom > sed -i ''s/# xenhopt=/# xenhopt=dom0_mem=256m/g'' /boot/grub/menu.lst > update-grub > update-rc.d xend defaults 20 21 > update-rc.d xendomains defaults 21 20 > reboot > > Cu, > Fabian > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersHi Thanks a lot. What confuses me, is that ( if I correctly understand the Makefile ) , the option "KERNELS="linux-2.6-xen0 linux-2.6-xenU" in the command : make world "KERNELS="linux-2.6-xen0 linux-2.6-xenU" causes the build of two (older ) kernels 2.6.18 ( one for dom0 and a lighter version domU for the guests ) . But without any option in make world , _no_ kernel is built at all and I have to use the one that comes with the distribution ( in the debian case linux-image-2.6-xen-686 ). Its a more recent one ( 2.6.26-1 ) . Is there no way ( no need ) to build this kernel from the xen Makefile ? I guess, I am missing something ? Peter _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, > What confuses me, is that ( if I correctly understand the Makefile ) , > the option "KERNELS="linux-2.6-xen0 linux-2.6-xenU" in the command : > > make world "KERNELS="linux-2.6-xen0 linux-2.6-xenU" > > causes the build of two (older ) kernels 2.6.18 ( one for dom0 and a > lighter version domU for the guests ) . But without any option in make > world , _no_ kernel is built at all and I have to use the one that comes > with the distribution ( in the debian case linux-image-2.6-xen-686 ). > Its a more recent one ( 2.6.26-1 ) . Is there no way ( no need ) to > build this kernel from the xen Makefile ? - as far as I know - The 2.6-xen was patched to work as Xen-Dom0, but the "real" Xen-Dom0-Kernel is still 2.6.18.8. I personally would try 2.6-xen and switch to 2.6.18.8 if you run into trouble. Bye, Fabian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users