From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>Walter Barnes:
>> After executing 'make -f local.mk kconfig' I followed the instructions to
>> update my kernel source but ran 'make silentoldconfig' to update my existing
>> kernel config file. At this point I could find no instructions on what to do
>> next so I tried rebuilding the kernel. Everything went fine and the object
>> files for aufs compiled without error; however, at the very end after the
>> kernel image is produced I get the following error messages:
>
>Can you see aufs configurations in your menuconfig?
Yes, when I do 'make menuconfig' I can see the aufs options.
>Will you show me the output of "grep _AUFS_ /your/build/dir/.config"?
CONFIG_AUFS_FAKE_DM=y
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_SYSAUFS=y
# CONFIG_AUFS_HINOTIFY is not set
# CONFIG_AUFS_EXPORT is not set
CONFIG_AUFS_ROBR=y
# CONFIG_AUFS_DLGT is not set
CONFIG_AUFS_RR_SQUASHFS=y
# CONFIG_AUFS_SPLICE_PATCH is not set
# CONFIG_AUFS_PUT_FILP_PATCH is not set
# CONFIG_AUFS_LHASH_PATCH is not set
# CONFIG_AUFS_DENY_WRITE_ACCESS_PATCH is not set
# CONFIG_AUFS_SYSFS_GET_DENTRY_PATCH is not set
# CONFIG_AUFS_WORKAROUND_FUSE is not set
# CONFIG_AUFS_DEBUG is not set
# CONFIG_AUFS_COMPAT is not set
>And it may be required to add KDIR=... to your 'make -f local.mk
>kconfig' cmd. But it is not important in this case, since you didn't
>change the aufs configuration.
No, the default of /lib/modules/`uname -r`/build works for me.
>> ERROR: "au_sysrq_init" [fs/aufs/aufs.ko] undefined!
>> ERROR: "au_sysrq_fin" [fs/aufs/aufs.ko] undefined!
>> ERROR: "aufs_cond" [fs/aufs/aufs.ko] undefined!
>> make[1]: *** [__modpost] Error 1
>>
>> Did I skip a step? Am I not supposed to rebuild the kernel at this point? I
>> did some digging in the source and found these symbols are related to the
>> AUFS_DEBUG option so it may help to know that I compiled with this option
>> turned off.
>These symbols are defined in fs/aufs/debug.c and the file is compiled
>when you define CONFIG_AUFS_DEBUG properly.
Yes, I'm still new to C programming but it seems from debug.h that these
symbols should not be present if AUFS_DEBUG is undefined which it is (see above
output).
Thanks for your help,
Walter
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/