Skip to contentSkip to conversation

The right way to get an actual xen-enabled kernel-source tree?

DISCUSSION Rustedt, Florian 6 participants 10 messages Mar 6, 2009

lore
Share & tools
lore
#0 lore raw

Hello list,

I need a xen-kernel in version 2.6.28, but can't find any hint, how i can come to this point? AFAIK the xensources stopped with 2.6.18?

So what'S actual the way to get a vanilla-kernel and patch it with xen?

Kind regards, Florian
**********************************************************************************************
IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only.
If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof.
*** eSafe scanned this email for viruses, vandals, and malicious content. ***
**********************************************************************************************

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

#1 lore raw
Quoted 7 lines · Florian

Hello list,

I need a xen-kernel in version 2.6.28, but can't find any hint, how i can come to this point? AFAIK the xensources stopped with 2.6.18?

So what'S actual the way to get a vanilla-kernel and patch it with xen?

Xen domU support has been in vanilla Linux kernels since 2.6.23 (pv_ops domU).

pv_ops based dom0 support is currently under development and it's planned to get merged to 2.6.30 vanilla kernel.

See: http://wiki.xensource.com/xenwiki/XenParavirtOps

latest development/unstable pv_ops Linux tree with dom0 patches:
http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=shortlog;h=xen/dom0/hackery

-- Pasi

#2 lore raw

AW: The right way to get an actual xen-enabledkernel-source tree?

Thanks a lot for the fast answer and yes, i need it for dom0!

Does this "pv_ops"-way mean, that i would have to use an not productional usable kernel? So perhaps it would be better for me, to patch a kernel with the 2.6.18 patchset?

If it is usable:
As i never used git before, could you please provide me the commandline to use it for a 2.6.28 kernel?

Is it like patching in that way:
1. download 2.6.28(.rcxx) vanilla-sources
2. untar and go to that directory
3. do "git something" now?

Cheers, Florian

Quoted 33 lines

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Pasi Kärkkäinen
Gesendet: Freitag, 6. März 2009 12:47
An: Rustedt, Florian
Cc: [email protected]
Betreff: Re: [Xen-devel] The right way to get an actual xen-enabledkernel-source tree?

Quoted 3 lines · Florian

Hello list,

I need a xen-kernel in version 2.6.28, but can't find any

hint, how i can come to this point?

Quoted 3 lines

AFAIK the xensources stopped with 2.6.18?

So what'S actual the way to get a vanilla-kernel and patch

it with xen?

Quoted 1 line

Xen domU support has been in vanilla Linux kernels since 2.6.23 (pv_ops domU).

pv_ops based dom0 support is currently under development and it's planned to get merged to 2.6.30 vanilla kernel.

See: http://wiki.xensource.com/xenwiki/XenParavirtOps

latest development/unstable pv_ops Linux tree with dom0 patches:
http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=sho
rtlog;h=xen/dom0/hackery

Quoted 7 lines

-- Pasi

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

**********************************************************************************************
IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only.
If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof.
*** eSafe scanned this email for viruses, vandals, and malicious content. ***
**********************************************************************************************

#3 lore raw

AW: The right way to get an actual xen-enabledkernel-source tree?

Why don't you use a distribution that includes what you need, such as Debian Etch and Lenny or CentOS, especially, if you need it stable?

BR, Carsten.

----- Originalnachricht -----
Von: "Rustedt, Florian" <[email protected]>
Gesendet: Fre, 6.3.2009 13:05
An: Pasi Kärkkäinen <[email protected]>
Cc: [email protected]
Betreff: AW: [Xen-devel] The right way to get an actual xen-enabledkernel-source tree?

Thanks a lot for the fast answer and yes, i need it for dom0!

Does this "pv_ops"-way mean, that i would have to use an not productional usable kernel? So perhaps it would be better for me, to patch a kernel with the 2.6.18 patchset?

If it is usable:
As i never used git before, could you please provide me the commandline to use it for a 2.6.28 kernel?

Is it like patching in that way:
1. download 2.6.28(.rcxx) vanilla-sources
2. untar and go to that directory
3. do "git something" now?

Cheers, Florian

Quoted 33 lines

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Pasi Kärkkäinen
Gesendet: Freitag, 6. März 2009 12:47
An: Rustedt, Florian
Cc: [email protected]
Betreff: Re: [Xen-devel] The right way to get an actual xen-enabledkernel-source tree?

Quoted 3 lines · Florian

Hello list,

I need a xen-kernel in version 2.6.28, but can't find any

hint, how i can come to this point?

Quoted 3 lines

AFAIK the xensources stopped with 2.6.18?

So what'S actual the way to get a vanilla-kernel and patch

it with xen?

Quoted 1 line

Xen domU support has been in vanilla Linux kernels since 2.6.23 (pv_ops domU).

pv_ops based dom0 support is currently under development and it's planned to get merged to 2.6.30 vanilla kernel.

See: http://wiki.xensource.com/xenwiki/XenParavirtOps

latest development/unstable pv_ops Linux tree with dom0 patches:
http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=sho
rtlog;h=xen/dom0/hackery

Quoted 7 lines

-- Pasi

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

**********************************************************************************************
IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only.
If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof.
*** eSafe scanned this email for viruses, vandals, and malicious content. ***
**********************************************************************************************

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

#4 lore raw

Re: The right way to get an actual xen-enabledkernel-source tree?

In reply to Rustedt, Florian
Quoted 5 lines · Florian

Thanks a lot for the fast answer and yes, i need it for dom0!

Does this "pv_ops"-way mean, that i would have to use an not productional usable kernel? So perhaps it would be better for me, to patch a kernel with the 2.6.18 patchset?

Current pv_ops dom0 development is tracking 2.6.29 (and 2.6.30 later), so that's what's available atm.

There are no recommended dom0 patches for 2.6.28 that I'm aware of.

Other option is to use Xensource xenlinux patches for 2.6.18, or then forward-port of those to 2.6.27 by novell/sles/suse people.

http://xenbits.xen.org/linux-2.6.18-xen.hg
http://xenbits.xen.org/ext/linux-2.6.27-xen.hg

I'd recommend you to use a distribution that already includes dom0 capable kernel out-of-the-box.

-- Pasi

Quoted 45 lines

If it is usable:
As i never used git before, could you please provide me the commandline to use it for a 2.6.28 kernel?

Is it like patching in that way:
1. download 2.6.28(.rcxx) vanilla-sources
2. untar and go to that directory
3. do "git something" now?

Cheers, Florian

Quoted 35 lines

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Pasi Kärkkäinen
Gesendet: Freitag, 6. März 2009 12:47
An: Rustedt, Florian
Cc: [email protected]
Betreff: Re: [Xen-devel] The right way to get an actual xen-enabledkernel-source tree?

Quoted 3 lines · Florian

Hello list,

I need a xen-kernel in version 2.6.28, but can't find any

hint, how i can come to this point?

Quoted 3 lines

AFAIK the xensources stopped with 2.6.18?

So what'S actual the way to get a vanilla-kernel and patch

it with xen?

Quoted 1 line

Xen domU support has been in vanilla Linux kernels since 2.6.23 (pv_ops domU).

pv_ops based dom0 support is currently under development and it's planned to get merged to 2.6.30 vanilla kernel.

See: http://wiki.xensource.com/xenwiki/XenParavirtOps

latest development/unstable pv_ops Linux tree with dom0 patches:
http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=sho
rtlog;h=xen/dom0/hackery

-- Pasi

#5 lore raw

AW: The right way to get an actualxen-enabledkernel-source tree?

Thanks again ;)

Reason for 2.6.28 is, that i was told by xen-users that 2.6.27 from SLES is buggy and after tests, i could approve that.
Additionally, i was told that 2.6.28 with xen support is stable. Unfortunately, nobody could tell me until now, where i could get that mysterious 2.6.28-xen-kernel, so that's why i am asking now here..

As i am using gentoo, i would need a source-tree to compile the kernel for me, prebuild binaries wont be from help. I didn't find any not sles-xen-kernel-source (src-rpm) in higher versions, p.e. by redhat to "steel" this ;)

I tried the "lenny"-way, but debian makes some strange things in the kernel-source packages that i don't understand in result as non-debianist, so i went back again to the roots and wanted to take the good old vanilla-source and patch it ;)

What is your advice concerning the stability of jeremys pv_ops enabled git-sources concerning stability?

An absolute no-go, or is it near stable, just waiting for some last checks?

Cheers, Florian

Quoted 79 lines

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Pasi Kärkkäinen
Gesendet: Freitag, 6. März 2009 14:03
An: Rustedt, Florian
Cc: [email protected]
Betreff: Re: [Xen-devel] The right way to get an actualxen-enabledkernel-source tree?

Quoted 3 lines · Florian

Thanks a lot for the fast answer and yes, i need it for dom0!

Does this "pv_ops"-way mean, that i would have to use an

not productional usable kernel?

Quoted 1 line

So perhaps it would be better for me, to patch a kernel

with the 2.6.18 patchset?

Quoted 1 line

Current pv_ops dom0 development is tracking 2.6.29 (and 2.6.30 later), so that's what's available atm.

There are no recommended dom0 patches for 2.6.28 that I'm aware of.

Other option is to use Xensource xenlinux patches for 2.6.18, or then forward-port of those to 2.6.27 by novell/sles/suse people.

http://xenbits.xen.org/linux-2.6.18-xen.hg
http://xenbits.xen.org/ext/linux-2.6.27-xen.hg

I'd recommend you to use a distribution that already includes dom0 capable kernel out-of-the-box.

-- Pasi

Quoted 2 lines

If it is usable:
As i never used git before, could you please provide me the

commandline to use it for a 2.6.28 kernel?

Quoted 10 lines

Is it like patching in that way:
1. download 2.6.28(.rcxx) vanilla-sources 2. untar and go to that directory 3. do "git something" now?

Cheers, Florian

Quoted 3 lines

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag

von Pasi

Quoted 30 lines
Quoted 30 lines

Kärkkäinen
Gesendet: Freitag, 6. März 2009 12:47
An: Rustedt, Florian
Cc: [email protected]
Betreff: Re: [Xen-devel] The right way to get an actual xen-enabledkernel-source tree?

Quoted 3 lines · Florian

Hello list,

I need a xen-kernel in version 2.6.28, but can't find any

hint, how i can come to this point?

Quoted 3 lines

AFAIK the xensources stopped with 2.6.18?

So what'S actual the way to get a vanilla-kernel and patch

it with xen?

Quoted 1 line

Xen domU support has been in vanilla Linux kernels since 2.6.23 (pv_ops domU).

pv_ops based dom0 support is currently under development and it's planned to get merged to 2.6.30 vanilla kernel.

See: http://wiki.xensource.com/xenwiki/XenParavirtOps

latest development/unstable pv_ops Linux tree with dom0 patches:
http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=sho
rtlog;h=xen/dom0/hackery

Quoted 9 lines
Quoted 2 lines
Quoted 2 lines

-- Pasi

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

**********************************************************************************************
IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only.
If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof.
*** eSafe scanned this email for viruses, vandals, and malicious content. ***
**********************************************************************************************

#6 lore raw

Re: The right way to get an actualxen-enabledkernel-source tree?

Quoted 5 lines · Florian

Thanks again ;)

Reason for 2.6.28 is, that i was told by xen-users that 2.6.27 from SLES is buggy and after tests, i could approve that.
Additionally, i was told that 2.6.28 with xen support is stable. Unfortunately, nobody could tell me until now, where i could get that mysterious 2.6.28-xen-kernel, so that's why i am asking now here..

Quoted 9 lines

As i am using gentoo, i would need a source-tree to compile the kernel for me, prebuild binaries wont be from help. I didn't find any not sles-xen-kernel-source (src-rpm) in higher versions, p.e. by redhat to "steel" this ;)

I tried the "lenny"-way, but debian makes some strange things in the kernel-source packages that i don't understand in result as non-debianist, so i went back again to the roots and wanted to take the good old vanilla-source and patch it ;)

What is your advice concerning the stability of jeremys pv_ops enabled git-sources concerning stability?

An absolute no-go, or is it near stable, just waiting for some last checks?

pv_ops dom0 is still under development, and right now (as of yesterday) starting to work.. for me :)

If you need stable dom0 kernel right now you need to go for 2.6.18 based tree..

Or then just use for example RHEL5 or CentOS5, they contain stable Xen packages/kernels based on 2.6.18 tree with latest drivers and bugfixes added.

-- Pasi

Quoted 84 lines

Cheers, Florian

Quoted 82 lines

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Pasi Kärkkäinen
Gesendet: Freitag, 6. März 2009 14:03
An: Rustedt, Florian
Cc: [email protected]
Betreff: Re: [Xen-devel] The right way to get an actualxen-enabledkernel-source tree?

Quoted 3 lines · Florian

Thanks a lot for the fast answer and yes, i need it for dom0!

Does this "pv_ops"-way mean, that i would have to use an

not productional usable kernel?

Quoted 1 line

So perhaps it would be better for me, to patch a kernel

with the 2.6.18 patchset?

Quoted 1 line

Current pv_ops dom0 development is tracking 2.6.29 (and 2.6.30 later), so that's what's available atm.

There are no recommended dom0 patches for 2.6.28 that I'm aware of.

Other option is to use Xensource xenlinux patches for 2.6.18, or then forward-port of those to 2.6.27 by novell/sles/suse people.

http://xenbits.xen.org/linux-2.6.18-xen.hg
http://xenbits.xen.org/ext/linux-2.6.27-xen.hg

I'd recommend you to use a distribution that already includes dom0 capable kernel out-of-the-box.

-- Pasi

Quoted 2 lines

If it is usable:
As i never used git before, could you please provide me the

commandline to use it for a 2.6.28 kernel?

Quoted 10 lines

Is it like patching in that way:
1. download 2.6.28(.rcxx) vanilla-sources 2. untar and go to that directory 3. do "git something" now?

Cheers, Florian

Quoted 3 lines

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag

von Pasi

Quoted 32 lines
Quoted 32 lines

Kärkkäinen
Gesendet: Freitag, 6. März 2009 12:47
An: Rustedt, Florian
Cc: [email protected]
Betreff: Re: [Xen-devel] The right way to get an actual xen-enabledkernel-source tree?

Quoted 3 lines · Florian

Hello list,

I need a xen-kernel in version 2.6.28, but can't find any

hint, how i can come to this point?

Quoted 3 lines

AFAIK the xensources stopped with 2.6.18?

So what'S actual the way to get a vanilla-kernel and patch

it with xen?

Quoted 1 line

Xen domU support has been in vanilla Linux kernels since 2.6.23 (pv_ops domU).

pv_ops based dom0 support is currently under development and it's planned to get merged to 2.6.30 vanilla kernel.

See: http://wiki.xensource.com/xenwiki/XenParavirtOps

latest development/unstable pv_ops Linux tree with dom0 patches:
http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=sho
rtlog;h=xen/dom0/hackery

-- Pasi

#7 lore raw

Re: AW: The right way to get an actualxen-enabledkernel-source tree?

In reply to Rustedt, Florian
Quoted 4 lines · Florian

Thanks again ;)

Reason for 2.6.28 is, that i was told by xen-users that 2.6.27 from SLES is buggy and after tests, i could approve that.

I can't recommmend the 2.6.27 tree at xenbits. That was a one-time dump, nobody does any maintainance (fix bugs, plug security holes, ...) there. You also have to flip certain config options into the correct state to get the thing even build.

Quoted 4 lines

Additionally, i
was told that 2.6.28 with xen support is stable. Unfortunately, nobody could tell me until now, where i could get that mysterious 2.6.28-xen-kernel, so that's why i am asking now here..

The place to look for suse kernels is here:
http://download.opensuse.org/repositories/Kernel:/

Xen stuff for SLES is here:
http://forge.novell.com/modules/xfmod/project/?xenpreview

Note that SLES-10 is 2.6.16-based and SLES-11 (which might come with the 2.6.28 kernel you heared off, I don't known what inside the tarballs is) isn't released yet.

Quoted 2 lines

What is your advice concerning the stability of jeremys pv_ops enabled git-sources concerning stability?

x86_64 works mostly stable for me since a month, with bugs showing up now and then though. i386 has more problems and isn't really usable. No production quality (yet) IMHO.

/me hopes that the majority of the dom0 bits gets merged during the 2.6.30 merge window. Then this stuff should stabilize while rc's are released, giving is a good 2.6.30 kernel with dom0 support.

Quoted 2 lines
Quoted 2 lines

I'd recommend you to use a distribution that already includes dom0 capable kernel out-of-the-box.

That is certainly the best option.

cheers,
Gerd

#8 lore raw

Re: AW: The right way to get an actualxen-enabledkernel-source tree?

Quoted 7 lines · Gerd Hoffmann
Quoted 2 lines

Reason for 2.6.28 is, that i was told by xen-users that 2.6.27 from SLES is buggy and after tests, i could approve that.

I can't recommmend the 2.6.27 tree at xenbits. That was a one-time dump, nobody does any maintainance (fix bugs, plug security holes, ...) there. You also have to flip certain config options into the correct state to get the thing even build.

The tree was never used by the developers I put it there for. I should probably remove it.

-- Keir

#9 lore raw

Re: AW: The right way to get an actualxen-enabledkernel-source tree?

If possible keep it until pvops kernel will merge mainline Linux. It works for xen user's development. There are several howtos regarding proper config for Novell's 2.6.27 xen-ified kernel on the Net. In particular, it does load under Xen on Intel's Q95XX CPUs

--- On Fri, 3/6/09, Keir Fraser <[email protected]> wrote:
From: Keir Fraser <[email protected]>
Subject: Re: AW: [Xen-devel] The right way to get an actualxen-enabledkernel-source tree?
To: "Gerd Hoffmann" <[email protected]>, "Rustedt, Florian" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Friday, March 6, 2009, 9:18 AM

Quoted 7 lines · Gerd Hoffmann
Quoted 2 lines

Reason for 2.6.28 is, that i was told by xen-users that 2.6.27 from SLES is buggy and after tests, i could approve that.

I can't recommmend the 2.6.27 tree at xenbits. That was a one-time dump, nobody does any maintainance (fix bugs, plug security holes, ...) there. You also have to flip certain config options into the correct state to get the thing even build.

The tree was never used by the developers I put it there for. I should probably remove it.

-- Keir

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

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