All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.6.16+reiser4+openvz patches = error.
@ 2006-07-11 18:18 mail
  2006-07-12 13:38 ` Brian Uhrain
  0 siblings, 1 reply; 3+ messages in thread
From: mail @ 2006-07-11 18:18 UTC (permalink / raw)
  To: Reiserfs mail-list

Hello All!


I'm trying to compile 2.6.16 kernel with this openvz patch:
(http://download.openvz.org/kernel/devel/026test015.1/patches/patch-026test015-combined.gz) 
(changes: http://openvz.org/news/updates/devel-kernel-026test015.1)

and with reiser4-for-2.6.16-4.patch.gz.

Patching is finished without errors, but in process of compilation (reiser4 - module) I get those
errors:
 
 CC [M]  fs/reiser4/plugin/object.o
fs/reiser4/plugin/object.c:96: warning: initialization from incompatible pointer type
fs/reiser4/plugin/object.c:208: warning: initialization from incompatible pointer type
fs/reiser4/plugin/object.c:254: warning: initialization from incompatible pointer type
fs/reiser4/plugin/object.c:300: warning: initialization from incompatible pointer type
fs/reiser4/plugin/object.c:392: warning: initialization from incompatible pointer type
fs/reiser4/plugin/object.c:452: warning: initialization from incompatible pointer type
  CC [M]  fs/reiser4/plugin/cluster.o
  CC [M]  fs/reiser4/plugin/inode_ops.o
fs/reiser4/plugin/inode_ops.c: In function 'permission_common':
fs/reiser4/plugin/inode_ops.c:416: error: too few arguments to function 'generic_permission'
make[2]: *** [fs/reiser4/plugin/inode_ops.o] Error 1
make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2

Is where any ideas, why it could be?


Thank you.




A.

-------------

"Hic Jacet Ego"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.16+reiser4+openvz patches = error.
  2006-07-11 18:18 2.6.16+reiser4+openvz patches = error mail
@ 2006-07-12 13:38 ` Brian Uhrain
  2006-07-12 13:49   ` mail
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Uhrain @ 2006-07-12 13:38 UTC (permalink / raw)
  To: mail; +Cc: Reiserfs mail-list

Hi,

I've played around with OpenVZ on my workstation at work, and the 
compilation problem is because the OpenVZ patch adds an extra argument 
to generic_permission to accomodate the more complex permission handling 
it has to do (e.g. no process, regardless of the UID, from a virtual 
server instance is allowed access to files outside of it's root 
directory, virtual servers themselves can be given disk quotas, etc; I 
don't remember exactly what the extra field was for as it was several 
months ago that I poked at the code to get it to compile).  However, 
though I was able to get reiser4 to compile with the OpenVZ patches, the 
fixing I did only allowed it to compile.  Not knowing the full scope of 
the reiser4 code nor the OpenVZ changes and how they should interact, 
OpenVZ and reiser4 don't play nicely together with the compilation fixes 
I made--if the virtual server directories were on a reiser4 filesystem 
then starting a virtual server would cause the system to hang fairly 
quickly.  My over-simplified solution to that problem was to put the 
OpenVZ directories in a separate partition that utilizes one of the 
in-kernel-tree filesystems that are supported by the OpenVZ patches 
(like reiser3 and xfs).  If anyone is interested in my compile fixes, 
let me know and I can post them tomorrow when I'm in the office.

  - Brian


mail@viliar.net.ru wrote:
> Hello All!
> 
> 
> I'm trying to compile 2.6.16 kernel with this openvz patch:
> (http://download.openvz.org/kernel/devel/026test015.1/patches/patch-026test015-combined.gz) 
> (changes: http://openvz.org/news/updates/devel-kernel-026test015.1)
> 
> and with reiser4-for-2.6.16-4.patch.gz.
> 
> Patching is finished without errors, but in process of compilation (reiser4 - module) I get those
> errors:
>  
>  CC [M]  fs/reiser4/plugin/object.o
> fs/reiser4/plugin/object.c:96: warning: initialization from incompatible pointer type
> fs/reiser4/plugin/object.c:208: warning: initialization from incompatible pointer type
> fs/reiser4/plugin/object.c:254: warning: initialization from incompatible pointer type
> fs/reiser4/plugin/object.c:300: warning: initialization from incompatible pointer type
> fs/reiser4/plugin/object.c:392: warning: initialization from incompatible pointer type
> fs/reiser4/plugin/object.c:452: warning: initialization from incompatible pointer type
>   CC [M]  fs/reiser4/plugin/cluster.o
>   CC [M]  fs/reiser4/plugin/inode_ops.o
> fs/reiser4/plugin/inode_ops.c: In function 'permission_common':
> fs/reiser4/plugin/inode_ops.c:416: error: too few arguments to function 'generic_permission'
> make[2]: *** [fs/reiser4/plugin/inode_ops.o] Error 1
> make[1]: *** [fs/reiser4] Error 2
> make: *** [fs] Error 2
> 
> Is where any ideas, why it could be?
> 
> 
> Thank you.
> 
> 
> 
> 
> A.
> 
> -------------
> 
> "Hic Jacet Ego"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.16+reiser4+openvz patches = error.
  2006-07-12 13:38 ` Brian Uhrain
@ 2006-07-12 13:49   ` mail
  0 siblings, 0 replies; 3+ messages in thread
From: mail @ 2006-07-12 13:49 UTC (permalink / raw)
  To: Brian Uhrain; +Cc: Reiserfs mail-list

Yes, please, post it. 

On Wed, 12 Jul 2006 14:38:08 +0100
 Brian Uhrain <buhrain@rosettastone.com> wrote:
> Hi,
> 
> I've played around with OpenVZ on my workstation at work, and the compilation problem is because
> the OpenVZ patch adds an extra argument to generic_permission to accomodate the more complex
> permission handling it has to do (e.g. no process, regardless of the UID, from a virtual server
> instance is allowed access to files outside of it's root directory, virtual servers themselves
> can be given disk quotas, etc; I don't remember exactly what the extra field was for as it was
> several months ago that I poked at the code to get it to compile).  However, though I was able to
> get reiser4 to compile with the OpenVZ patches, the fixing I did only allowed it to compile.  Not
> knowing the full scope of the reiser4 code nor the OpenVZ changes and how they should interact,
> OpenVZ and reiser4 don't play nicely together with the compilation fixes I made--if the virtual
> server directories were on a reiser4 filesystem then starting a virtual server would cause the
> system to hang fairly quickly.  My over-simplified solution to that problem was to put the OpenVZ
> directories in a separate partition that utilizes one of the in-kernel-tree filesystems that are
> supported by the OpenVZ patches (like reiser3 and xfs).  If anyone is interested in my compile
> fixes, let me know and I can post them tomorrow when I'm in the office.
> 
>   - Brian
> 
> 
> mail@viliar.net.ru wrote:
> > Hello All!
> > 
> > 
> > I'm trying to compile 2.6.16 kernel with this openvz patch:
> > (http://download.openvz.org/kernel/devel/026test015.1/patches/patch-026test015-combined.gz) 
> > (changes: http://openvz.org/news/updates/devel-kernel-026test015.1)
> > 
> > and with reiser4-for-2.6.16-4.patch.gz.
> > 
> > Patching is finished without errors, but in process of compilation (reiser4 - module) I get
> those
> > errors:
> >  
> >  CC [M]  fs/reiser4/plugin/object.o
> > fs/reiser4/plugin/object.c:96: warning: initialization from incompatible pointer type
> > fs/reiser4/plugin/object.c:208: warning: initialization from incompatible pointer type
> > fs/reiser4/plugin/object.c:254: warning: initialization from incompatible pointer type
> > fs/reiser4/plugin/object.c:300: warning: initialization from incompatible pointer type
> > fs/reiser4/plugin/object.c:392: warning: initialization from incompatible pointer type
> > fs/reiser4/plugin/object.c:452: warning: initialization from incompatible pointer type
> >   CC [M]  fs/reiser4/plugin/cluster.o
> >   CC [M]  fs/reiser4/plugin/inode_ops.o
> > fs/reiser4/plugin/inode_ops.c: In function 'permission_common':
> > fs/reiser4/plugin/inode_ops.c:416: error: too few arguments to function 'generic_permission'
> > make[2]: *** [fs/reiser4/plugin/inode_ops.o] Error 1
> > make[1]: *** [fs/reiser4] Error 2
> > make: *** [fs] Error 2
> > 
> > Is where any ideas, why it could be?
> > 
> > 
> > Thank you.
> > 
> > 
> > 
> > 
> > A.
> > 
> > -------------
> > 
> > "Hic Jacet Ego"




A.

--------------

"Hic Jacet Ego"

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-07-12 13:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-11 18:18 2.6.16+reiser4+openvz patches = error mail
2006-07-12 13:38 ` Brian Uhrain
2006-07-12 13:49   ` mail

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.