Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-1398

Problem building fsfilt on 2.1.x branch

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.1.2
    • Lustre 2.1.1, Lustre 2.1.2
    • None
    • CentOS 6.2, Lustre 2.1.1 or b2_1
    • 3
    • 5162

    Description

      I've been trying to build 2.1.1 on CentOS 6.2 using lbuild, I've tried to avoid doing anything surprising in my setup, the only patches I'm using are to lbuild itself and to the target file to correctly pick up OFED 1.5.4.1. What I'm finding is that the build completes successfully and the RPMs install however I'm unable to load the fsfilt_ldiskfs module due to symbol errors. I'm building from source but not using git so the META file is generated before calling lbuild.

      The same process works correctly on the 1.8 branch and on our CentOS 5 build of 2.1.1.

      This looks to be the same problem as reported once before on a mailing list but remained unresolved at the time. http://lists.lustre.org/pipermail/lustre-discuss/2010-March/012837.html

      Kernel errors when trying to load module:

      fsfilt_ldiskfs: no symbol version for ldiskfs_iget
      fsfilt_ldiskfs: Unknown symbol ldiskfs_iget
      fsfilt_ldiskfs: no symbol version for ldiskfs_free_blocks
      fsfilt_ldiskfs: Unknown symbol ldiskfs_free_blocks
      fsfilt_ldiskfs: no symbol version for ldiskfs_get_group_desc
      fsfilt_ldiskfs: Unknown symbol ldiskfs_get_group_desc
      fsfilt_ldiskfs: no symbol version for ext_pblock
      fsfilt_ldiskfs: Unknown symbol ext_pblock
      fsfilt_ldiskfs: no symbol version for ldiskfs_journal_start_sb
      fsfilt_ldiskfs: Unknown symbol ldiskfs_journal_start_sb
      fsfilt_ldiskfs: no symbol version for __ldiskfs_journal_stop
      fsfilt_ldiskfs: Unknown symbol __ldiskfs_journal_stop
      fsfilt_ldiskfs: no symbol version for ldiskfs_force_commit
      fsfilt_ldiskfs: Unknown symbol ldiskfs_force_commit
      fsfilt_ldiskfs: no symbol version for ldiskfs_ext_store_pblock
      fsfilt_ldiskfs: Unknown symbol ldiskfs_ext_store_pblock
      fsfilt_ldiskfs: no symbol version for ldiskfs_itable_unused_count
      fsfilt_ldiskfs: Unknown symbol ldiskfs_itable_unused_count
      fsfilt_ldiskfs: no symbol version for ldiskfs_ext_search_right
      fsfilt_ldiskfs: Unknown symbol ldiskfs_ext_search_right
      fsfilt_ldiskfs: no symbol version for ldiskfs_mark_inode_dirty
      fsfilt_ldiskfs: Unknown symbol ldiskfs_mark_inode_dirty
      fsfilt_ldiskfs: no symbol version for ldiskfs_xattr_get
      fsfilt_ldiskfs: Unknown symbol ldiskfs_xattr_get
      fsfilt_ldiskfs: no symbol version for ldiskfs_discard_preallocations
      fsfilt_ldiskfs: Unknown symbol ldiskfs_discard_preallocations
      fsfilt_ldiskfs: no symbol version for ldiskfs_ext_calc_credits_for_insert
      fsfilt_ldiskfs: Unknown symbol ldiskfs_ext_calc_credits_for_insert
      fsfilt_ldiskfs: no symbol version for ldiskfs_xattr_set_handle
      fsfilt_ldiskfs: Unknown symbol ldiskfs_xattr_set_handle
      fsfilt_ldiskfs: no symbol version for ldiskfs_read_inode_bitmap
      fsfilt_ldiskfs: Unknown symbol ldiskfs_read_inode_bitmap
      fsfilt_ldiskfs: no symbol version for ldiskfs_ext_insert_extent
      fsfilt_ldiskfs: Unknown symbol ldiskfs_ext_insert_extent
      fsfilt_ldiskfs: no symbol version for __ldiskfs_journal_get_write_access
      fsfilt_ldiskfs: Unknown symbol __ldiskfs_journal_get_write_access
      fsfilt_ldiskfs: no symbol version for ldiskfs_mb_new_blocks
      fsfilt_ldiskfs: Unknown symbol ldiskfs_mb_new_blocks
      fsfilt_ldiskfs: no symbol version for ldiskfs_ext_search_left
      fsfilt_ldiskfs: Unknown symbol ldiskfs_ext_search_left
      fsfilt_ldiskfs: no symbol version for ldiskfs_bread
      fsfilt_ldiskfs: Unknown symbol ldiskfs_bread
      fsfilt_ldiskfs: no symbol version for ldiskfs_ext_walk_space
      fsfilt_ldiskfs: Unknown symbol ldiskfs_ext_walk_space
      fsfilt_ldiskfs: no symbol version for ldiskfs_map_inode_page
      fsfilt_ldiskfs: Unknown symbol ldiskfs_map_inode_page
      fsfilt_ldiskfs: no symbol version for __ldiskfs_handle_dirty_metadata
      fsfilt_ldiskfs: Unknown symbol __ldiskfs_handle_dirty_metadata

      Some output from the build process:

      I note that the first error about not being able to find fsfilt-ldiskfs.c is present in the Whamcloud build logs in Jenkins so I assume that problem is benign.

      CC: gcc
      LD:
      CPPFLAGS: -include /var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/config.h -I/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/libcfs/include -I/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lnet/include -I/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/include
      LLCPPFLAGS: -D_arch_lib_ -D_LARGEFILE64_SOURCE=1
      CFLAGS: -g -O2 -Werror -Werror
      EXTRA_KCFLAGS: -include /var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/config.h -g -I/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/libcfs/include -I/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lnet/include -I/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/include
      LLCFLAGS: -g -Wall -fPIC -D_GNU_SOURCE

      Type 'make' to build Lustre.
      + make -j 1 -s
      Making all in .
      WARNING: could not open /var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt-ldiskfs.c: No such file or directory
      WARNING: "__ldiskfs_handle_dirty_metadata" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/osd-ldiskfs/osd_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_bread" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/osd-ldiskfs/osd_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_add_dot_dotdot" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/osd-ldiskfs/osd_ldiskfs.ko] undefined!
      WARNING: "__ldiskfs_journal_get_write_access" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/osd-ldiskfs/osd_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_append" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/osd-ldiskfs/osd_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_delete_entry" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/osd-ldiskfs/osd_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_add_entry" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/osd-ldiskfs/osd_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_find_entry" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/osd-ldiskfs/osd_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_mark_inode_dirty" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/osd-ldiskfs/osd_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_force_commit" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/osd-ldiskfs/osd_ldiskfs.ko] undefined!
      WARNING: "dynlock_lock" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/osd-ldiskfs/osd_ldiskfs.ko] undefined!
      WARNING: "__ldiskfs_std_error" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/osd-ldiskfs/osd_ldiskfs.ko] undefined!
      WARNING: "dynlock_unlock" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/osd-ldiskfs/osd_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_create_inode" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/osd-ldiskfs/osd_ldiskfs.ko] undefined!
      WARNING: "__ldiskfs_journal_stop" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/osd-ldiskfs/osd_ldiskfs.ko] undefined!
      WARNING: "ldiskfsfs_dirhash" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/osd-ldiskfs/osd_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_journal_start_sb" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/osd-ldiskfs/osd_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_iget" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/osd-ldiskfs/osd_ldiskfs.ko] undefined!
      WARNING: "__ldiskfs_handle_dirty_metadata" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_map_inode_page" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_ext_walk_space" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_bread" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_ext_search_left" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_mb_new_blocks" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "__ldiskfs_journal_get_write_access" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_ext_insert_extent" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_read_inode_bitmap" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_xattr_set_handle" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_ext_calc_credits_for_insert" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_discard_preallocations" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_xattr_get" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_mark_inode_dirty" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_ext_search_right" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_itable_unused_count" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_ext_store_pblock" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_force_commit" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "__ldiskfs_journal_stop" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_journal_start_sb" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "ext_pblock" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_get_group_desc" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_free_blocks" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      WARNING: "ldiskfs_iget" [/var/tmp/lustre_build_CtC/BUILD/lustre-2.1.1/lustre/lvfs/fsfilt_ldiskfs.ko] undefined!
      Making all in libsysio
      Making all in lustre-iokit
      Making all in obdfilter-survey
      Making all in sgpdd-survey
      Making all in ost-survey

      I can supply full build logs if required.

      Attachments

        Issue Links

          Activity

            People

              mdiep Minh Diep
              ihara Shuichi Ihara (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: