<div dir="ltr">Whoops.  Maybe I should have been clearer... Sorry!<div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 14 December 2017 at 00:04, Richard Purdie <span dir="ltr">&lt;<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Wed, 2017-12-13 at 19:01 -0500, Bruce Ashfield wrote:<br>
&gt; On 2017-12-13 9:14 AM, Richard Purdie wrote:<br>
&gt; &gt;<br>
&gt; &gt; On Wed, 2017-12-13 at 09:07 -0500, Bruce Ashfield wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On 12/13/2017 09:05 AM, Richard Purdie wrote:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; On Wed, 2017-12-13 at 08:38 -0500, Bruce Ashfield wrote:<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; On 12/13/2017 07:34 AM, Richard Purdie wrote:<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Hi Bruce,<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; <a href="https://bugzilla.yoctoproject.org/show_bug.cgi?id=12301" rel="noreferrer" target="_blank">https://bugzilla.yoctoproject.<wbr>org/show_bug.cgi?id=12301</a><br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; We&#39;ve root caused the hangs we&#39;re seeing in qemux86-64 on<br>
&gt; &gt; &gt; &gt; &gt; &gt; our<br>
&gt; &gt; &gt; &gt; &gt; &gt; autobuilder workers. We&#39;ve identified a commit on 4.15-rc3<br>
&gt; &gt; &gt; &gt; &gt; &gt; which<br>
&gt; &gt; &gt; &gt; &gt; &gt; fixes<br>
&gt; &gt; &gt; &gt; &gt; &gt; the issue but backporting it to the autobuilder&#39;s host<br>
&gt; &gt; &gt; &gt; &gt; &gt; kernels<br>
&gt; &gt; &gt; &gt; &gt; &gt; will<br>
&gt; &gt; &gt; &gt; &gt; &gt; be<br>
&gt; &gt; &gt; &gt; &gt; &gt; a pain.<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; As a workaround I&#39;d like to enable x2apic on qemux86-64.<br>
&gt; &gt; &gt; &gt; &gt; &gt; Since<br>
&gt; &gt; &gt; &gt; &gt; &gt; that<br>
&gt; &gt; &gt; &gt; &gt; &gt; works via MSRs it avoids the problem.<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Would it be a big issue to set CONFIG_X86_X2APIC=y for<br>
&gt; &gt; &gt; &gt; &gt; &gt; qemux86-<br>
&gt; &gt; &gt; &gt; &gt; &gt; 64?<br>
&gt; &gt; &gt; &gt; &gt; Nope. No big deal at all. I&#39;ve used the same config i the<br>
&gt; &gt; &gt; &gt; &gt; past<br>
&gt; &gt; &gt; &gt; &gt; when doing work with rt-KVM, so I know it well.<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; I&#39;ll prep a commit, and send it along as part of a rebased<br>
&gt; &gt; &gt; &gt; &gt; set<br>
&gt; &gt; &gt; &gt; &gt; of kernel patches.<br>
&gt; &gt; &gt; &gt; Thanks, much appreciated.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Did we get to the bottom of the 4.12 selftest failures?<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; Not yet no. I was distracted for a day, but need to learn how<br>
&gt; &gt; &gt; to run them myself. I was able to log in via serial in my normal<br>
&gt; &gt; &gt; boot flow, so that didn&#39;t get me anywhere.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Is the selftest HOWO in the yocto docs ? I&#39;ll google it up this<br>
&gt; &gt; &gt; morning.<br>
&gt; &gt; No HOWTO but I did give you the command. In a poky checkout run:<br>
&gt; &gt;<br>
&gt; &gt; oe-selftest -r runqemu.RunqemuTests.test_<wbr>boot_deploy<br>
&gt; &gt;<br>
&gt; &gt; which runs a single test that fails (setup DL_DIR/SSTATE_MIRRORS<br>
&gt; &gt; first<br>
&gt; &gt; to speed it up a bit).<br>
&gt; &gt;<br>
&gt; &gt; It may tell you to clear SANITY_TESTED_DISTROS, I think it auto<br>
&gt; &gt; adds<br>
&gt; &gt; meta-selftest now. You may also need to set DISPLAY to something<br>
&gt; &gt; (e.g.<br>
&gt; &gt; a dummy vncserver).<br>
&gt; &gt;<br>
&gt; With the cleanup that Ross gave me, I&#39;m now able to see the issue.<br>
&gt;<br>
&gt; I&#39;ll start debugging on Thursday.<br>
&gt;<br>
&gt; One additional question: what&#39;s the right way to find the logs of<br>
&gt; that<br>
&gt; run ?<br>
&gt;<br>
&gt; I&#39;m getting a bit of noise from:<br>
&gt;<br>
&gt; ----------------<br>
&gt;       0155:            else:<br>
&gt; Exception: FileNotFoundError: [Errno 2] No such file or directory: <br>
&gt; &#39;/home/bruce/poky/build/tmp/<wbr>sysroots-components/x86_64/<wbr>python3-<br>
&gt; native/usr/lib/python3.5/<wbr>sqlite3/__pycache__/dump.<wbr>cpython-35.opt-<br>
&gt; 1.pyc&#39; <br>
&gt; -&gt; <br>
&gt; &#39;/home/bruce/poky/build/tmp/<wbr>work/core2-64-poky-linux/gnu-<wbr>efi/3.0.6-<br>
&gt; r0/recipe-sysroot-<br>
&gt; native/usr/lib/python3.5/<wbr>sqlite3/__pycache__/dump.<wbr>cpython-35.opt-<br>
&gt; 1.pyc&#39;<br>
&gt;<br>
&gt; ERROR: gnu-efi-3.0.6-r0 do_package: Function failed:<br>
&gt; extend_recipe_sysroot<br>
&gt; ERROR: Logfile of failure stored in: <br>
&gt; /home/bruce/poky/build/tmp/<wbr>work/core2-64-poky-linux/gnu-<wbr>efi/3.0.6-<br>
&gt; r0/temp/log.do_package.10495<br>
<br>
</div></div>You&#39;ve deleted pyc files from python itself which is bad. I&#39;d<br>
cleansstate python-native and rebuilt it to fix that. Ross meant onto<br>
to run it on the poky meta directory...<br>
<div class="HOEnZb"><div class="h5"><br>
Cheers,<br>
<br>
Richard<br>
<br>
<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</div></div></blockquote></div><br></div>