<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 31, 2017 at 1:04 AM, Cody P Schafer <span dir="ltr"><<a href="mailto:dev@codyps.com" target="_blank">dev@codyps.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> The result of this is that trying to mount filesystems exported by<br>
> runqemu-export-rootfs in modern kernels (at least in 4.2 and later, and<br>
> probably more like 2.6.20 and later) doesn't actually work.<br>
<br>
</span>To clarify, when using nfsroot with the current kernel & unfsd<br>
options, my boot stops, waits for the nfs root to appear, and then<br>
times out. When trying to mount normally (ie: via `mount -t nfs` of a<br>
very recent vintage in arch-linux), I get immediate "protocol family<br>
not supported" errors.<br>
<br>
With this change, both mount methods (nfsroot with new kernel options<br>
and normally mount) work without issue.<br>
<span class=""><br>
> I'm honestly not sure how anyone was using this for nfsroot support.<br>
> Maybe an initramfs with a version of nfs-utils that could handle the<br>
> mountprog/nfsprog option was in use? Not sure.<br>
<br>
</span>Or is there some yocto kernel patch to enable support for it? I'm<br>
running a custom kernel.<br></blockquote><div><br></div><div><br></div><div>There's a patch that we've had for years to allow alternate RPC ports</div><div>to work with userspace NFS and co-exist with existing NFS servers.</div><div><br></div><div>This would have an impact on that functionality, so if we do need to</div><div>change those ports, the existing ones should be maintained with some</div><div>sort of option to change the nfsroot line.</div><div><br></div><div>Bruce</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">--<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><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"</div>
</div></div>