[OE-core] [PATCH 1/1] linux-yocto: update beaglebone, mpc8315e and edgerouter to 3.19

Bruce Ashfield bruce.ashfield at windriver.com
Fri Jun 5 15:22:34 UTC 2015


On 2015-06-05 11:07 AM, Burton, Ross wrote:
>
> On 5 June 2015 at 05:13, Bruce Ashfield <bruce.ashfield at windriver.com
> <mailto:bruce.ashfield at windriver.com>> wrote:
>
>     Bumping the linux-yocto SRCREVs to integrate fixes for the h/w reference
>     BSPs to the 3.19 kernel.
>
>
> edgerouter fails for me:
>
> |
> /data/poky-master/tmp/work-shared/edgerouter/kernel-source/fs/aufs/i_op.c:
> In function 'au_pin_hdir_set_owner':
> |
> /data/poky-master/tmp/work-shared/edgerouter/kernel-source/fs/aufs/i_op.c:445:28:
> error: 'struct mutex' has no member named 'owner'
> |   p->hdir->hi_inode->i_mutex.owner = task;
> |                             ^
> |   LD      drivers/idle/built-in.o
> |   CC      fs/aufs/i_op_del.o
> |   LD      drivers/i2c/busses/built-in.o
> |   CC      drivers/base/module.o
> |   LD      drivers/i2c/muxes/built-in.o
> |
> /data/poky-master/tmp/work-shared/edgerouter/kernel-source/scripts/Makefile.build:257:
> recipe for target 'fs/aufs/i_op.o' failed
> | make[4]: *** [fs/aufs/i_op.o] Error 1

Indeed, we have this fix:

commit 6c21811060c03100a32d0acc493df5fb3743b7c8
Author: Kevin Hao <kexin.hao at windriver.com>
Date:   Wed May 27 20:19:12 2015 +0800

     fs: aufs: fix a build error for archs which doesn't support 
MUTEX_SPIN_ON_OWNER

     For struct mutex, the member "owner" only exist when either
     DEBUG_MUTEXES or MUTEX_SPIN_ON_OWNER is enabled. The SMP is a necessary
     condition, but not a sufficiency condition for MUTEX_SPIN_ON_OWNER.
     So we would get build error on arch such as mpis due to SMP is
     enabled and both DEBUG_MUTEXES and MUTEX_SPIN_ON_OWNER are disabled.
     Replace the SMP with MUTEX_SPIN_ON_OWNER to fix it.

     Signed-off-by: Kevin Hao <kexin.hao at windriver.com>
     Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>

:100644 100644 f0edd021102b... 268a8a54ebfc... M        fs/aufs/i_op.c

---------

And it is on the edgerouter branch.

So either the fix isn't complete, or we are building a different config
here, or the revs are wrong.

... and indeed, that isn't part of the patch Kevin sent, so you are building
and old SRCREV.

I'll send a follow up patch shortly.

Bruce

>
> Ross




More information about the Openembedded-core mailing list