Ed W:
> I think you can repro my setup using
> http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.26.5.tar.bz2
> patched with:
> http://vserver.13thfloor.at/Experimental/patch-2.6.29.5-vs2.3.0.36.14.diff
> and of course:
> aufs-standalone.patch from git commit above (branch aufs2-29)

Tried and succeeded.
See below in detail.

By the way, I got warnings in compiling aufs module due to the changes
made by the vserver patch as I wrote before. You may be able to fix it
quickly. But it is not related to your current problem. 


J. R. Okajima

----------------------------------------------------------------------

$ tar -xpjf /.../kernel.orrg/pub/linux/kernel/v2.6/linux-2.6.29.5.tar.bz2
$ cd linux-2.6.29.5
$ patch -p1 < 
/.../vserverr.13thfloor.at/Experimental/patch-2.6.29.5-vs2.3.0.36.14.diff
$ cd ..
$ git clone -q http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-standalone.git
$ ls
aufs2-standalone/  linux-2.6.29.5/
$ cd aufs2-standalone/
$ git co origin/aufs2-29
$ cd ../linux-2.6.29.5/
$ patch -p1 < < ../aufs2-standalone/aufs2-standalone.patch
$ cp -ip /.../Ed_W.config .config
$ make -s silentoldconfig
boolean symbol IPV6 tested for 'm'? test forced to 'n'
$ make -s menuconfig
boolean symbol IPV6 tested for 'm'? test forced to 'n'
  # add drivers for my machine

$ make -s
boolean symbol IPV6 tested for 'm'? test forced to 'n'
  # several warnings...

$ sudo make -s modules_install
$ sudo cp -p arch/x86_64/boot/bzImage /boot/vmlinuz-ed26295
$ sudo cp -p System.map /boot/System.map-ed26295
$ sudo reboot

$ uname -a
Linux jrora 2.6.29.5-vs2.3.0.36.14ed26295-vs2.3.0.36.14 #1 SMP Tue Jul 7 
22:56:15 JST 2009 x86_64 GNU/Linux
$ cd aufs2-standalone/
$ vi config.mk 
  # set CONFIG_AUFS_HINOTIFY = y

$ make
-I/.../aufs2-standalone/include -DCONFIG_AUFS_MODULE -UCONFIG_AUFS 
-DCONFIG_AUFS_BRANCH_MAX_127 -DCONFIG_AUFS_HINOTIFY -DCONFIG_AUFS_DEBUG
make -C /lib/modules/2.6.29.5-vs2.3.0.36.14ed26295-vs2.3.0.36.14/build 
M=/.../aufs2-standalone/fs/aufs EXTRA_CFLAGS="-I/.../aufs2-standalone/include 
-DCONFIG_AUFS_MODULE -UCONFIG_AUFS -DCONFIG_AUFS_BRANCH_MAX_127 
-DCONFIG_AUFS_HINOTIFY -DCONFIG_AUFS_DEBUG" modules
make[1]: Entering directory `/.../linux-2.6.29.5'
  CC [M]  /.../aufs2-standalone/fs/aufs/module.o
        :::
  CC [M]  /.../aufs2-standalone/fs/aufs/f_op.o
/.../aufs2-standalone/fs/aufs/f_op.c: In function 'aufs_page_mkwrite':
/.../aufs2-standalone/fs/aufs/f_op.c:429: warning: passing argument 2 of 
'finfo-><U8140>.<U2e60>.fi_h_vm_ops->page_mkwrite' from incompatible pointer 
type
/.../aufs2-standalone/fs/aufs/f_op.c: In function 'au_custom_vm_ops':
/.../aufs2-standalone/fs/aufs/f_op.c:511: warning: assignment from incompatible 
pointer type
  CC [M]  /.../aufs2-standalone/fs/aufs/dir.o
        :::
  CC [M]  /.../aufs2-standalone/fs/aufs/debug.o
  LD [M]  /.../aufs2-standalone/fs/aufs/aufs.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /.../aufs2-standalone/fs/aufs/aufs.mod.o
  LD [M]  /.../aufs2-standalone/fs/aufs/aufs.ko
make[1]: Leaving directory `/.../linux-2.6.29.5'
ln -f fs/aufs/aufs.ko aufs.ko
$ suodo insmod ./aufs.ko
[  175.596756] aufs 2-standalone.tree-29-20090706
$ lsmod
Module                  Size  Used by
aufs                  173892  0 
$ dmesgg | tail
[   17.940713] kjournald starting.  Commit interval 5 seconds
[   17.949995] EXT3 FS on sda3, internal journal
[   17.954491] EXT3-fs: mounted filesystem with ordered data mode.
[   18.394758] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   28.424008] eth0: mii ext = 000b.
[   28.440005] eth0: mii lpa = 45e1 adv = 01e1.
[   28.444360] eth0: link on 100 Mbps Full Duplex mode.
[   28.449451] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   39.296006] eth0: no IPv6 routers present
[  175.596756] aufs 2-standalone.tree-29-20090706
$ 

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry

Reply via email to