5 Replies Latest reply on Mar 10, 2015 2:36 PM by ferbs

    Module error and RedHat 7.1

      I tried to install MLNX_OFED_LINUX-2.4-1.0.0-rhel7.0-x86_64 but an "mst start" gives the error unknown signing key

       

      Now I have updated the system to RedHat 7.1 and the install script complains that it is just for RedHat 7.0. Any idea when 7.1 software wlll be released?

        • Re: Module error and RedHat 7.1

          In an effort to get a version working with RedHat 7.1, I went into the MLNX_LINUX-2.4-1.0.0-rhel7.0-x86_64-ext and ran the

           

          mlnx_add_kernel_support.sh -m .

           

          script. This failed due to errors:

           

            CC [M]  /tmp/mlnx_iso.26871/OFED_topdir/BUILD/knem-1.1.1.90mlnx/obj/default/driver/linux/knem_main.o

          In file included from /tmp/mlnx_iso.26871/OFED_topdir/BUILD/knem-1.1.1.90mlnx/obj/default/driver/linux/knem_main.c:31:0:

          /tmp/mlnx_iso.26871/OFED_topdir/BUILD/knem-1.1.1.90mlnx/obj/default/driver/linux/knem_hal.h: In function 'knem_dma_async_memcpy_pg_to_pg':

          /tmp/mlnx_iso.26871/OFED_topdir/BUILD/knem-1.1.1.90mlnx/obj/default/driver/linux/knem_hal.h:312:2: error: implicit declaration of function 'dmaengine_get_unmap_data' [-Werror=implicit-function-declaration]

            unmap = dmaengine_get_unmap_data(dev->dev, 2, GFP_NOWAIT);

            ^

          /tmp/mlnx_iso.26871/OFED_topdir/BUILD/knem-1.1.1.90mlnx/obj/default/driver/linux/knem_hal.h:312:8: warning: assignment makes pointer from integer without a cast [enabled by default]

            unmap = dmaengine_get_unmap_data(dev->dev, 2, GFP_NOWAIT);

                  ^

          /tmp/mlnx_iso.26871/OFED_topdir/BUILD/knem-1.1.1.90mlnx/obj/default/driver/linux/knem_hal.h:316:7: error: dereferencing pointer to incomplete type

            unmap->to_cnt = 1;

                 ^

          /tmp/mlnx_iso.26871/OFED_topdir/BUILD/knem-1.1.1.90mlnx/obj/default/driver/linux/knem_hal.h:317:7: error: dereferencing pointer to incomplete type

            unmap->from_cnt = 1;

                 ^

          /tmp/mlnx_iso.26871/OFED_topdir/BUILD/knem-1.1.1.90mlnx/obj/default/driver/linux/knem_hal.h:318:7: error: dereferencing pointer to incomplete type

            unmap->addr[0] = dma_map_page(dev->dev, src_pg, src_off, len, DMA_TO_DEVICE);

                 ^

          /tmp/mlnx_iso.26871/OFED_topdir/BUILD/knem-1.1.1.90mlnx/obj/default/driver/linux/knem_hal.h:319:7: error: dereferencing pointer to incomplete type

            unmap->addr[1] = dma_map_page(dev->dev, dest_pg, dest_off, len, DMA_FROM_DEVICE);

                 ^

          /tmp/mlnx_iso.26871/OFED_topdir/BUILD/knem-1.1.1.90mlnx/obj/default/driver/linux/knem_hal.h:320:7: error: dereferencing pointer to incomplete type

           

          etc

          • Re: Module error and RedHat 7.1
            yairi

            well, the core driver and protocols should be very much the same. the MellanoxOFED and the community OFED are a bit more advanced and may include fixes that didn't make it yet to the kernel.

            there is a very intensive effort to push more and more code to the upstream (kernel) so things now are more consistent.

            • Re: Module error and RedHat 7.1
              ferbs

              There may be features in Mellanox OFED with regards to performance that do not exist in RHEL inbox driver, regardless the next release in the upcoming months will support RHEL 7.1