[Bug 299172] New: It is impossible to collect the Dazuko module for openSUSE 10. 3 with a kernel 2.6.22 (2.6.22.1)
https://bugzilla.novell.com/show_bug.cgi?id=299172 Summary: It is impossible to collect the Dazuko module for openSUSE 10.3 with a kernel 2.6.22 (2.6.22.1) Product: openSUSE 10.3 Version: Beta 1 Platform: 32bit OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: ylalym@gmail.com QAContact: qa@suse.de Found By: Customer 1. In dazuko-2.3.3/README.linux26 read the following: If your kernel is SMP then you should _not_ use Dazuko's copy of __d_path(). You can disable Dazuko's local copy of __d_path() by configuring Dazuko with: $ ./configure --disable-local-dpath Since Dazuko requires __d_path(), your kernel will have to export it if you disable the local copy. Some GNU/Linux distributions have a modified kernel that does export this function. The "vanilla" Linux kernel does _not_ export this function. You can check if your kernel exports this function with: $ grep __d_path /proc/kallsyms The results can be interpreted as: xxxxx T __d_path <= exported xxxxx t __d_path <= not exported If you are running an SMP kernel and __d_path() is not exported, then you will have to modify your kernel source code to export the symbol and rebuild your kernel. A kernel 2.6.22.1-14-default does not export __d_path(). 2. In "/usr/src/linux-2.6.22.1-14/include/linux/dcache.h" extern char *__d_path(struct dentry *, struct vfsmount *, struct dentry *, struct vfsmount *, char *, int, int); In "dazuko-2.3.3/dazuko_linux26.c" (After acceptance dazuko-2.3.3.dif) #ifndef WITH_LOCAL_DPATH #ifndef USE_CHROOT extern char * __d_path(struct dentry *, struct vfsmount *, struct dentry *, struct vfsmount *, char *, int); #endif #endif The last parameter is lost. $ cd dazuko-2.3.3 $ ./configure --disable-local-dpath $ make Compiling the dazuko kernel module is completed with an error. 3. Let's try to make changes in dazuko_linux26.c ................ #ifndef WITH_LOCAL_DPATH #ifndef USE_CHROOT extern char * __d_path(struct dentry *, struct vfsmount *, struct dentry *, struct vfsmount *, char *, int, int); #endif #endif ................ spin_lock(&dcache_lock); temp = __d_path(xfs->dentry, xfs->vfsmount, root, rootmnt, xfs->buffer, PAGE_SIZE, 1 /*fail_deleted is true, ERR_PTR(-ENOENT) is returned*/); spin_unlock(&dcache_lock); ................ $ cd dazuko-2.3.3 $ ./configure --disable-local-dpath $ make $ make install $ modprobe dazuko All is excellent, but at start antivir-guard the system globally hangs. The button REBOOT rescues only. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=299172#c1
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=299172#c2
--- Comment #2 from Yuriy Lalym
https://bugzilla.novell.com/show_bug.cgi?id=299172#c3
Greg Kroah-Hartman
participants (1)
-
bugzilla_noreply@novell.com