Xen 3.1.3 and Linux Kernel 2.6.18.8
Currently, linux kernel 2.6.18 is used for Xen 3.1.x.
Would it be possible (or advisable) to make kernel 2.6.18.8 the default for Xen 3.1.3 - just as it was done with the Xen 3.0.x branch and kernels like 2.6.16.26 & 2.6.16.33? There are quite a few security (and regular) bugs fixed in the 2.6.18.x point releases.
Thanks.
Signature · 4 lines
Joshua West Systems Engineer Brandeis University http://www.brandeis.edu
Feel free to submit a patch that throws the upgrade to .8 into the kernel's patches/ directory, within the 3.1-testing repository.
-- Keir
Quoted 8 lines · Joshua West
Currently, linux kernel 2.6.18 is used for Xen 3.1.x.
Would it be possible (or advisable) to make kernel 2.6.18.8 the default for Xen 3.1.3 - just as it was done with the Xen 3.0.x branch and kernels like 2.6.16.26 & 2.6.16.33? There are quite a few security (and regular) bugs fixed in the 2.6.18.x point releases.
Thanks.
Hi;
15 Oca 2008 Sal tarihinde, Joshua West şunları yazmıştı:
Quoted 6 lines
Currently, linux kernel 2.6.18 is used for Xen 3.1.x.
Would it be possible (or advisable) to make kernel 2.6.18.8 the default for Xen 3.1.3 - just as it was done with the Xen 3.0.x branch and kernels like 2.6.16.26 & 2.6.16.33? There are quite a few security (and regular) bugs fixed in the 2.6.18.x point releases.
As i wrote long ago to list, just upgrading to plain .8 not solves all security related issues of 2.6.18.x kernels, for example Pardus Xen packages currently top on .8 and we still have lots of CVEish patches in our package [1].
Please do not misunderstand but i really recommend stick with your distro packages instead of xensource provided ones if you care about security.
[1]
http://svn.pardus.org.tr/pardus/devel/kernel-xen/dom0/kernel-dom0/files/CVE/
http://svn.pardus.org.tr/pardus/devel/kernel-xen/domU/kernel-domU/files/CVE/
Cheers
Signature · 4 lines
S.Çağlar Onur <[email protected]> http://cekirdek.pardus.org.tr/~caglar/ Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Hi Keir;
15 Oca 2008 Sal tarihinde, Keir Fraser şunları yazmıştı:
Quoted 2 lines
Feel free to submit a patch that throws the upgrade to .8 into the kernel's patches/ directory, within the 3.1-testing repository.
Although needed modifications are simple, resulting patch is quite big (214 K). So what i did is follows;
After applying this;
buildconfigs/mk.linux-2.6-xen +1 -1
@@ -1,5 +1,5 @@ LINUX_SERIES = 2.6 LINUX_SERIES = 2.6 -LINUX_VER = 2.6.18 +LINUX_VER = 2.6.18.8 EXTRAVERSION ?= xen
and that
patches/linux-2.6.18/series +0 -1
@@ -7,7 +7,6 @@ i386-mach-io-check-nmi.patch i386-mach-io-check-nmi.patch net-csum.patch net-gso-5-rcv-mss.patch -net-gso-6-linear-segmentation.patch pmd-shared.patch rename-TSS_sysenter_esp0-SYSENTER_stack_esp0.patch xen-hotplug.patch
# hg rm patches/linux-2.6.18/net-gso-6-linear-segmentation.patch
and
# hg mv patches/linux-2.6.18/ patches/linux-2.6.18.8
is enough to update .8 if i'm not missing something else.
Cheers
Signature · 4 lines
S.Çağlar Onur <[email protected]> http://cekirdek.pardus.org.tr/~caglar/ Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Where does the 2.6.18.8 patch itself come from, and where do you place it in the patches series file?
-- Keir
Quoted 44 lines · S.Çağlar Onur
Hi Keir;
15 Oca 2008 Sal tarihinde, Keir Fraser şunları yazmıştı:
Quoted 2 lines
Feel free to submit a patch that throws the upgrade to .8 into the kernel's patches/ directory, within the 3.1-testing repository.
Although needed modifications are simple, resulting patch is quite big (214 K). So what i did is follows;
After applying this;
diff -r
0918b4bbffbbbuildconfigs/mk.linux-2.6-xenbuildconfigs/mk.linux-2.6-xen Wed Jan 16 14:53:41 2008 +0200 renamed from buildconfigs/mk.linux-2.6-xen Tue Jan 15 11:19:14 2008 +0000 +1
-1@@ -1,5 +1,5 @@ LINUX_SERIES = 2.6 LINUX_SERIES = 2.6 -LINUX_VER = 2.6.18 +LINUX_VER = 2.6.18.8 EXTRAVERSION ?= xenand that
diff -r
0918b4bbffbbpatches/linux-2.6.18/seriespatches/linux-2.6.18/series Wed Jan 16 14:54:51 2008 +0200 renamed from patches/linux-2.6.18/series Tue Jan 15 11:19:14 2008 +0000 +0
-1@@ -7,7 +7,6 @@ i386-mach-io-check-nmi.patch i386-mach-io-check-nmi.patch net-csum.patch net-gso-5-rcv-mss.patch -net-gso-6-linear-segmentation.patch pmd-shared.patch rename-TSS_sysenter_esp0-SYSENTER_stack_esp0.patch xen-hotplug.patch# hg rm patches/linux-2.6.18/net-gso-6-linear-segmentation.patchand
# hg mv patches/linux-2.6.18/ patches/linux-2.6.18.8is enough to update .8 if i'm not missing something else.
Cheers
Hi;
16 Oca 2008 Çar tarihinde şunları yazmıştınız:
Quoted 4 lines
Where does the 2.6.18.8 patch itself come from, and where do you place it in the patches series file?
-- Keir
I bumped the neededed LINUX_VER from 2.6.18 to 2.6.18.8 instead of using 2.6.18.8 patch, so it fetches 2.6.18.8 tarball. Do you prefer using incremantal patch instead of tarball?
Cheers
Signature · 4 lines
S.Çağlar Onur <[email protected]> http://cekirdek.pardus.org.tr/~caglar/ Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 9 lines · S.Çağlar Onur
16 Oca 2008 Çar tarihinde şunları yazmıştınız:
Quoted 4 lines
Where does the 2.6.18.8 patch itself come from, and where do you place it in the patches series file?
-- Keir
I bumped the neededed
LINUX_VERfrom 2.6.18 to 2.6.18.8 instead of using 2.6.18.8 patch, so it fetches 2.6.18.8 tarball. Do you prefer using incremantal patch instead of tarball?
Oh, my mistake. It's fine as-is then!
-- Keir
I get a build failure in mm/page_alloc.c. Probably some files in the sparse tree need updating with .8 changes?
-- Keir
Quoted 44 lines · S.Çağlar Onur
Hi Keir;
15 Oca 2008 Sal tarihinde, Keir Fraser şunları yazmıştı:
Quoted 2 lines
Feel free to submit a patch that throws the upgrade to .8 into the kernel's patches/ directory, within the 3.1-testing repository.
Although needed modifications are simple, resulting patch is quite big (214 K). So what i did is follows;
After applying this;
diff -r
0918b4bbffbbbuildconfigs/mk.linux-2.6-xenbuildconfigs/mk.linux-2.6-xen Wed Jan 16 14:53:41 2008 +0200 renamed from buildconfigs/mk.linux-2.6-xen Tue Jan 15 11:19:14 2008 +0000 +1
-1@@ -1,5 +1,5 @@ LINUX_SERIES = 2.6 LINUX_SERIES = 2.6 -LINUX_VER = 2.6.18 +LINUX_VER = 2.6.18.8 EXTRAVERSION ?= xenand that
diff -r
0918b4bbffbbpatches/linux-2.6.18/seriespatches/linux-2.6.18/series Wed Jan 16 14:54:51 2008 +0200 renamed from patches/linux-2.6.18/series Tue Jan 15 11:19:14 2008 +0000 +0
-1@@ -7,7 +7,6 @@ i386-mach-io-check-nmi.patch i386-mach-io-check-nmi.patch net-csum.patch net-gso-5-rcv-mss.patch -net-gso-6-linear-segmentation.patch pmd-shared.patch rename-TSS_sysenter_esp0-SYSENTER_stack_esp0.patch xen-hotplug.patch# hg rm patches/linux-2.6.18/net-gso-6-linear-segmentation.patchand
# hg mv patches/linux-2.6.18/ patches/linux-2.6.18.8is enough to update .8 if i'm not missing something else.
Cheers
Hi;
16 Oca 2008 Çar tarihinde, Keir Fraser şunları yazmıştı:
Quoted 2 lines
I get a build failure in
mm/page_alloc.c. Probably some files in the sparse tree need updating with .8 changes?
Yep, sorry for not seeing before (i'm building right now), following solves this issue;
linux-2.6-xen-sparse/mm/page_alloc.c +1 -1
@@ -2030,7 +2030,7 @@ static void __meminit free_area_init_cor zone->zone_pgdat = pgdat; zone->free_pages =0 ; - zone->temp_priority = zone->prev_priority =DEF_PRIORITY ; + zone->prev_priority =DEF_PRIORITY ;zone_pcp_init (zone);INIT_LIST_HEAD (&zone->active_list);
Cheers
Signature · 4 lines
S.Çağlar Onur <[email protected]> http://cekirdek.pardus.org.tr/~caglar/ Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Is this the *only* change in the .8 patch that affects any sparse tree file?
-- Keir
Quoted 23 lines · S.Çağlar Onur
Hi;
16 Oca 2008 Çar tarihinde, Keir Fraser şunları yazmıştı:
Quoted 2 lines
I get a build failure in
mm/page_alloc.c. Probably some files in the sparse tree need updating with .8 changes?Yep, sorry for not seeing before (i'm building right now), following solves this issue;
diff -r
0918b4bbffbblinux-2.6-xen-sparse/mm/page_alloc.clinux-2.6-xen-sparse/mm/page_alloc.c Wed Jan 16 16:21:45 2008 +0200 renamed from linux-2.6-xen-sparse/mm/page_alloc.c Tue Jan 15 11:19:14 2008 +0000 +1
-1@@ -2030,7 +2030,7 @@ static void __meminit free_area_init_cor zone->zone_pgdat = pgdat; zone->free_pages = 0; - zone->temp_priority = zone->prev_priority = DEF_PRIORITY; + zone->prev_priority = DEF_PRIORITY; zone_pcp_init(zone); INIT_LIST_HEAD(&zone->active_list);Cheers
Hi;
16 Oca 2008 Çar tarihinde, Keir Fraser şunları yazmıştı:
Quoted 4 lines
Is this the *only* change in the .8 patch that affects any sparse tree file?
-- Keir
I'll check again ASAP, by the way what i do is like that, if its wrong please yell.
First i use 2.6.18 as a base with current sparse tree and generate a Xen patches tree.
After that, i tried to patch this tree with 2.6.18.8 patch and check .rej files against sparse tree history to decide whether its needed or not etc.
Cheers
Signature · 4 lines
S.Çağlar Onur <[email protected]> http://cekirdek.pardus.org.tr/~caglar/ Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 8 lines · S.Çağlar Onur
Hi;
16 Oca 2008 Çar tarihinde, Keir Fraser şunları yazmıştı:
Quoted 4 lines
Is this the *only* change in the .8 patch that affects any sparse tree file?
-- Keir
Quoted 8 lines
I'll check again ASAP, by the way what i do is like that, if its wrong please yell.
First i use 2.6.18 as a base with current sparse tree and generate a Xen patches tree.
After that, i tried to patch this tree with 2.6.18.8 patch and check .rej files against sparse tree history to decide whether its needed or not etc.
That's only half the story since that will only catch bits of the 2.6.18.8 patch which conflict with patches in the sparse tree.
You also need to use lsdiff or diffstat to determine which files are patched by the 2.6.18.8 patch and then determine which of those are also present in the sparse tree. Those are the files you then need to update in the sparse tree otherwise the 2.6.18.8 patch will effectively be reverted when the sparse tree is applied.
Ian.
Hi;
16 Oca 2008 Çar tarihinde, Ian Campbell şunları yazmıştı:
Quoted 8 lines
That's only half the story since that will only catch bits of the 2.6.18.8 patch which conflict with patches in the sparse tree.
You also need to use lsdiff or diffstat to determine which files are patched by the 2.6.18.8 patch and then determine which of those are also present in the sparse tree. Those are the files you then need to update in the sparse tree otherwise the 2.6.18.8 patch will effectively be reverted when the sparse tree is applied.
Got it and working on it, thanks :)
Cheers
Signature · 4 lines
S.Çağlar Onur <[email protected]> http://cekirdek.pardus.org.tr/~caglar/ Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel