[OE-core] [PATCH] runqemu-export-rootfs: don't change RPC ports

Bruce Ashfield bruce.ashfield at gmail.com
Wed May 31 12:17:07 UTC 2017


On Wed, May 31, 2017 at 1:04 AM, Cody P Schafer <dev at codyps.com> wrote:

> > The result of this is that trying to mount filesystems exported by
> > runqemu-export-rootfs in modern kernels (at least in 4.2 and later, and
> > probably more like 2.6.20 and later) doesn't actually work.
>
> To clarify, when using nfsroot with the current kernel & unfsd
> options, my boot stops, waits for the nfs root to appear, and then
> times out. When trying to mount normally (ie: via `mount -t nfs` of a
> very recent vintage in arch-linux), I get immediate "protocol family
> not supported" errors.
>
> With this change, both mount methods (nfsroot with new kernel options
> and normally mount) work without issue.
>
> > I'm honestly not sure how anyone was using this for nfsroot support.
> > Maybe an initramfs with a version of nfs-utils that could handle the
> > mountprog/nfsprog option was in use? Not sure.
>
> Or is there some yocto kernel patch to enable support for it? I'm
> running a custom kernel.
>


There's a patch that we've had for years to allow alternate RPC ports
to work with userspace NFS and co-exist with existing NFS servers.

This would have an impact on that functionality, so if we do need to
change those ports, the existing ones should be maintained with some
sort of option to change the nfsroot line.

Bruce


> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170531/17e74bdc/attachment-0002.html>


More information about the Openembedded-core mailing list