Thierry Delaitre
2006-Sep-19 11:25 UTC
[Lustre-discuss] Problems compiling lustre 1.5.95 on SLES10
Hi, I successfully managed to patch SLES10 kernel 2.6.16.21-0-8-default using quilt & 1.5.95. However, i get the following error when compiling lustre 1.5.95 using the patched 2.6.16.21-0-8-default tree: Lustre recompiles fine but only using a non-patched kernel. What do i need to do to overcome the following compilation error ? Thierry. [snip] ln -s ../../../lustre/kernel_patches/patches linux-stage/patches ln -s ../../../lustre/kernel_patches/series/ldiskfs-2.6-fc5.series linux-stage/series cd linux-stage && quilt push -a -q Applying ext3-wantedi-2.6-rhel4 Applying ext3-san-jdike-2.6-suse Applying iopen-2.6-fc5 Applying ext3-map_inode_page-2.6-suse Applying export-ext3-2.6-rhel4 Applying ext3-include-fixes-2.6-rhel4 Applying ext3-extents-2.6.15 Applying ext3-mballoc2-2.6-fc5 Applying ext3-nlinks-2.6.9 Applying ext3-ialloc-2.6 Applying ext3-remove-cond_resched-calls-2.6.12 Applying ext3-filterdata-2.6.15 Now at patch ext3-filterdata-2.6.15 mkdir linux Replacing ''ext3'' with ''ldiskfs'': acl.h namei.h xattr.h acl.c balloc.c bitmap.c dir.c file.c fsync.c hash.c ialloc.c inod e.c ioctl.c namei.c resize.c super.c symlink.c xattr.c xattr_security.c xattr_trusted.c xattr_user.c iopen.c iopen.h ext ents.c mballoc.c ext3_fs.h ext3_fs_i.h ext3_fs_sb.h ext3_jbd.h ext3_extents.h touch sources make[4]: Leaving directory `/root/lustre-1.5.95/lustre/ldiskfs'' In file included from /root/lustre-1.5.95/lustre/include/lustre_cfg.h:189, from /root/lustre-1.5.95/lustre/include/lustre_lib.h:30, from /root/lustre-1.5.95/lustre/include/lustre_dlm.h:19, from /root/lustre-1.5.95/lustre/llite/file.c:26: /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: "POISON_BULK" is not defined /root/lustre-1.5.95/lustre/llite/file.c: In function <E2><80><98>ll_mdc_close<E2><80><99>: /root/lustre-1.5.95/lustre/llite/file.c:162: error: <E2><80><98>struct file<E2><80><99> has no member named <E2><80><98> fs_private<E2><80><99> /root/lustre-1.5.95/lustre/llite/file.c:213: error: <E2><80><98>struct file<E2><80><99> has no member named <E2><80><98> fs_private<E2><80><99> /root/lustre-1.5.95/lustre/llite/file.c: In function <E2><80><98>ll_file_release<E2><80><99>: /root/lustre-1.5.95/lustre/llite/file.c:243: error: <E2><80><98>struct file<E2><80><99> has no member named <E2><80><98> fs_private<E2><80><99> /root/lustre-1.5.95/lustre/llite/file.c: In function <E2><80><98>ll_local_open<E2><80><99>: /root/lustre-1.5.95/lustre/llite/file.c:326: error: <E2><80><98>struct file<E2><80><99> has no member named <E2><80><98> fs_private<E2><80><99> /root/lustre-1.5.95/lustre/llite/file.c:332: error: <E2><80><98>struct file<E2><80><99> has no member named <E2><80><98> fs_private<E2><80><99> /root/lustre-1.5.95/lustre/llite/file.c: In function <E2><80><98>ll_file_read<E2><80><99>: /root/lustre-1.5.95/lustre/llite/file.c:1193: error: <E2><80><98>struct file<E2><80><99> has no member named <E2><80> <98>fs_private<E2><80><99> /root/lustre-1.5.95/lustre/llite/file.c: In function <E2><80><98>ll_file_write<E2><80><99>: /root/lustre-1.5.95/lustre/llite/file.c:1340: error: <E2><80><98>struct file<E2><80><99> has no member named <E2><80> <98>fs_private<E2><80><99> /root/lustre-1.5.95/lustre/llite/file.c: In function <E2><80><98>ll_file_sendfile<E2><80><99>: /root/lustre-1.5.95/lustre/llite/file.c:1420: error: <E2><80><98>struct file<E2><80><99> has no member named <E2><80> <98>fs_private<E2><80><99> /root/lustre-1.5.95/lustre/llite/file.c: In function <E2><80><98>ll_get_grouplock<E2><80><99>: /root/lustre-1.5.95/lustre/llite/file.c:1643: error: <E2><80><98>struct file<E2><80><99> has no member named <E2><80> <98>fs_private<E2><80><99> /root/lustre-1.5.95/lustre/llite/file.c: In function <E2><80><98>ll_put_grouplock<E2><80><99>: /root/lustre-1.5.95/lustre/llite/file.c:1674: error: <E2><80><98>struct file<E2><80><99> has no member named <E2><80> <98>fs_private<E2><80><99> /root/lustre-1.5.95/lustre/llite/file.c: In function <E2><80><98>ll_file_ioctl<E2><80><99>: /root/lustre-1.5.95/lustre/llite/file.c:1906: error: <E2><80><98>struct file<E2><80><99> has no member named <E2><80> <98>fs_private<E2><80><99> make[6]: *** [/root/lustre-1.5.95/lustre/llite/file.o] Error 1 make[5]: *** [/root/lustre-1.5.95/lustre/llite] Error 2 make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 make[3]: *** [_module_/root/lustre-1.5.95] Error 2 make[3]: Leaving directory `/usr/src/linux-2.6.16.21-0.8'' make[2]: *** [modules] Error 2 ---------------------------------------- Dr Thierry DELAITRE Systems and Services Manager, CSCS University of Westminster 115 New Cavendish Street, London W1W 6UW Tel: 020 7911 5000 ext: 3586 Fax: 020 7911 5089 Mobile short dial code 1788 http://www.cscs.wmin.ac.uk/~delaitt ---------------------------------------- This e-mail and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must not copy or show them to anyone, nor should you take any action based on them, other than to notify the error by replying to the sender.
Thierry Delaitre
2006-Sep-19 14:09 UTC
[Lustre-discuss] Re: Problems compiling lustre 1.5.95 on SLES10
I''ve added fsprivate-2.6.patch to the 2.6-sles10.series and it seems to solve this issue. Thierry. On Tue, 19 Sep 2006, Thierry Delaitre wrote:> > Hi, > > I successfully managed to patch SLES10 kernel 2.6.16.21-0-8-default using > quilt & 1.5.95. > > However, i get the following error when compiling lustre 1.5.95 using the > patched 2.6.16.21-0-8-default tree: > > Lustre recompiles fine but only using a non-patched kernel. What do i need > to do to overcome the following compilation error ? > > Thierry. > > [snip] > ln -s ../../../lustre/kernel_patches/patches linux-stage/patches > ln -s ../../../lustre/kernel_patches/series/ldiskfs-2.6-fc5.series > linux-stage/series > cd linux-stage && quilt push -a -q > Applying ext3-wantedi-2.6-rhel4 > Applying ext3-san-jdike-2.6-suse > Applying iopen-2.6-fc5 > Applying ext3-map_inode_page-2.6-suse > Applying export-ext3-2.6-rhel4 > Applying ext3-include-fixes-2.6-rhel4 > Applying ext3-extents-2.6.15 > Applying ext3-mballoc2-2.6-fc5 > Applying ext3-nlinks-2.6.9 > Applying ext3-ialloc-2.6 > Applying ext3-remove-cond_resched-calls-2.6.12 > Applying ext3-filterdata-2.6.15 > Now at patch ext3-filterdata-2.6.15 > mkdir linux > Replacing ''ext3'' with ''ldiskfs'': acl.h namei.h xattr.h acl.c balloc.c > bitmap.c dir.c file.c fsync.c hash.c ialloc.c inod > e.c ioctl.c namei.c resize.c super.c symlink.c xattr.c xattr_security.c > xattr_trusted.c xattr_user.c iopen.c iopen.h ext > ents.c mballoc.c ext3_fs.h ext3_fs_i.h ext3_fs_sb.h ext3_jbd.h > ext3_extents.h > touch sources > make[4]: Leaving directory `/root/lustre-1.5.95/lustre/ldiskfs'' > In file included from /root/lustre-1.5.95/lustre/include/lustre_cfg.h:189, > from /root/lustre-1.5.95/lustre/include/lustre_lib.h:30, > from /root/lustre-1.5.95/lustre/include/lustre_dlm.h:19, > from /root/lustre-1.5.95/lustre/llite/file.c:26: > /root/lustre-1.5.95/lustre/include/obd_support.h:317:5: warning: > "POISON_BULK" is not defined > /root/lustre-1.5.95/lustre/llite/file.c: In function > <E2><80><98>ll_mdc_close<E2><80><99>: > /root/lustre-1.5.95/lustre/llite/file.c:162: error: <E2><80><98>struct > file<E2><80><99> has no member named <E2><80><98> > fs_private<E2><80><99> > /root/lustre-1.5.95/lustre/llite/file.c:213: error: <E2><80><98>struct > file<E2><80><99> has no member named <E2><80><98> > fs_private<E2><80><99> > /root/lustre-1.5.95/lustre/llite/file.c: In function > <E2><80><98>ll_file_release<E2><80><99>: > /root/lustre-1.5.95/lustre/llite/file.c:243: error: <E2><80><98>struct > file<E2><80><99> has no member named <E2><80><98> > fs_private<E2><80><99> > /root/lustre-1.5.95/lustre/llite/file.c: In function > <E2><80><98>ll_local_open<E2><80><99>: > /root/lustre-1.5.95/lustre/llite/file.c:326: error: <E2><80><98>struct > file<E2><80><99> has no member named <E2><80><98> > fs_private<E2><80><99> > /root/lustre-1.5.95/lustre/llite/file.c:332: error: <E2><80><98>struct > file<E2><80><99> has no member named <E2><80><98> > fs_private<E2><80><99> > /root/lustre-1.5.95/lustre/llite/file.c: In function > <E2><80><98>ll_file_read<E2><80><99>: > /root/lustre-1.5.95/lustre/llite/file.c:1193: error: <E2><80><98>struct > file<E2><80><99> has no member named <E2><80> > <98>fs_private<E2><80><99> > /root/lustre-1.5.95/lustre/llite/file.c: In function > <E2><80><98>ll_file_write<E2><80><99>: > /root/lustre-1.5.95/lustre/llite/file.c:1340: error: <E2><80><98>struct > file<E2><80><99> has no member named <E2><80> > <98>fs_private<E2><80><99> > /root/lustre-1.5.95/lustre/llite/file.c: In function > <E2><80><98>ll_file_sendfile<E2><80><99>: > /root/lustre-1.5.95/lustre/llite/file.c:1420: error: <E2><80><98>struct > file<E2><80><99> has no member named <E2><80> > <98>fs_private<E2><80><99> > /root/lustre-1.5.95/lustre/llite/file.c: In function > <E2><80><98>ll_get_grouplock<E2><80><99>: > /root/lustre-1.5.95/lustre/llite/file.c:1643: error: <E2><80><98>struct > file<E2><80><99> has no member named <E2><80> > <98>fs_private<E2><80><99> > /root/lustre-1.5.95/lustre/llite/file.c: In function > <E2><80><98>ll_put_grouplock<E2><80><99>: > /root/lustre-1.5.95/lustre/llite/file.c:1674: error: <E2><80><98>struct > file<E2><80><99> has no member named <E2><80> > <98>fs_private<E2><80><99> > /root/lustre-1.5.95/lustre/llite/file.c: In function > <E2><80><98>ll_file_ioctl<E2><80><99>: > /root/lustre-1.5.95/lustre/llite/file.c:1906: error: <E2><80><98>struct > file<E2><80><99> has no member named <E2><80> > <98>fs_private<E2><80><99> > make[6]: *** [/root/lustre-1.5.95/lustre/llite/file.o] Error 1 > make[5]: *** [/root/lustre-1.5.95/lustre/llite] Error 2 > make[4]: *** [/root/lustre-1.5.95/lustre] Error 2 > make[3]: *** [_module_/root/lustre-1.5.95] Error 2 > make[3]: Leaving directory `/usr/src/linux-2.6.16.21-0.8'' > make[2]: *** [modules] Error 2 > > > ---------------------------------------- > Dr Thierry DELAITRE > Systems and Services Manager, CSCS > University of Westminster > 115 New Cavendish Street, London W1W 6UW > > Tel: 020 7911 5000 ext: 3586 > Fax: 020 7911 5089 > Mobile short dial code 1788 > > http://www.cscs.wmin.ac.uk/~delaitt > ---------------------------------------- > > This e-mail and its attachments are intended for the above named only > and may be confidential. If they have come to you in error you must > not copy or show them to anyone, nor should you take any action based > on them, other than to notify the error by replying to the sender. >---------------------------------------- Dr Thierry DELAITRE Systems and Services Manager, CSCS University of Westminster 115 New Cavendish Street, London W1W 6UW Tel: 020 7911 5000 ext: 3586 Fax: 020 7911 5089 Mobile short dial code 1788 http://www.cscs.wmin.ac.uk/~delaitt ---------------------------------------- This e-mail and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must not copy or show them to anyone, nor should you take any action based on them, other than to notify the error by replying to the sender.