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

EL6 kernel 2.6.32-220.el6 fails to build with OFA OFED 1.5.4

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.2.0, Lustre 2.1.2
    • Lustre 2.2.0
    • None
    • 3
    • 4729

    Description

      With master having been updated to EL6.2's kernel 2.6.32-220.el6 and given the release notes for OFED 1.5.4 (http://www.openfabrics.org/downloads/OFED/release_notes/OFED_1.5.4_release_notes), which is also being built for master we should be able to build OFED 1.5.4 for EL6 on master, but it doesn't build:

        gcc -Wp,-MD,/var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/drivers/infiniband/ulp/qlgc_vnic/.vnic_main.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.4.5/include \
      -D__OFED_BUILD__ \
      -include /var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/reused/usr/src/kernels/2.6.32-220.el6_lustre.gfb14871.x86_64/include/linux/autoconf.h \
      -include /var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/include/linux/autoconf.h \
      -I/var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/kernel_addons/backport/2.6.32-EL6.1/include/ \
       \
       \
       \
      -I/var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/include \
      -I/var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/drivers/infiniband/debug \
      -I/usr/local/include/scst \
      -I/var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/drivers/infiniband/ulp/srpt \
      -D__XEN_INTERFACE_VERSION__= \
      -I/var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/reused/usr/src/kernels/2.6.32-220.el6_lustre.gfb14871.x86_64/arch/x86/include/mach-xen \
      -I/var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/reused/usr/src/kernels/2.6.32-220.el6_lustre.gfb14871.x86_64/arch//include \
      -Iinclude \
       \
      -I/var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/reused/usr/src/kernels/2.6.32-220.el6_lustre.gfb14871.x86_64/arch/x86/include \
       -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vnic_main)"  -D"KBUILD_MODNAME=KBUILD_STR(qlgc_vnic)" -D"DEBUG_HASH=24" -D"DEBUG_HASH2=48" -c -o /var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/drivers/infiniband/ulp/qlgc_vnic/.tmp_vnic_main.o /var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/drivers/infiniband/ulp/qlgc_vnic/vnic_main.c
      In file included from /var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/drivers/infiniband/ulp/qlgc_vnic/vnic_config.h:41,
                       from /var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/drivers/infiniband/ulp/qlgc_vnic/vnic_main.h:42,
                       from /var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/drivers/infiniband/ulp/qlgc_vnic/vnic_main.c:45:
      /var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/drivers/infiniband/ulp/qlgc_vnic/vnic_control.h:76: error: expected identifier before '(' token
      /var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/drivers/infiniband/ulp/qlgc_vnic/vnic_main.c: In function 'vnic_setup':
      /var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/drivers/infiniband/ulp/qlgc_vnic/vnic_main.c:1063: error: 'struct net_device' has no member named 'get_stats'
      /var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/drivers/infiniband/ulp/qlgc_vnic/vnic_main.c:1064: error: 'struct net_device' has no member named 'open'
      /var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/drivers/infiniband/ulp/qlgc_vnic/vnic_main.c:1065: error: 'struct net_device' has no member named 'stop'
      /var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/drivers/infiniband/ulp/qlgc_vnic/vnic_main.c:1066: error: 'struct net_device' has no member named 'hard_start_xmit'
      /var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/drivers/infiniband/ulp/qlgc_vnic/vnic_main.c:1067: error: 'struct net_device' has no member named 'tx_timeout'
      /var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/drivers/infiniband/ulp/qlgc_vnic/vnic_main.c:1068: error: 'struct net_device' has no member named 'set_multicast_list'
      /var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/drivers/infiniband/ulp/qlgc_vnic/vnic_main.c:1069: error: 'struct net_device' has no member named 'set_mac_address'
      /var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/drivers/infiniband/ulp/qlgc_vnic/vnic_main.c:1070: error: 'struct net_device' has no member named 'change_mtu'
      make[4]: *** [/var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/drivers/infiniband/ulp/qlgc_vnic/vnic_main.o] Error 1
      make[3]: *** [/var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/drivers/infiniband/ulp/qlgc_vnic] Error 2
      make[2]: *** [/var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4/drivers/infiniband] Error 2
      make[1]: *** [_module_/var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/ofa_kernel-1.5.4] Error 2
      make[1]: Leaving directory `/var/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/reused/usr/src/kernels/2.6.32-220.el6_lustre.gfb14871.x86_64'
      make: *** [kernel] Error 2
      
      

      Attachments

        Issue Links

          Activity

            People

              mdiep Minh Diep
              brian Brian Murrell (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: