[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#760239: fs/aufs/i_op.c:435:28: error: 'struct mutex' has no member named 'owner'



Control: severity 760239 wishlist
Control: retitle 760239 aufs fails to build with PREEMPT_RT patchset applied and enabled
Control: tag 760239 wontfix

On Mon, 2014-09-01 at 17:29 -0700, David Christensen wrote:
> Package: linux-source
> Version: 3.14+59
> Severity: normal
> 
> Dear Maintainer,
> 
> I am attempting to compile a realtime kernel on and for Jessie i386.
> 
> 
> I started with the configuration file /boot/config-3.14-2-686-pae and
> made two changes via menuconfig:
> 
>     Preemption Model	=> Fully Preemptible Kernel (RT)
> 
>     Timer frequency	=> 1000 HZ
> 
> 
> When I attempt to build the kernel package, it fails:
> 
>     2014-09-01 16:26:54 root@dc86yxb1 /usr/src/linux-source-3.14
>     # make-kpkg --append-to-version -rt --initrd kernel_image
>     exec make kpkg_version=13.014 -f /usr/share/kernel-package/ruleset/minimal.mk debian APPEND_TO_VERSION=-rt  INITRD=YES 
>     ====== making target debian/stamp/conf/minimal_debian [new prereqs: ]======
>     This is kernel package version 13.014.
>     ....
>       CC [M]  fs/aufs/iinfo.o
>       CC [M]  fs/aufs/inode.o
>       CC [M]  fs/aufs/i_op.o
>     fs/aufs/i_op.c: In function 'au_pin_hdir_set_owner':
>     fs/aufs/i_op.c:435:28: error: 'struct mutex' has no member named 'owner'
>       p->hdir->hi_inode->i_mutex.owner = task;
>                                 ^
>     scripts/Makefile.build:308: recipe for target 'fs/aufs/i_op.o' failed
>     make[3]: *** [fs/aufs/i_op.o] Error 1
>     scripts/Makefile.build:455: recipe for target 'fs/aufs' failed
>     make[2]: *** [fs/aufs] Error 2
>     Makefile:847: recipe for target 'fs' failed
>     make[1]: *** [fs] Error 2
>     make[1]: Leaving directory '/usr/src/linux-source-3.14'
>     debian/ruleset/targets/common.mk:295: recipe for target 'debian/stamp/build/kernel' failed
>     make: *** [debian/stamp/build/kernel] Error 2

aufs and the PREEMPT_RT patchset are both developed out-of-tree, so it's
not particularly surprising that they don't work together.  I also don't
think it's reasonable to ask the aufs author to support this.

Ben.

-- 
Ben Hutchings
Experience is directly proportional to the value of equipment destroyed.
                                                         - Carolyn Scheppner

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: