| To: | Martinx - ジェームズ <thiagocmartinsc@xxxxxxxxx> |
|---|---|
| Subject: | 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. |
| From: | Outback Dingo <outbackdingo@xxxxxxxxx> |
| Date: | 2010年3月26日 17:58:54 -0400 |
| Cc: | Xen List <xen-users@xxxxxxxxxxxxxxxxxxx> |
| Delivery-date: | 2010年3月26日 15:01:54 -0700 |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=0xLkbz88VrdrZnWD28O414hVAtAg0O9D+becWYBEoh8=; b=quEJ3HCRGWe+2ErOSW839k0o23eqk8oyMxQqOdUDLkcUZWTlBsT1SjozsbNvTNO1qY VwHuB03YXIkPw5D+AopxzrcYl8HB99SOZrVkOxc8210GTG8OhIRUCyl+RDZwJ/eswVUQ N5mTegFmOdsBNiTQyV3obCxX8QW6zqMcxZ/zw= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Wza0MmYRlD6mjYmDkLfUW4nWPz7ptPv30gd0Hi2nYjVx8GQE94brC5D9vXBYyaNkgI lexDxnFlIhejzhJrcWhtSbkfnjog9yiXg1YtqGkjHkNZx0LQWg5MqyzEb4a66BAikttn w7fTSklnpBBc71F8euN44GuS3JYfOce+tNGjU= |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxxx |
| In-reply-to: | <6b7f6eb1003261424v12ac8869q169cea7ff4ce31f2@xxxxxxxxxxxxxx> |
| List-help: | <mailto:xen-users-request@lists.xensource.com?subject=help> |
| List-id: | Xen user discussion <xen-users.lists.xensource.com> |
| List-post: | <mailto:xen-users@lists.xensource.com> |
| List-subscribe: | <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe> |
| List-unsubscribe: | <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe> |
| References: | <6b7f6eb1003260752i2ec1c914h425060c0a97828dc@xxxxxxxxxxxxxx> <5635aa0d1003261300x265aee51s83a884707d0a84f1@xxxxxxxxxxxxxx> <6b7f6eb1003261302w1e019027tc6390324e0046cc8@xxxxxxxxxxxxxx> <5635aa0d1003261316n5cfca44bue042778997399494@xxxxxxxxxxxxxx> <5635aa0d1003261340l503aa36aq4c52933cc3df541e@xxxxxxxxxxxxxx> <6b7f6eb1003261424v12ac8869q169cea7ff4ce31f2@xxxxxxxxxxxxxx> |
| Sender: | xen-users-bounces@xxxxxxxxxxxxxxxxxxx |
Sure! My /boot partition is at the beginning of the disc and it is ext2.2010年3月26日 Outback Dingo <outbackdingo@xxxxxxxxx>
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/shexec 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 ext2insmod ext4set root=(hd0,5)multiboot (hd0,5)/boot/xen-4.0.0-rc8.gz dummy=dummymodule (hd0,5)/boot/vmlinuz-2.6.32.10 dummy=dummy root=/dev/mapper/HyperDeskVG01-tcmc--dell--lucid romodule (hd0,5)/boot/initrd.img-2.6.32.10}
2010年3月26日 Outback Dingo <outbackdingo@xxxxxxxxx>this is running on the kernel from jeremys teeuname -aLinux dingo-XPS 2.6.32.10 #2 SMP Fri Mar 26 14:31:20 EDT 2010 i686 GNU/Linuxdingo@dingo-XPS:~$ cat /proc/cpuinfoprocessor : 0vendor_id : GenuineIntelcpu family : 6model : 37model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHzstepping : 2cpu MHz : 1199.000cache size : 3072 KBphysical id : 0siblings : 4core id : 0cpu cores : 2apicid : 0initial apicid : 0fdiv_bug : nohlt_bug : nof00f_bug : nocoma_bug : nofpu : yesfpu_exception : yescpuid level : 11wp : yesflags : 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 vpidbogomips : 4521.42clflush size : 64cache_alignment : 64address sizes : 36 bits physical, 48 bits virtualpower management:processor : 1vendor_id : GenuineIntelcpu family : 6model : 37model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHzstepping : 2cpu MHz : 1199.000cache size : 3072 KBphysical id : 0siblings : 4core id : 2cpu cores : 2apicid : 4initial apicid : 4fdiv_bug : nohlt_bug : nof00f_bug : nocoma_bug : nofpu : yesfpu_exception : yescpuid level : 11wp : yesflags : 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 vpidbogomips : 4521.97clflush size : 64cache_alignment : 64address sizes : 36 bits physical, 48 bits virtualpower management:processor : 2vendor_id : GenuineIntelcpu family : 6model : 37model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHzstepping : 2cpu MHz : 2267.000cache size : 3072 KBphysical id : 0siblings : 4core id : 0cpu cores : 2apicid : 1initial apicid : 1fdiv_bug : nohlt_bug : nof00f_bug : nocoma_bug : nofpu : yesfpu_exception : yescpuid level : 11wp : yesflags : 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 vpidbogomips : 4521.97clflush size : 64cache_alignment : 64address sizes : 36 bits physical, 48 bits virtualpower management:processor : 3vendor_id : GenuineIntelcpu family : 6model : 37model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHzstepping : 2cpu MHz : 1199.000cache size : 3072 KBphysical id : 0siblings : 4core id : 2cpu cores : 2apicid : 5initial apicid : 5fdiv_bug : nohlt_bug : nof00f_bug : nocoma_bug : nofpu : yesfpu_exception : yescpuid level : 11wp : yesflags : 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 vpidbogomips : 4521.97clflush size : 64cache_alignment : 64address sizes : 36 bits physical, 48 bits virtualpower management:2010年3月26日 Martinx - ジェームズ <thiagocmartinsc@xxxxxxxxx>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@xxxxxxxxx>
hrmm ok, well Ive gotten all the way to the end and tried to reboot into XEN
during the boot process i seeelf_xen_note_checkwill only load images built for generic load or linux imagesPanic on CPU0could not setup DomU Guest OSreboot in 15 seondsany thoughts???2010年3月26日 Martinx - ジェームズ <thiagocmartinsc@xxxxxxxxx>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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
| Previous by Date: | Re: [Xen-users] Starting xend: grep: /proc/xen/capabilities: No such file or directory , Pasi Kärkkäinen |
|---|---|
| Next by Date: | RE: [Xen-users] Very Strange network problem , Ian Tobin |
| Previous by Thread: | 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. , Martinx - ジェームズ |
| Next by Thread: | 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. , Martinx - ジェームズ |
| Indexes: | [Date] [Thread] [Top] [All Lists] |