Karl Johnson
2019-Feb-27 20:12 UTC
[CentOS-virt] CentOS virt-sig Linux kernel 4.9.155 build
On Wed, Feb 27, 2019 at 4:44 AM Pasi K?rkk?inen <pasik at iki.fi> wrote:> Hi, > > On Mon, Feb 11, 2019 at 12:49:30PM +0200, Pasi K?rkk?inen wrote: > > Hi, > > > > On Sun, Feb 10, 2019 at 10:35:56PM -0500, Karl Johnson wrote: > > > Hello, > > > I built 4.9.155 for both el6 and el7, you can test them here: > > > [1] > https://repo.aerisnetwork.com/archive/kernel-4.9.155-34.el6.x86_64.rpm > > > [2] > https://repo.aerisnetwork.com/archive/kernel-4.9.155-34.el7.x86_64.rpm > > > It works fine for me so far on el6, I'll update my pull request > later on > > > GitHub with this version. > > > [root at node-tmp1 ~]# cat /proc/version > > > Linux version 4.9.155-34.el6.x86_64 ([3] > mockbuild at build.aerisnetwork.net) > > > (gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) ) #1 SMP Sun > Feb 10 > > > 11:20:04 EST 2019 > > > > Great, thanks a lot! I'll give it a go. > > > > With initial testing seems to work OK for me! > Meanwhile upstream kernel is up to v4.9.161, so let's update the sig-virt > kernel to that version.. > > Karl: Can you prepare a PR? > > > > Thanks, > > -- Pasi >I built 4.9.161, works for me on el6: [root at node-tmp1 ~]# cat /proc/version Linux version 4.9.161-34.el6.x86_64 (mockbuild at build.aerisnetwork.net) (gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) ) #1 SMP Wed Feb 27 09:48:40 EST 2019 Only one strange thing, I had to run grub-install because Grub couldn't find root device after reboot, not sure this has something to do with the kernel upgrade. Kernel 4.9.161 doesn't have the patch for CVE-2019-8912 yet so we might wait until it get released. I updated my PR: https://github.com/CentOS-virt7/xen-kernel/pull/18 https://repo.aerisnetwork.com/archive/kernel-4.9.161-34.el6.x86_64.rpm https://repo.aerisnetwork.com/archive/kernel-4.9.161-34.el7.x86_64.rpm Anthony Perard already tried to build my PR on the CBS but he was not able to enable the SCL repo ( http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/) to get devtoolset-7. We might need to get help from centos-devel. Karl> > > > > > -- Pasi > > > > > Karl > > > > > > On Sat, Feb 9, 2019 at 10:32 AM Pasi K??rkk??inen <[4]pasik at iki.fi> > wrote: > > > > > > Hello everyone, > > > > > > Some of you might remember discussions earlier in 2017 (huh, long > time > > > ago) on centos-virt list about Linux kernel tty/ldisc related > bug, which > > > caused Xen dom0 kernel crashes for some people (and also more > easy to > > > trigger crashes on other arches, like on hp pa-risc), but the bug > was > > > difficult to reproduce for others/most people. > > > > > > Fix for this issue was merged to centos virt-sig Linux 4.9.48-29 > kernel > > > earlier in 2017, but reverted/deleted in 4.9.75-30 due to > problems with > > > the patch. The patch in question was also merged to upstream Linux > > > kernel, and later reverted there aswell. > > > > > > But now finally the issue has been resolved in upstream Linux, > and the > > > patches have been already backported to Linux 4.9.152 longterm > stable > > > kernel. Changelog: > > > [5]https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.152 > > > You can find the tty/ldisc patches there. > > > > > > So I propose we build the latest 4.9.155 kernel for CentOS > virt-sig for > > > centos6 and centos7. > > > > > > Thanks, > > > > > > -- Pasi > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20190227/9ed5fd26/attachment-0002.html>
Pasi Kärkkäinen
2019-Mar-02 12:51 UTC
[CentOS-virt] CentOS virt-sig Linux kernel 4.9.155 build
Hi, On Wed, Feb 27, 2019 at 03:12:40PM -0500, Karl Johnson wrote:> On Wed, Feb 27, 2019 at 4:44 AM Pasi K??rkk??inen <[1]pasik at iki.fi> wrote: > > Hi, > > On Mon, Feb 11, 2019 at 12:49:30PM +0200, Pasi K??rkk??inen wrote: > > Hi, > > > > On Sun, Feb 10, 2019 at 10:35:56PM -0500, Karl Johnson wrote: > > >? ? Hello, > > >? ? I built 4.9.155 for both el6 and el7, you can test them here: > > >? ? > [1][2]https://repo.aerisnetwork.com/archive/kernel-4.9.155-34.el6.x86_64.rpm > > >? ? > [2][3]https://repo.aerisnetwork.com/archive/kernel-4.9.155-34.el7.x86_64.rpm > > >? ? It works fine for me so far on el6, I'll update my pull request > later on > > >? ? GitHub with this version. > > >? ? [root at node-tmp1 ~]# cat /proc/version > > >? ? Linux version 4.9.155-34.el6.x86_64 > ([3][4]mockbuild at build.aerisnetwork.net) > > >? ? (gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) ) #1 SMP > Sun Feb 10 > > >? ? 11:20:04 EST 2019 > > > > Great, thanks a lot! I'll give it a go. > > > > With initial testing seems to work OK for me! > Meanwhile upstream kernel is up to v4.9.161, so let's update the > sig-virt kernel to that version.. > > Karl: Can you prepare a PR? > > Thanks, > > -- Pasi > > I built 4.9.161, works for me on el6: >Nice!> [root at node-tmp1 ~]# cat /proc/version > Linux version 4.9.161-34.el6.x86_64 ([5]mockbuild at build.aerisnetwork.net) > (gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) ) #1 SMP Wed Feb 27 > 09:48:40 EST 2019 > Only one strange thing, I had to run grub-install because Grub couldn't > find root device after reboot, not sure this has something to do with the > kernel upgrade. > Kernel 4.9.161 doesn't have the patch for CVE-2019-8912 yet so we might > wait until it get released. > I updated my PR: [6]https://github.com/CentOS-virt7/xen-kernel/pull/18 > [7]https://repo.aerisnetwork.com/archive/kernel-4.9.161-34.el6.x86_64.rpm > [8]https://repo.aerisnetwork.com/archive/kernel-4.9.161-34.el7.x86_64.rpm >I'll give it a go soon.> Anthony Perard already tried to build my PR on the CBS but he was not able > to enable the SCL repo > ([9]http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/) to get > devtoolset-7. We might need to get help from centos-devel. > > Karl >OK. Something to discuss on #centos-devel perhaps? Thanks a lot! -- Pasi
Anthony PERARD
2019-Mar-04 11:12 UTC
[CentOS-virt] CentOS virt-sig Linux kernel 4.9.155 build
On Wed, Feb 27, 2019 at 03:12:40PM -0500, Karl Johnson wrote:> I built 4.9.161, works for me on el6: > > [root at node-tmp1 ~]# cat /proc/version > Linux version 4.9.161-34.el6.x86_64 (mockbuild at build.aerisnetwork.net) (gcc > version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) ) #1 SMP Wed Feb 27 09:48:40 > EST 2019 > > Only one strange thing, I had to run grub-install because Grub couldn't > find root device after reboot, not sure this has something to do with the > kernel upgrade. > Kernel 4.9.161 doesn't have the patch for CVE-2019-8912 yet so we might > wait until it get released. > > I updated my PR: https://github.com/CentOS-virt7/xen-kernel/pull/18Hi Karl, I've build and tested your PR, but without the GCC7 patch, and when I've tested it on el6, none of the guests had network access. I had to revert the bridge changes to have them working (CONFIG_BRIDGE_NETFILTER=m and CONFIG_BRIDGE=m). Why did you want the BRIDGE built-in instead of a module? Maybe you have something to setup the bridge (probably filter) properly, or maybe something is different in the xen package between el6 and el7. Any idea? I still have to investigate the Xen pkg, and have a closer look at those tests I'm running. Thanks, -- Anthony PERARD
Karl Johnson
2019-Mar-04 21:22 UTC
[CentOS-virt] CentOS virt-sig Linux kernel 4.9.155 build
On Mon, Mar 4, 2019 at 6:13 AM Anthony PERARD <anthony.perard at citrix.com> wrote:> On Wed, Feb 27, 2019 at 03:12:40PM -0500, Karl Johnson wrote: > > I built 4.9.161, works for me on el6: > > > > [root at node-tmp1 ~]# cat /proc/version > > Linux version 4.9.161-34.el6.x86_64 (mockbuild at build.aerisnetwork.net) > (gcc > > version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) ) #1 SMP Wed Feb 27 > 09:48:40 > > EST 2019 > > > > Only one strange thing, I had to run grub-install because Grub couldn't > > find root device after reboot, not sure this has something to do with the > > kernel upgrade. > > Kernel 4.9.161 doesn't have the patch for CVE-2019-8912 yet so we might > > wait until it get released. > > > > I updated my PR: https://github.com/CentOS-virt7/xen-kernel/pull/18 > > Hi Karl, I've build and tested your PR, but without the GCC7 patch, and > when I've tested it on el6, none of the guests had network access. > I had to revert the bridge changes to have them working > (CONFIG_BRIDGE_NETFILTER=m and CONFIG_BRIDGE=m). > > Why did you want the BRIDGE built-in instead of a module? > > Maybe you have something to setup the bridge (probably filter) properly, > or maybe something is different in the xen package between el6 and el7. > Any idea? > > I still have to investigate the Xen pkg, and have a closer look at those > tests I'm running. > > >Hum strange. I switched from module to built-in because I always had a deprecated warning about bridge when booting CentOS 6 (and I guess everyone needs bridge?). I don't remember what was the exact warning because it's been a long time since I switched it. I don't mind to put it back as a module, both works for me but the warning is gone when built-in. Karl -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20190304/d78270b9/attachment-0002.html>