Martinx - ジェームズ
2010-Mar-26 14:52 UTC
[Xen-users] Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits.
Hi! This is a quick guide to help us to try the new Xen. Also I have the composite window manager on top of the Xen! With full 3D support! To achieve this I do: 1- Install your Ubuntu Desktop 10.4 beta1 and upgrade your system; 1.1 - Install some packages: aptitude install build-essential libncurses5-dev dpkg-dev debhelper fakeroot 2- Download and install a new kernel with dom0 pv_ops enabled: sudo -s cd /usr/src git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen cd linux-2.6-xen git pull git reset --hard git checkout -b xen/stable origin/xen/stable git pull 2.1 - Download the kernel config file attached to this mail (config-for-xen-2.6.32.10-pvops): Copy the config file to the kernel source dir: cp ~Downloads/config-for-xen-2.6.32.10-pvops /usr/src/linux-2.6-xen/.config You can see the differences of my config file against the Lucid one: diff /boot/config-2.6.32-17-generic ~Downloads/config-for-xen-2.6.32.10-pvops | vim - ...both are close to each other. 2.2 Configure, compile and install: make menuconfig # Enable the dom0 support and the Xen backend/frontend/xenfs stuffs... make chmod g-s /usr/src -R # To avoid the error: "dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and <=0775)" make dep-pkg dpkg -i ../linux-image*2.6.32.10*.deb depmod 2.6.32.10 update-initramfs -c -k 2.6.32.10 update-grub echo "xen-evtchn" >> /etc/modules Now you can try your new kernel without Xen, if you want, it should work smootly. 3- Download and install the latest Xen: Preparing your environment: apt-get build-dep xen-3.3 aptitude install uuid-dev iasl texinfo Download and compile: cd /usr/src hg clone -r 4.0.0-rc8 http://xenbits.xensource.com/xen-unstable.hg cd xen-unstable.hg make xen make tools make stubdom make install-xen make install-tools PYTHON_PREFIX_ARG make install-stubdom update-rc.d xend defaults 20 21 update-rc.d xendomains defaults 21 20 4- Configuring your Grub2 through the file /etc/grub.d/40_custom: ---- cut here ---- #!/bin/sh exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the ''exec tail'' line above. menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { insmod ext2 set root=(hd0,1) multiboot (hd0,1)/xen-4.0.0-rc8.gz dummy=dummy module (hd0,1)/vmlinuz-2.6.32.10 dummy=dummy root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro module (hd0,1)/initrd.img-2.6.32.10 } ---- cut here ---- Don''t forget to change your "root=" option of your Linux! Run update-grub again: update-grub 5- Reboot into your new dom0! reboot 6- Look if your Xen is up and running xm list xm info .. if not: /etc/init.d/xendomains stop /etc/init.d/xend stop /etc/init.d/xend start /etc/init.d/xendomains start xm list xm info - Cheers! Thiago _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Martinx - ジェームズ
2010-Mar-26 14:56 UTC
[Xen-users] Re: Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits.
Hi! My "xm info" shows: root@tcmc-dell:~# xm in host : tcmc-dell release : 2.6.32.10 version : #2 SMP Wed Mar 24 18:52:25 BRT 2010 machine : x86_64 nr_cpus : 2 nr_nodes : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 2992 hw_caps : bfebfbff:20100800:00000000:00000940:0408e3fd:00000000:00000001:00000000 virt_caps : hvm total_memory : 3794 free_memory : 643 node_to_cpu : node0:0-1 node_to_memory : node0:643 node_to_dma32_mem : node0:580 max_node_id : 0 xen_major : 4 xen_minor : 0 xen_extra : .0-rc8 xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : Fri Mar 26 10:29:38 2010 +0000 21074:542211ba675c xen_commandline : cc_compiler : gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu2) cc_compile_by : root cc_compile_domain : worldweb.office cc_compile_date : Fri Mar 26 10:54:13 BRT 2010 xend_config_format : 4 martinx@tcmc-dell:~$ glxinfo name of display: :0.0 display: :0 screen: 0 direct rendering: Yes Cheers! Thiago 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com>> Hi! > > This is a quick guide to help us to try the new Xen. > Also I have the composite window manager on top of the Xen! With full 3D > support! > > To achieve this I do: > > 1- Install your Ubuntu Desktop 10.4 beta1 and upgrade your system; > > 1.1 - Install some packages: > > aptitude install build-essential libncurses5-dev dpkg-dev debhelper > fakeroot > > 2- Download and install a new kernel with dom0 pv_ops enabled: > > sudo -s > cd /usr/src > git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen > cd linux-2.6-xen > git pull > git reset --hard > git checkout -b xen/stable origin/xen/stable > git pull > > 2.1 - Download the kernel config file attached to this mail > (config-for-xen-2.6.32.10-pvops): > > Copy the config file to the kernel source dir: > > cp ~Downloads/config-for-xen-2.6.32.10-pvops > /usr/src/linux-2.6-xen/.config > > You can see the differences of my config file against the Lucid one: > > diff /boot/config-2.6.32-17-generic > ~Downloads/config-for-xen-2.6.32.10-pvops | vim - > > ...both are close to each other. > > 2.2 Configure, compile and install: > > make menuconfig # Enable the dom0 support and the Xen > backend/frontend/xenfs stuffs... > make > chmod g-s /usr/src -R # To avoid the error: "dpkg-deb: control > directory has bad permissions 2755 (must be >=0755 and <=0775)" > make dep-pkg > dpkg -i ../linux-image*2.6.32.10*.deb > depmod 2.6.32.10 > update-initramfs -c -k 2.6.32.10 > update-grub > echo "xen-evtchn" >> /etc/modules > > Now you can try your new kernel without Xen, if you want, it should work > smootly. > > 3- Download and install the latest Xen: > > Preparing your environment: > > apt-get build-dep xen-3.3 > aptitude install uuid-dev iasl texinfo > > Download and compile: > > cd /usr/src > hg clone -r 4.0.0-rc8 http://xenbits.xensource.com/xen-unstable.hg > cd xen-unstable.hg > make xen > make tools > make stubdom > make install-xen > make install-tools PYTHON_PREFIX_ARG> make install-stubdom > > update-rc.d xend defaults 20 21 > update-rc.d xendomains defaults 21 20 > > 4- Configuring your Grub2 through the file /etc/grub.d/40_custom: > > ---- cut here ---- > #!/bin/sh > exec tail -n +3 $0 > # This file provides an easy way to add custom menu entries. Simply type > the > # menu entries you want to add after this comment. Be careful not to > change > # the ''exec tail'' line above. > menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { > insmod ext2 > set root=(hd0,1) > multiboot (hd0,1)/xen-4.0.0-rc8.gz dummy=dummy > module (hd0,1)/vmlinuz-2.6.32.10 dummy=dummy > root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro > module (hd0,1)/initrd.img-2.6.32.10 > } > ---- cut here ---- > > Don''t forget to change your "root=" option of your Linux! > > Run update-grub again: > > update-grub > > 5- Reboot into your new dom0! > > reboot > > 6- Look if your Xen is up and running > > xm list > xm info > > .. if not: > > /etc/init.d/xendomains stop > /etc/init.d/xend stop > /etc/init.d/xend start > /etc/init.d/xendomains start > > xm list > xm info > > - > Cheers! > Thiago >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Mar-26 16:11 UTC
Re: [Xen-users] Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits.
Whats wrong with this, otherwise you want to switch current branch ? # cd /usr/src # git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen # cd linux-2.6-xen Down here you may select for checkout any branch listed in # git branch -r output # git checkout -b xen/stable origin/xen/stable # make menuconfig # make -j4 Boris. --- On Fri, 3/26/10, Martinx - ジェームズ <thiagocmartinsc@gmail.com> wrote: From: Martinx - ジェームズ <thiagocmartinsc@gmail.com> Subject: [Xen-users] Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits. To: "Xen List" <xen-users@lists.xensource.com> Date: Friday, March 26, 2010, 10:52 AM Hi! This is a quick guide to help us to try the new Xen. Also I have the composite window manager on top of the Xen! With full 3D support! To achieve this I do: 1- Install your Ubuntu Desktop 10.4 beta1 and upgrade your system; 1.1 - Install some packages: aptitude install build-essential libncurses5-dev dpkg-dev debhelper fakeroot 2- Download and install a new kernel with dom0 pv_ops enabled: sudo -s cd /usr/src git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen cd linux-2.6-xen git pull git reset --hard git checkout -b xen/stable origin/xen/stable git pull 2.1 - Download the kernel config file attached to this mail (config-for-xen-2.6.32.10-pvops): Copy the config file to the kernel source dir: cp ~Downloads/config-for-xen-2.6.32.10-pvops /usr/src/linux-2.6-xen/.config You can see the differences of my config file against the Lucid one: diff /boot/config-2.6.32-17-generic ~Downloads/config-for-xen-2.6.32.10-pvops | vim - ...both are close to each other. 2.2 Configure, compile and install: make menuconfig # Enable the dom0 support and the Xen backend/frontend/xenfs stuffs... make chmod g-s /usr/src -R # To avoid the error: "dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and <=0775)" make dep-pkg dpkg -i ../linux-image*2.6.32.10*.deb depmod 2.6.32.10 update-initramfs -c -k 2.6.32.10 update-grub echo "xen-evtchn" >> /etc/modules Now you can try your new kernel without Xen, if you want, it should work smootly. 3- Download and install the latest Xen: Preparing your environment: apt-get build-dep xen-3.3 aptitude install uuid-dev iasl texinfo Download and compile: cd /usr/src hg clone -r 4.0.0-rc8 http://xenbits.xensource.com/xen-unstable.hg cd xen-unstable.hg make xen make tools make stubdom make install-xen make install-tools PYTHON_PREFIX_ARG make install-stubdom update-rc.d xend defaults 20 21 update-rc.d xendomains defaults 21 20 4- Configuring your Grub2 through the file /etc/grub.d/40_custom: ---- cut here ---- #!/bin/sh exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the ''exec tail'' line above. menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { insmod ext2 set root=(hd0,1) multiboot (hd0,1)/xen-4.0.0-rc8.gz dummy=dummy module (hd0,1)/vmlinuz-2.6.32.10 dummy=dummy root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro module (hd0,1)/initrd.img-2.6.32.10 } ---- cut here ---- Don''t forget to change your "root=" option of your Linux! Run update-grub again: update-grub 5- Reboot into your new dom0! reboot 6- Look if your Xen is up and running xm list xm info .. if not: /etc/init.d/xendomains stop /etc/init.d/xend stop /etc/init.d/xend start /etc/init.d/xendomains start xm list xm info - Cheers! Thiago -----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
Martinx - ジェームズ
2010-Mar-26 17:12 UTC
Re: [Xen-users] Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits.
Thank you! I just followed the http://wiki.xensource.com/xenwiki/XenParavirtOpspage... Maybe it should be updated? 2010/3/26 Boris Derzhavets <bderzhavets@yahoo.com>> Whats wrong with this, otherwise you want to switch current branch ? > > # cd /usr/src > > # git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen > # cd linux-2.6-xen > > Down here you may select for checkout any branch listed in > > # git branch -r > > output > > # git checkout -b xen/stable origin/xen/stable > # make menuconfig > # make -j4 > > Boris. > > > --- On *Fri, 3/26/10, Martinx - ジェА璽爛 <thiagocmartinsc@gmail.com>* wrote: > > > From: Martinx - ジェА璽爛 <thiagocmartinsc@gmail.com> > Subject: [Xen-users] Running Xen 4.0.0-rc8 with Linux 2.6.32.10 > paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits. > To: "Xen List" <xen-users@lists.xensource.com> > Date: Friday, March 26, 2010, 10:52 AM > > > Hi! > > This is a quick guide to help us to try the new Xen. > Also I have the composite window manager on top of the Xen! With full 3D > support! > > To achieve this I do: > > 1- Install your Ubuntu Desktop 10.4 beta1 and upgrade your system; > > 1.1 - Install some packages: > > aptitude install build-essential libncurses5-dev dpkg-dev debhelper > fakeroot > > 2- Download and install a new kernel with dom0 pv_ops enabled: > > sudo -s > cd /usr/src > git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen > cd linux-2.6-xen > git pull > git reset --hard > git checkout -b xen/stable origin/xen/stable > git pull > > 2.1 - Download the kernel config file attached to this mail > (config-for-xen-2.6.32.10-pvops): > > Copy the config file to the kernel source dir: > > cp ~Downloads/config-for-xen-2.6.32.10-pvops > /usr/src/linux-2.6-xen/.config > > You can see the differences of my config file against the Lucid one: > > diff /boot/config-2.6.32-17-generic > ~Downloads/config-for-xen-2.6.32.10-pvops | vim - > > ...both are close to each other. > > 2.2 Configure, compile and install: > > make menuconfig # Enable the dom0 support and the Xen > backend/frontend/xenfs stuffs... > make > chmod g-s /usr/src -R # To avoid the error: "dpkg-deb: control > directory has bad permissions 2755 (must be >=0755 and <=0775)" > make dep-pkg > dpkg -i ../linux-image*2.6.32.10*.deb > depmod 2.6.32.10 > update-initramfs -c -k 2.6.32.10 > update-grub > echo "xen-evtchn" >> /etc/modules > > Now you can try your new kernel without Xen, if you want, it should work > smootly. > > 3- Download and install the latest Xen: > > Preparing your environment: > > apt-get build-dep xen-3.3 > aptitude install uuid-dev iasl texinfo > > Download and compile: > > cd /usr/src > hg clone -r 4.0.0-rc8 http://xenbits.xensource.com/xen-unstable.hg > cd xen-unstable.hg > make xen > make tools > make stubdom > make install-xen > make install-tools PYTHON_PREFIX_ARG> make install-stubdom > > update-rc.d xend defaults 20 21 > update-rc.d xendomains defaults 21 20 > > 4- Configuring your Grub2 through the file /etc/grub.d/40_custom: > > ---- cut here ---- > #!/bin/sh > exec tail -n +3 $0 > # This file provides an easy way to add custom menu entries. Simply type > the > # menu entries you want to add after this comment. Be careful not to > change > # the ''exec tail'' line above. > menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { > insmod ext2 > set root=(hd0,1) > multiboot (hd0,1)/xen-4.0.0-rc8.gz dummy=dummy > module (hd0,1)/vmlinuz-2.6.32.10 dummy=dummy > root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro > module (hd0,1)/initrd.img-2.6.32.10 > } > ---- cut here ---- > > Don''t forget to change your "root=" option of your Linux! > > Run update-grub again: > > update-grub > > 5- Reboot into your new dom0! > > reboot > > 6- Look if your Xen is up and running > > xm list > xm info > > .. if not: > > /etc/init.d/xendomains stop > /etc/init.d/xend stop > /etc/init.d/xend start > /etc/init.d/xendomains start > > xm list > xm info > > - > Cheers! > Thiago > > -----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 > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Outback Dingo
2010-Mar-26 18:27 UTC
Re: [Xen-users] Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits.
The following fails for me, whats missing make dep-pkg make[1]: *** No rule to make target `dep-pkg''. Stop. make: *** [dep-pkg] Error 2 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com>> Hi! > > This is a quick guide to help us to try the new Xen. > Also I have the composite window manager on top of the Xen! With full 3D > support! > > To achieve this I do: > > 1- Install your Ubuntu Desktop 10.4 beta1 and upgrade your system; > > 1.1 - Install some packages: > > aptitude install build-essential libncurses5-dev dpkg-dev debhelper > fakeroot > > 2- Download and install a new kernel with dom0 pv_ops enabled: > > sudo -s > cd /usr/src > git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen > cd linux-2.6-xen > git pull > git reset --hard > git checkout -b xen/stable origin/xen/stable > git pull > > 2.1 - Download the kernel config file attached to this mail > (config-for-xen-2.6.32.10-pvops): > > Copy the config file to the kernel source dir: > > cp ~Downloads/config-for-xen-2.6.32.10-pvops > /usr/src/linux-2.6-xen/.config > > You can see the differences of my config file against the Lucid one: > > diff /boot/config-2.6.32-17-generic > ~Downloads/config-for-xen-2.6.32.10-pvops | vim - > > ...both are close to each other. > > 2.2 Configure, compile and install: > > make menuconfig # Enable the dom0 support and the Xen > backend/frontend/xenfs stuffs... > make > chmod g-s /usr/src -R # To avoid the error: "dpkg-deb: control > directory has bad permissions 2755 (must be >=0755 and <=0775)" > make dep-pkg > dpkg -i ../linux-image*2.6.32.10*.deb > depmod 2.6.32.10 > update-initramfs -c -k 2.6.32.10 > update-grub > echo "xen-evtchn" >> /etc/modules > > Now you can try your new kernel without Xen, if you want, it should work > smootly. > > 3- Download and install the latest Xen: > > Preparing your environment: > > apt-get build-dep xen-3.3 > aptitude install uuid-dev iasl texinfo > > Download and compile: > > cd /usr/src > hg clone -r 4.0.0-rc8 http://xenbits.xensource.com/xen-unstable.hg > cd xen-unstable.hg > make xen > make tools > make stubdom > make install-xen > make install-tools PYTHON_PREFIX_ARG> make install-stubdom > > update-rc.d xend defaults 20 21 > update-rc.d xendomains defaults 21 20 > > 4- Configuring your Grub2 through the file /etc/grub.d/40_custom: > > ---- cut here ---- > #!/bin/sh > exec tail -n +3 $0 > # This file provides an easy way to add custom menu entries. Simply type > the > # menu entries you want to add after this comment. Be careful not to > change > # the ''exec tail'' line above. > menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { > insmod ext2 > set root=(hd0,1) > multiboot (hd0,1)/xen-4.0.0-rc8.gz dummy=dummy > module (hd0,1)/vmlinuz-2.6.32.10 dummy=dummy > root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro > module (hd0,1)/initrd.img-2.6.32.10 > } > ---- cut here ---- > > Don''t forget to change your "root=" option of your Linux! > > Run update-grub again: > > update-grub > > 5- Reboot into your new dom0! > > reboot > > 6- Look if your Xen is up and running > > xm list > xm info > > .. if not: > > /etc/init.d/xendomains stop > /etc/init.d/xend stop > /etc/init.d/xend start > /etc/init.d/xendomains start > > xm list > xm info > > - > Cheers! > Thiago > > _______________________________________________ > 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
Outback Dingo
2010-Mar-26 18:29 UTC
Re: [Xen-users] Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits.
hrmm guess you were thinking of make deb-pkg 2010/3/26 Outback Dingo <outbackdingo@gmail.com>> The following fails for me, whats missing > > make dep-pkg > make[1]: *** No rule to make target `dep-pkg''. Stop. > make: *** [dep-pkg] Error 2 > > > 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com> > >> Hi! >> >> This is a quick guide to help us to try the new Xen. >> Also I have the composite window manager on top of the Xen! With full 3D >> support! >> >> To achieve this I do: >> >> 1- Install your Ubuntu Desktop 10.4 beta1 and upgrade your system; >> >> 1.1 - Install some packages: >> >> aptitude install build-essential libncurses5-dev dpkg-dev debhelper >> fakeroot >> >> 2- Download and install a new kernel with dom0 pv_ops enabled: >> >> sudo -s >> cd /usr/src >> git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen >> cd linux-2.6-xen >> git pull >> git reset --hard >> git checkout -b xen/stable origin/xen/stable >> git pull >> >> 2.1 - Download the kernel config file attached to this mail >> (config-for-xen-2.6.32.10-pvops): >> >> Copy the config file to the kernel source dir: >> >> cp ~Downloads/config-for-xen-2.6.32.10-pvops >> /usr/src/linux-2.6-xen/.config >> >> You can see the differences of my config file against the Lucid one: >> >> diff /boot/config-2.6.32-17-generic >> ~Downloads/config-for-xen-2.6.32.10-pvops | vim - >> >> ...both are close to each other. >> >> 2.2 Configure, compile and install: >> >> make menuconfig # Enable the dom0 support and the Xen >> backend/frontend/xenfs stuffs... >> make >> chmod g-s /usr/src -R # To avoid the error: "dpkg-deb: control >> directory has bad permissions 2755 (must be >=0755 and <=0775)" >> make dep-pkg >> dpkg -i ../linux-image*2.6.32.10*.deb >> depmod 2.6.32.10 >> update-initramfs -c -k 2.6.32.10 >> update-grub >> echo "xen-evtchn" >> /etc/modules >> >> Now you can try your new kernel without Xen, if you want, it should work >> smootly. >> >> 3- Download and install the latest Xen: >> >> Preparing your environment: >> >> apt-get build-dep xen-3.3 >> aptitude install uuid-dev iasl texinfo >> >> Download and compile: >> >> cd /usr/src >> hg clone -r 4.0.0-rc8 http://xenbits.xensource.com/xen-unstable.hg >> cd xen-unstable.hg >> make xen >> make tools >> make stubdom >> make install-xen >> make install-tools PYTHON_PREFIX_ARG>> make install-stubdom >> >> update-rc.d xend defaults 20 21 >> update-rc.d xendomains defaults 21 20 >> >> 4- Configuring your Grub2 through the file /etc/grub.d/40_custom: >> >> ---- cut here ---- >> #!/bin/sh >> exec tail -n +3 $0 >> # This file provides an easy way to add custom menu entries. Simply type >> the >> # menu entries you want to add after this comment. Be careful not to >> change >> # the ''exec tail'' line above. >> menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { >> insmod ext2 >> set root=(hd0,1) >> multiboot (hd0,1)/xen-4.0.0-rc8.gz dummy=dummy >> module (hd0,1)/vmlinuz-2.6.32.10 dummy=dummy >> root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro >> module (hd0,1)/initrd.img-2.6.32.10 >> } >> ---- cut here ---- >> >> Don''t forget to change your "root=" option of your Linux! >> >> Run update-grub again: >> >> update-grub >> >> 5- Reboot into your new dom0! >> >> reboot >> >> 6- Look if your Xen is up and running >> >> xm list >> xm info >> >> .. if not: >> >> /etc/init.d/xendomains stop >> /etc/init.d/xend stop >> /etc/init.d/xend start >> /etc/init.d/xendomains start >> >> xm list >> xm info >> >> - >> Cheers! >> Thiago >> >> _______________________________________________ >> 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
Martinx - ジェームズ
2010-Mar-26 19:10 UTC
Re: [Xen-users] Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits.
Oops! Sorry! You right! I mean: "*make deb-pkg*" ! 2010/3/26 Outback Dingo <outbackdingo@gmail.com>> hrmm guess you were thinking of make deb-pkg > > > 2010/3/26 Outback Dingo <outbackdingo@gmail.com> > > The following fails for me, whats missing >> >> make dep-pkg >> make[1]: *** No rule to make target `dep-pkg''. Stop. >> make: *** [dep-pkg] Error 2 >> >> >> 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com> >> >>> Hi! >>> >>> This is a quick guide to help us to try the new Xen. >>> Also I have the composite window manager on top of the Xen! With full 3D >>> support! >>> >>> To achieve this I do: >>> >>> 1- Install your Ubuntu Desktop 10.4 beta1 and upgrade your system; >>> >>> 1.1 - Install some packages: >>> >>> aptitude install build-essential libncurses5-dev dpkg-dev debhelper >>> fakeroot >>> >>> 2- Download and install a new kernel with dom0 pv_ops enabled: >>> >>> sudo -s >>> cd /usr/src >>> git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen >>> cd linux-2.6-xen >>> git pull >>> git reset --hard >>> git checkout -b xen/stable origin/xen/stable >>> git pull >>> >>> 2.1 - Download the kernel config file attached to this mail >>> (config-for-xen-2.6.32.10-pvops): >>> >>> Copy the config file to the kernel source dir: >>> >>> cp ~Downloads/config-for-xen-2.6.32.10-pvops >>> /usr/src/linux-2.6-xen/.config >>> >>> You can see the differences of my config file against the Lucid one: >>> >>> diff /boot/config-2.6.32-17-generic >>> ~Downloads/config-for-xen-2.6.32.10-pvops | vim - >>> >>> ...both are close to each other. >>> >>> 2.2 Configure, compile and install: >>> >>> make menuconfig # Enable the dom0 support and the Xen >>> backend/frontend/xenfs stuffs... >>> make >>> chmod g-s /usr/src -R # To avoid the error: "dpkg-deb: control >>> directory has bad permissions 2755 (must be >=0755 and <=0775)" >>> make dep-pkg >>> dpkg -i ../linux-image*2.6.32.10*.deb >>> depmod 2.6.32.10 >>> update-initramfs -c -k 2.6.32.10 >>> update-grub >>> echo "xen-evtchn" >> /etc/modules >>> >>> Now you can try your new kernel without Xen, if you want, it should work >>> smootly. >>> >>> 3- Download and install the latest Xen: >>> >>> Preparing your environment: >>> >>> apt-get build-dep xen-3.3 >>> aptitude install uuid-dev iasl texinfo >>> >>> Download and compile: >>> >>> cd /usr/src >>> hg clone -r 4.0.0-rc8 http://xenbits.xensource.com/xen-unstable.hg >>> cd xen-unstable.hg >>> make xen >>> make tools >>> make stubdom >>> make install-xen >>> make install-tools PYTHON_PREFIX_ARG>>> make install-stubdom >>> >>> update-rc.d xend defaults 20 21 >>> update-rc.d xendomains defaults 21 20 >>> >>> 4- Configuring your Grub2 through the file /etc/grub.d/40_custom: >>> >>> ---- cut here ---- >>> #!/bin/sh >>> exec tail -n +3 $0 >>> # This file provides an easy way to add custom menu entries. Simply type >>> the >>> # menu entries you want to add after this comment. Be careful not to >>> change >>> # the ''exec tail'' line above. >>> menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { >>> insmod ext2 >>> set root=(hd0,1) >>> multiboot (hd0,1)/xen-4.0.0-rc8.gz dummy=dummy >>> module (hd0,1)/vmlinuz-2.6.32.10 dummy=dummy >>> root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro >>> module (hd0,1)/initrd.img-2.6.32.10 >>> } >>> ---- cut here ---- >>> >>> Don''t forget to change your "root=" option of your Linux! >>> >>> Run update-grub again: >>> >>> update-grub >>> >>> 5- Reboot into your new dom0! >>> >>> reboot >>> >>> 6- Look if your Xen is up and running >>> >>> xm list >>> xm info >>> >>> .. if not: >>> >>> /etc/init.d/xendomains stop >>> /etc/init.d/xend stop >>> /etc/init.d/xend start >>> /etc/init.d/xendomains start >>> >>> xm list >>> xm info >>> >>> - >>> Cheers! >>> Thiago >>> >>> _______________________________________________ >>> 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
Outback Dingo
2010-Mar-26 20:00 UTC
Re: [Xen-users] Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits.
hrmm ok, well Ive gotten all the way to the end and tried to reboot into XEN during the boot process i see elf_xen_note_check will only load images built for generic load or linux images Panic on CPU0 could not setup DomU Guest OS reboot in 15 seonds any thoughts??? 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com>> Hi! > > This is a quick guide to help us to try the new Xen. > Also I have the composite window manager on top of the Xen! With full 3D > support! > > To achieve this I do: > > 1- Install your Ubuntu Desktop 10.4 beta1 and upgrade your system; > > 1.1 - Install some packages: > > aptitude install build-essential libncurses5-dev dpkg-dev debhelper > fakeroot > > 2- Download and install a new kernel with dom0 pv_ops enabled: > > sudo -s > cd /usr/src > git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen > cd linux-2.6-xen > git pull > git reset --hard > git checkout -b xen/stable origin/xen/stable > git pull > > 2.1 - Download the kernel config file attached to this mail > (config-for-xen-2.6.32.10-pvops): > > Copy the config file to the kernel source dir: > > cp ~Downloads/config-for-xen-2.6.32.10-pvops > /usr/src/linux-2.6-xen/.config > > You can see the differences of my config file against the Lucid one: > > diff /boot/config-2.6.32-17-generic > ~Downloads/config-for-xen-2.6.32.10-pvops | vim - > > ...both are close to each other. > > 2.2 Configure, compile and install: > > make menuconfig # Enable the dom0 support and the Xen > backend/frontend/xenfs stuffs... > make > chmod g-s /usr/src -R # To avoid the error: "dpkg-deb: control > directory has bad permissions 2755 (must be >=0755 and <=0775)" > make dep-pkg > dpkg -i ../linux-image*2.6.32.10*.deb > depmod 2.6.32.10 > update-initramfs -c -k 2.6.32.10 > update-grub > echo "xen-evtchn" >> /etc/modules > > Now you can try your new kernel without Xen, if you want, it should work > smootly. > > 3- Download and install the latest Xen: > > Preparing your environment: > > apt-get build-dep xen-3.3 > aptitude install uuid-dev iasl texinfo > > Download and compile: > > cd /usr/src > hg clone -r 4.0.0-rc8 http://xenbits.xensource.com/xen-unstable.hg > cd xen-unstable.hg > make xen > make tools > make stubdom > make install-xen > make install-tools PYTHON_PREFIX_ARG> make install-stubdom > > update-rc.d xend defaults 20 21 > update-rc.d xendomains defaults 21 20 > > 4- Configuring your Grub2 through the file /etc/grub.d/40_custom: > > ---- cut here ---- > #!/bin/sh > exec tail -n +3 $0 > # This file provides an easy way to add custom menu entries. Simply type > the > # menu entries you want to add after this comment. Be careful not to > change > # the ''exec tail'' line above. > menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { > insmod ext2 > set root=(hd0,1) > multiboot (hd0,1)/xen-4.0.0-rc8.gz dummy=dummy > module (hd0,1)/vmlinuz-2.6.32.10 dummy=dummy > root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro > module (hd0,1)/initrd.img-2.6.32.10 > } > ---- cut here ---- > > Don''t forget to change your "root=" option of your Linux! > > Run update-grub again: > > update-grub > > 5- Reboot into your new dom0! > > reboot > > 6- Look if your Xen is up and running > > xm list > xm info > > .. if not: > > /etc/init.d/xendomains stop > /etc/init.d/xend stop > /etc/init.d/xend start > /etc/init.d/xendomains start > > xm list > xm info > > - > Cheers! > Thiago > > _______________________________________________ > 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
Martinx - ジェームズ
2010-Mar-26 20:02 UTC
Re: [Xen-users] Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits.
Mmm... Your system is 64 bits?! You try the Linux 2.6.32.10 from Jeremy''s tree without Xen?! 2010/3/26 Outback Dingo <outbackdingo@gmail.com>> hrmm ok, well Ive gotten all the way to the end and tried to reboot into > XEN > > during the boot process i see > > elf_xen_note_check > > will only load images built for generic load or linux images > > Panic on CPU0 > > could not setup DomU Guest OS > > reboot in 15 seonds > > any thoughts??? > > > > 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com> > >> Hi! >> >> >> This is a quick guide to help us to try the new Xen. >> Also I have the composite window manager on top of the Xen! With full 3D >> support! >> >> To achieve this I do: >> >> 1- Install your Ubuntu Desktop 10.4 beta1 and upgrade your system; >> >> 1.1 - Install some packages: >> >> aptitude install build-essential libncurses5-dev dpkg-dev debhelper >> fakeroot >> >> 2- Download and install a new kernel with dom0 pv_ops enabled: >> >> sudo -s >> cd /usr/src >> git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen >> cd linux-2.6-xen >> git pull >> git reset --hard >> git checkout -b xen/stable origin/xen/stable >> git pull >> >> 2.1 - Download the kernel config file attached to this mail >> (config-for-xen-2.6.32.10-pvops): >> >> Copy the config file to the kernel source dir: >> >> cp ~Downloads/config-for-xen-2.6.32.10-pvops >> /usr/src/linux-2.6-xen/.config >> >> You can see the differences of my config file against the Lucid one: >> >> diff /boot/config-2.6.32-17-generic >> ~Downloads/config-for-xen-2.6.32.10-pvops | vim - >> >> ...both are close to each other. >> >> 2.2 Configure, compile and install: >> >> make menuconfig # Enable the dom0 support and the Xen >> backend/frontend/xenfs stuffs... >> make >> chmod g-s /usr/src -R # To avoid the error: "dpkg-deb: control >> directory has bad permissions 2755 (must be >=0755 and <=0775)" >> make dep-pkg >> dpkg -i ../linux-image*2.6.32.10*.deb >> depmod 2.6.32.10 >> update-initramfs -c -k 2.6.32.10 >> update-grub >> echo "xen-evtchn" >> /etc/modules >> >> Now you can try your new kernel without Xen, if you want, it should work >> smootly. >> >> 3- Download and install the latest Xen: >> >> Preparing your environment: >> >> apt-get build-dep xen-3.3 >> aptitude install uuid-dev iasl texinfo >> >> Download and compile: >> >> cd /usr/src >> hg clone -r 4.0.0-rc8 http://xenbits.xensource.com/xen-unstable.hg >> cd xen-unstable.hg >> make xen >> make tools >> make stubdom >> make install-xen >> make install-tools PYTHON_PREFIX_ARG>> make install-stubdom >> >> update-rc.d xend defaults 20 21 >> update-rc.d xendomains defaults 21 20 >> >> 4- Configuring your Grub2 through the file /etc/grub.d/40_custom: >> >> ---- cut here ---- >> #!/bin/sh >> exec tail -n +3 $0 >> # This file provides an easy way to add custom menu entries. Simply type >> the >> # menu entries you want to add after this comment. Be careful not to >> change >> # the ''exec tail'' line above. >> menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { >> insmod ext2 >> set root=(hd0,1) >> multiboot (hd0,1)/xen-4.0.0-rc8.gz dummy=dummy >> module (hd0,1)/vmlinuz-2.6.32.10 dummy=dummy >> root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro >> module (hd0,1)/initrd.img-2.6.32.10 >> } >> ---- cut here ---- >> >> Don''t forget to change your "root=" option of your Linux! >> >> Run update-grub again: >> >> update-grub >> >> 5- Reboot into your new dom0! >> >> reboot >> >> 6- Look if your Xen is up and running >> >> xm list >> xm info >> >> .. if not: >> >> /etc/init.d/xendomains stop >> /etc/init.d/xend stop >> /etc/init.d/xend start >> /etc/init.d/xendomains start >> >> xm list >> xm info >> >> - >> Cheers! >> Thiago >> >> _______________________________________________ >> 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
Outback Dingo
2010-Mar-26 20:09 UTC
Re: [Xen-users] Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits.
Dell Studio XPS 16 being a Intel Core i5 and Virtualization is enabled in the bios kinda odd though, on kubuntu 10.4 dont know why its seen as an AMD chip cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 67 model name : Dual-Core AMD Opteron(tm) Processor 1214 stepping : 3 cpu MHz : 2210.162 cache size : 1024 KB fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush mmx fxsr sse sse2 syscall mmxext fxsr_opt lm 3dnowext 3dnow up rep_good extd_apicid pni cx16 hypervisor lahf_lm cr8_legacy bogomips : 4420.32 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com>> Mmm... Your system is 64 bits?! > You try the Linux 2.6.32.10 from Jeremy''s tree without Xen?! > > 2010/3/26 Outback Dingo <outbackdingo@gmail.com> > >> hrmm ok, well Ive gotten all the way to the end and tried to reboot into >> XEN >> >> >> during the boot process i see >> >> elf_xen_note_check >> >> will only load images built for generic load or linux images >> >> Panic on CPU0 >> >> could not setup DomU Guest OS >> >> reboot in 15 seonds >> >> any thoughts??? >> >> >> >> 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com> >> >>> Hi! >>> >>> >>> This is a quick guide to help us to try the new Xen. >>> Also I have the composite window manager on top of the Xen! With full 3D >>> support! >>> >>> To achieve this I do: >>> >>> 1- Install your Ubuntu Desktop 10.4 beta1 and upgrade your system; >>> >>> 1.1 - Install some packages: >>> >>> aptitude install build-essential libncurses5-dev dpkg-dev debhelper >>> fakeroot >>> >>> 2- Download and install a new kernel with dom0 pv_ops enabled: >>> >>> sudo -s >>> cd /usr/src >>> git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen >>> cd linux-2.6-xen >>> git pull >>> git reset --hard >>> git checkout -b xen/stable origin/xen/stable >>> git pull >>> >>> 2.1 - Download the kernel config file attached to this mail >>> (config-for-xen-2.6.32.10-pvops): >>> >>> Copy the config file to the kernel source dir: >>> >>> cp ~Downloads/config-for-xen-2.6.32.10-pvops >>> /usr/src/linux-2.6-xen/.config >>> >>> You can see the differences of my config file against the Lucid one: >>> >>> diff /boot/config-2.6.32-17-generic >>> ~Downloads/config-for-xen-2.6.32.10-pvops | vim - >>> >>> ...both are close to each other. >>> >>> 2.2 Configure, compile and install: >>> >>> make menuconfig # Enable the dom0 support and the Xen >>> backend/frontend/xenfs stuffs... >>> make >>> chmod g-s /usr/src -R # To avoid the error: "dpkg-deb: control >>> directory has bad permissions 2755 (must be >=0755 and <=0775)" >>> make dep-pkg >>> dpkg -i ../linux-image*2.6.32.10*.deb >>> depmod 2.6.32.10 >>> update-initramfs -c -k 2.6.32.10 >>> update-grub >>> echo "xen-evtchn" >> /etc/modules >>> >>> Now you can try your new kernel without Xen, if you want, it should work >>> smootly. >>> >>> 3- Download and install the latest Xen: >>> >>> Preparing your environment: >>> >>> apt-get build-dep xen-3.3 >>> aptitude install uuid-dev iasl texinfo >>> >>> Download and compile: >>> >>> cd /usr/src >>> hg clone -r 4.0.0-rc8 http://xenbits.xensource.com/xen-unstable.hg >>> cd xen-unstable.hg >>> make xen >>> make tools >>> make stubdom >>> make install-xen >>> make install-tools PYTHON_PREFIX_ARG>>> make install-stubdom >>> >>> update-rc.d xend defaults 20 21 >>> update-rc.d xendomains defaults 21 20 >>> >>> 4- Configuring your Grub2 through the file /etc/grub.d/40_custom: >>> >>> ---- cut here ---- >>> #!/bin/sh >>> exec tail -n +3 $0 >>> # This file provides an easy way to add custom menu entries. Simply type >>> the >>> # menu entries you want to add after this comment. Be careful not to >>> change >>> # the ''exec tail'' line above. >>> menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { >>> insmod ext2 >>> set root=(hd0,1) >>> multiboot (hd0,1)/xen-4.0.0-rc8.gz dummy=dummy >>> module (hd0,1)/vmlinuz-2.6.32.10 dummy=dummy >>> root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro >>> module (hd0,1)/initrd.img-2.6.32.10 >>> } >>> ---- cut here ---- >>> >>> Don''t forget to change your "root=" option of your Linux! >>> >>> Run update-grub again: >>> >>> update-grub >>> >>> 5- Reboot into your new dom0! >>> >>> reboot >>> >>> 6- Look if your Xen is up and running >>> >>> xm list >>> xm info >>> >>> .. if not: >>> >>> /etc/init.d/xendomains stop >>> /etc/init.d/xend stop >>> /etc/init.d/xend start >>> /etc/init.d/xendomains start >>> >>> xm list >>> xm info >>> >>> - >>> Cheers! >>> Thiago >>> >>> _______________________________________________ >>> 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
Outback Dingo
2010-Mar-26 20:16 UTC
Re: [Xen-users] Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits.
this is running on the kernel from jeremys tee uname -a Linux dingo-XPS 2.6.32.10 #2 SMP Fri Mar 26 14:31:20 EDT 2010 i686 GNU/Linux dingo@dingo-XPS:~$ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 37 model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz stepping : 2 cpu MHz : 1199.000 cache size : 3072 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid bogomips : 4521.42 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 37 model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz stepping : 2 cpu MHz : 1199.000 cache size : 3072 KB physical id : 0 siblings : 4 core id : 2 cpu cores : 2 apicid : 4 initial apicid : 4 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid bogomips : 4521.97 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 2 vendor_id : GenuineIntel cpu family : 6 model : 37 model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz stepping : 2 cpu MHz : 2267.000 cache size : 3072 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 2 apicid : 1 initial apicid : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid bogomips : 4521.97 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 3 vendor_id : GenuineIntel cpu family : 6 model : 37 model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz stepping : 2 cpu MHz : 1199.000 cache size : 3072 KB physical id : 0 siblings : 4 core id : 2 cpu cores : 2 apicid : 5 initial apicid : 5 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid bogomips : 4521.97 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com>> Mmm... Your system is 64 bits?! > You try the Linux 2.6.32.10 from Jeremy''s tree without Xen?! > > 2010/3/26 Outback Dingo <outbackdingo@gmail.com> > >> hrmm ok, well Ive gotten all the way to the end and tried to reboot into >> XEN >> >> >> during the boot process i see >> >> elf_xen_note_check >> >> will only load images built for generic load or linux images >> >> Panic on CPU0 >> >> could not setup DomU Guest OS >> >> reboot in 15 seonds >> >> any thoughts??? >> >> >> >> 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com> >> >>> Hi! >>> >>> >>> This is a quick guide to help us to try the new Xen. >>> Also I have the composite window manager on top of the Xen! With full 3D >>> support! >>> >>> To achieve this I do: >>> >>> 1- Install your Ubuntu Desktop 10.4 beta1 and upgrade your system; >>> >>> 1.1 - Install some packages: >>> >>> aptitude install build-essential libncurses5-dev dpkg-dev debhelper >>> fakeroot >>> >>> 2- Download and install a new kernel with dom0 pv_ops enabled: >>> >>> sudo -s >>> cd /usr/src >>> git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen >>> cd linux-2.6-xen >>> git pull >>> git reset --hard >>> git checkout -b xen/stable origin/xen/stable >>> git pull >>> >>> 2.1 - Download the kernel config file attached to this mail >>> (config-for-xen-2.6.32.10-pvops): >>> >>> Copy the config file to the kernel source dir: >>> >>> cp ~Downloads/config-for-xen-2.6.32.10-pvops >>> /usr/src/linux-2.6-xen/.config >>> >>> You can see the differences of my config file against the Lucid one: >>> >>> diff /boot/config-2.6.32-17-generic >>> ~Downloads/config-for-xen-2.6.32.10-pvops | vim - >>> >>> ...both are close to each other. >>> >>> 2.2 Configure, compile and install: >>> >>> make menuconfig # Enable the dom0 support and the Xen >>> backend/frontend/xenfs stuffs... >>> make >>> chmod g-s /usr/src -R # To avoid the error: "dpkg-deb: control >>> directory has bad permissions 2755 (must be >=0755 and <=0775)" >>> make dep-pkg >>> dpkg -i ../linux-image*2.6.32.10*.deb >>> depmod 2.6.32.10 >>> update-initramfs -c -k 2.6.32.10 >>> update-grub >>> echo "xen-evtchn" >> /etc/modules >>> >>> Now you can try your new kernel without Xen, if you want, it should work >>> smootly. >>> >>> 3- Download and install the latest Xen: >>> >>> Preparing your environment: >>> >>> apt-get build-dep xen-3.3 >>> aptitude install uuid-dev iasl texinfo >>> >>> Download and compile: >>> >>> cd /usr/src >>> hg clone -r 4.0.0-rc8 http://xenbits.xensource.com/xen-unstable.hg >>> cd xen-unstable.hg >>> make xen >>> make tools >>> make stubdom >>> make install-xen >>> make install-tools PYTHON_PREFIX_ARG>>> make install-stubdom >>> >>> update-rc.d xend defaults 20 21 >>> update-rc.d xendomains defaults 21 20 >>> >>> 4- Configuring your Grub2 through the file /etc/grub.d/40_custom: >>> >>> ---- cut here ---- >>> #!/bin/sh >>> exec tail -n +3 $0 >>> # This file provides an easy way to add custom menu entries. Simply type >>> the >>> # menu entries you want to add after this comment. Be careful not to >>> change >>> # the ''exec tail'' line above. >>> menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { >>> insmod ext2 >>> set root=(hd0,1) >>> multiboot (hd0,1)/xen-4.0.0-rc8.gz dummy=dummy >>> module (hd0,1)/vmlinuz-2.6.32.10 dummy=dummy >>> root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro >>> module (hd0,1)/initrd.img-2.6.32.10 >>> } >>> ---- cut here ---- >>> >>> Don''t forget to change your "root=" option of your Linux! >>> >>> Run update-grub again: >>> >>> update-grub >>> >>> 5- Reboot into your new dom0! >>> >>> reboot >>> >>> 6- Look if your Xen is up and running >>> >>> xm list >>> xm info >>> >>> .. if not: >>> >>> /etc/init.d/xendomains stop >>> /etc/init.d/xend stop >>> /etc/init.d/xend start >>> /etc/init.d/xendomains start >>> >>> xm list >>> xm info >>> >>> - >>> Cheers! >>> Thiago >>> >>> _______________________________________________ >>> 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
Outback Dingo
2010-Mar-26 20:40 UTC
Re: [Xen-users] Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits.
more information is its running ext4 from lvm on sda5 /dev/sda5 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw) so in the grub config i have cat /etc/grub.d/40_custom #!/bin/sh exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the ''exec tail'' line above. menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { insmod ext2 insmod ext4 set root=(hd0,5) multiboot (hd0,5)/boot/xen-4.0.0-rc8.gz dummy=dummy module (hd0,5)/boot/vmlinuz-2.6.32.10 dummy=dummy root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro module (hd0,5)/boot/initrd.img-2.6.32.10 } 2010/3/26 Outback Dingo <outbackdingo@gmail.com>> this is running on the kernel from jeremys tee > > uname -a > Linux dingo-XPS 2.6.32.10 #2 SMP Fri Mar 26 14:31:20 EDT 2010 i686 > GNU/Linux > dingo@dingo-XPS:~$ cat /proc/cpuinfo > processor : 0 > vendor_id : GenuineIntel > cpu family : 6 > model : 37 > model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz > stepping : 2 > cpu MHz : 1199.000 > cache size : 3072 KB > physical id : 0 > siblings : 4 > core id : 0 > cpu cores : 2 > apicid : 0 > initial apicid : 0 > fdiv_bug : no > hlt_bug : no > f00f_bug : no > coma_bug : no > fpu : yes > fpu_exception : yes > cpuid level : 11 > wp : yes > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm > constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni > dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt > lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid > bogomips : 4521.42 > clflush size : 64 > cache_alignment : 64 > address sizes : 36 bits physical, 48 bits virtual > power management: > > processor : 1 > vendor_id : GenuineIntel > cpu family : 6 > model : 37 > model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz > stepping : 2 > cpu MHz : 1199.000 > cache size : 3072 KB > > > physical id : 0 > > > siblings : 4 > > > core id : 2 > > > cpu cores : 2 > > > apicid : 4 > > > initial apicid : 4 > > > fdiv_bug : no > > > hlt_bug : no > > > f00f_bug : no > > > coma_bug : no > > > fpu : yes > > > fpu_exception : yes > > > cpuid level : 11 > > > wp : yes > > > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm > constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni > dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt > lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid > > bogomips : 4521.97 > > > clflush size : 64 > > > cache_alignment : 64 > > > address sizes : 36 bits physical, 48 bits virtual > > > power management: > > processor : 2 > vendor_id : GenuineIntel > cpu family : 6 > model : 37 > model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz > stepping : 2 > cpu MHz : 2267.000 > cache size : 3072 KB > physical id : 0 > siblings : 4 > core id : 0 > cpu cores : 2 > apicid : 1 > initial apicid : 1 > fdiv_bug : no > hlt_bug : no > f00f_bug : no > coma_bug : no > fpu : yes > fpu_exception : yes > cpuid level : 11 > wp : yes > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm > constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni > dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt > lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid > bogomips : 4521.97 > clflush size : 64 > cache_alignment : 64 > address sizes : 36 bits physical, 48 bits virtual > power management: > > processor : 3 > vendor_id : GenuineIntel > cpu family : 6 > model : 37 > model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz > stepping : 2 > cpu MHz : 1199.000 > cache size : 3072 KB > physical id : 0 > siblings : 4 > core id : 2 > cpu cores : 2 > apicid : 5 > initial apicid : 5 > fdiv_bug : no > hlt_bug : no > f00f_bug : no > coma_bug : no > fpu : yes > fpu_exception : yes > cpuid level : 11 > wp : yes > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm > constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni > dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt > lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid > bogomips : 4521.97 > clflush size : 64 > cache_alignment : 64 > address sizes : 36 bits physical, 48 bits virtual > power management: > > > 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com> > >> Mmm... Your system is 64 bits?! >> You try the Linux 2.6.32.10 from Jeremy''s tree without Xen?! >> >> 2010/3/26 Outback Dingo <outbackdingo@gmail.com> >> >>> hrmm ok, well Ive gotten all the way to the end and tried to reboot into >>> XEN >>> >>> >>> during the boot process i see >>> >>> elf_xen_note_check >>> >>> will only load images built for generic load or linux images >>> >>> Panic on CPU0 >>> >>> could not setup DomU Guest OS >>> >>> reboot in 15 seonds >>> >>> any thoughts??? >>> >>> >>> >>> 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com> >>> >>>> Hi! >>>> >>>> >>>> This is a quick guide to help us to try the new Xen. >>>> Also I have the composite window manager on top of the Xen! With full >>>> 3D support! >>>> >>>> To achieve this I do: >>>> >>>> 1- Install your Ubuntu Desktop 10.4 beta1 and upgrade your system; >>>> >>>> 1.1 - Install some packages: >>>> >>>> aptitude install build-essential libncurses5-dev dpkg-dev debhelper >>>> fakeroot >>>> >>>> 2- Download and install a new kernel with dom0 pv_ops enabled: >>>> >>>> sudo -s >>>> cd /usr/src >>>> git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen >>>> cd linux-2.6-xen >>>> git pull >>>> git reset --hard >>>> git checkout -b xen/stable origin/xen/stable >>>> git pull >>>> >>>> 2.1 - Download the kernel config file attached to this mail >>>> (config-for-xen-2.6.32.10-pvops): >>>> >>>> Copy the config file to the kernel source dir: >>>> >>>> cp ~Downloads/config-for-xen-2.6.32.10-pvops >>>> /usr/src/linux-2.6-xen/.config >>>> >>>> You can see the differences of my config file against the Lucid one: >>>> >>>> diff /boot/config-2.6.32-17-generic >>>> ~Downloads/config-for-xen-2.6.32.10-pvops | vim - >>>> >>>> ...both are close to each other. >>>> >>>> 2.2 Configure, compile and install: >>>> >>>> make menuconfig # Enable the dom0 support and the Xen >>>> backend/frontend/xenfs stuffs... >>>> make >>>> chmod g-s /usr/src -R # To avoid the error: "dpkg-deb: control >>>> directory has bad permissions 2755 (must be >=0755 and <=0775)" >>>> make dep-pkg >>>> dpkg -i ../linux-image*2.6.32.10*.deb >>>> depmod 2.6.32.10 >>>> update-initramfs -c -k 2.6.32.10 >>>> update-grub >>>> echo "xen-evtchn" >> /etc/modules >>>> >>>> Now you can try your new kernel without Xen, if you want, it should >>>> work smootly. >>>> >>>> 3- Download and install the latest Xen: >>>> >>>> Preparing your environment: >>>> >>>> apt-get build-dep xen-3.3 >>>> aptitude install uuid-dev iasl texinfo >>>> >>>> Download and compile: >>>> >>>> cd /usr/src >>>> hg clone -r 4.0.0-rc8 http://xenbits.xensource.com/xen-unstable.hg >>>> cd xen-unstable.hg >>>> make xen >>>> make tools >>>> make stubdom >>>> make install-xen >>>> make install-tools PYTHON_PREFIX_ARG>>>> make install-stubdom >>>> >>>> update-rc.d xend defaults 20 21 >>>> update-rc.d xendomains defaults 21 20 >>>> >>>> 4- Configuring your Grub2 through the file /etc/grub.d/40_custom: >>>> >>>> ---- cut here ---- >>>> #!/bin/sh >>>> exec tail -n +3 $0 >>>> # This file provides an easy way to add custom menu entries. Simply >>>> type the >>>> # menu entries you want to add after this comment. Be careful not to >>>> change >>>> # the ''exec tail'' line above. >>>> menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { >>>> insmod ext2 >>>> set root=(hd0,1) >>>> multiboot (hd0,1)/xen-4.0.0-rc8.gz dummy=dummy >>>> module (hd0,1)/vmlinuz-2.6.32.10 dummy=dummy >>>> root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro >>>> module (hd0,1)/initrd.img-2.6.32.10 >>>> } >>>> ---- cut here ---- >>>> >>>> Don''t forget to change your "root=" option of your Linux! >>>> >>>> Run update-grub again: >>>> >>>> update-grub >>>> >>>> 5- Reboot into your new dom0! >>>> >>>> reboot >>>> >>>> 6- Look if your Xen is up and running >>>> >>>> xm list >>>> xm info >>>> >>>> .. if not: >>>> >>>> /etc/init.d/xendomains stop >>>> /etc/init.d/xend stop >>>> /etc/init.d/xend start >>>> /etc/init.d/xendomains start >>>> >>>> xm list >>>> xm info >>>> >>>> - >>>> Cheers! >>>> Thiago >>>> >>>> _______________________________________________ >>>> 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
Martinx - ジェームズ
2010-Mar-26 21:24 UTC
Re: [Xen-users] Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits.
Sure! My /boot partition is at the beginning of the disc and it is ext2. 2010/3/26 Outback Dingo <outbackdingo@gmail.com>> more information is its running ext4 from lvm on sda5 > > /dev/sda5 on / type ext4 (rw,errors=remount-ro) > proc on /proc type proc (rw) > > so in the grub config i have > > cat /etc/grub.d/40_custom > #!/bin/sh > exec tail -n +3 $0 > # This file provides an easy way to add custom menu entries. Simply type > the > # menu entries you want to add after this comment. Be careful not to > change > # the ''exec tail'' line above. > menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { > insmod ext2 > insmod ext4 > set root=(hd0,5) > multiboot (hd0,5)/boot/xen-4.0.0-rc8.gz dummy=dummy > module (hd0,5)/boot/vmlinuz-2.6.32.10 dummy=dummy > root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro > module (hd0,5)/boot/initrd.img-2.6.32.10 > } > > > 2010/3/26 Outback Dingo <outbackdingo@gmail.com> > >> this is running on the kernel from jeremys tee >> >> uname -a >> Linux dingo-XPS 2.6.32.10 #2 SMP Fri Mar 26 14:31:20 EDT 2010 i686 >> GNU/Linux >> dingo@dingo-XPS:~$ cat /proc/cpuinfo >> processor : 0 >> vendor_id : GenuineIntel >> cpu family : 6 >> model : 37 >> model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz >> stepping : 2 >> cpu MHz : 1199.000 >> cache size : 3072 KB >> physical id : 0 >> siblings : 4 >> core id : 0 >> cpu cores : 2 >> apicid : 0 >> initial apicid : 0 >> fdiv_bug : no >> hlt_bug : no >> f00f_bug : no >> coma_bug : no >> fpu : yes >> fpu_exception : yes >> cpuid level : 11 >> wp : yes >> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca >> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm >> constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni >> dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt >> lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid >> bogomips : 4521.42 >> clflush size : 64 >> cache_alignment : 64 >> address sizes : 36 bits physical, 48 bits virtual >> power management: >> >> processor : 1 >> vendor_id : GenuineIntel >> cpu family : 6 >> model : 37 >> model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz >> stepping : 2 >> cpu MHz : 1199.000 >> cache size : 3072 KB >> >> >> physical id : 0 >> >> >> siblings : 4 >> >> >> core id : 2 >> >> >> cpu cores : 2 >> >> >> apicid : 4 >> >> >> initial apicid : 4 >> >> >> fdiv_bug : no >> >> >> hlt_bug : no >> >> >> f00f_bug : no >> >> >> coma_bug : no >> >> >> fpu : yes >> >> >> >> fpu_exception : yes >> >> >> cpuid level : 11 >> >> >> wp : yes >> >> >> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca >> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm >> constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni >> dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt >> lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid >> >> bogomips : 4521.97 >> >> >> clflush size : 64 >> >> >> cache_alignment : 64 >> >> >> address sizes : 36 bits physical, 48 bits virtual >> >> >> power management: >> >> processor : 2 >> vendor_id : GenuineIntel >> cpu family : 6 >> model : 37 >> model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz >> stepping : 2 >> cpu MHz : 2267.000 >> cache size : 3072 KB >> physical id : 0 >> siblings : 4 >> core id : 0 >> cpu cores : 2 >> apicid : 1 >> initial apicid : 1 >> fdiv_bug : no >> hlt_bug : no >> f00f_bug : no >> coma_bug : no >> fpu : yes >> fpu_exception : yes >> cpuid level : 11 >> wp : yes >> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca >> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm >> constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni >> dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt >> lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid >> bogomips : 4521.97 >> clflush size : 64 >> cache_alignment : 64 >> address sizes : 36 bits physical, 48 bits virtual >> power management: >> >> processor : 3 >> vendor_id : GenuineIntel >> cpu family : 6 >> model : 37 >> model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz >> stepping : 2 >> cpu MHz : 1199.000 >> cache size : 3072 KB >> physical id : 0 >> siblings : 4 >> core id : 2 >> cpu cores : 2 >> apicid : 5 >> initial apicid : 5 >> fdiv_bug : no >> hlt_bug : no >> f00f_bug : no >> coma_bug : no >> fpu : yes >> fpu_exception : yes >> cpuid level : 11 >> wp : yes >> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca >> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm >> constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni >> dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt >> lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid >> bogomips : 4521.97 >> clflush size : 64 >> cache_alignment : 64 >> address sizes : 36 bits physical, 48 bits virtual >> power management: >> >> >> 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com> >> >>> Mmm... Your system is 64 bits?! >>> You try the Linux 2.6.32.10 from Jeremy''s tree without Xen?! >>> >>> 2010/3/26 Outback Dingo <outbackdingo@gmail.com> >>> >>>> hrmm ok, well Ive gotten all the way to the end and tried to reboot into >>>> XEN >>>> >>>> >>>> during the boot process i see >>>> >>>> elf_xen_note_check >>>> >>>> will only load images built for generic load or linux images >>>> >>>> Panic on CPU0 >>>> >>>> could not setup DomU Guest OS >>>> >>>> reboot in 15 seonds >>>> >>>> any thoughts??? >>>> >>>> >>>> >>>> 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com> >>>> >>>>> Hi! >>>>> >>>>> >>>>> This is a quick guide to help us to try the new Xen. >>>>> Also I have the composite window manager on top of the Xen! With full >>>>> 3D support! >>>>> >>>>> To achieve this I do: >>>>> >>>>> 1- Install your Ubuntu Desktop 10.4 beta1 and upgrade your system; >>>>> >>>>> 1.1 - Install some packages: >>>>> >>>>> aptitude install build-essential libncurses5-dev dpkg-dev debhelper >>>>> fakeroot >>>>> >>>>> 2- Download and install a new kernel with dom0 pv_ops enabled: >>>>> >>>>> sudo -s >>>>> cd /usr/src >>>>> git clone git:// >>>>> git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen >>>>> cd linux-2.6-xen >>>>> git pull >>>>> git reset --hard >>>>> git checkout -b xen/stable origin/xen/stable >>>>> git pull >>>>> >>>>> 2.1 - Download the kernel config file attached to this mail >>>>> (config-for-xen-2.6.32.10-pvops): >>>>> >>>>> Copy the config file to the kernel source dir: >>>>> >>>>> cp ~Downloads/config-for-xen-2.6.32.10-pvops >>>>> /usr/src/linux-2.6-xen/.config >>>>> >>>>> You can see the differences of my config file against the Lucid one: >>>>> >>>>> diff /boot/config-2.6.32-17-generic >>>>> ~Downloads/config-for-xen-2.6.32.10-pvops | vim - >>>>> >>>>> ...both are close to each other. >>>>> >>>>> 2.2 Configure, compile and install: >>>>> >>>>> make menuconfig # Enable the dom0 support and the Xen >>>>> backend/frontend/xenfs stuffs... >>>>> make >>>>> chmod g-s /usr/src -R # To avoid the error: "dpkg-deb: control >>>>> directory has bad permissions 2755 (must be >=0755 and <=0775)" >>>>> make dep-pkg >>>>> dpkg -i ../linux-image*2.6.32.10*.deb >>>>> depmod 2.6.32.10 >>>>> update-initramfs -c -k 2.6.32.10 >>>>> update-grub >>>>> echo "xen-evtchn" >> /etc/modules >>>>> >>>>> Now you can try your new kernel without Xen, if you want, it should >>>>> work smootly. >>>>> >>>>> 3- Download and install the latest Xen: >>>>> >>>>> Preparing your environment: >>>>> >>>>> apt-get build-dep xen-3.3 >>>>> aptitude install uuid-dev iasl texinfo >>>>> >>>>> Download and compile: >>>>> >>>>> cd /usr/src >>>>> hg clone -r 4.0.0-rc8 http://xenbits.xensource.com/xen-unstable.hg >>>>> cd xen-unstable.hg >>>>> make xen >>>>> make tools >>>>> make stubdom >>>>> make install-xen >>>>> make install-tools PYTHON_PREFIX_ARG>>>>> make install-stubdom >>>>> >>>>> update-rc.d xend defaults 20 21 >>>>> update-rc.d xendomains defaults 21 20 >>>>> >>>>> 4- Configuring your Grub2 through the file /etc/grub.d/40_custom: >>>>> >>>>> ---- cut here ---- >>>>> #!/bin/sh >>>>> exec tail -n +3 $0 >>>>> # This file provides an easy way to add custom menu entries. Simply >>>>> type the >>>>> # menu entries you want to add after this comment. Be careful not to >>>>> change >>>>> # the ''exec tail'' line above. >>>>> menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { >>>>> insmod ext2 >>>>> set root=(hd0,1) >>>>> multiboot (hd0,1)/xen-4.0.0-rc8.gz dummy=dummy >>>>> module (hd0,1)/vmlinuz-2.6.32.10 dummy=dummy >>>>> root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro >>>>> module (hd0,1)/initrd.img-2.6.32.10 >>>>> } >>>>> ---- cut here ---- >>>>> >>>>> Don''t forget to change your "root=" option of your Linux! >>>>> >>>>> Run update-grub again: >>>>> >>>>> update-grub >>>>> >>>>> 5- Reboot into your new dom0! >>>>> >>>>> reboot >>>>> >>>>> 6- Look if your Xen is up and running >>>>> >>>>> xm list >>>>> xm info >>>>> >>>>> .. if not: >>>>> >>>>> /etc/init.d/xendomains stop >>>>> /etc/init.d/xend stop >>>>> /etc/init.d/xend start >>>>> /etc/init.d/xendomains start >>>>> >>>>> xm list >>>>> xm info >>>>> >>>>> - >>>>> Cheers! >>>>> Thiago >>>>> >>>>> _______________________________________________ >>>>> 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
Outback Dingo
2010-Mar-26 21:58 UTC
Re: [Xen-users] Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits.
so any thoughts on getting around this issue guys? 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com>> Sure! My /boot partition is at the beginning of the disc and it is ext2. > > > 2010/3/26 Outback Dingo <outbackdingo@gmail.com> > >> more information is its running ext4 from lvm on sda5 >> >> /dev/sda5 on / type ext4 (rw,errors=remount-ro) >> proc on /proc type proc (rw) >> >> so in the grub config i have >> >> cat /etc/grub.d/40_custom >> #!/bin/sh >> exec tail -n +3 $0 >> # This file provides an easy way to add custom menu entries. Simply type >> the >> # menu entries you want to add after this comment. Be careful not to >> change >> # the ''exec tail'' line above. >> menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { >> insmod ext2 >> insmod ext4 >> set root=(hd0,5) >> multiboot (hd0,5)/boot/xen-4.0.0-rc8.gz dummy=dummy >> module (hd0,5)/boot/vmlinuz-2.6.32.10 dummy=dummy >> root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro >> module (hd0,5)/boot/initrd.img-2.6.32.10 >> } >> >> >> 2010/3/26 Outback Dingo <outbackdingo@gmail.com> >> >>> this is running on the kernel from jeremys tee >>> >>> uname -a >>> Linux dingo-XPS 2.6.32.10 #2 SMP Fri Mar 26 14:31:20 EDT 2010 i686 >>> GNU/Linux >>> dingo@dingo-XPS:~$ cat /proc/cpuinfo >>> processor : 0 >>> vendor_id : GenuineIntel >>> cpu family : 6 >>> model : 37 >>> model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz >>> stepping : 2 >>> cpu MHz : 1199.000 >>> cache size : 3072 KB >>> physical id : 0 >>> siblings : 4 >>> core id : 0 >>> cpu cores : 2 >>> apicid : 0 >>> initial apicid : 0 >>> fdiv_bug : no >>> hlt_bug : no >>> f00f_bug : no >>> coma_bug : no >>> fpu : yes >>> fpu_exception : yes >>> cpuid level : 11 >>> wp : yes >>> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge >>> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp >>> lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni >>> dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt >>> lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid >>> bogomips : 4521.42 >>> clflush size : 64 >>> cache_alignment : 64 >>> address sizes : 36 bits physical, 48 bits virtual >>> power management: >>> >>> processor : 1 >>> vendor_id : GenuineIntel >>> cpu family : 6 >>> model : 37 >>> model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz >>> stepping : 2 >>> cpu MHz : 1199.000 >>> cache size : 3072 KB >>> >>> >>> physical id : 0 >>> >>> >>> siblings : 4 >>> >>> >>> core id : 2 >>> >>> >>> cpu cores : 2 >>> >>> >>> apicid : 4 >>> >>> >>> initial apicid : 4 >>> >>> >>> fdiv_bug : no >>> >>> >>> hlt_bug : no >>> >>> >>> f00f_bug : no >>> >>> >>> coma_bug : no >>> >>> >>> fpu : yes >>> >>> >>> >>> fpu_exception : yes >>> >>> >>> cpuid level : 11 >>> >>> >>> wp : yes >>> >>> >>> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge >>> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp >>> lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni >>> dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt >>> lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid >>> >>> bogomips : 4521.97 >>> >>> >>> clflush size : 64 >>> >>> >>> >>> cache_alignment : 64 >>> >>> >>> address sizes : 36 bits physical, 48 bits virtual >>> >>> >>> power management: >>> >>> processor : 2 >>> vendor_id : GenuineIntel >>> cpu family : 6 >>> model : 37 >>> model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz >>> stepping : 2 >>> cpu MHz : 2267.000 >>> cache size : 3072 KB >>> physical id : 0 >>> siblings : 4 >>> core id : 0 >>> cpu cores : 2 >>> apicid : 1 >>> initial apicid : 1 >>> fdiv_bug : no >>> hlt_bug : no >>> f00f_bug : no >>> coma_bug : no >>> fpu : yes >>> fpu_exception : yes >>> cpuid level : 11 >>> wp : yes >>> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge >>> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp >>> lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni >>> dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt >>> lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid >>> bogomips : 4521.97 >>> clflush size : 64 >>> cache_alignment : 64 >>> address sizes : 36 bits physical, 48 bits virtual >>> power management: >>> >>> processor : 3 >>> vendor_id : GenuineIntel >>> cpu family : 6 >>> model : 37 >>> model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz >>> stepping : 2 >>> cpu MHz : 1199.000 >>> cache size : 3072 KB >>> physical id : 0 >>> siblings : 4 >>> core id : 2 >>> cpu cores : 2 >>> apicid : 5 >>> initial apicid : 5 >>> fdiv_bug : no >>> hlt_bug : no >>> f00f_bug : no >>> coma_bug : no >>> fpu : yes >>> fpu_exception : yes >>> cpuid level : 11 >>> wp : yes >>> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge >>> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp >>> lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni >>> dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt >>> lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid >>> bogomips : 4521.97 >>> clflush size : 64 >>> cache_alignment : 64 >>> address sizes : 36 bits physical, 48 bits virtual >>> power management: >>> >>> >>> 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com> >>> >>>> Mmm... Your system is 64 bits?! >>>> You try the Linux 2.6.32.10 from Jeremy''s tree without Xen?! >>>> >>>> 2010/3/26 Outback Dingo <outbackdingo@gmail.com> >>>> >>>>> hrmm ok, well Ive gotten all the way to the end and tried to reboot >>>>> into XEN >>>>> >>>>> >>>>> during the boot process i see >>>>> >>>>> elf_xen_note_check >>>>> >>>>> will only load images built for generic load or linux images >>>>> >>>>> Panic on CPU0 >>>>> >>>>> could not setup DomU Guest OS >>>>> >>>>> reboot in 15 seonds >>>>> >>>>> any thoughts??? >>>>> >>>>> >>>>> >>>>> 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com> >>>>> >>>>>> Hi! >>>>>> >>>>>> >>>>>> This is a quick guide to help us to try the new Xen. >>>>>> Also I have the composite window manager on top of the Xen! With full >>>>>> 3D support! >>>>>> >>>>>> To achieve this I do: >>>>>> >>>>>> 1- Install your Ubuntu Desktop 10.4 beta1 and upgrade your system; >>>>>> >>>>>> 1.1 - Install some packages: >>>>>> >>>>>> aptitude install build-essential libncurses5-dev dpkg-dev debhelper >>>>>> fakeroot >>>>>> >>>>>> 2- Download and install a new kernel with dom0 pv_ops enabled: >>>>>> >>>>>> sudo -s >>>>>> cd /usr/src >>>>>> git clone git:// >>>>>> git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen >>>>>> cd linux-2.6-xen >>>>>> git pull >>>>>> git reset --hard >>>>>> git checkout -b xen/stable origin/xen/stable >>>>>> git pull >>>>>> >>>>>> 2.1 - Download the kernel config file attached to this mail >>>>>> (config-for-xen-2.6.32.10-pvops): >>>>>> >>>>>> Copy the config file to the kernel source dir: >>>>>> >>>>>> cp ~Downloads/config-for-xen-2.6.32.10-pvops >>>>>> /usr/src/linux-2.6-xen/.config >>>>>> >>>>>> You can see the differences of my config file against the Lucid one: >>>>>> >>>>>> diff /boot/config-2.6.32-17-generic >>>>>> ~Downloads/config-for-xen-2.6.32.10-pvops | vim - >>>>>> >>>>>> ...both are close to each other. >>>>>> >>>>>> 2.2 Configure, compile and install: >>>>>> >>>>>> make menuconfig # Enable the dom0 support and the Xen >>>>>> backend/frontend/xenfs stuffs... >>>>>> make >>>>>> chmod g-s /usr/src -R # To avoid the error: "dpkg-deb: control >>>>>> directory has bad permissions 2755 (must be >=0755 and <=0775)" >>>>>> make dep-pkg >>>>>> dpkg -i ../linux-image*2.6.32.10*.deb >>>>>> depmod 2.6.32.10 >>>>>> update-initramfs -c -k 2.6.32.10 >>>>>> update-grub >>>>>> echo "xen-evtchn" >> /etc/modules >>>>>> >>>>>> Now you can try your new kernel without Xen, if you want, it should >>>>>> work smootly. >>>>>> >>>>>> 3- Download and install the latest Xen: >>>>>> >>>>>> Preparing your environment: >>>>>> >>>>>> apt-get build-dep xen-3.3 >>>>>> aptitude install uuid-dev iasl texinfo >>>>>> >>>>>> Download and compile: >>>>>> >>>>>> cd /usr/src >>>>>> hg clone -r 4.0.0-rc8 http://xenbits.xensource.com/xen-unstable.hg >>>>>> cd xen-unstable.hg >>>>>> make xen >>>>>> make tools >>>>>> make stubdom >>>>>> make install-xen >>>>>> make install-tools PYTHON_PREFIX_ARG>>>>>> make install-stubdom >>>>>> >>>>>> update-rc.d xend defaults 20 21 >>>>>> update-rc.d xendomains defaults 21 20 >>>>>> >>>>>> 4- Configuring your Grub2 through the file /etc/grub.d/40_custom: >>>>>> >>>>>> ---- cut here ---- >>>>>> #!/bin/sh >>>>>> exec tail -n +3 $0 >>>>>> # This file provides an easy way to add custom menu entries. Simply >>>>>> type the >>>>>> # menu entries you want to add after this comment. Be careful not to >>>>>> change >>>>>> # the ''exec tail'' line above. >>>>>> menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { >>>>>> insmod ext2 >>>>>> set root=(hd0,1) >>>>>> multiboot (hd0,1)/xen-4.0.0-rc8.gz dummy=dummy >>>>>> module (hd0,1)/vmlinuz-2.6.32.10 dummy=dummy >>>>>> root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro >>>>>> module (hd0,1)/initrd.img-2.6.32.10 >>>>>> } >>>>>> ---- cut here ---- >>>>>> >>>>>> Don''t forget to change your "root=" option of your Linux! >>>>>> >>>>>> Run update-grub again: >>>>>> >>>>>> update-grub >>>>>> >>>>>> 5- Reboot into your new dom0! >>>>>> >>>>>> reboot >>>>>> >>>>>> 6- Look if your Xen is up and running >>>>>> >>>>>> xm list >>>>>> xm info >>>>>> >>>>>> .. if not: >>>>>> >>>>>> /etc/init.d/xendomains stop >>>>>> /etc/init.d/xend stop >>>>>> /etc/init.d/xend start >>>>>> /etc/init.d/xendomains start >>>>>> >>>>>> xm list >>>>>> xm info >>>>>> >>>>>> - >>>>>> Cheers! >>>>>> Thiago >>>>>> >>>>>> _______________________________________________ >>>>>> 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
Martinx - ジェームズ
2010-Mar-27 03:05 UTC
Re: [Xen-users] Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits.
What is your problem exactly? Sorry... 2010/3/26 Outback Dingo <outbackdingo@gmail.com>> so any thoughts on getting around this issue guys? > > > 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com> > >> Sure! My /boot partition is at the beginning of the disc and it is ext2. >> >> >> 2010/3/26 Outback Dingo <outbackdingo@gmail.com> >> >>> more information is its running ext4 from lvm on sda5 >>> >>> /dev/sda5 on / type ext4 (rw,errors=remount-ro) >>> proc on /proc type proc (rw) >>> >>> so in the grub config i have >>> >>> cat /etc/grub.d/40_custom >>> #!/bin/sh >>> exec tail -n +3 $0 >>> # This file provides an easy way to add custom menu entries. Simply type >>> the >>> # menu entries you want to add after this comment. Be careful not to >>> change >>> # the ''exec tail'' line above. >>> menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { >>> insmod ext2 >>> insmod ext4 >>> set root=(hd0,5) >>> multiboot (hd0,5)/boot/xen-4.0.0-rc8.gz dummy=dummy >>> module (hd0,5)/boot/vmlinuz-2.6.32.10 dummy=dummy >>> root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro >>> module (hd0,5)/boot/initrd.img-2.6.32.10 >>> } >>> >>> >>> 2010/3/26 Outback Dingo <outbackdingo@gmail.com> >>> >>>> this is running on the kernel from jeremys tee >>>> >>>> uname -a >>>> Linux dingo-XPS 2.6.32.10 #2 SMP Fri Mar 26 14:31:20 EDT 2010 i686 >>>> GNU/Linux >>>> dingo@dingo-XPS:~$ cat /proc/cpuinfo >>>> processor : 0 >>>> vendor_id : GenuineIntel >>>> cpu family : 6 >>>> model : 37 >>>> model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz >>>> stepping : 2 >>>> cpu MHz : 1199.000 >>>> cache size : 3072 KB >>>> physical id : 0 >>>> siblings : 4 >>>> core id : 0 >>>> cpu cores : 2 >>>> apicid : 0 >>>> initial apicid : 0 >>>> fdiv_bug : no >>>> hlt_bug : no >>>> f00f_bug : no >>>> coma_bug : no >>>> fpu : yes >>>> fpu_exception : yes >>>> cpuid level : 11 >>>> wp : yes >>>> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge >>>> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp >>>> lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni >>>> dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt >>>> lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid >>>> bogomips : 4521.42 >>>> clflush size : 64 >>>> cache_alignment : 64 >>>> address sizes : 36 bits physical, 48 bits virtual >>>> power management: >>>> >>>> processor : 1 >>>> vendor_id : GenuineIntel >>>> cpu family : 6 >>>> model : 37 >>>> model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz >>>> stepping : 2 >>>> cpu MHz : 1199.000 >>>> cache size : 3072 KB >>>> >>>> >>>> >>>> physical id : 0 >>>> >>>> >>>> >>>> siblings : 4 >>>> >>>> >>>> >>>> core id : 2 >>>> >>>> >>>> >>>> cpu cores : 2 >>>> >>>> >>>> >>>> apicid : 4 >>>> >>>> >>>> >>>> initial apicid : 4 >>>> >>>> >>>> >>>> fdiv_bug : no >>>> >>>> >>>> hlt_bug : no >>>> >>>> >>>> f00f_bug : no >>>> >>>> >>>> coma_bug : no >>>> >>>> >>>> fpu : yes >>>> >>>> >>>> >>>> fpu_exception : yes >>>> >>>> >>>> >>>> cpuid level : 11 >>>> >>>> >>>> wp : yes >>>> >>>> >>>> >>>> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge >>>> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp >>>> lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni >>>> dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt >>>> lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid >>>> >>>> bogomips : 4521.97 >>>> >>>> >>>> >>>> clflush size : 64 >>>> >>>> >>>> >>>> cache_alignment : 64 >>>> >>>> >>>> address sizes : 36 bits physical, 48 bits virtual >>>> >>>> >>>> >>>> power management: >>>> >>>> processor : 2 >>>> vendor_id : GenuineIntel >>>> cpu family : 6 >>>> model : 37 >>>> model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz >>>> stepping : 2 >>>> cpu MHz : 2267.000 >>>> cache size : 3072 KB >>>> physical id : 0 >>>> siblings : 4 >>>> core id : 0 >>>> cpu cores : 2 >>>> apicid : 1 >>>> initial apicid : 1 >>>> fdiv_bug : no >>>> hlt_bug : no >>>> f00f_bug : no >>>> coma_bug : no >>>> fpu : yes >>>> fpu_exception : yes >>>> cpuid level : 11 >>>> wp : yes >>>> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge >>>> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp >>>> lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni >>>> dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt >>>> lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid >>>> bogomips : 4521.97 >>>> clflush size : 64 >>>> cache_alignment : 64 >>>> address sizes : 36 bits physical, 48 bits virtual >>>> power management: >>>> >>>> processor : 3 >>>> vendor_id : GenuineIntel >>>> cpu family : 6 >>>> model : 37 >>>> model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz >>>> stepping : 2 >>>> cpu MHz : 1199.000 >>>> cache size : 3072 KB >>>> physical id : 0 >>>> siblings : 4 >>>> core id : 2 >>>> cpu cores : 2 >>>> apicid : 5 >>>> initial apicid : 5 >>>> fdiv_bug : no >>>> hlt_bug : no >>>> f00f_bug : no >>>> coma_bug : no >>>> fpu : yes >>>> fpu_exception : yes >>>> cpuid level : 11 >>>> wp : yes >>>> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge >>>> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp >>>> lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni >>>> dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt >>>> lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid >>>> bogomips : 4521.97 >>>> clflush size : 64 >>>> cache_alignment : 64 >>>> address sizes : 36 bits physical, 48 bits virtual >>>> power management: >>>> >>>> >>>> 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com> >>>> >>>>> Mmm... Your system is 64 bits?! >>>>> You try the Linux 2.6.32.10 from Jeremy''s tree without Xen?! >>>>> >>>>> 2010/3/26 Outback Dingo <outbackdingo@gmail.com> >>>>> >>>>>> hrmm ok, well Ive gotten all the way to the end and tried to reboot >>>>>> into XEN >>>>>> >>>>>> >>>>>> during the boot process i see >>>>>> >>>>>> elf_xen_note_check >>>>>> >>>>>> will only load images built for generic load or linux images >>>>>> >>>>>> Panic on CPU0 >>>>>> >>>>>> could not setup DomU Guest OS >>>>>> >>>>>> reboot in 15 seonds >>>>>> >>>>>> any thoughts??? >>>>>> >>>>>> >>>>>> >>>>>> 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com> >>>>>> >>>>>>> Hi! >>>>>>> >>>>>>> >>>>>>> This is a quick guide to help us to try the new Xen. >>>>>>> Also I have the composite window manager on top of the Xen! With >>>>>>> full 3D support! >>>>>>> >>>>>>> To achieve this I do: >>>>>>> >>>>>>> 1- Install your Ubuntu Desktop 10.4 beta1 and upgrade your system; >>>>>>> >>>>>>> 1.1 - Install some packages: >>>>>>> >>>>>>> aptitude install build-essential libncurses5-dev dpkg-dev debhelper >>>>>>> fakeroot >>>>>>> >>>>>>> 2- Download and install a new kernel with dom0 pv_ops enabled: >>>>>>> >>>>>>> sudo -s >>>>>>> cd /usr/src >>>>>>> git clone git:// >>>>>>> git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen >>>>>>> cd linux-2.6-xen >>>>>>> git pull >>>>>>> git reset --hard >>>>>>> git checkout -b xen/stable origin/xen/stable >>>>>>> git pull >>>>>>> >>>>>>> 2.1 - Download the kernel config file attached to this mail >>>>>>> (config-for-xen-2.6.32.10-pvops): >>>>>>> >>>>>>> Copy the config file to the kernel source dir: >>>>>>> >>>>>>> cp ~Downloads/config-for-xen-2.6.32.10-pvops >>>>>>> /usr/src/linux-2.6-xen/.config >>>>>>> >>>>>>> You can see the differences of my config file against the Lucid one: >>>>>>> >>>>>>> diff /boot/config-2.6.32-17-generic >>>>>>> ~Downloads/config-for-xen-2.6.32.10-pvops | vim - >>>>>>> >>>>>>> ...both are close to each other. >>>>>>> >>>>>>> 2.2 Configure, compile and install: >>>>>>> >>>>>>> make menuconfig # Enable the dom0 support and the Xen >>>>>>> backend/frontend/xenfs stuffs... >>>>>>> make >>>>>>> chmod g-s /usr/src -R # To avoid the error: "dpkg-deb: control >>>>>>> directory has bad permissions 2755 (must be >=0755 and <=0775)" >>>>>>> make dep-pkg >>>>>>> dpkg -i ../linux-image*2.6.32.10*.deb >>>>>>> depmod 2.6.32.10 >>>>>>> update-initramfs -c -k 2.6.32.10 >>>>>>> update-grub >>>>>>> echo "xen-evtchn" >> /etc/modules >>>>>>> >>>>>>> Now you can try your new kernel without Xen, if you want, it should >>>>>>> work smootly. >>>>>>> >>>>>>> 3- Download and install the latest Xen: >>>>>>> >>>>>>> Preparing your environment: >>>>>>> >>>>>>> apt-get build-dep xen-3.3 >>>>>>> aptitude install uuid-dev iasl texinfo >>>>>>> >>>>>>> Download and compile: >>>>>>> >>>>>>> cd /usr/src >>>>>>> hg clone -r 4.0.0-rc8 http://xenbits.xensource.com/xen-unstable.hg >>>>>>> cd xen-unstable.hg >>>>>>> make xen >>>>>>> make tools >>>>>>> make stubdom >>>>>>> make install-xen >>>>>>> make install-tools PYTHON_PREFIX_ARG>>>>>>> make install-stubdom >>>>>>> >>>>>>> update-rc.d xend defaults 20 21 >>>>>>> update-rc.d xendomains defaults 21 20 >>>>>>> >>>>>>> 4- Configuring your Grub2 through the file /etc/grub.d/40_custom: >>>>>>> >>>>>>> ---- cut here ---- >>>>>>> #!/bin/sh >>>>>>> exec tail -n +3 $0 >>>>>>> # This file provides an easy way to add custom menu entries. Simply >>>>>>> type the >>>>>>> # menu entries you want to add after this comment. Be careful not to >>>>>>> change >>>>>>> # the ''exec tail'' line above. >>>>>>> menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { >>>>>>> insmod ext2 >>>>>>> set root=(hd0,1) >>>>>>> multiboot (hd0,1)/xen-4.0.0-rc8.gz dummy=dummy >>>>>>> module (hd0,1)/vmlinuz-2.6.32.10 dummy=dummy >>>>>>> root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro >>>>>>> module (hd0,1)/initrd.img-2.6.32.10 >>>>>>> } >>>>>>> ---- cut here ---- >>>>>>> >>>>>>> Don''t forget to change your "root=" option of your Linux! >>>>>>> >>>>>>> Run update-grub again: >>>>>>> >>>>>>> update-grub >>>>>>> >>>>>>> 5- Reboot into your new dom0! >>>>>>> >>>>>>> reboot >>>>>>> >>>>>>> 6- Look if your Xen is up and running >>>>>>> >>>>>>> xm list >>>>>>> xm info >>>>>>> >>>>>>> .. if not: >>>>>>> >>>>>>> /etc/init.d/xendomains stop >>>>>>> /etc/init.d/xend stop >>>>>>> /etc/init.d/xend start >>>>>>> /etc/init.d/xendomains start >>>>>>> >>>>>>> xm list >>>>>>> xm info >>>>>>> >>>>>>> - >>>>>>> Cheers! >>>>>>> Thiago >>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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
Outback Dingo
2010-Mar-27 03:08 UTC
Re: [Xen-users] Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits.
wondering if theres a way around the hd0,5 lvm issue, though im not sure if thats why its making xen panic on boot a few previous emails and jeremys running kernel were posted so i am 64bit core i5 his kernel boots fine, when i boot the XEN i get the panic 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com>> What is your problem exactly? Sorry... > > > 2010/3/26 Outback Dingo <outbackdingo@gmail.com> > >> so any thoughts on getting around this issue guys? >> >> >> 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com> >> >>> Sure! My /boot partition is at the beginning of the disc and it is ext2. >>> >>> >>> 2010/3/26 Outback Dingo <outbackdingo@gmail.com> >>> >>>> more information is its running ext4 from lvm on sda5 >>>> >>>> /dev/sda5 on / type ext4 (rw,errors=remount-ro) >>>> proc on /proc type proc (rw) >>>> >>>> so in the grub config i have >>>> >>>> cat /etc/grub.d/40_custom >>>> #!/bin/sh >>>> exec tail -n +3 $0 >>>> # This file provides an easy way to add custom menu entries. Simply >>>> type the >>>> # menu entries you want to add after this comment. Be careful not to >>>> change >>>> # the ''exec tail'' line above. >>>> menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { >>>> insmod ext2 >>>> insmod ext4 >>>> set root=(hd0,5) >>>> multiboot (hd0,5)/boot/xen-4.0.0-rc8.gz dummy=dummy >>>> module (hd0,5)/boot/vmlinuz-2.6.32.10 dummy=dummy >>>> root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro >>>> module (hd0,5)/boot/initrd.img-2.6.32.10 >>>> } >>>> >>>> >>>> 2010/3/26 Outback Dingo <outbackdingo@gmail.com> >>>> >>>>> this is running on the kernel from jeremys tee >>>>> >>>>> uname -a >>>>> Linux dingo-XPS 2.6.32.10 #2 SMP Fri Mar 26 14:31:20 EDT 2010 i686 >>>>> GNU/Linux >>>>> dingo@dingo-XPS:~$ cat /proc/cpuinfo >>>>> processor : 0 >>>>> vendor_id : GenuineIntel >>>>> cpu family : 6 >>>>> model : 37 >>>>> model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz >>>>> stepping : 2 >>>>> cpu MHz : 1199.000 >>>>> cache size : 3072 KB >>>>> physical id : 0 >>>>> siblings : 4 >>>>> core id : 0 >>>>> cpu cores : 2 >>>>> apicid : 0 >>>>> initial apicid : 0 >>>>> fdiv_bug : no >>>>> hlt_bug : no >>>>> f00f_bug : no >>>>> coma_bug : no >>>>> fpu : yes >>>>> fpu_exception : yes >>>>> cpuid level : 11 >>>>> wp : yes >>>>> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge >>>>> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp >>>>> lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni >>>>> dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt >>>>> lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid >>>>> bogomips : 4521.42 >>>>> clflush size : 64 >>>>> cache_alignment : 64 >>>>> address sizes : 36 bits physical, 48 bits virtual >>>>> power management: >>>>> >>>>> processor : 1 >>>>> vendor_id : GenuineIntel >>>>> cpu family : 6 >>>>> model : 37 >>>>> model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz >>>>> stepping : 2 >>>>> cpu MHz : 1199.000 >>>>> cache size : 3072 KB >>>>> >>>>> >>>>> >>>>> physical id : 0 >>>>> >>>>> >>>>> >>>>> siblings : 4 >>>>> >>>>> >>>>> >>>>> core id : 2 >>>>> >>>>> >>>>> >>>>> cpu cores : 2 >>>>> >>>>> >>>>> >>>>> apicid : 4 >>>>> >>>>> >>>>> >>>>> initial apicid : 4 >>>>> >>>>> >>>>> >>>>> fdiv_bug : no >>>>> >>>>> >>>>> >>>>> hlt_bug : no >>>>> >>>>> >>>>> >>>>> f00f_bug : no >>>>> >>>>> >>>>> >>>>> coma_bug : no >>>>> >>>>> >>>>> >>>>> fpu : yes >>>>> >>>>> >>>>> >>>>> fpu_exception : yes >>>>> >>>>> >>>>> >>>>> cpuid level : 11 >>>>> >>>>> >>>>> >>>>> wp : yes >>>>> >>>>> >>>>> >>>>> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge >>>>> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp >>>>> lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni >>>>> dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt >>>>> lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid >>>>> >>>>> bogomips : 4521.97 >>>>> >>>>> >>>>> >>>>> clflush size : 64 >>>>> >>>>> >>>>> >>>>> cache_alignment : 64 >>>>> >>>>> >>>>> >>>>> address sizes : 36 bits physical, 48 bits virtual >>>>> >>>>> >>>>> >>>>> power management: >>>>> >>>>> processor : 2 >>>>> vendor_id : GenuineIntel >>>>> cpu family : 6 >>>>> model : 37 >>>>> model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz >>>>> stepping : 2 >>>>> cpu MHz : 2267.000 >>>>> cache size : 3072 KB >>>>> physical id : 0 >>>>> siblings : 4 >>>>> core id : 0 >>>>> cpu cores : 2 >>>>> apicid : 1 >>>>> initial apicid : 1 >>>>> fdiv_bug : no >>>>> hlt_bug : no >>>>> f00f_bug : no >>>>> coma_bug : no >>>>> fpu : yes >>>>> fpu_exception : yes >>>>> cpuid level : 11 >>>>> wp : yes >>>>> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge >>>>> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp >>>>> lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni >>>>> dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt >>>>> lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid >>>>> bogomips : 4521.97 >>>>> clflush size : 64 >>>>> cache_alignment : 64 >>>>> address sizes : 36 bits physical, 48 bits virtual >>>>> power management: >>>>> >>>>> processor : 3 >>>>> vendor_id : GenuineIntel >>>>> cpu family : 6 >>>>> model : 37 >>>>> model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz >>>>> stepping : 2 >>>>> cpu MHz : 1199.000 >>>>> cache size : 3072 KB >>>>> physical id : 0 >>>>> siblings : 4 >>>>> core id : 2 >>>>> cpu cores : 2 >>>>> apicid : 5 >>>>> initial apicid : 5 >>>>> fdiv_bug : no >>>>> hlt_bug : no >>>>> f00f_bug : no >>>>> coma_bug : no >>>>> fpu : yes >>>>> fpu_exception : yes >>>>> cpuid level : 11 >>>>> wp : yes >>>>> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge >>>>> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp >>>>> lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni >>>>> dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt >>>>> lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid >>>>> bogomips : 4521.97 >>>>> clflush size : 64 >>>>> cache_alignment : 64 >>>>> address sizes : 36 bits physical, 48 bits virtual >>>>> power management: >>>>> >>>>> >>>>> 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com> >>>>> >>>>>> Mmm... Your system is 64 bits?! >>>>>> You try the Linux 2.6.32.10 from Jeremy''s tree without Xen?! >>>>>> >>>>>> 2010/3/26 Outback Dingo <outbackdingo@gmail.com> >>>>>> >>>>>>> hrmm ok, well Ive gotten all the way to the end and tried to reboot >>>>>>> into XEN >>>>>>> >>>>>>> >>>>>>> during the boot process i see >>>>>>> >>>>>>> elf_xen_note_check >>>>>>> >>>>>>> will only load images built for generic load or linux images >>>>>>> >>>>>>> Panic on CPU0 >>>>>>> >>>>>>> could not setup DomU Guest OS >>>>>>> >>>>>>> reboot in 15 seonds >>>>>>> >>>>>>> any thoughts??? >>>>>>> >>>>>>> >>>>>>> >>>>>>> 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com> >>>>>>> >>>>>>>> Hi! >>>>>>>> >>>>>>>> >>>>>>>> This is a quick guide to help us to try the new Xen. >>>>>>>> Also I have the composite window manager on top of the Xen! With >>>>>>>> full 3D support! >>>>>>>> >>>>>>>> To achieve this I do: >>>>>>>> >>>>>>>> 1- Install your Ubuntu Desktop 10.4 beta1 and upgrade your system; >>>>>>>> >>>>>>>> 1.1 - Install some packages: >>>>>>>> >>>>>>>> aptitude install build-essential libncurses5-dev dpkg-dev debhelper >>>>>>>> fakeroot >>>>>>>> >>>>>>>> 2- Download and install a new kernel with dom0 pv_ops enabled: >>>>>>>> >>>>>>>> sudo -s >>>>>>>> cd /usr/src >>>>>>>> git clone git:// >>>>>>>> git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen >>>>>>>> cd linux-2.6-xen >>>>>>>> git pull >>>>>>>> git reset --hard >>>>>>>> git checkout -b xen/stable origin/xen/stable >>>>>>>> git pull >>>>>>>> >>>>>>>> 2.1 - Download the kernel config file attached to this mail >>>>>>>> (config-for-xen-2.6.32.10-pvops): >>>>>>>> >>>>>>>> Copy the config file to the kernel source dir: >>>>>>>> >>>>>>>> cp ~Downloads/config-for-xen-2.6.32.10-pvops >>>>>>>> /usr/src/linux-2.6-xen/.config >>>>>>>> >>>>>>>> You can see the differences of my config file against the Lucid >>>>>>>> one: >>>>>>>> >>>>>>>> diff /boot/config-2.6.32-17-generic >>>>>>>> ~Downloads/config-for-xen-2.6.32.10-pvops | vim - >>>>>>>> >>>>>>>> ...both are close to each other. >>>>>>>> >>>>>>>> 2.2 Configure, compile and install: >>>>>>>> >>>>>>>> make menuconfig # Enable the dom0 support and the Xen >>>>>>>> backend/frontend/xenfs stuffs... >>>>>>>> make >>>>>>>> chmod g-s /usr/src -R # To avoid the error: "dpkg-deb: control >>>>>>>> directory has bad permissions 2755 (must be >=0755 and <=0775)" >>>>>>>> make dep-pkg >>>>>>>> dpkg -i ../linux-image*2.6.32.10*.deb >>>>>>>> depmod 2.6.32.10 >>>>>>>> update-initramfs -c -k 2.6.32.10 >>>>>>>> update-grub >>>>>>>> echo "xen-evtchn" >> /etc/modules >>>>>>>> >>>>>>>> Now you can try your new kernel without Xen, if you want, it should >>>>>>>> work smootly. >>>>>>>> >>>>>>>> 3- Download and install the latest Xen: >>>>>>>> >>>>>>>> Preparing your environment: >>>>>>>> >>>>>>>> apt-get build-dep xen-3.3 >>>>>>>> aptitude install uuid-dev iasl texinfo >>>>>>>> >>>>>>>> Download and compile: >>>>>>>> >>>>>>>> cd /usr/src >>>>>>>> hg clone -r 4.0.0-rc8 http://xenbits.xensource.com/xen-unstable.hg >>>>>>>> cd xen-unstable.hg >>>>>>>> make xen >>>>>>>> make tools >>>>>>>> make stubdom >>>>>>>> make install-xen >>>>>>>> make install-tools PYTHON_PREFIX_ARG>>>>>>>> make install-stubdom >>>>>>>> >>>>>>>> update-rc.d xend defaults 20 21 >>>>>>>> update-rc.d xendomains defaults 21 20 >>>>>>>> >>>>>>>> 4- Configuring your Grub2 through the file /etc/grub.d/40_custom: >>>>>>>> >>>>>>>> ---- cut here ---- >>>>>>>> #!/bin/sh >>>>>>>> exec tail -n +3 $0 >>>>>>>> # This file provides an easy way to add custom menu entries. Simply >>>>>>>> type the >>>>>>>> # menu entries you want to add after this comment. Be careful not >>>>>>>> to change >>>>>>>> # the ''exec tail'' line above. >>>>>>>> menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { >>>>>>>> insmod ext2 >>>>>>>> set root=(hd0,1) >>>>>>>> multiboot (hd0,1)/xen-4.0.0-rc8.gz dummy=dummy >>>>>>>> module (hd0,1)/vmlinuz-2.6.32.10 dummy=dummy >>>>>>>> root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro >>>>>>>> module (hd0,1)/initrd.img-2.6.32.10 >>>>>>>> } >>>>>>>> ---- cut here ---- >>>>>>>> >>>>>>>> Don''t forget to change your "root=" option of your Linux! >>>>>>>> >>>>>>>> Run update-grub again: >>>>>>>> >>>>>>>> update-grub >>>>>>>> >>>>>>>> 5- Reboot into your new dom0! >>>>>>>> >>>>>>>> reboot >>>>>>>> >>>>>>>> 6- Look if your Xen is up and running >>>>>>>> >>>>>>>> xm list >>>>>>>> xm info >>>>>>>> >>>>>>>> .. if not: >>>>>>>> >>>>>>>> /etc/init.d/xendomains stop >>>>>>>> /etc/init.d/xend stop >>>>>>>> /etc/init.d/xend start >>>>>>>> /etc/init.d/xendomains start >>>>>>>> >>>>>>>> xm list >>>>>>>> xm info >>>>>>>> >>>>>>>> - >>>>>>>> Cheers! >>>>>>>> Thiago >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> 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
Boris Derzhavets
2010-Apr-28 21:17 UTC
Re: [Xen-users] Re: Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits.
Hi Thiago, 1. In case i would hard link /dev/xen/evtchn device with kernel ( in meantime 2.6.32.12) This entry to /etc/modules would become unnecessary :- echo "xen-evtchn" >> /etc/modules 2. I will check shortly , that # apt-get build-dep xen-3.3 (causes more then 300 MB download) is not required as well I believe apt-get install libcurl4-openssl-dev \ xserver-xorg-dev \ python2.6-dev \ mercurial gitk \ build-essential \ libncurses5-dev \ uuid-dev gawk \ gettext texinfo bcc \ bridge-utils iasl would be enough to build Xen 4.0 hypervisor , tools and pvops kernel Kernel might be built in Debian way as you suggested (apt-get install dpkg-dev debhelper) or not. It should not be matter as well. If i am wrong about build Xen 4.0 Dom0 with 2.6.32.12 kernel on top of Ubuntu 10.04 Server , please advise. Thanks Boris. --- On Fri, 3/26/10, Martinx - ジェームズ <thiagocmartinsc@gmail.com> wrote: From: Martinx - ジェームズ <thiagocmartinsc@gmail.com> Subject: [Xen-users] Re: Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits. To: "Xen List" <xen-users@lists.xensource.com> Date: Friday, March 26, 2010, 10:56 AM Hi! My "xm info" shows: root@tcmc-dell:~# xm in host : tcmc-dell release : 2.6.32.10 version : #2 SMP Wed Mar 24 18:52:25 BRT 2010 machine : x86_64 nr_cpus : 2 nr_nodes : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 2992 hw_caps : bfebfbff:20100800:00000000:00000940:0408e3fd:00000000:00000001:00000000 virt_caps : hvm total_memory : 3794 free_memory : 643 node_to_cpu : node0:0-1 node_to_memory : node0:643 node_to_dma32_mem : node0:580 max_node_id : 0 xen_major : 4 xen_minor : 0 xen_extra : .0-rc8 xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : Fri Mar 26 10:29:38 2010 +0000 21074:542211ba675c xen_commandline : cc_compiler : gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu2) cc_compile_by : root cc_compile_domain : worldweb.office cc_compile_date : Fri Mar 26 10:54:13 BRT 2010 xend_config_format : 4 martinx@tcmc-dell:~$ glxinfo name of display: :0.0 display: :0 screen: 0 direct rendering: Yes Cheers! Thiago 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com> Hi! This is a quick guide to help us to try the new Xen. Also I have the composite window manager on top of the Xen! With full 3D support! To achieve this I do: 1- Install your Ubuntu Desktop 10.4 beta1 and upgrade your system; 1.1 - Install some packages: aptitude install build-essential libncurses5-dev dpkg-dev debhelper fakeroot 2- Download and install a new kernel with dom0 pv_ops enabled: sudo -s cd /usr/src git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen cd linux-2.6-xen git pull git reset --hard git checkout -b xen/stable origin/xen/stable git pull 2.1 - Download the kernel config file attached to this mail (config-for-xen-2.6.32.10-pvops): Copy the config file to the kernel source dir: cp ~Downloads/config-for-xen-2.6.32.10-pvops /usr/src/linux-2.6-xen/.config You can see the differences of my config file against the Lucid one: diff /boot/config-2.6.32-17-generic ~Downloads/config-for-xen-2.6.32.10-pvops | vim - ...both are close to each other. 2.2 Configure, compile and install: make menuconfig # Enable the dom0 support and the Xen backend/frontend/xenfs stuffs... make chmod g-s /usr/src -R # To avoid the error: "dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and <=0775)" make dep-pkg dpkg -i ../linux-image*2.6.32.10*.deb depmod 2.6.32.10 update-initramfs -c -k 2.6.32.10 update-grub echo "xen-evtchn" >> /etc/modules Now you can try your new kernel without Xen, if you want, it should work smootly. 3- Download and install the latest Xen: Preparing your environment: apt-get build-dep xen-3.3 aptitude install uuid-dev iasl texinfo Download and compile: cd /usr/src hg clone -r 4.0.0-rc8 http://xenbits.xensource.com/xen-unstable.hg cd xen-unstable.hg make xen make tools make stubdom make install-xen make install-tools PYTHON_PREFIX_ARG make install-stubdom update-rc.d xend defaults 20 21 update-rc.d xendomains defaults 21 20 4- Configuring your Grub2 through the file /etc/grub.d/40_custom: ---- cut here ---- #!/bin/sh exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the ''exec tail'' line above. menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { insmod ext2 set root=(hd0,1) multiboot (hd0,1)/xen-4.0.0-rc8.gz dummy=dummy module (hd0,1)/vmlinuz-2.6.32.10 dummy=dummy root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro module (hd0,1)/initrd.img-2.6.32.10 } ---- cut here ---- Don''t forget to change your "root=" option of your Linux! Run update-grub again: update-grub 5- Reboot into your new dom0! reboot 6- Look if your Xen is up and running xm list xm info .. if not: /etc/init.d/xendomains stop /etc/init.d/xend stop /etc/init.d/xend start /etc/init.d/xendomains start xm list xm info - Cheers! Thiago -----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
Boris Derzhavets
2010-Apr-30 20:12 UTC
Re: [Xen-users] Re: Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits.
apt-get build-dep xen-3.3 appears to be important to build tools with PCI pass-through support. For boards without VT-D support it''s unimportant. Just usual PV & HVM DomUs I might miss something else. So, to build xen&tools is safe to perform this build-dep on 10.04,9.10,9.04 I was wrong. Boris. --- On Wed, 4/28/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Re: Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits. To: "Xen List" <xen-users@lists.xensource.com>, "Martinx - ジェームズ" <thiagocmartinsc@gmail.com> Date: Wednesday, April 28, 2010, 5:17 PM Hi Thiago, 1. In case i would hard link /dev/xen/evtchn device with kernel ( in meantime 2.6.32.12) This entry to /etc/modules would become unnecessary :- echo "xen-evtchn" >> /etc/modules 2. I will check shortly , that # apt-get build-dep xen-3.3 (causes more then 300 MB download) is not required as well I believe apt-get install libcurl4-openssl-dev \ xserver-xorg-dev \ python2.6-dev \ mercurial gitk \ build-essential \ libncurses5-dev \ uuid-dev gawk \ gettext texinfo bcc \ bridge-utils iasl would be enough to build Xen 4.0 hypervisor , tools and pvops kernel Kernel might be built in Debian way as you suggested (apt-get install dpkg-dev debhelper) or not. It should not be matter as well. If i am wrong about build Xen 4.0 Dom0 with 2.6.32.12 kernel on top of Ubuntu 10.04 Server , please advise. Thanks Boris. --- On Fri, 3/26/10, Martinx - ジェームズ <thiagocmartinsc@gmail.com> wrote: From: Martinx - ジェームズ <thiagocmartinsc@gmail.com> Subject: [Xen-users] Re: Running Xen 4.0.0-rc8 with Linux 2.6.32.10 paravirt_ops dom0 on top of Ubuntu Lucid 10.04 64bits. To: "Xen List" <xen-users@lists.xensource.com> Date: Friday, March 26, 2010, 10:56 AM Hi! My "xm info" shows: root@tcmc-dell:~# xm in host : tcmc-dell release : 2.6.32.10 version : #2 SMP Wed Mar 24 18:52:25 BRT 2010 machine : x86_64 nr_cpus : 2 nr_nodes : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 2992 hw_caps : bfebfbff:20100800:00000000:00000940:0408e3fd:00000000:00000001:00000000 virt_caps : hvm total_memory : 3794 free_memory : 643 node_to_cpu : node0:0-1 node_to_memory : node0:643 node_to_dma32_mem : node0:580 max_node_id : 0 xen_major : 4 xen_minor : 0 xen_extra : .0-rc8 xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : Fri Mar 26 10:29:38 2010 +0000 21074:542211ba675c xen_commandline : cc_compiler : gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu2) cc_compile_by : root cc_compile_domain : worldweb.office cc_compile_date : Fri Mar 26 10:54:13 BRT 2010 xend_config_format : 4 martinx@tcmc-dell:~$ glxinfo name of display: :0.0 display: :0 screen: 0 direct rendering: Yes Cheers! Thiago 2010/3/26 Martinx - ジェームズ <thiagocmartinsc@gmail.com> Hi! This is a quick guide to help us to try the new Xen. Also I have the composite window manager on top of the Xen! With full 3D support! To achieve this I do: 1- Install your Ubuntu Desktop 10.4 beta1 and upgrade your system; 1.1 - Install some packages: aptitude install build-essential libncurses5-dev dpkg-dev debhelper fakeroot 2- Download and install a new kernel with dom0 pv_ops enabled: sudo -s cd /usr/src git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen cd linux-2.6-xen git pull git reset --hard git checkout -b xen/stable origin/xen/stable git pull 2.1 - Download the kernel config file attached to this mail (config-for-xen-2.6.32.10-pvops): Copy the config file to the kernel source dir: cp ~Downloads/config-for-xen-2.6.32.10-pvops /usr/src/linux-2.6-xen/.config You can see the differences of my config file against the Lucid one: diff /boot/config-2.6.32-17-generic ~Downloads/config-for-xen-2.6.32.10-pvops | vim - ...both are close to each other. 2.2 Configure, compile and install: make menuconfig # Enable the dom0 support and the Xen backend/frontend/xenfs stuffs... make chmod g-s /usr/src -R # To avoid the error: "dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and <=0775)" make dep-pkg dpkg -i ../linux-image*2.6.32.10*.deb depmod 2.6.32.10 update-initramfs -c -k 2.6.32.10 update-grub echo "xen-evtchn" >> /etc/modules Now you can try your new kernel without Xen, if you want, it should work smootly. 3- Download and install the latest Xen: Preparing your environment: apt-get build-dep xen-3.3 aptitude install uuid-dev iasl texinfo Download and compile: cd /usr/src hg clone -r 4.0.0-rc8 http://xenbits.xensource.com/xen-unstable.hg cd xen-unstable.hg make xen make tools make stubdom make install-xen make install-tools PYTHON_PREFIX_ARG make install-stubdom update-rc.d xend defaults 20 21 update-rc.d xendomains defaults 21 20 4- Configuring your Grub2 through the file /etc/grub.d/40_custom: ---- cut here ---- #!/bin/sh exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the ''exec tail'' line above. menuentry "Xen 4.0.0-rc8 / Ubuntu 10.4 kernel 2.6.32.10 pvops" { insmod ext2 set root=(hd0,1) multiboot (hd0,1)/xen-4.0.0-rc8.gz dummy=dummy module (hd0,1)/vmlinuz-2.6.32.10 dummy=dummy root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid ro module (hd0,1)/initrd.img-2.6.32.10 } ---- cut here ---- Don''t forget to change your "root=" option of your Linux! Run update-grub again: update-grub 5- Reboot into your new dom0! reboot 6- Look if your Xen is up and running xm list xm info .. if not: /etc/init.d/xendomains stop /etc/init.d/xend stop /etc/init.d/xend start /etc/init.d/xendomains start xm list xm info - Cheers! Thiago -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----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