<div dir="ltr">Hello Trammell,<div><br></div><div>Reading what you are trying. Have no idea what Qubes OS is... I apologize for my ignorance, but I am (fortunately) willing to learn. New OSes, new tricks, and this old dog (me) is still willing to learn new tricks (in other words, also learning experience for me)?! ;-)</div><div><br></div><div>So, since you are coming to dracut after all, I am suspecting that something with your initramfs is not quite right... It often happens to me with Linux distros I am using for HW/SoC testing (95% Fedora distro).</div><div><br></div><div>In order to determine what is really wrong with your setup, I asked my best friend for dozens of years: <a href="http://www.google.com">www.google.com</a>, searching for pattern -> <a class="" href="https://www.google.de/search?espv=2&biw=1348&bih=614&q=initramfs-4.1.13-9.pvops.qubes.x86_64.img&spell=1&sa=X&ved=0ahUKEwjejvTtzY7OAhXI1SwKHd8TCekQvwUIGSgA" style="font-size:18px;color:rgb(102,0,153);line-height:21px"><b><i>initramfs</i></b>-4.1.13-9.pvops.qubes.x86_64.img</a></div><div><br></div><div>The following appeared: <a href="https://groups.google.com/forum/#!msg/qubes-users/DYw6f2LpDA8/z4fDsy9CBwAJ">https://groups.google.com/forum/#!msg/qubes-users/DYw6f2LpDA8/z4fDsy9CBwAJ</a></div><div><br></div><div><b><i>And this cot my eye (from <span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">Marek Marczykowski-Górecki)</span>:</i></b> </div><div><i><u><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">Probably some module required for your baremetal fedora is missing in </span><br style="font-family:Arial,Helvetica,sans-serif;font-size:13px"><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">initramfs. First of all, remove "quiet" option to receive more details. </span><br style="font-family:Arial,Helvetica,sans-serif;font-size:13px"><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">If that's about missing module, you can regenerate initramfs: </span><br style="font-family:Arial,Helvetica,sans-serif;font-size:13px"><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">0. <b><font color="#ff0000">Make sure you've copied modules from Qubes </font></b></span><b><font color="#ff0000"><br style="font-family:Arial,Helvetica,sans-serif;font-size:13px"><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">(/lib/modules/4.1.13-9.pvops.</span><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">qubes.x86_64) </span><br style="font-family:Arial,Helvetica,sans-serif;font-size:13px"><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">1. Call "dracut -f /initramfs-4.1.13-9.pvops.</span><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">qubes.x86_64.img </span><br style="font-family:Arial,Helvetica,sans-serif;font-size:13px"><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">4.1.13-9.pvops.qubes.x86_64 </span></font></b></u></i><br style="font-family:Arial,Helvetica,sans-serif;font-size:13px"><br></div><div>Could help (you might search other options with the provided search pattern) ... :-)<br></div><div><br></div><div>Please, let us know.</div><div><br></div><div>Zoran</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 25, 2016 at 6:05 AM, Trammell Hudson <span dir="ltr"><<a href="mailto:hudson@trmm.net" target="_blank">hudson@trmm.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've successfully built a 4.6.4 Linux kernel payload for CoreBoot and<br>
flashed it onto the top 4 MB of the boot ROM on my Thinkpad x230.<br>
The runtime is a dynamic linked busybox with glibc, as well as a copy<br>
of the kexec binary from my Ubuntu laptop.<br>
<br>
kexec of a xen kernel (multiboot-x86) results in an immediate reboot<br>
into the coreboot payload:<br>
<br>
<a href="https://www.flickr.com/photos/osr/27913702804/lightbox" rel="noreferrer" target="_blank">https://www.flickr.com/photos/osr/27913702804/lightbox</a><br>
<br>
kexec of a Linux kernel produces the expected result (panic in this<br>
case since I didn't pass any additional parameters to find a root fs):<br>
<br>
<a href="https://www.flickr.com/photos/osr/27914585663/lightbox" rel="noreferrer" target="_blank">https://www.flickr.com/photos/osr/27914585663/lightbox</a><br>
<br>
This might be a xen problem (triple fault leading to reset vector?)<br>
rather than a coreboot issue, however the same Xen hypervisor config<br>
works with grub2 on the drive loaded by seabios payload.<br>
<br>
There is this old document that describes a "--vmm" option to kexec,<br>
but that doesn't seem to exist in the current kexec tree:<br>
<br>
<a href="https://xenbits.xen.org/docs/4.3-testing/misc/kexec_and_kdump.txt" rel="noreferrer" target="_blank">https://xenbits.xen.org/docs/4.3-testing/misc/kexec_and_kdump.txt</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Trammell<br>
<br>
--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
<a href="https://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://www.coreboot.org/mailman/listinfo/coreboot</a><br>
</font></span></blockquote></div><br></div>