<div dir="ltr">Hi Bob,<div><br></div><div style>Thank you for your reply. I used a single-part image to start a instance of Fedora 14. Inside the instance, I complied the Linux 3.1.2 kernel and updated the grub. However, the boot process will stuck when choosing the newly built kernel in grub. For Xencenter, I saw the error message shown on the screen is (It go through very quickly, I catched this by snapshoots.)</div>
<div style><br></div><div style>BUG: scheduling while atomic: swapper/0/0x10000002</div><div style>BUG: scheduling while atomic: kworker/0:0/0x10000002</div><div style>Error: Driver 'xen-platform-pci' is already registered. aborting...</div>
<div style><br></div><div style>And after this, the screen stuck like the attached picture.</div><div style><br></div><div style>Do you have any ideas about why this happens?</div><div style><br></div><div style>Thanks,</div>
<div style>Qin</div><div style><br></div><div style><img src="cid:ii_14160db13f0429f5" alt="Inline image 2"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 23, 2013 at 6:24 AM, Bob Ball <span dir="ltr"><<a href="mailto:bob.ball@citrix.com" target="_blank">bob.ball@citrix.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">It depends what type of image you are booting.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">If you are using a 3-part image, where the kernel and the initrd were originally outside of the root disk, then I’ve never tested how to make the necessary
 changes so the next boot pulls the kernel/initrd out from the image.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">If the original image was a single-part and the kernel/initrd were extracted automatically at boot time then yes, simply updating grub.conf to reference the
 new kernel+initrd should be sufficient.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Bob<u></u><u></u></span></p>
<p class="MsoNormal"><a name="1414a593141f4bfa__MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></a></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Qin Jia [mailto:<a href="mailto:jiaqin1017@gmail.com" target="_blank">jiaqin1017@gmail.com</a>]
<br>
<b>Sent:</b> 23 September 2013 05:57</span></p><div class="im"><br>
<b>To:</b> <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
<b>Subject:</b> [Openstack] Loading Kernel Module during reboot<u></u><u></u></div><p></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hello,<u></u><u></u></p><div><div class="h5">
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I have openstack run on top of Xenserver. I have created images (initrd and kernel images)  inside the /boot directory of the instance. I was wondering if it is possible to load the image during rebooting of the instance by changing the
 grub.conf? <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Qin<u></u><u></u></p>
</div>
</div></div></div>
</div>
</div>
</div>

</blockquote></div><br>
</div></div>