Re: Problem with latest kernel?
Posted: 2018/01/05 21:04:52
The "nopti" flag doesn't appear to make any difference, I can't believe RH isn't going to fix it until the next point release.
For the time being I've built a 4.9.75 kernel which seems to work fine on CentOS 6 and CentOS 7 Xen PV guests. I would share it but it's not RPM packaged. Hopefully Johnny will soon build this officially for CentOS-Virt then you have the option of running that kernel inside guests.
I did notice this on boot, which is something that needs fixing in Xen itself..
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at arch/x86/mm/dump_pagetables.c:226 note_page+0x328/0x330
x86/mm: Found insecure W+X mapping at address ffff880000000000/0xffff880000000000
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.75 #1
0000000000000000 ffffffff8171f04c 0000000000000000 ffffc9000038fda8
0000000000000000 ffffc9000038fda8 ffffc9000038fd98 ffffffff810dbc9e
ffffc9000038fdc8 000000e281125abc 0000000000000023 ffffc9000038fec8
Call Trace:
[<ffffffff8171f04c>] ? dump_stack+0x60/0x94
[<ffffffff810dbc9e>] ? __warn+0xfe/0x120
[<ffffffff810dbd79>] ? warn_slowpath_fmt+0x49/0x50
[<ffffffff81065e98>] ? note_page+0x328/0x330
[<ffffffff81065fea>] ? walk_pmd_level+0x14a/0x1d0
[<ffffffff810662b4>] ? ptdump_walk_pgd_level_core+0x244/0x2a0
[<ffffffff81c81190>] ? rest_init+0x80/0x80
[<ffffffff81c811ba>] ? kernel_init+0x2a/0x100
[<ffffffff81c87751>] ? ret_from_fork+0x41/0x50
---[ end trace 9e7031a081fed20d ]---
For the time being I've built a 4.9.75 kernel which seems to work fine on CentOS 6 and CentOS 7 Xen PV guests. I would share it but it's not RPM packaged. Hopefully Johnny will soon build this officially for CentOS-Virt then you have the option of running that kernel inside guests.
I did notice this on boot, which is something that needs fixing in Xen itself..
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at arch/x86/mm/dump_pagetables.c:226 note_page+0x328/0x330
x86/mm: Found insecure W+X mapping at address ffff880000000000/0xffff880000000000
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.75 #1
0000000000000000 ffffffff8171f04c 0000000000000000 ffffc9000038fda8
0000000000000000 ffffc9000038fda8 ffffc9000038fd98 ffffffff810dbc9e
ffffc9000038fdc8 000000e281125abc 0000000000000023 ffffc9000038fec8
Call Trace:
[<ffffffff8171f04c>] ? dump_stack+0x60/0x94
[<ffffffff810dbc9e>] ? __warn+0xfe/0x120
[<ffffffff810dbd79>] ? warn_slowpath_fmt+0x49/0x50
[<ffffffff81065e98>] ? note_page+0x328/0x330
[<ffffffff81065fea>] ? walk_pmd_level+0x14a/0x1d0
[<ffffffff810662b4>] ? ptdump_walk_pgd_level_core+0x244/0x2a0
[<ffffffff81c81190>] ? rest_init+0x80/0x80
[<ffffffff81c811ba>] ? kernel_init+0x2a/0x100
[<ffffffff81c87751>] ? ret_from_fork+0x41/0x50
---[ end trace 9e7031a081fed20d ]---