<?xml version="1.0" encoding="utf-16"?><html><head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<style id="css_styles" type="text/css"><!--blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
ol, ul { list-style-position: inside } 
body { font-family: Tahoma; font-size: 12pt;   }--></style></head>
<body><div>Weird, Just did a new PV deploy of CentOS 7 and upgraded the kernel and it worked fine this time.</div>
<div><br /></div><div id="signature_old"><div style="FONT-SIZE: 12pt; FONT-FAMILY: Tahoma">
<div>--</div>
<div>Shaun Reitan</div>
<div>NDCHost.com</div></div></div><div><br /></div>
<div>------ Original Message ------</div>
<div>From: "Johnny Hughes" <<a href="mailto:johnny@centos.org">johnny@centos.org</a>></div>
<div>To: <a href="mailto:centos-virt@centos.org">centos-virt@centos.org</a></div>
<div>Sent: 2018-01-09 07:33:26 AM</div>
<div>Subject: Re: [CentOS-virt] Centos 7 Kernel 3.10.0-693.11.6.el7.x86_64 does not boot PV</div><div><br /></div>
<div id="xadcc294ad4eb4e5" class="plain"><blockquote cite="5ccd4caa-2557-8755-eb73-081737a2eaff@centos.org" type="cite" class="cite2">

<tt style="word-wrap:break-word"><div>On 01/08/2018 02:10 PM, Shaun Reitan wrote:</div>
<blockquote type="cite" class="cite">
<div> While installing the experemental kernel on a CentOS 7 PV the following</div>
<div> happened. After a reboot of the PV the kernel looks to be installed but</div>
<div> there is no option for booting it in grub.  I attempted to run yum</div>
<div> reinstall kernel-4.9.75-204.el7.centos.x86_64 and it installed fine but</div>
<div> still no entry in grub. No initramfs existed and I found kernel-modules</div>
<div> did not install properly so I then ran yum reinstall kernel-modules and</div>
<div> received a ton of errors that looked like the following..</div>
<div> </div>
<div> depmod: ERROR: failed to load symbols from</div>
<div> /lib/modules/4.9.75-204.el7.centos.x86_64/kernel/drivers/misc/sgi-xp/xpc.ko.xz:</div>
<div> Exec format error</div>
<div> </div>
<div> after which a initramfs does exist however on reboot still no option for</div>
<div> the new kernel.</div>
</blockquote>
<div> </div>
<div>Installed and works fine for me.</div>
<div> </div>
<div>Very odd.</div>
<div> </div>
<div>from my Dom0 machine:</div>
<div>[root@xendom0 ~]# uname -a</div>
<div>Linux xendom0 4.9.75-29.el7.x86_64 #1 SMP Fri Jan 5 19:42:28 UTC 2018</div>
<div>x86_64 x86_64 x86_64 GNU/Linux</div>
<div> </div>
<div>From my DomU CentOS-7 PV VM:</div>
<div>Linux x7-x8664-pv 4.9.75-204.el7.centos.x86_64 #1 SMP Fri Jan 5 17:51:39</div>
<div>UTC 2018 x86_64 x86_64 x86_64 GNU/Linux</div>
<div> </div>
<div>My CentOS-7 PV config:</div>
<div>[root@xendom0 ~]# cat /etc/xen/config.d/c7-x8664.pv.cfg</div>
<div>bootloader= "/usr/lib/xen/bin/pygrub"</div>
<div>name = "c7-x8664.pv"</div>
<div>memory = 4096</div>
<div>vcpus = 2</div>
<div>vif = [ 'mac=00:16:3E:29:00:02,bridge=xenbr0' ]</div>
<div>disk = [ 'phy:/dev/cl/c7-x8664-pv,xvda,rw' ]</div>
<div>vfb = [ 'type=vnc,vncdisplay=1,vncpasswd=supersecret' ]</div>
<div> </div>
<div> </div>
<div> </div>
<blockquote type="cite" class="cite2">
<div> </div>
<div> </div>
<div> [root@CC0A2543 ~]# [  587.145018] ------------[ cut here ]------------</div>
<div> [  587.145018] kernel BUG at arch/x86/kernel/paravirt.c:244!</div>
<div> [  587.145018] invalid opcode: 0000 [#1] SMP</div>
<div> [  587.145018] Modules linked in: xen_netfront coretemp pcspkr ip_tables</div>
<div> ext4 mbcache jbd2 xen_blkfront</div>
<div> [  587.145018] CPU: 0 PID: 2126 Comm: dracut Not tainted</div>
<div> 3.10.0-123.4.4.el7.x86_64 #1</div>
<div> [  587.145018] task: ffff880002da5b00 ti: ffff8800f6088000 task.ti:</div>
<div> ffff8800f6088000</div>
<div> [  587.145018] RIP: e030:[<ffffffff815da23b>]  [<ffffffff815da23b>]</div>
<div> enter_lazy.part.0+0x4/0x6</div>
<div> [  587.145018] RSP: e02b:ffff8800ff403ab0  EFLAGS: 00010002</div>
<div> [  587.145018] RAX: 0000000000000001 RBX: ffff8800f8ad4040 RCX:</div>
<div> 00003ffffffff000</div>
<div> [  587.145018] RDX: ffff880000000040 RSI: ffff880000000000 RDI:</div>
<div> 00000005a52cc067</div>
<div> [  587.145018] RBP: ffff8800ff403ab0 R08: ffff8800ff403b78 R09:</div>
<div> ffffffff81362409</div>
<div> [  587.145018] R10: ffff8800fa001e00 R11: ffff880000000000 R12:</div>
<div> ffffc90000609000</div>
<div> [  587.145018] R13: ffffc90000608000 R14: 0000000000000000 R15:</div>
<div> ffffffff8100a6b0</div>
<div> [  587.145018] FS:  00007f14b0680740(0000) GS:ffff8800ff400000(0000)</div>
<div> knlGS:0000000000000000</div>
<div> [  587.145018] CS:  e033 DS: 0000 ES: 0000 CR0: 000000008005003b</div>
<div> [  587.145018] CR2: 00007f14b0473000 CR3: 00000000f6099000 CR4:</div>
<div> 0000000000002660</div>
<div> [  587.145018] DR0: 0000000000000000 DR1: 0000000000000000 DR2:</div>
<div> 0000000000000000</div>
<div> [  587.145018] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7:</div>
<div> 0000000000000400</div>
<div> [  587.145018] Stack:</div>
<div> [  587.145018]  ffff8800ff403ac0 ffffffff81046bc7 ffff8800ff403b60</div>
<div> ffffffff8116d8d6</div>
<div> [  587.145018]  ffffc90000608fff ffffc90000609000 ffffffff818cec90</div>
<div> ffffc90000608fff</div>
<div> [  587.145018]  ffffc90000609000 ffff8800fa04d000 0000000000000004</div>
<div> ffffc90000608fff</div>
<div> [  587.145018] Call Trace:</div>
<div> [  587.145018]  <IRQ></div>
<div> [  587.145018]  [<ffffffff81046bc7>] paravirt_enter_lazy_mmu+0x27/0x30</div>
<div> [  587.145018]  [<ffffffff8116d8d6>] apply_to_page_range+0x266/0x440</div>
<div> [  587.145018]  [<ffffffff8100a7fb>] arch_gnttab_map_status+0x3b/0x70</div>
<div> [  587.145018]  [<ffffffff81362486>] gnttab_map_frames_v2+0xd6/0x150</div>
<div> [  587.145018]  [<ffffffff813625a1>] gnttab_map+0xa1/0x140</div>
<div> [  587.145018]  [<ffffffff81362740>] get_free_entries+0x100/0x2e0</div>
<div> [  587.145018]  [<ffffffff813629e5>] gnttab_alloc_grant_references+0x15/0x30</div>
<div> [  587.145018]  [<ffffffffa0000cc3>] do_blkif_request+0x683/0x850</div>
<div> [xen_blkfront]</div>
<div> [  587.145018]  [<ffffffff812906c3>] __blk_run_queue+0x33/0x40</div>
<div> [  587.145018]  [<ffffffff812906f9>] blk_start_queue+0x29/0x40</div>
<div> [  587.145018]  [<ffffffffa0000eb1>]</div>
<div> kick_pending_request_queues+0x21/0x30 [xen_blkfront]</div>
<div> [  587.145018]  [<ffffffffa0001487>] blkif_interrupt+0x5c7/0x670</div>
<div> [xen_blkfront]</div>
<div> [  587.145018]  [<ffffffff810f735e>] handle_irq_event_percpu+0x3e/0x1e0</div>
<div> [  587.145018]  [<ffffffff810f753d>] handle_irq_event+0x3d/0x60</div>
<div> [  587.145018]  [<ffffffff810fa1c7>] handle_edge_irq+0x77/0x130</div>
<div> [  587.145018]  [<ffffffff81363527>] __xen_evtchn_do_upcall+0x227/0x350</div>
<div> [  587.145018]  [<ffffffff813656db>] xen_evtchn_do_upcall+0x2b/0x50</div>
<div> [  587.145018]  [<ffffffff815f3f7e>] xen_do_hypervisor_callback+0x1e/0x30</div>
<div> [  587.145018]  <EOI></div>
<div> [  587.145018]  [<ffffffff812b8419>] ? free_cpumask_var+0x9/0x10</div>
<div> [  587.145018]  [<ffffffff81169618>] ? unmap_page_range+0x5f8/0x860</div>
<div> [  587.145018]  [<ffffffff81169901>] ? unmap_single_vma+0x81/0xf0</div>
<div> [  587.145018]  [<ffffffff8116a9c9>] ? unmap_vmas+0x49/0x90</div>
<div> [  587.145018]  [<ffffffff8117367c>] ? exit_mmap+0xac/0x1a0</div>
<div> [  587.145018]  [<ffffffff8105b187>] ? mmput+0x67/0xf0</div>
<div> [  587.145018]  [<ffffffff811b6c32>] ? flush_old_exec+0x422/0x880</div>
<div> [  587.145018]  [<ffffffff812069cc>] ? load_elf_binary+0x33c/0xde0</div>
<div> [  587.145018]  [<ffffffff81272b13>] ? ima_get_action+0x23/0x30</div>
<div> [  587.145018]  [<ffffffff8127217e>] ? process_measurement+0x8e/0x250</div>
<div> [  587.145018]  [<ffffffff81272639>] ? ima_bprm_check+0x49/0x50</div>
<div> [  587.145018]  [<ffffffff81206690>] ? load_elf_library+0x230/0x230</div>
<div> [  587.145018]  [<ffffffff811b6355>] ? search_binary_handler+0xf5/0x310</div>
<div> [  587.145018]  [<ffffffff811b78e9>] ? do_execve_common.isra.22+0x559/0x650</div>
<div> [  587.145018]  [<ffffffff811b7c76>] ? SyS_execve+0x36/0x50</div>
<div> [  587.145018]  [<ffffffff815f2b89>] ? stub_execve+0x69/0xa0</div>
<div> [  587.145018] Code: 8d 55 f0 48 8d 4d f4 e8 b4 8e a2 ff 66 90 48 8b 55</div>
<div> f8 65 48 33 14 25 28 00 00 00 8b 45 e8 74 05 e8 ab 3a a8 ff c9 c3 55 48</div>
<div> 89 e5 <0f> 0b 66 66 66 66 90 55 48 89 e5 0f 0b 55 48 89 e5 0f 0b 66 66</div>
<div> [  587.145018] RIP  [<ffffffff815da23b>] enter_lazy.part.0+0x4/0x6</div>
<div> [  587.145018]  RSP <ffff8800ff403ab0></div>
<div> [  587.145018] ---[ end trace 8566ed161f106c20 ]---</div>
<div> [  587.145018] Kernel panic - not syncing: Fatal exception in interrupt</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> --</div>
<div> Shaun Reitan</div>
<div> NDCHost.com</div>
<div> </div>
<div> ------ Original Message ------</div>
<div> From: "Johnny Hughes" <<a href="mailto:johnny@centos.org">johnny@centos.org</a> <mailto:<a href="mailto:johnny@centos.org">johnny@centos.org</a>>></div>
<div> To: <a href="mailto:centos-virt@centos.org">centos-virt@centos.org</a> <mailto:<a href="mailto:centos-virt@centos.org">centos-virt@centos.org</a>></div>
<div> Sent: 2018-01-06 05:34:22 AM</div>
<div> Subject: Re: [CentOS-virt] Centos 7 Kernel 3.10.0-693.11.6.el7.x86_64</div>
<div> does not boot PV</div>
<div> </div>
<blockquote type="cite" class="cite2">
<div> On 01/06/2018 03:16 AM, Dmitry Melekhov wrote:</div>
<blockquote type="cite" class="cite">
<div> The same problem with latest centos 6 kernel,i.e. with meltdown fix.</div>
<div>  </div>
<div> I can't see console output, because I have it on "cloud" provider</div>
<div> hosting :-)</div>
<div>  </div>
<div>  </div>
<div>  </div>
<div> 06.01.2018 05:13, Shaun Reitan пишет:</div>
<blockquote type="cite" class="cite">
<div> Broken!</div>
<div>  </div>
<div>  </div>
</blockquote>
</blockquote>
<div>  </div>
<div>  </div>
<div> For those of you looking for a PV enabled client Kernel for CentOS Linux</div>
<div> 7 DomU VMs, you can use our Experimental kernel from here:</div>
<div>  </div>
<div> <a href="http://mirror.centos.org/altarch/7/experimental/x86_64/">http://mirror.centos.org/altarch/7/experimental/x86_64/</a></div>
<div>  </div>
<div> There is a repo file at the BOTTOM of this wiki page that you can use to</div>
<div> enable the experimental repo:</div>
<div>  </div>
<div> <a href="https://wiki.centos.org/SpecialInterestGroup/AltArch/i386">https://wiki.centos.org/SpecialInterestGroup/AltArch/i386</a></div>
<div>  </div>
<div> That experimental repo file will work for x86_64 or i386 installs and</div>
<div> the latest released kernel (kernel-4.9.75-204.el7.centos). This kernel</div>
<div> has the CONFIG_PAGE_TABLE_ISOLATION=y security fixes (used to be</div>
<div> CONFIG_KAISER .. and still is in the Red Hat released kernels).</div>
<div>  </div>
<div> You could also use the Dom0 kernels from the Xen repo as DomU kernels</div>
<div> for your PV VMs if you want. Currently the 4.9.75 Xen kernels are in</div>
<div> the testing repo and waiting for tests to release.</div>
<div>  </div>
<div> Thanks,</div>
<div> Johnny Hughes</div>
<div>  </div>
<div>  </div>
</blockquote>
<div> </div>
<div> </div>
<div> _______________________________________________</div>
<div> CentOS-virt mailing list</div>
<div> <a href="mailto:CentOS-virt@centos.org">CentOS-virt@centos.org</a></div>
<div> <a href="https://lists.centos.org/mailman/listinfo/centos-virt">https://lists.centos.org/mailman/listinfo/centos-virt</a></div>
<div> </div>
</blockquote>
<div> </div>
<div> </div>
</tt></blockquote></div>


</body></html>