Skip to contentSkip to conversation

Xen 4.0.2 first release candidate

DISCUSSION Keir Fraser 5 participants 9 messages Jan 10, 2011 – Jan 14, 2011

lore
Share & tools
lore
#1 lore raw
Quoted 12 lines · On Mon, 10 Jan 2011 15:45:59 +0000 <[email protected]> wrote:

Folks,

4.0.2-rc1 is now tagged in http://xenbits.xen.org/staging/xen-4.0-testing.hg

Please test!

-- Keir

Are the dependancies unchanged from Xen 4.0?

Requirements for building Xen 4.0 from source
New software packages required to compile the Xen hypervisor/tools from source: iasl xz libs and headers to build pygrub with support for lzma compressed domU kernels. Note
to developers: Xen 4.0 can be built on RHEL5 / CentOS 5, but if you
want to modify the sources before building, then you need to have a
newer version of "flex" than what's included in the EL5 distributions!
For more information please see http://lists.xensource.com/archives/html/xen-devel/2010-03/msg00180.html and http://xenbits.xensource.com/xen-4.0-testing.hg?rev/3138b3885999
Packages required for building from source
Packages
required to build Xen 4.0 from source on Fedora 11, 12, 13, 14 or 15,
in addition to all the usual development tools and libraries: yum groupinstall "Development Libraries"
yum groupinstall "Development Tools"
yum install transfig wget texi2html libaio-devel dev86 glibc-devel e2fsprogs-devel gitk mkinitrd iasl xz-devel bzip2-devel pciutils-libs pciutils-devel SDL-devel libX11-devel gtk2-devel bridge-utils PyXML qemu-common qemu-img mercurial
yum install glibc-devel.i686Required packages for Debian Lenny 5.0 & Squeeze 6.0 / Ubuntu 8.x & 9.x & 10.04: apt-get install bcc bin86 gawk bridge-utils iproute libcurl3 libcurl4-openssl-dev bzip2 module-init-tools transfig tgif texinfo texlive-latex-base texlive-latex-recommended texlive-fonts-extra texlive-fonts-recommended pciutils-dev mercurial build-essential make gcc libc6-dev zlib1g-dev python python-dev python-twisted libncurses5-dev patch libvncserver-dev libsdl-dev libjpeg62-dev iasl libbz2-dev e2fslibs-dev git-core uuid-dev ocaml libx11-devIf you have a 64bit version of Debian/Ubuntu you also need this additional package: apt-get install gcc-multilib Also
note that in Debian/Ubuntu you'll need "xz-utils" (the new version of
lzma library) to be able to build pygrub with support for lzma
compressed kernels!: apt-get install xz-utils

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw
Quoted 5 lines · Mike Viau
Quoted 5 lines · On Mon, 10 Jan 2011 15:45:59 +0000 <[email protected]> wrote:

Folks,

4.0.2-rc1 is now tagged in http://xenbits.xen.org/staging/xen-4.0-testing.hg

Quoted 8 lines
Quoted 6 lines

Please test!

-- Keir

Are the dependancies unchanged from Xen 4.0?

Should be unchanged since 4.0.1 I believe. We can update the readme or other documentation if people find otherwise.

K.

Quoted 51 lines

Requirements for building Xen 4.0 from source
New software packages required to compile the Xen hypervisor/tools from source:
* iasl
* xz libs and headers to build pygrub with support for lzma compressed domU kernels.
Note to developers: Xen 4.0 can be built on RHEL5 / CentOS 5, but if you want to modify the sources before building, then you need to have a newer version of "flex" than what's included in the EL5 distributions! For more information please see
http://lists.xensource.com/archives/html/xen-devel/2010-03/msg00180.html and
http://xenbits.xensource.com/xen-4.0-testing.hg?rev/3138b3885999

Packages required for building from source
Packages required to build Xen 4.0 from source on Fedora 11, 12, 13, 14 or 15, in addition to all the usual development tools and libraries:

yum groupinstall "Development Libraries"
yum groupinstall "Development Tools"
yum install transfig wget texi2html libaio-devel dev86 glibc-devel e2fsprogs-devel gitk mkinitrd iasl xz-devel bzip2-devel pciutils-libs pciutils-devel SDL-devel libX11-devel gtk2-devel bridge-utils PyXML qemu-common qemu-img mercurial
yum install glibc-devel.i686
Required packages for Debian Lenny 5.0 & Squeeze 6.0 / Ubuntu 8.x & 9.x & 10.04:

apt-get install bcc bin86 gawk bridge-utils iproute libcurl3 libcurl4-openssl-dev bzip2 module-init-tools transfig tgif texinfo texlive-latex-base texlive-latex-recommended texlive-fonts-extra texlive-fonts-recommended pciutils-dev mercurial build-essential make gcc libc6-dev zlib1g-dev python python-dev python-twisted libncurses5-dev patch libvncserver-dev libsdl-dev libjpeg62-dev iasl libbz2-dev e2fslibs-dev git-core uuid-dev ocaml libx11-dev
If you have a 64bit version of Debian/Ubuntu you also need this additional package:

apt-get install gcc-multilib

Also note that in Debian/Ubuntu you'll need "xz-utils" (the new version of lzma library) to be able to build pygrub with support for lzma compressed kernels!:
apt-get install xz-utils

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
Quoted 9 lines · On Mon, 10 Jan 2011 15:45:59 +0000 <[email protected]> wrote:

Folks,

4.0.2-rc1 is now tagged in http://xenbits.xen.org/staging/xen-4.0-testing.hg

Please test!

-- Keir

I will be able to test the new release later today.

I did however notice as of 1:30PM -0500 that http://xenbits.xen.org/xen-4.0-testing.hg?tags was not reflecting the tag.

ed6ff865366e8dc9964a6dd0050f831300881a93 tip

Please advise.

-M

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw
Quoted 11 lines · Mike Viau
Quoted 8 lines · On Mon, 10 Jan 2011 15:45:59 +0000 <[email protected]> wrote:

Folks,

4.0.2-rc1 is now tagged in http://xenbits.xen.org/staging/xen-4.0-testing.hg

Please test!

-- Keir

I will be able to test the new release later today.

Quoted 7 lines

I did however notice as of 1:30PM -0500 that
http://xenbits.xen.org/xen-4.0-testing.hg?tags was not reflecting the tag.

ed6ff865366e8dc9964a6dd0050f831300881a93 tip
<http://xenbits.xen.org/xen-4.0-testing.hg?rev/ed6ff865366e>

Please advise.

That's why I linked to the staging repository, not the main repository. It will be auto-pushed to the latter when the automated tests pass. Could be tomorrow before it appears in the main repo. You can just grab it from the staging repo meanwhile.

K.

Quoted 7 lines

-M

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw
In reply to Mike Viau

Mike Viau writes ("RE: [Xen-devel] Xen 4.0.2 first release candidate"):

Quoted 4 lines
Quoted 2 lines · On Mon, 10 Jan 2011 15:45:59 +0000 <[email protected]> wrote:

4.0.2-rc1 is now tagged in http://xenbits.xen.org/staging/xen-4.0-testing.hg

Are the dependancies unchanged from Xen 4.0?

I think they should be. It would be rare that we deliberately introduce new dependencies in a stable branch, and I don't recall having done so for 4.0.

Ian.

#7 lore raw
Quoted 7 lines · On Thu, 13 Jan 2011 20:13:58 +0200 <[email protected]> wrote:
Quoted 5 lines · Keir Fraser

Folks,

4.0.2-rc1 is now tagged in http://xenbits.xen.org/staging/xen-4.0-testing.hg

Quoted 8 lines
Quoted 2 lines

Please test!

I just tried Xen 4.0.2-rc1 on one of my testboxes and I didn't find any problems. I was running various PV domUs without problems.

Tested with Fedora 14 x86_64 and latest xen/stable-2.6.32.x pvops dom0 kernel.

I am having similar success thus far with the Debian 2.6.32-29+xen0 kernel from the ianc (Ian Campbells) xenbits folder.

PV domUs that were working on 4.0.1 are working as expected in 4.0.2.

Additionally I was able to update my debian testing domUs to use grub2 as the msdos syntax is now recgonized :)

-M

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#8 lore raw
In reply to Keir Fraser

Hi Keir,

Could you backport xen-unstable 22092:e0ec7b10f8ce and apply the attached patch? They are required in order to build 4.0.2-rc1 on ia64.

Notice: the attached patch is required only on xen-4.0-testing. This issue was introduced by xen-4.0-testing 21300:8bdf09baff30 (xen-unstable 21886:578ed14c3c67),
which required xen-unstable 21166:07befd9cf6d3.

Best regards,

Signature · 1 line
  KUWAMURA Shin'ya

# HG changeset patch
# User KUWAMURA Shin'ya <[email protected]> # Date 1294782537 18000
# Node ID e2ea327517357193807e9a4961523108b35145ba # Parent d53dbb988624a658370462523d8b7f5aec11da2d
kexec: fix ia64 build for 21300:8bdf09baff30

On ia64, 21300:8bdf09baff30 introduces the following error:
xen/common/kexec.c:490: undefined reference to `continue_hypercall_on_cpu'

The function continue_hypercall_on_cpu() is defined only on x86.

xen/common/kexec.c +5 -0
diff -r d53dbb988624 -r e2ea32751735 xen/common/kexec.c
@@ -487,7 +487,12 @@ static int kexec_exec(XEN_GUEST_HANDLE(v
     {
     case KEXEC_TYPE_DEFAULT:
         image = &kexec_image[base + pos];
+#ifdef CONFIG_X86
         ret = continue_hypercall_on_cpu(0, kexec_reboot, image);
+#else
+        one_cpu_only();
+        machine_reboot_kexec(image); /* Does not return */
+#endif
         break;
     case KEXEC_TYPE_CRASH:
         kexec_crash(); /* Does not return */

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel