* Re: 2.6.30 dom0 Xen patches
2009-07-01 17:15 2.6.30 dom0 Xen patches Andrew Lyon
@ 2009-07-01 18:31 ` Andrew Lyon
2009-07-11 11:09 ` dbaxps
2009-07-01 18:47 ` 2.6.30.1-rc1 dom0 tarball Daniel Schroeder
` (4 subsequent siblings)
5 siblings, 1 reply; 12+ messages in thread
From: Andrew Lyon @ 2009-07-01 18:31 UTC (permalink / raw)
To: Xen-devel
On Wed, Jul 1, 2009 at 6:15 PM, Andrew Lyon<andrew.lyon@gmail.com> wrote:
> I have rebased the xen-patches from opensuse
> kernel-source-2.6.30-50.1.src.rpm so that they can be applied to
> vanilla 2.6.30, the usual patches tarball and gentoo ebuild are
> available at http://code.google.com/p/gentoo-xen-kernel/downloads/list
> , if you are not using Gentoo simply apply the patches in numeric
> order.
>
> Some notes:
>
> both dom0 and domU require CONFIG_SPARSE_IRQ=y and CONFIG_HOTPLUG=y
> 64 bit dom0/domU requires CONFIG_IA32_EMULATION=y
>
> Andy
>
While this kernel seems to work ok as dom0 or domU it seems to be
incompatible with James Harpers gplpv drivers, probably something has
been changed in the networking code and the drivers need to be
updated, I have contacted James about this and I hope we will be able
to work together to figure it out and fix the problem, but if you use
gplpv please hold off upgrading for now!
Andy
^ permalink raw reply [flat|nested] 12+ messages in thread* 2.6.30.1-rc1 dom0 tarball
2009-07-01 17:15 2.6.30 dom0 Xen patches Andrew Lyon
2009-07-01 18:31 ` Andrew Lyon
@ 2009-07-01 18:47 ` Daniel Schroeder
2009-07-02 6:53 ` 2.6.30 dom0 Xen patches Jan Beulich
` (3 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Daniel Schroeder @ 2009-07-01 18:47 UTC (permalink / raw)
To: Andrew Lyon; +Cc: Xen-devel, xen-users
Andrew Lyon wrote:
> I have rebased the xen-patches from opensuse
> kernel-source-2.6.30-50.1.src.rpm so that they can be applied to
> vanilla 2.6.30, the usual patches tarball and gentoo ebuild are
> available at http://code.google.com/p/gentoo-xen-kernel/downloads/list
> , if you are not using Gentoo simply apply the patches in numeric
> order.
>
> Some notes:
>
> both dom0 and domU require CONFIG_SPARSE_IRQ=y and CONFIG_HOTPLUG=y
> 64 bit dom0/domU requires CONFIG_IA32_EMULATION=y
>
> Andy
hello Andy,
many thanks for your work.
I have taken your patch set and applied it on top of vanilla
2.6.30.1-rc1 and applied this patch for gcc4.3 bug:
http://xenbits.xen.org/gitweb?p=xenclient/linux-2.6.27-pq.git;a=blob_plain;f=master/clobber-induction-variable.patch;hb=HEAD
for the lazy people out there, here is the distclean tarball:
http://x17.eu/linux-2.6.30.1-rc1-xen.aka.suse-xenified-2.6.30-50.1-rebased.patches.by.andrew.lyon.tar.gz
http://x17.eu/linux-2.6.30.1-rc1-xen.aka.suse-xenified-2.6.30-50.1-rebased.patches.by.andrew.lyon.tar.gz.md5
--
daniel
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: 2.6.30 dom0 Xen patches
2009-07-01 17:15 2.6.30 dom0 Xen patches Andrew Lyon
2009-07-01 18:31 ` Andrew Lyon
2009-07-01 18:47 ` 2.6.30.1-rc1 dom0 tarball Daniel Schroeder
@ 2009-07-02 6:53 ` Jan Beulich
2009-07-06 11:02 ` Pasi Kärkkäinen
[not found] ` <f4527be0907030448i305f2f24y318110fc9d02dbdb@mail.gmail.com>
2009-07-02 9:22 ` 2.6.30.1-rc2 dom0 tarball Daniel Schroeder
` (2 subsequent siblings)
5 siblings, 2 replies; 12+ messages in thread
From: Jan Beulich @ 2009-07-02 6:53 UTC (permalink / raw)
To: Andrew Lyon; +Cc: Xen-devel
>>> Andrew Lyon <andrew.lyon@gmail.com> 01.07.09 19:15 >>>
>I have rebased the xen-patches from opensuse
>kernel-source-2.6.30-50.1.src.rpm so that they can be applied to
>vanilla 2.6.30, the usual patches tarball and gentoo ebuild are
>available at http://code.google.com/p/gentoo-xen-kernel/downloads/list
>, if you are not using Gentoo simply apply the patches in numeric
>order.
>
>Some notes:
>
>both dom0 and domU require CONFIG_SPARSE_IRQ=y and CONFIG_HOTPLUG=y
>64 bit dom0/domU requires CONFIG_IA32_EMULATION=y
May I ask why you found the first and third ones to be necessary? Unless
it's because of the conditional in the loop right after the commen "Zap
stats across IRQ changes of use." in unbind_from_irq(), which I fixed a
few days ago, but didn't push out to our internal repo so far. (The fix
is to change the dependency from CONFIG_SPARSE_IRQ to
CONFIG_GENERIC_HARDIRQS in the 2.6.30 patch.)
The second one seems less meaningful, as I wouldn't think anyone would
build a general use (Xen) kernel with EMBEDDED=y, and HOTPLUG is not
user selectable without EMBEDDED.
May I also ask for you to let us know about fixes to the patches that you
find necessary which aren't just due to you applying them to plain 2.6.30?
Thanks, Jan
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: 2.6.30 dom0 Xen patches
2009-07-02 6:53 ` 2.6.30 dom0 Xen patches Jan Beulich
@ 2009-07-06 11:02 ` Pasi Kärkkäinen
2009-07-06 13:04 ` Jan Beulich
[not found] ` <f4527be0907030448i305f2f24y318110fc9d02dbdb@mail.gmail.com>
1 sibling, 1 reply; 12+ messages in thread
From: Pasi Kärkkäinen @ 2009-07-06 11:02 UTC (permalink / raw)
To: Jan Beulich; +Cc: Andrew Lyon, Xen-devel
On Thu, Jul 02, 2009 at 07:53:09AM +0100, Jan Beulich wrote:
> >>> Andrew Lyon <andrew.lyon@gmail.com> 01.07.09 19:15 >>>
> >I have rebased the xen-patches from opensuse
> >kernel-source-2.6.30-50.1.src.rpm so that they can be applied to
> >vanilla 2.6.30, the usual patches tarball and gentoo ebuild are
> >available at http://code.google.com/p/gentoo-xen-kernel/downloads/list
> >, if you are not using Gentoo simply apply the patches in numeric
> >order.
> >
> >Some notes:
> >
> >both dom0 and domU require CONFIG_SPARSE_IRQ=y and CONFIG_HOTPLUG=y
> >64 bit dom0/domU requires CONFIG_IA32_EMULATION=y
>
> May I ask why you found the first and third ones to be necessary? Unless
> it's because of the conditional in the loop right after the commen "Zap
> stats across IRQ changes of use." in unbind_from_irq(), which I fixed a
> few days ago, but didn't push out to our internal repo so far. (The fix
> is to change the dependency from CONFIG_SPARSE_IRQ to
> CONFIG_GENERIC_HARDIRQS in the 2.6.30 patch.)
>
> The second one seems less meaningful, as I wouldn't think anyone would
> build a general use (Xen) kernel with EMBEDDED=y, and HOTPLUG is not
> user selectable without EMBEDDED.
>
> May I also ask for you to let us know about fixes to the patches that you
> find necessary which aren't just due to you applying them to plain 2.6.30?
>
Hello Jan,
I assume Novell did a lot of testing/patching/bugfixing for SLES11 2.6.27
Xen kernel. Do these OpenSUSE Xen patches contain the fixes from SLES11?
-- Pasi
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: 2.6.30 dom0 Xen patches
2009-07-06 11:02 ` Pasi Kärkkäinen
@ 2009-07-06 13:04 ` Jan Beulich
2009-07-06 13:58 ` Tim Post
0 siblings, 1 reply; 12+ messages in thread
From: Jan Beulich @ 2009-07-06 13:04 UTC (permalink / raw)
To: Pasi Kärkkäinen; +Cc: Andrew Lyon, Xen-devel
>>> Pasi Kärkkäinen<pasik@iki.fi> 06.07.09 13:02 >>>
>I assume Novell did a lot of testing/patching/bugfixing for SLES11 2.6.27
>Xen kernel. Do these OpenSUSE Xen patches contain the fixes from SLES11?
Yes, OpenSuSE and SLE11 have been sharing the kernel approximately since
the release of the first kernel maintenance update for SLE11.
Jan
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: 2.6.30 dom0 Xen patches
2009-07-06 13:04 ` Jan Beulich
@ 2009-07-06 13:58 ` Tim Post
0 siblings, 0 replies; 12+ messages in thread
From: Tim Post @ 2009-07-06 13:58 UTC (permalink / raw)
To: Jan Beulich; +Cc: Andrew Lyon, Xen-devel
Hi,
On Mon, 2009-07-06 at 14:04 +0100, Jan Beulich wrote:
> >>> Pasi Kärkkäinen<pasik@iki.fi> 06.07.09 13:02 >>>
> >I assume Novell did a lot of testing/patching/bugfixing for SLES11 2.6.27
> >Xen kernel. Do these OpenSUSE Xen patches contain the fixes from SLES11?
>
> Yes, OpenSuSE and SLE11 have been sharing the kernel approximately since
> the release of the first kernel maintenance update for SLE11.
>
> Jan
Is there a consensus now on where the 2.6.30-xen tree is going to live?
I saw a mention of space on xenbits, but did not see a consensus. Did I
miss one in the thread?
No rush or anything, I'm just catching up to the thread and feel as if I
missed a reply or two.
Cheers,
--Tim
^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <f4527be0907030448i305f2f24y318110fc9d02dbdb@mail.gmail.com>]
* 2.6.30.1-rc2 dom0 tarball
2009-07-01 17:15 2.6.30 dom0 Xen patches Andrew Lyon
` (2 preceding siblings ...)
2009-07-02 6:53 ` 2.6.30 dom0 Xen patches Jan Beulich
@ 2009-07-02 9:22 ` Daniel Schroeder
2009-07-03 6:42 ` updated dom0 tarballs Daniel Schroeder
2009-07-16 22:56 ` 2.6.30 dom0 Xen patches Kris Shannon
5 siblings, 0 replies; 12+ messages in thread
From: Daniel Schroeder @ 2009-07-02 9:22 UTC (permalink / raw)
To: Xen-devel; +Cc: xen-users
<where>
http://x17.eu/linux-2.6.30.1-rc2-xen.aka.suse-xenified-2.6.30-50.1-rebased.patches.by.andrew.lyon.tar.gz
http://x17.eu/linux-2.6.30.1-rc2-xen.aka.suse-xenified-2.6.30-50.1-rebased.patches.by.andrew.lyon.tar.gz.md5
</where>
<what>
Andrew Lyon wrote:
> I have rebased the xen-patches from opensuse
> kernel-source-2.6.30-50.1.src.rpm so that they can be applied to
> vanilla 2.6.30, the usual patches tarball and gentoo ebuild are
> available at http://code.google.com/p/gentoo-xen-kernel/downloads/list
> , if you are not using Gentoo simply apply the patches in numeric
> order.
>
> Some notes:
>
> both dom0 and domU require CONFIG_SPARSE_IRQ=y and CONFIG_HOTPLUG=y
> 64 bit dom0/domU requires CONFIG_IA32_EMULATION=y
>
> Andy
plus
http://xenbits.xen.org/gitweb?p=xenclient/linux-2.6.27-pq.git;a=blob_plain;f=master/clobber-induction-variable.patch;hb=HEAD
</what>
--
daniel
^ permalink raw reply [flat|nested] 12+ messages in thread* updated dom0 tarballs
2009-07-01 17:15 2.6.30 dom0 Xen patches Andrew Lyon
` (3 preceding siblings ...)
2009-07-02 9:22 ` 2.6.30.1-rc2 dom0 tarball Daniel Schroeder
@ 2009-07-03 6:42 ` Daniel Schroeder
2009-07-16 22:56 ` 2.6.30 dom0 Xen patches Kris Shannon
5 siblings, 0 replies; 12+ messages in thread
From: Daniel Schroeder @ 2009-07-03 6:42 UTC (permalink / raw)
To: Xen-devel; +Cc: xen-users
i have created a directory, so you can check this http://x17.eu/xen/ url
after a new vanilla stable release for updates...
<where>
http://x17.eu/xen/
http://x17.eu/xen/linux-2.6.29.6-xen.aka.suse-xenified-2.6.29-62.1-rebased.patches.by.andrew.lyon.tar.gz
http://x17.eu/xen/linux-2.6.29.6-xen.aka.suse-xenified-2.6.29-62.1-rebased.patches.by.andrew.lyon.tar.gz.md5
http://x17.eu/xen/linux-2.6.30.1-xen.aka.suse-xenified-2.6.30-50.1-rebased.patches.by.andrew.lyon.tar.gz
http://x17.eu/xen/linux-2.6.30.1-xen.aka.suse-xenified-2.6.30-50.1-rebased.patches.by.andrew.lyon.tar.gz.md5
</where>
<what>
Andrew Lyon wrote:
> I have rebased the xen-patches from opensuse
> kernel-source-2.6.30-50.1.src.rpm so that they can be applied to
> vanilla 2.6.30, the usual patches tarball and gentoo ebuild are
> available at http://code.google.com/p/gentoo-xen-kernel/downloads/list
> , if you are not using Gentoo simply apply the patches in numeric
> order.
>
> Some notes:
>
> both dom0 and domU require CONFIG_SPARSE_IRQ=y and CONFIG_HOTPLUG=y
> 64 bit dom0/domU requires CONFIG_IA32_EMULATION=y
>
> Andy
plus
http://xenbits.xen.org/gitweb?p=xenclient/linux-2.6.27-pq.git;a=blob_plain;f=master/clobber-induction-variable.patch;hb=HEAD
</what>
--
daniel
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: 2.6.30 dom0 Xen patches
2009-07-01 17:15 2.6.30 dom0 Xen patches Andrew Lyon
` (4 preceding siblings ...)
2009-07-03 6:42 ` updated dom0 tarballs Daniel Schroeder
@ 2009-07-16 22:56 ` Kris Shannon
5 siblings, 0 replies; 12+ messages in thread
From: Kris Shannon @ 2009-07-16 22:56 UTC (permalink / raw)
To: Andrew Lyon; +Cc: Xen-devel
2009/7/2 Andrew Lyon <andrew.lyon@gmail.com>:
> I have rebased the xen-patches from opensuse
> kernel-source-2.6.30-50.1.src.rpm so that they can be applied to
> vanilla 2.6.30, the usual patches tarball and gentoo ebuild are
> available at http://code.google.com/p/gentoo-xen-kernel/downloads/list
> , if you are not using Gentoo simply apply the patches in numeric
> order.
>
> Some notes:
>
> both dom0 and domU require CONFIG_SPARSE_IRQ=y and CONFIG_HOTPLUG=y
> 64 bit dom0/domU requires CONFIG_IA32_EMULATION=y
>
> Andy
The error:
drivers/xen/core/evtchn.c: In function 'unbind_from_irq':
drivers/xen/core/evtchn.c:641: error: 'struct kernel_stat' has no
member named 'irqs'
when CONFIG_SPARSE_IRQ is not set is due to a missing #ifdef change a couple
of lines earlier. The commit d52a61c04c6c0814ca270a088feedb126436598e altered
the kernel_stat.irqs dependency to CONFIG_GENERIC_HARDIRQS.
^ permalink raw reply [flat|nested] 12+ messages in thread