Hi again, Sorry for the bad formatting in the last msg. I just switched to "plain text", maybe it will be a bit better.
Basically the two only things where I did not follow the README are: - Applying the aufs3-loopback.patch, not mentioned in README - Not doing the "fs-aufs" module renaming mentioned in README A third thing I forgot to mention is that I am using userspace tools from the debian squeeze (old-stable) package "aufs-tools". It used to work perfectly with my old kernel (linux 3.0.50 with aufs patch), and I'm unable to compile the newest aufs-utils for some header issue in /usr/include. Still, I probably shouldn't be able to generate a BUG from a userspace tool. Could any of those 3 things be the cause of the BUG? Thanks, -- François <fdelawa...@wirelessmundi.com> Wireless Mundi S.L. On Fri, 2014-01-24 at 14:52 +0100, François wrote: > Hi, > Linux is a custom vanilla 3.10.27 above a debian live (squeeze based), and > following the README. > From aufs3.10.x branch, I apply the following patches: > aufs3-kbuild.patch > aufs3-base.patch > aufs3-mmap.patch > aufs3-loopback.patch (NOT MENTIONED IN THE README) > aufs3-standalone.patch > I copy the Documentation/ and fs/ folders, as well as the > include/uapi/linux/aufs_type.h in the kernel dir. > My .config file has the following AUFS things: > CONFIG_AUFS_FS=m > CONFIG_AUFS_BRANCH_MAX_127=y > # CONFIG_AUFS_BRANCH_MAX_511 is not set > # CONFIG_AUFS_BRANCH_MAX_1023 is not set > # CONFIG_AUFS_BRANCH_MAX_32767 is not set > CONFIG_AUFS_SBILIST=y > # CONFIG_AUFS_HNOTIFY is not set > # CONFIG_AUFS_EXPORT is not set > # CONFIG_AUFS_RDU is not set > # CONFIG_AUFS_SP_IATTR is not set > # CONFIG_AUFS_SHWH is not set > CONFIG_AUFS_BR_RAMFS=y > # CONFIG_AUFS_BR_FUSE is not set > # CONFIG_AUFS_BR_HFSPLUS is not set > CONFIG_AUFS_BDEV_LOOP=y > # CONFIG_AUFS_DEBUG is not set > Everything compiles fine! > The only that I'm not sure how to do in the initramfs is the "fs-aufs" > thing. Could that be the cause? > Thanks, > > -- > François <[1]fdelawa...@wirelessmundi.com> > Wireless Mundi S.L. > > On Fri, 2014-01-24 at 21:50 +0900, sf...@users.sourceforge.net wrote: > > Hello Francois, > > Fran ois: > > Having a small issue with aufs branch 3.10.x on linux 3.10.27. Compiles > > OK but when trying to boot "debian live", I see a kernel BUG when trying > > to mount aufs with a squashfs+tmpfs: > ::: > > BUG: unable to handle kernel NULL pointer dereference at 0000000000000018 > > IP: [<ffffffffa00d66bf>] au_test_loopback_overlap+0x34/0x59 [aufs] > > How did you build your kernel and aufs module? > I am afraid there is something unmatching in your build system. > For example, > - which patch did you apply to your kernel? > - what is your configuration? > > For the correct building steps, please refer to aufs README file. > > > J. R. Okajima > > References > > 1. mailto:fdelawa...@wirelessmundi.com > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk