Hi Ed, there should be no problem at all. I tested the latest aufs with 3.10.15 and with current 3.10.16. You can find my scripts in my git-repos:
http://git.manjaro.org/package-sources/core/tree/master/linux310 Here is my patch snippet: # add aufs3 support patch -Np1 -i "${srcdir}/aufs3.10-${_aufs}.patch" patch -Np1 -i "${srcdir}/aufs3-base.patch" patch -Np1 -i "${srcdir}/aufs3-kbuild.patch" patch -Np1 -i "${srcdir}/aufs3-loopback.patch" patch -Np1 -i "${srcdir}/aufs3-proc_map.patch" patch -Np1 -i "${srcdir}/aufs3-standalone.patch" And config: http://git.manjaro.org/package-sources/core/blob/master/linux310/config.aufs Creating it as module there seems to be some extra steps done. Archlinux uses some patches on their kernel and compile it like this: https://aur.archlinux.org/packages/au/aufs3/PKGBUILD Here is the patch snippet they use on their kernel: msg 'AUFS3 patches' patch -p1 -i "${srcdir}/aufs3-base.patch" patch -p1 -i "${srcdir}/aufs3-standalone.patch" Hope this helps. Phil Am 23.10.2013 01:00, schrieb Ed W: > Hi, it's always something stupid that I did when the compile fails, so > apologies in advance, but... > > Kernel 3.10.15 - NOT compiling aufs as a module. > > HOSTLD scripts/mod/modpost > CHK include/generated/compile.h > make[3]: `arch/x86/realmode/rm/realmode.bin' is up to date. > CHK kernel/config_data.h > CC fs/aufs/module.o > /usr/src/linux-tpb/include/linux/kconfig.h:46:1: fatal error: > /usr/src/linux-tpb/include/linux/aufs_type.h: No such file or directory > compilation terminated. > make[2]: *** [fs/aufs/module.o] Error 1 > make[1]: *** [fs/aufs] Error 2 > make: *** [fs] Error 2 > > I believe I have done: > > - apply ./aufs3-kbuild.patch to your kernel source files. > - apply ./aufs3-base.patch too. > - apply ./aufs3-proc_map.patch too, > - copy ./{Documentation,fs,include/uapi/linux/aufs_type.h} files to your > kernel source tree. > - make > > So clarifying this, my "aufs_type.h" file *is* in include/uapi/linux/ > and not in include/linux/ - is this correct? > > (Note that this kernel also has the grsec patches applied.) > > > Any quick hints on what I might have done wrong before I take it all > apart and look more closely? I guess it's most likely some other patch > breaks this..? > > Thanks > > Ed W > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk