Konstantin, Yeah with further investigation i found that iattr structure for ubuntu lacks the member named " struct file *ia_file; " I guess now the problem is really inside ubuntu API changes for their own kernels. More or less looking into the kernel source from the ubuntu it seems to be modified extensively. So i guess choice is here to only use the kernel module from the ubuntu stock itself. Regards -- Harshavardhana "Yantra Shilpi" Z Research Inc - http://www.zresearch.com On Thu, Mar 19, 2009 at 2:32 AM, Konstantin A. Lepikhov <lakostis at unsafe.ru>wrote: > Hi Harshavardhana! > > Wednesday 18, at 07:50:56 PM you wrote: > > > Konstantin, > > > > Clearly as you can see there are serious API differences against > openvz > > kernel from Ubuntu with i think normal general Ubuntu kernel release. Can > > you check if module compiles fine with "2.6.24-21-generic" ? if yes we > need > > to look at the API changes which openvz patches bring it. > > > > Regards > I got the same result with latest -generic: > > lakostis at yahardy64:~/fuse/fuse-2.7.3glfs10$ make > Making all in kernel > make[1]: Entering directory `/home/lakostis/fuse/fuse-2.7.3glfs10/kernel' > make -C /usr/src/linux-headers-2.6.24-21-generic SUBDIRS=`pwd` modules > make[2]: Entering directory `/usr/src/linux-headers-2.6.24-21-generic' > CC [M] /home/lakostis/fuse/fuse-2.7.3glfs10/kernel/dev.o > CC [M] /home/lakostis/fuse/fuse-2.7.3glfs10/kernel/dir.o > /home/lakostis/fuse/fuse-2.7.3glfs10/kernel/dir.c: In function > 'iattr_to_fattr': > /home/lakostis/fuse/fuse-2.7.3glfs10/kernel/dir.c:1027: error: 'struct > iattr' has no member named 'ia_file' > make[3]: *** [/home/lakostis/fuse/fuse-2.7.3glfs10/kernel/dir.o] Error 1 > make[2]: *** [_module_/home/lakostis/fuse/fuse-2.7.3glfs10/kernel] Error 2 > make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-21-generic' > make[1]: *** [all-spec] Error 2 > make[1]: Leaving directory `/home/lakostis/fuse/fuse-2.7.3glfs10/kernel' > make: *** [all-recursive] Error 1 > > It's not ubuntu API changes actually (see > https://lists.ubuntu.com/archives/kernel-team/2008-July/002904.html) > suspect all Apparmor-depended kernels suffer from this patch :) > > -- > WBR et al. > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://zresearch.com/pipermail/gluster-users/attachments/20090319/ac6a5252/attachment.htm>