hi,
I tried to make a custom kernel 2.6.24 with realtime patch and aufs, 
rt-compat.patch applied.

aufs.h was patched as mentioned in  
http://sourceforge.net/mailarchive/message.php?msg_id=E1I3jaA-0000mm-QD%40jroun
with 
#ifdef CONFIG_PREEMPT_RT
#define rw_semaphore compat_rw_semaphore
#define init_rwsem compat_init_rwsem
#endif

$ uname -a
Linux urantia 2.6.24-rt1-686 #2 PREEMPT RT 

while 2.6.24 compiled with warnings 
$ make  -f local.mk
make CONFIG_AUFS=m 
AUFS_EXTRA_CFLAGS="-I /usr/src/modules/aufs.wcvs/aufs/include 
-DCONFIG_AUFS_FAKE_DM -DCONFIG_AUFS_BRANCH_MAX_127 -DCONFIG_AUFS_SYSAUFS 
-DCONFIG_AUFS_RR_SQUASHFS -DCONFIG_AUFS_DEBUG -DCONFIG_AUFS_MODULE 
-UCONFIG_AUFS 
-DLKTRHidePrePath=\\\"/usr/src/modules/aufs.wcvs/aufs/fs/aufs\\\"" -C 
/usr/src/linux 
M=/usr/src/modules/aufs.wcvs/aufs/fs/aufs modules
make[1]: Entering directory `/usr/src/linux-source-2.6.24'
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "lock_list_first_entry" 
[/usr/src/modules/aufs.wcvs/aufs/fs/aufs/aufs.ko] undefined!
WARNING: "lock_list_next_entry" 
[/usr/src/modules/aufs.wcvs/aufs/fs/aufs/aufs.ko] undefined!
WARNING: "security_inode_permission" 
[/usr/src/modules/aufs.wcvs/aufs/fs/aufs/aufs.ko] undefined!
WARNING: "__bad_func_type" [/usr/src/modules/aufs.wcvs/aufs/fs/aufs/aufs.ko] 
undefined!
make[1]: Leaving directory `/usr/src/linux-source-2.6.24'

the aufs module does not load: 
Mar 19 21:58:04 urantia kernel: aufs: Unknown symbol __bad_func_type
Mar 19 21:58:04 urantia kernel: aufs: Unknown symbol security_inode_permission
Mar 19 21:58:04 urantia kernel: aufs: Unknown symbol lock_list_next_entry
Mar 19 21:58:04 urantia kernel: aufs: Unknown symbol lock_list_first_entry

what is the proposed kernel-version which is working, or can the maintainer 
pls update the rt-compat patch against 2.6.24.x

TIA
guenter

 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Reply via email to