This must be my ignorance but compiling new kernel (in a debian way with 
make-kpkg) with aufs patch gives me following error messages:

CC [M]  fs/aufs/module.o
In file included from fs/aufs/branch.h:26,
             from fs/aufs/aufs.h:63,
             from fs/aufs/module.c:26:
include/linux/aufs_type.h:40:2: error: #error unknown 
CONFIG_AUFS_BRANCH_MAX value
fs/aufs/module.c:292:5: warning: "AUFS_BRANCH_MAX" is not defined
make[3]: *** [fs/aufs/module.o] Virhe 1
make[2]: *** [fs/aufs] Virhe 2
make[1]: *** [fs] Virhe 2
make[1]: Poistutaan hakemistosta "/usr/src/linux-2.6.20"
make: *** [debian/stamp-build-kernel] Virhe 2

(didn't get any extra info with 'aufs debugging feature' enabled)

Perhaps following info of my system is important:
gcc --version
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
aufs from CVS:
20070226

My original problem is the same as someone has described in the message:
http://lists.debian.org/debian-knoppix/2007/02/msg00014.html
And in my own message:
http://knoppix.net/forum/viewtopic.php?t=26812

I can compile aufs module fine but it don't work in my remastered 
Knoppix 5.1.1  (giving segmentation fault message during boot process or 
just booting my hd installed version - not compressed image from CD). I 
have not modified Klaus Knopper's original linuxrc file (aufs works fine 
with 2.6.19 kernel in original Knoppix 5.1.1) Anyhow my liveCD boots 
fine from Qemu and same aufs module works fine in hd installed system.

I would prefer patching kernel tree directly with aufs patch than 
compiling it afterwards  (make -f local.mk), if it could be possible.

Some more questions:
-    Is someone going to maintain an APT repository of aufs source? So 
it could be compiled in Debian as other extra modules outside the kernel 
tree (option  --added-modules).
-    Unionfs is going to be included on vanilla 2.6.21 from kernel.org 
(if I'm right); what about aufs?
-    Can aufs be used with realtime preemption kernel 
(http://people.redhat.com/mingo/realtime-preempt/)? Should aufs work on 
liveCD with -rt patched kernel (I never succeeded with unionfs)?


Best Regards

Tapani Räikkönen
(from Finland)


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

Reply via email to