> William Grant: > > I insmod'ed the produced aufs.ko. The kernel then says this: > > > > [ 167.369671] aufs 20090126 > > Ok, I am compiling jaunty with its default configuration now.
I could reproduce the problem. Also I found the configuration in jaunty is wrong. You need to configure aufs as my previous mail. Do not use fs/aufs/Kconfig in ubuntu. The important thing is CONFIG_AUFS_GETATTR. Ubuntu removed this configuration, so your getattr doesn't work correctly. J. R. Okajima ---------------------------------------------------------------------- (my personal memo just for recording) Build Jaunty - pull from git://kernel.ubuntu.com/ubuntu/ubuntu-jaunty.git - checkout Ubuntu-2.6.28-8.28 - defconfig - build --> compile error - replace .config by William Grant's - build --> succeeded - install --> No space left on device - disable several drivers - enable necessary drivers for my system - build, install --> success Build Aufs 20090126 - remove ubuntu-jaunty.git/include/linux/aufs_type.h - add NULL parameter for VFS helpers - build as a module cd $AufsCVS/fs/aufs25 make -C ... M=$PWD AUFS_EXTRA_CFLAGS=-I.../include module - load aufs sudo insmod ./aufs.ko [ 480.670698] aufs 20090126 Test - mount aufs /proc/mounts none /dev/shm/u aufs rw,si=37127829,xino=/dev/shm/xino,br:/dev/shm/rw=rw:/dev/shm/ro=ro 0 0 - create a file and stat it echo a > /dev/shm/rw/a stat /dev/shm/*/a File: `/dev/shm/rw/a' Size: 2 Blocks: 2 IO Block: 32768 regular file Device: 18h/24d Inode: 29 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 1000/ jro) Gid: ( 1000/ jro) Access: 2009-03-08 03:43:49.000000000 +0900 Modify: 2009-03-08 03:43:49.000000000 +0900 Change: 2009-03-08 03:43:49.000000000 +0900 File: `/dev/shm/u/a' Size: 2 Blocks: 2 IO Block: 32768 regular file Device: 1ah/26d Inode: 11 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 1000/ jro) Gid: ( 1000/ jro) Access: 2009-03-08 03:43:49.000000000 +0900 Modify: 2009-03-08 03:43:49.000000000 +0900 Change: 2009-03-08 03:43:49.000000000 +0900 - append the file and stat again echo a >> /dev/shm/rw/a stat /dev/shm/*/a File: `/dev/shm/rw/a' Size: 4 Blocks: 2 IO Block: 32768 regular file Device: 18h/24d Inode: 29 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 1000/ jro) Gid: ( 1000/ jro) Access: 2009-03-08 03:43:49.000000000 +0900 Modify: 2009-03-08 03:44:12.000000000 +0900 Change: 2009-03-08 03:44:12.000000000 +0900 File: `/dev/shm/u/a' Size: 2 Blocks: 2 IO Block: 32768 regular file Device: 1ah/26d Inode: 11 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 1000/ jro) Gid: ( 1000/ jro) Access: 2009-03-08 03:43:49.000000000 +0900 Modify: 2009-03-08 03:43:49.000000000 +0900 Change: 2009-03-08 03:43:49.000000000 +0900 I could reproduce the problem. Also I found the configuration in jaunty is wrong. - enable AUFS_GETATTR and rebuild by "make -f local.mk" cd $AufsCVS configure aufs as my previous mail make -f local.mk - test again --> succeeded Finally your problem comes from your (or jaunty's) configuration. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H
