Skip to contentSkip to conversation

Xen 3.3.x on recent dom0 kernels

DISCUSSION Alex Bligh 4 participants 8 messages May 15, 2012 – May 16, 2012

lore
Share & tools
lore

Alex Bligh

author
#0 lore raw

Odd question I know. I am looking for source for as recent a kernel as possible running the old style xenlinux/xenified kernel (i.e. capable of running the xen3.3.x hypervisor). Any ideas where I can get this - preferably in git form?

I think Stefano Stabellini had something that worked up to 2.6.36 (from memory).

And yes, we would all prefer all our customers moved to xen4 but this is difficult for some of them.

Signature · 1 line
Alex Bligh
#1 lore raw
Quoted 11 lines · Alex Bligh

Odd question I know. I am looking for source for as recent a kernel as possible running the old style xenlinux/xenified kernel (i.e. capable of running the xen3.3.x hypervisor). Any ideas where I can get this - preferably in git form?

I think Stefano Stabellini had something that worked up to 2.6.36 (from memory).

And yes, we would all prefer all our customers moved to xen4 but this is difficult for some of them.

upstream pvops dom0 kernels probably won't run with Xen 3.3.x hypervisor due to missing and required hypercalls.

So you might want to try SLES or OpenSUSE Xenlinux kernels.
Or even RHEL5/CentOS5 kernel-xen.. it's 2.6.18 but actively maintained/patched.

-- Pasi

author
#2 lore raw
Quoted 10 lines · --On 15 May 2012 22:59:29 +0300 Pasi Kärkkäinen <[email protected]> wrote:
Quoted 3 lines

And yes, we would all prefer all our customers moved to xen4 but this is difficult for some of them.

upstream pvops dom0 kernels probably won't run with Xen 3.3.x hypervisor due to missing and required hypercalls.

So you might want to try SLES or OpenSUSE Xenlinux kernels. Or even RHEL5/CentOS5 kernel-xen.. it's 2.6.18 but actively maintained/patched.

OK I should probably explain a bit further. I have a xenlinux-ified Ubuntu's 2.6.38 kernel and have it working with with Xen 3.3.2, save for the fact something in porting screwed up the IGB driver (packet transmission is unidirectional); perhaps the driver was broken anyway. Everything else works. I am of course very happy to share this interesting chimera.

I made this by taking Andrew Lyon's patches (not Stefano's - sorry Stefano) which I believe were prepared for Gentoo, and are here:

http://code.google.com/p/gentoo-xen-kernel/downloads/detail?name=xen-patches-2.6.38-2.tar.bz2&can=2&q=

I think these were based on work done by Jan Beulich. I applied them to a stock 2.6.38, then reapplied Ubuntu's own patches on top of them.

I'd now like to do the same for the Ubuntu Precise kernel (which is something like 3.2.0-1.1). However
http://code.google.com/p/gentoo-xen-kernel/downloads/list?can=2&q=xen
does not show any gentoo kernels newer than 2.6.38.

What I'm not sure is whether SUSE or Gentoo have continued to make my life easy by forward porting this stuff, and if so where I can get hold of it. Or whether I need to forward port everything myself.

Signature · 6 lines
Alex Bligh

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
#3 lore raw
Quoted 4 lines
Quoted 1 line
Quoted 1 line · Alex Bligh

What I'm not sure is whether SUSE or Gentoo have continued to make my life easy by forward porting this stuff, and if so where I can get hold of it. Or whether I need to forward port everything myself.

http://kernel.opensuse.org/git/master (of course we're at 3.4 now, but using the history you should be able to get something usable).

Jan

#4 lore raw
In reply to Alex Bligh
Quoted 7 lines · Alex Bligh

Odd question I know. I am looking for source for as recent a kernel as possible running the old style xenlinux/xenified kernel (i.e. capable of running the xen3.3.x hypervisor). Any ideas where I can get this - preferably in git form?

I think Stefano Stabellini had something that worked up to 2.6.36 (from memory).

Nope, I always worked on pvops style kernels.
I think that your best chance would be with SLES/OpenSUSE kernels.

#5 lore raw
Quoted 6 lines · Stefano Stabellini
Quoted 5 lines · Alex Bligh

Odd question I know. I am looking for source for as recent a kernel as possible running the old style xenlinux/xenified kernel (i.e. capable of running the xen3.3.x hypervisor). Any ideas where I can get this - preferably in git form?

Quoted 6 lines
Quoted 2 lines

I think Stefano Stabellini had something that worked up to 2.6.36 (from memory).

Nope, I always worked on pvops style kernels.
I think that your best chance would be with SLES/OpenSUSE kernels.

SLES11SP1 has 2.6.32 Xenlinux kernel, and SLES11SP2 has 3.x Xenlinux kernel.

Jan probably can comment if those (should/might) work with old Xen 3.3.x hypervisor..

-- Pasi

#6 lore raw
Quoted 11 lines
Quoted 1 line
Quoted 1 line · Pasi Kärkkäinen
Quoted 9 lines · Stefano Stabellini
Quoted 7 lines · Alex Bligh

Odd question I know. I am looking for source for as recent a kernel as possible running the old style xenlinux/xenified kernel (i.e. capable of running the xen3.3.x hypervisor). Any ideas where I can get this - preferably in git form?

I think Stefano Stabellini had something that worked up to 2.6.36 (from memory).

Quoted 8 lines
Quoted 3 lines

Nope, I always worked on pvops style kernels.
I think that your best chance would be with SLES/OpenSUSE kernels.

SLES11SP1 has 2.6.32 Xenlinux kernel, and SLES11SP2 has 3.x Xenlinux kernel.

Jan probably can comment if those (should/might) work with old Xen 3.3.x hypervisor..

They should, as long as they're being compiled with the right .config. As evidence for this, the -ec2 flavor we have in SLES reportedly works fine on Amazon's archaic 3.0.x hypervisor.

Jan

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

author
#7 lore raw

Jan, Pasi,

Quoted 10 lines · --On 16 May 2012 14:08:39 +0100 Jan Beulich <[email protected]> wrote:
Quoted 6 lines
Quoted 1 line
Quoted 1 line · Pasi Kärkkäinen

SLES11SP1 has 2.6.32 Xenlinux kernel, and SLES11SP2 has 3.x Xenlinux kernel.

Jan probably can comment if those (should/might) work with old Xen 3.3.x hypervisor..

They should, as long as they're being compiled with the right .config. As evidence for this, the -ec2 flavor we have in SLES reportedly works fine on Amazon's archaic 3.0.x hypervisor.

...

Quoted 3 lines

http://kernel.opensuse.org/git/master (of course we're at 3.4 now, but using the history you should be able to get something usable).

Fantastic - thank you.

Signature · 6 lines
Alex Bligh

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