[yocto] [meta-baryon][PATCH 1/1] nfs-utils: workaround for nfsd regression in the 3.4 kernel

Paul Eggleton paul.eggleton at linux.intel.com
Sun Sep 30 08:12:44 PDT 2012


Hi Kevin,

On Friday 28 September 2012 12:44:06 Kevin Strasser wrote:
> The version of nfsd used in 3.4 kernels tries to upcall the
> new reboot-recovery daemon and gets stuck if it is not found.
> This causes client mounts to fail and prints the following
> error message during boot:
> 
> "NFSD: starting 90-second grace period
> NFSD: Unable to end grace period: -110"
> 
> If the directory "/var/lib/nfs/v4recovery" exists, nfsd will
> revert back to the old method.
> 
> Signed-off-by: Kevin Strasser <kevin.strasser at linux.intel.com>
> ---
>  .../nfs-utils/nfs-utils_1.2.3.bbappend             |    8 ++++++++
>  1 file changed, 8 insertions(+)
>  create mode 100644 recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bbappend
> 
> diff --git a/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bbappend
> b/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bbappend new file mode
> 100644
> index 0000000..2c91a93
> --- /dev/null
> +++ b/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bbappend
> @@ -0,0 +1,8 @@
> +PR = "r5"

This needs to be:

PRINC = "1"

or, to ensure other layers can also increment the value:

PRINC := "${@int(PRINC) + 1}"

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list