-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Werner Flamme [20.04.2010 12:34]:> Hi,
>
> I just got the new ocfs2-1.4.7 and now I try to compile them on my SLES
> 10 SP 3 VM (inside VMWare ESX).
>
> uname -a gives
> Linux dings1 2.6.16.60-0.60.1-smp #1 SMP Tue Mar 9 09:44:12 UTC 2010
> x86_64 x86_64 x86_64 GNU/Linux
>
> uname -r gives
> 2.6.16.60-0.60.1-smp
>
> and ./configure --prefix=/usr --exec-prefix=/usr
> --with-kernel-source=/usr/src/linux-2.6.16.60-0.1 results in
>
> configure: error: Kernel source is missing mainline patch commit
> 349457ccf2592c14bdf13b6706170ae2e94931b1
>
> Interestingly, I get the same result with 1.4.4, though it succeeded
> with a 2.6.16.60-0.59.1-xen kernel on another VM (inside Xen) with SLES
> 10 SP 3.
>
> Do I have to complain at the Novell/SUSE maintainers?
BTW, the lines that lead to the error are:
- ---snip---
checking for enum umh_wait in kmod.h... no
checking for inc_nlink() in fs.h... no
checking for drop_nlink() in fs.h... no
checking for kmem_cache_create() with dtor arg in slab.h... no
checking for kmem_cache_zalloc in slab.h... no
checking for flag FS_RENAME_DOES_D_MOVE in fs.h... no
checking whether to ignore the missing vfs rename kernel patch... no
configure: error: Kernel source is missing mainline patch commit
349457ccf2592c14bdf13b6706170ae2e94931b1
- ---pins---
And on both VMs the file /usr/src/linux/include/linux/fs.h contains the
same line containing FS_RENAME_DOES_D_MOVE, as well as the other
occurencies of this symbol seem identical:
error host:
- ---snip---
# grep -rn FS_RENAME_DOES_D_MOVE /usr/src/linux/
/usr/src/linux/fs/namei.c:2474: if
(!(old_dir->i_sb->s_type->fs_flags & FS_RENAME_DOES_D_MOVE))
/usr/src/linux/fs/namei.c:2500: if
(!(old_dir->i_sb->s_type->fs_flags & FS_RENAME_DOES_D_MOVE))
/usr/src/linux/fs/nfs/inode.c:1825: .fs_flags
FS_RENAME_DOES_D_MOVE|FS_REVAL_DOT|FS_BINARY_MOUNTDATA,
/usr/src/linux/fs/nfs/inode.c:2144: .fs_flags
FS_RENAME_DOES_D_MOVE|FS_REVAL_DOT|FS_BINARY_MOUNTDATA,
/usr/src/linux/fs/ocfs2/kapi-compat/include/fs_rename_does_d_move.h:4:#define
FS_RENAME_DOES_D_MOVE FS_ODD_RENAME
/usr/src/linux/fs/ocfs2/super.c:792: .fs_flags
FS_REQUIRES_DEV|FS_RENAME_DOES_D_MOVE,
/usr/src/linux/include/linux/fs.h:94:#define FS_RENAME_DOES_D_MOVE
32768 /* FS will handle d_move()
- ---pins---
working host:
- ---snip---
# grep -rn FS_RENAME_DOES_D_MOVE /usr/src/linux/
/usr/src/linux/fs/namei.c:2464: if
(!(old_dir->i_sb->s_type->fs_flags & FS_RENAME_DOES_D_MOVE))
/usr/src/linux/fs/namei.c:2490: if
(!(old_dir->i_sb->s_type->fs_flags & FS_RENAME_DOES_D_MOVE))
/usr/src/linux/fs/nfs/inode.c:1825: .fs_flags
FS_RENAME_DOES_D_MOVE|FS_REVAL_DOT|FS_BINARY_MOUNTDATA,
/usr/src/linux/fs/nfs/inode.c:2144: .fs_flags
FS_RENAME_DOES_D_MOVE|FS_REVAL_DOT|FS_BINARY_MOUNTDATA,
/usr/src/linux/fs/ocfs2/kapi-compat/include/fs_rename_does_d_move.h:4:#define
FS_RENAME_DOES_D_MOVE FS_ODD_RENAME
/usr/src/linux/fs/ocfs2/super.c:792: .fs_flags
FS_REQUIRES_DEV|FS_RENAME_DOES_D_MOVE,
/usr/src/linux/include/linux/fs.h:89:#define FS_RENAME_DOES_D_MOVE
32768 /* FS will handle d_move()
- ---pins---
Regards,
Werner
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
iEYEARECAAYFAkvNlacACgkQk33Krq8b42MetACfbyZlr9E+ouhFbU7P6qXs/SUC
wYsAn1c9EKTJMc5Ej3IMgcOoHwm4yduW
=mpvW
-----END PGP SIGNATURE-----