[Ocfs2-users] v1.4 and kernel 2.6.24

Dietmar Maurer dietmar at proxmox.com
Wed Nov 18 23:32:31 PST 2009


> Not one but seven. These are from the 1.4 tree. So should be close
> to 2.6.24. But close is not same. Meaning some code massaging will
> be necessary. And testing. Definitely.

Unfortunately, most of those patches are rejected - they do not apply cleanly.

> 
> Apply in order.
> http://oss.oracle.com/git/?p=ocfs2-
> 1.4.git;a=commitdiff;h=96cb76137242e2a29cf80552ac364ec0cd679313
> http://oss.oracle.com/git/?p=ocfs2-
> 1.4.git;a=commitdiff;h=23b5f832df8dbc6ee9aa318ebf451c21c2aceb7f
> http://oss.oracle.com/git/?p=ocfs2-
> 1.4.git;a=commitdiff;h=e6b8cf1efc00eb523e17f152e91bc4cd7265a3fd
> http://oss.oracle.com/git/?p=ocfs2-
> 1.4.git;a=commitdiff;h=cacca465f58d1a9b45ac06483edd58984947902e
> http://oss.oracle.com/git/?p=ocfs2-
> 1.4.git;a=commitdiff;h=ba8b550270ca02e238b4024bf2c5eb227f054f4f
> http://oss.oracle.com/git/?p=ocfs2-
> 1.4.git;a=commitdiff;h=3526869b898b2c0cc4e6d370df561a786716f27d
> http://oss.oracle.com/git/?p=ocfs2-
> 1.4.git;a=commitdiff;h=0495984b484d72b3763a88da2b5c7553165abcbc
> 
> 
> Bret Baptist wrote:
> > We are trying to address this issue in the Proxmox 2.6.24 kernel.
> > http://www.mail-archive.com/ocfs2-users@oss.oracle.com/msg03657.html
> >
> > Is there a patch that might apply to 2.6.24 that would resolve this?
> >
> >
> > Thanks.
> > Bret.
> >
> > On Wednesday 18 November 2009 08:45:40 am Sunil Mushran wrote:
> >
> >> No. And you don't need to. The mainline kernel includes ocfs2. The
> one
> >> in 2.6.24 is quite similar to 1.4.
> >>
> >> On Nov 18, 2009, at 3:05 AM, Dietmar Maurer <dietmar at proxmox.com>
> wrote:
> >>
> >>> Hi all,
> >>>
> >>> is it possible to compile v1.4 with kernel 2.6.24? I get:
> >>>
> >>>
> >>> CC [M]  /home/dietmar/svn-devel/pve-kernel-2.6.24/ocfs2-1.4.4/fs/
> >>> ocfs2/export.o
> >>> /home/dietmar/svn-devel/pve-kernel-2.6.24/ocfs2-1.4.4/fs/ocfs2/
> >>> export.c: In function \ufffd\ufffd\ufffdocfs2_decode_fh\ufffd\ufffd
> >>> \ufffd:
> >>> /home/dietmar/svn-devel/pve-kernel-2.6.24/ocfs2-1.4.4/fs/ocfs2/
> >>> export.c:233: error: \ufffd\ufffd\ufffdstruct
> export_operations\ufffd
> >>> \ufffd\ufffd has no member named \ufffd\ufffd
> >>> \ufffdfind_exported_dentry\ufffd\ufffd\ufffd
> >>> /home/dietmar/svn-devel/pve-kernel-2.6.24/ocfs2-1.4.4/fs/ocfs2/
> >>> export.c: At top level:
> >>> /home/dietmar/svn-devel/pve-kernel-2.6.24/ocfs2-1.4.4/fs/ocfs2/
> >>> export.c:242: error: unknown field
> \ufffd\ufffd\ufffddecode_fh\ufffd
> >>> \ufffd\ufffd specified in initializer
> >>> /home/dietmar/svn-devel/pve-kernel-2.6.24/ocfs2-1.4.4/fs/ocfs2/
> >>> export.c:242: warning: initialization from incompatible pointer
> type
> >>> /home/dietmar/svn-devel/pve-kernel-2.6.24/ocfs2-1.4.4/fs/ocfs2/
> >>> export.c:246: error: unknown field
> \ufffd\ufffd\ufffdget_dentry\ufffd
> >>> \ufffd\ufffd specified in initializer
> >>> /home/dietmar/svn-devel/pve-kernel-2.6.24/ocfs2-1.4.4/fs/ocfs2/
> >>> export.c:246: warning: excess elements in struct initializer
> >>> /home/dietmar/svn-devel/pve-kernel-2.6.24/ocfs2-1.4.4/fs/ocfs2/
> >>> export.c:246: warning: (near initialization for \ufffd\ufffd
> >>> \ufffdocfs2_export_ops\ufffd\ufffd\ufffd)
> >>> make[4]: *** [/home/dietmar/svn-devel/pve-kernel-2.6.24/ocfs2-
> 1.4.4/
> >>> fs/ocfs2/export.o] Error 1
> >>> make[3]: *** [/home/dietmar/svn-devel/pve-kernel-2.6.24/ocfs2-
> 1.4.4/
> >>> fs/ocfs2] Error 2
> >>> make[2]: *** [_module_/home/dietmar/svn-devel/pve-kernel-2.6.24/
> >>> ocfs2-1.4.4/fs] Error 2
> >>> make[2]: Leaving directory `/home/dietmar/svn-devel/pve-
> >>> kernel-2.6.24/linux-2.6.24-openvz'
> >>> make[1]: *** [build-modules] Error 2
> >>> make[1]: Leaving directory `/home/dietmar/svn-devel/pve-
> >>> kernel-2.6.24/ocfs2-1.4.4/fs'
> >>> make: *** [fs] Error 2
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Ocfs2-users mailing list
> >>> Ocfs2-users at oss.oracle.com
> >>> http://oss.oracle.com/mailman/listinfo/ocfs2-users
> >>>
> >> _______________________________________________
> >> Ocfs2-users mailing list
> >> Ocfs2-users at oss.oracle.com
> >> http://oss.oracle.com/mailman/listinfo/ocfs2-users
> >>
> >>
> >
> >
> 
> 
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users





More information about the Ocfs2-users mailing list