<div dir="ltr"><div><div><div>Hi Roy,<br><br></div>After some investigation it turned out that Ubuntu packs both - gzipped initrd.img and Intel's microcode into one initrd file. That's why I couldn't initially extract the whole Init ramfs.<br><br></div>Now I see that i915.ko module is included into initrd and that /etc/modprobe.d actually has i915.conf with my options inside. So, it's clear now that i915 is a module and where its configuration comes from. It's also confirmed by "dmesg" output where i915 reports setting of the "dangerous options".<br><br></div><div>The weird thing now is - provided all of the facts above, the module still ignores the config. It still continues to use some default settings.<br><br></div><div>There's no other place except /etc/modprobe.d in initrd which contains or may override "enable_execlists" setting (checked by 'grepping' all of the extracted contents)<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Best Regards,<br>Maxim</div></div></div>
<br><div class="gmail_quote">On Wed, Dec 28, 2016 at 11:00 PM, Edinburgh Linux Users Group <span dir="ltr"><<a href="mailto:edlug@lists.edlug.org.uk" target="_blank">edlug@lists.edlug.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2016.12.28 21:12, Edinburgh Linux Users Group wrote:<br>
> Hi Roy,<br>
><br>
</span><span class="">> I see your point. Interesting, I see the entries from i915 (about<br>
> tainting<br>
> kernel) Before any root fs mounting. Which means that it's either<br>
> built<br>
> into the kernel or should be inside initramfs.<br>
><br>
> Also, apart from the config, if I try to run this command:<br>
><br>
</span>> *$ grep i915 /lib/modules/4.8.0-32-generic/<wbr>modules.builtin*<br>
<span class="">> It gives no output, which means that i915 must be a separate module.<br>
><br>
> However, when I try to look into initramfs:<br>
><br>
</span>> *$ cpio -i < initrd.img-4.8.0-32-generic*<br>
<span class="">> I see only one file there:<br>
</span>> *./kernel/x86/microcode/<wbr>GenuineIntel.bin*<br>
<span class="">><br>
> Now I'm a bit confused - it's loaded before root fs, it's referred as<br>
> a<br>
> separate module in all configs, but it's not in initrd...<br>
><br>
> Best Regards,<br>
> Maxim<br>
><br>
<br>
</span>Maxim,<br>
<br>
A few things.  I've put Ubuntu 16.10 into a Virtualbox VM beside<br>
a scrap Gentoo, so I can unpick the initramfs.<br>
<br>
Firstly. its init script parses /proc/cmdline so the init script<br>
in the initramfs can respond to kernel command line<br>
parameters.  It has lots defined already.  As you have<br>
the initrd unpacked its easy to read.<br>
I don't see it doing anything for i915 though.<br>
<br>
i915.ko is indeed in the initramfs. Look in it its<br>
lib/modules/.../kernel/<wbr>drivers/gpu/drm ...<br>
<br>
I've had a look in the initramfs etc/m* and don't<br>
see anything passing parameters to i915 but I don't<br>
know my way around Ubuntu.<br>
<br>
Regards,<br>
<br>
Roy Bamford.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<wbr>_________________<br>
EdLUG mailing list<br>
<a href="mailto:EdLUG@lists.edlug.org.uk">EdLUG@lists.edlug.org.uk</a><br>
<a href="https://lists.edlug.org.uk/mailman/listinfo/edlug" rel="noreferrer" target="_blank">https://lists.edlug.org.uk/<wbr>mailman/listinfo/edlug</a><br>
</div></div></blockquote></div><br></div></div>