[CentOS-virt] CentOS virt-sig Linux kernel 4.9.155 build

Wed Feb 27 20:12:40 UTC 2019
Karl Johnson <karljohnson.it at gmail.com>

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-0003.html>