-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi All,

> Oliver Welter:
>> I used the vserver-patch provided with aufs ( I had to change the
>> patched file from vfsub.h to vfsub.c ) and compiled it into the kernel
>> as told by the README.
>>
>> I did a simple mount example and as soon as I enter the joined branch, I
>> get a kernel oops and my Shell (ssh) dies immediately.
>> Anybody has an idea how to stop this or can give me a working
>> combination of aufs/vserver?
> 
> I guess the vserver-patch is outdated.
> I will try updating it for 2.6.22.19-vs2.2.0.7. Give me some time.

Here is a first wrapup:

1) Download and unpack vanilla kernel 2.6.22.19
2) Apply vserver patch 2.6.22.19-vs2.2.0.7
3) make prepare
4) Download aufs / cvs from 10th July 2008
5) Modify aufs-vserver-patch to match to vfsub.*c* instead of vfsub.h

diff -u -p -r1.16 vfsub.c
- --- fs/aufs/vfsub.c     12 Aug 2007 21:55:27 -0000
+++ fs/aufs/vfsub.c     5 Sep 2007 06:33:58 -0000

6) Apply patch to aufs tree
7) make -f local.mk kconfig
8) copy aufs to kernel tree and modify Makefile/Kconfig
9) There seems to be a problem with symbols in vserver and aufs - if I
enable tmpfs, I get compile errors due to an empty symbol TMPFS_MAGIC in
fs/aufs/super.h line 262/263
I fixed it by putting the Magicnumber from the vserver patch directly
into the Makefile of aufs
EXTRA_CFLAGS += -DTMPFS_MAGIC=0x01021994
*NB: I dont know if this really is the correct number!!*

XFS seems to be unsupported in this AUFS version and results in a
compiler interruption, as I dont need XFS, I just disabled it
NFS requires the LHASH patch which I skipped for testing, so NFS has to
be disabled, too

10) "make" kernel - enable aufs and accept defaults

I will do some more testing tommorrow, but on a first glance it seems to
work now

Oliver

- --
Protect your environment -  close windows and adopt a penguin!
PGP-Key: 3B2C 8095 A7DF 8BB5 2CFF  8168 CAB7 B0DD 3985 1721
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIrG3Ayrew3TmFFyERAoLmAJ4sQjcbhgd1qhlzgYaNmkfBdDPW2gCfdl5u
UMyCsDIdrGtVfEc5jdoMIFQ=
=wuTH
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Reply via email to