[ewg] OFA EWG Meeting: Monday, Sept 23rd, 2019 - 9:00 am PST - Minutes

oulijun oulijun at huawei.com
Fri Sep 27 20:32:49 PDT 2019


在 2019/9/24 23:33, Vladimir Sokolovsky 写道:
> On 09/24/2019 06:18 AM, oulijun wrote:
>> Hi, Arlin R & Vlad
>>    I am following the steps you gave to verify and use, the cmd as follows:
>>     
>> To build working tree for manual compilation: # mkdir ofed # cd ofed # git clone git://git.openfabrics.org/compat-rdma/compat-rdma.git # git clone git://git.openfabrics.org/compat-rdma/linux-5.3.git # git clone git://git.openfabrics.org/compat-rdma/compat.git # OFED_EWG_DIR=$PWD # cd compat-rdma # GIT_TREE=${OFED_EWG_DIR}/linux-5.3 GIT_COMPAT_TREE=${OFED_EWG_DIR}/compat ./scripts/admin_rdma.sh -n -p To compile drivers: # ./configure --with-core-mod --with-ipoib-mod --with-ipoib_debug-mod --with-ipoib_debug_data-mod --with-user_mad-mod --with-user_access-mod --with-addr_trans-mod --with-mlx4-mod --with-mlx4_core-mod --with-mlx4_en-mod --with-mlx4_inf-mod --with-mlx4_debug-mod --with-ipoib-cm --with-srp-mod --with-iser-mod --with-iscsi-mod --with-isert-mod Add other relevant flags... # make # make install However, the error as follows: oulijun at EstBuildSvr1:~/OFED$ OFED_EWG_DIR=$PWD oulijun at EstBuildSvr1:~/OFED$ cd compat-rdma/ oulijun at EstBuildSvr1:~/OFED/compat-rdma$
>> GIT_TREE=${OFED_EWG_DIR}/linux-5.3 GIT_COMPAT_TREE=${OFED_EWG_DIR}/compat ./scripts/admin_rdma.sh -n -p [snip] Base tree: linux-5.3.git Base tree version: 3d05bf7 compat.git: vofed-4.17-1-14-g761116a compat-rdma release: gfd0060b-np oulijun at EstBuildSvr1:~/OFED/compat-rdma$ oulijun at EstBuildSvr1:~/OFED/compat-rdma$ oulijun at EstBuildSvr1:~/OFED/compat-rdma$ ./configure --with-core-mod --with-ipoib-mod --with-ipoib_debug-mod --with-ipoib_debug_data-mod --with-user_mad-mod --with-user_access-mod --with-addr_trans-mod --with-mlx4-mod --with-mlx4_core-mod --with-mlx4_en-mod --with-mlx4_inf-mod --with-mlx4_debug-mod --with-ipoib-cm --with-srp-mod --with-iser-mod --with-iscsi-mod --with-isert-mod Created configure.mk.kernel: Created /home/oulijun/OFED/compat-rdma/include/generated/autoconf.h ./configure --with-linux-obj=/lib/modules/4.2.0-27-generic/build --with-linux=/lib/modules/4.2.0-27-generic/source [snip] /usr/src/linux-headers-4.2.0-27-generic
>> /usr/src/linux-headers-4.2.0-27-generic checking for Linux sources... /lib/modules/4.2.0-27-generic/source checking for /lib/modules/4.2.0-27-generic/source... no configure: error: Kernel source /lib/modules/4.2.0-27-generic/source could not be found. Failed executing ./configureoulijun at EstBuildSvr1:~/OFED/compat-rdma$ make grep: 4.2.0-27-generic/include/linux/blkdev.h: No such file or directory Building kernel modules Kernel version: 4.2.0-27-generic Modules directory: //lib/modules/4.2.0-27-generic/updates Kernel sources: /lib/modules/4.2.0-27-generic/build env CWD=/home/oulijun/OFED/compat-rdma BACKPORT_INCLUDES= \ make -C /lib/modules/4.2.0-27-generic/build M="/home/oulijun/OFED/compat-rdma" \ V=0 KBUILD_NOCMDDEP=1 \ CONFIG_53C700_BE_BUS= CONFIG_53C700_LE_ON_BE= CONFIG_A2091_SCSI= CONFIG_A3000_SCSI= CONFIG_ATARI_SCSI= CONFIG_B44= CONFIG_B44_PCI= CONFIG_B44_PCI_AUTOSELECT= CONFIG_B44_PCICORE_AUTOSELECT= CONFIG_BCM63XX_ENET= CONFIG_BCMGENET= CONFIG_BE2NET=
>> CONFIG_BE2NET_BE2= CONFIG_BE2NET_BE3= CONFIG_BE2NET_HWMON= CONFIG_BE2NET_LANCER= CONFIG_BE2NET_SKYHAWK= CONFIG_BGMAC= CONFIG_BGMAC_BCMA= CONFIG_BGMAC_PLATFORM= CONFIG_BLK_DEV_3W_XXXX_RAID= CONFIG_BLK_DEV_NVME= CONFIG_BLK_DEV_SD= CONFIG_BLK_DEV_SR= CONFIG_BLK_DEV_SR_VENDOR= CONFIG_BNX2= CONFIG_BNX2X= CONFIG_BNX2X_SRIOV= CONFIG_BNXT= CONFIG_BNXT_DCB= CONFIG_BNXT_FLOWER_OFFLOAD= CONFIG_BNXT_HWMON= CONFIG_BNXT_SRIOV= CONFIG_BVME6000_SCSI= CONFIG_CHELSIO_LIB= CONFIG_CHELSIO_T1= CONFIG_CHELSIO_T1_1G= CONFIG_CHELSIO_T3= CONFIG_CHELSIO_T4= CONFIG_CHELSIO_T4_DCB= CONFIG_CHELSIO_T4_FCOE= CONFIG_CHELSIO_T4VF= CONFIG_CHR_DEV_SCH= CONFIG_CHR_DEV_SG= CONFIG_CHR_DEV_ST= CONFIG_CNIC= CONFIG_COMPAT_RDMA=m CONFIG_E100= CONFIG_E1000= CONFIG_E1000E= CONFIG_E1000E_HWTS= CONFIG_FCOE= CONFIG_FCOE_FNIC= CONFIG_FM10K= CONFIG_GVP11_SCSI= CONFIG_HFI1_DEBUG_SDMA_ORDER= CONFIG_HYPERV_STORAGE= CONFIG_I40E= CONFIG_I40E_DCB= CONFIG_I40EVF= CONFIG_IAVF= CONFIG_ICE= CONFIG_IGB= CONFIG_IGB_DCA=
>> CONFIG_IGB_HWMON= CONFIG_IGBVF= CONFIG_IGC= CONFIG_INFINIBAND_ADDR_TRANS=y CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS=y CONFIG_INFINIBAND_BNXT_RE= CONFIG_INFINIBAND_CXGB3= CONFIG_INFINIBAND_CXGB4= CONFIG_INFINIBAND_EFA= CONFIG_INFINIBAND_EXP_LEGACY_VERBS_NEW_UAPI= CONFIG_INFINIBAND_HFI1= CONFIG_INFINIBAND_HNS= CONFIG_INFINIBAND_HNS_HIP06= CONFIG_INFINIBAND_HNS_HIP08= CONFIG_INFINIBAND_I40IW= CONFIG_INFINIBAND_IPOIB=m CONFIG_INFINIBAND_IPOIB_CM=y CONFIG_INFINIBAND_IPOIB_DEBUG=y CONFIG_INFINIBAND_IPOIB_DEBUG_DATA=y CONFIG_INFINIBAND_ISER=m CONFIG_INFINIBAND_ISERT=m CONFIG_INFINIBAND_MTHCA= CONFIG_INFINIBAND_MTHCA_DEBUG= CONFIG_INFINIBAND_OCRDMA= CONFIG_INFINIBAND_ON_DEMAND_PAGING= CONFIG_INFINIBAND_OPA_VNIC= CONFIG_INFINIBAND_QEDR= CONFIG_INFINIBAND_QIB= CONFIG_INFINIBAND_QIB_DCA= CONFIG_INFINIBAND_RDMAVT= CONFIG_INFINIBAND_SRP=m CONFIG_INFINIBAND_SRPT= CONFIG_INFINIBAND_USER_ACCESS=m CONFIG_INFINIBAND_USER_MAD=m CONFIG_INFINIBAND_USER_MEM=y CONFIG_INFINIBAND_USNIC=
>> CONFIG_INFINIBAND_VMWARE_PVRDMA= CONFIG_ISCSI_BOOT_SYSFS= CONFIG_ISCSI_TCP=m CONFIG_IXGB= CONFIG_IXGBE= CONFIG_IXGBE_DCA= CONFIG_IXGBE_DCB= CONFIG_IXGBE_HWMON= CONFIG_IXGBE_IPSEC= CONFIG_IXGBEVF= CONFIG_IXGBEVF_IPSEC= CONFIG_JAZZ_ESP= CONFIG_LIBFC= CONFIG_LIBFCOE= CONFIG_MAC_SCSI= CONFIG_MLX4_CORE=m CONFIG_MLX4_CORE_GEN2= CONFIG_MLX4_DEBUG=y CONFIG_MLX4_EN=m CONFIG_MLX4_EN_DCB=y CONFIG_MLX4_INFINIBAND=m CONFIG_MLX5_ACCEL= CONFIG_MLX5_CORE= CONFIG_MLX5_CORE_EN= CONFIG_MLX5_CORE_EN_DCB= CONFIG_MLX5_CORE_IPOIB= CONFIG_MLX5_EN_ARFS= CONFIG_MLX5_EN_IPSEC= CONFIG_MLX5_EN_RXNFC= CONFIG_MLX5_EN_TLS= CONFIG_MLX5_ESWITCH= CONFIG_MLX5_FPGA= CONFIG_MLX5_FPGA_IPSEC= CONFIG_MLX5_FPGA_TLS= CONFIG_MLX5_INFINIBAND= CONFIG_MLX5_MPFS= CONFIG_MLX5_TLS= CONFIG_MLXFW= CONFIG_MLXSW_CORE= CONFIG_MLXSW_CORE_HWMON= CONFIG_MLXSW_CORE_THERMAL= CONFIG_MLXSW_I2C= CONFIG_MLXSW_MINIMAL= CONFIG_MLXSW_PCI= CONFIG_MLXSW_SPECTRUM= CONFIG_MLXSW_SPECTRUM_DCB= CONFIG_MLXSW_SWITCHIB= CONFIG_MLXSW_SWITCHX2=
>> CONFIG_MVME147_SCSI= CONFIG_MVME16x_SCSI= CONFIG_NET_VENDOR_BROADCOM= CONFIG_NET_VENDOR_CHELSIO= CONFIG_NET_VENDOR_EMULEX= CONFIG_NET_VENDOR_INTEL= CONFIG_NET_VENDOR_MELLANOX= CONFIG_NET_VENDOR_QLOGIC= CONFIG_NETXEN_NIC= CONFIG_NVME_CORE= CONFIG_NVME_FABRICS= CONFIG_NVME_FC= CONFIG_NVME_MULTIPATH= CONFIG_NVME_RDMA= CONFIG_NVME_TARGET= CONFIG_NVME_TARGET_FC= CONFIG_NVME_TARGET_FCLOOP= CONFIG_NVME_TARGET_LOOP= CONFIG_NVME_TARGET_RDMA= CONFIG_NVME_TARGET_TCP= CONFIG_NVME_TCP= CONFIG_QED= CONFIG_QEDE= CONFIG_QEDF= CONFIG_QED_FCOE= CONFIG_QEDI= CONFIG_QED_ISCSI= CONFIG_QED_LL2= CONFIG_QED_OOO= CONFIG_QED_RDMA= CONFIG_QED_SRIOV= CONFIG_QLA3XXX= CONFIG_QLCNIC= CONFIG_QLCNIC_DCB= CONFIG_QLCNIC_HWMON= CONFIG_QLCNIC_SRIOV= CONFIG_QLGE= CONFIG_RAID_ATTRS= CONFIG_RDMA_RXE= CONFIG_RDMA_SIW= CONFIG_RDS= CONFIG_RDS_DEBUG= CONFIG_RDS_RDMA= CONFIG_RDS_TCP= CONFIG_RPCSEC_GSS_KRB5= CONFIG_SB1250_MAC= CONFIG_SCSI= CONFIG_SCSI_3W_9XXX= CONFIG_SCSI_3W_SAS= CONFIG_SCSI_A4000T=
>> CONFIG_SCSI_AACRAID= CONFIG_SCSI_ACARD= CONFIG_SCSI_ADVANSYS= CONFIG_SCSI_AHA152X= CONFIG_SCSI_AHA1542= CONFIG_SCSI_AHA1740= CONFIG_SCSI_AM53C974= CONFIG_SCSI_ARCMSR= CONFIG_SCSI_BFA_FC= CONFIG_SCSI_BUSLOGIC= CONFIG_SCSI_CONSTANTS= CONFIG_SCSI_CXGB3_ISCSI= CONFIG_SCSI_CXGB4_ISCSI= CONFIG_SCSI_DC395x= CONFIG_SCSI_DEBUG= CONFIG_SCSI_DMA= CONFIG_SCSI_DMX3191D= CONFIG_SCSI_DPT_I2O= CONFIG_SCSI_ENCLOSURE= CONFIG_SCSI_ESP_PIO= CONFIG_SCSI_FC_ATTRS= CONFIG_SCSI_FDOMAIN= CONFIG_SCSI_FDOMAIN_ISA= CONFIG_SCSI_FDOMAIN_PCI= CONFIG_SCSI_FLASHPOINT= CONFIG_SCSI_GDTH= CONFIG_SCSI_GENERIC_NCR5380= CONFIG_SCSI_HPSA= CONFIG_SCSI_HPTIOP= CONFIG_SCSI_IBMVFC= CONFIG_SCSI_IBMVFC_TRACE= CONFIG_SCSI_IBMVSCSI= CONFIG_SCSI_IBMVSCSIS= CONFIG_SCSI_IMM= CONFIG_SCSI_INIA100= CONFIG_SCSI_INITIO= CONFIG_SCSI_IPR= CONFIG_SCSI_IPR_DUMP= CONFIG_SCSI_IPR_TRACE= CONFIG_SCSI_IPS= CONFIG_SCSI_ISCI= CONFIG_SCSI_ISCSI_ATTRS=m CONFIG_SCSI_IZIP_EPP16= CONFIG_SCSI_IZIP_SLOW_CTR= CONFIG_SCSI_LASI700=
>> CONFIG_SCSI_LOGGING= CONFIG_SCSI_LPFC= CONFIG_SCSI_LPFC_DEBUG_FS= CONFIG_SCSI_MAC53C94= CONFIG_SCSI_MAC_ESP= CONFIG_SCSI_MESH= CONFIG_SCSI_MESH_RESET_DELAY_MS= CONFIG_SCSI_MESH_SYNC_RATE= CONFIG_SCSI_MOD= CONFIG_SCSI_MVUMI= CONFIG_SCSI_MYRB= CONFIG_SCSI_MYRS= CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS= CONFIG_SCSI_NCR53C8XX_MAX_TAGS= CONFIG_SCSI_NCR53C8XX_NO_DISCONNECT= CONFIG_SCSI_NCR53C8XX_SYNC= CONFIG_SCSI_NETLINK= CONFIG_SCSI_NSP32= CONFIG_SCSI_PM8001= CONFIG_SCSI_PMCRAID= CONFIG_SCSI_PPA= CONFIG_SCSI_PROC_FS= CONFIG_SCSI_QLOGIC_1280= CONFIG_SCSI_QLOGIC_FAS= CONFIG_SCSI_QLOGICPTI= CONFIG_SCSI_SAS_ATTRS= CONFIG_SCSI_SCAN_ASYNC= CONFIG_SCSI_SIM710= CONFIG_SCSI_SNI_53C710= CONFIG_SCSI_SNIC= CONFIG_SCSI_SNIC_DEBUG_FS= CONFIG_SCSI_SPI_ATTRS= CONFIG_SCSI_SRP_ATTRS=m CONFIG_SCSI_STEX= CONFIG_SCSI_SUNESP= CONFIG_SCSI_SYM53C8XX_2= CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS= CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE= CONFIG_SCSI_SYM53C8XX_MAX_TAGS= CONFIG_SCSI_SYM53C8XX_MMIO=
>> CONFIG_SCSI_VIRTIO= CONFIG_SCSI_WD719X= CONFIG_SCSI_ZALON= CONFIG_SCSI_ZORRO7XX= CONFIG_SCSI_ZORRO_ESP= CONFIG_SDMA_VERBOSITY= CONFIG_SGIWD93_SCSI= CONFIG_SUN3_SCSI= CONFIG_SUN3X_ESP= CONFIG_SUNRPC= CONFIG_SUNRPC_BACKCHANNEL= CONFIG_SUNRPC_DEBUG= CONFIG_SUNRPC_DISABLE_INSECURE_ENCTYPES= CONFIG_SUNRPC_GSS= CONFIG_SUNRPC_SWAP= CONFIG_SUNRPC_XPRT_RDMA= CONFIG_SYSTEMPORT= CONFIG_TIGON3= CONFIG_TIGON3_HWMON= CONFIG_VMWARE_PVSCSI= CONFIG_XEN_SCSI_FRONTEND= CONFIG_ZFCP= \ LINUXINCLUDE=' \ -D__OFED_BUILD__ \ -D__KERNEL__ \ -DCOMPAT_BASE="\"vofed-4.17-1-14-g761116a\"" -DCOMPAT_BASE_TREE="\"linux-5.3.git\"" -DCOMPAT_BASE_TREE_VERSION="\"3d05bf7\"" -DCOMPAT_PROJECT="\"Compat-rdma\"" -DCOMPAT_VERSION="\"gfd0060b-np\"" \ -include /lib/modules/4.2.0-27-generic/build/include/generated/autoconf.h \ \ -include /home/oulijun/OFED/compat-rdma/include/linux/compat-2.6.h \ \ \ \ -I/home/oulijun/OFED/compat-rdma/include \ -I/home/oulijun/OFED/compat-rdma/include/uapi \
>> -I/home/oulijun/OFED/compat-rdma/drivers/infiniband/debug \ -I/usr/local/include/scst \ -I/home/oulijun/OFED/compat-rdma/drivers/infiniband/ulp/srpt \ $(if $(CONFIG_XEN),-D__XEN_INTERFACE_VERSION__=$(CONFIG_XEN_INTERFACE_VERSION)) \ $(if $(CONFIG_XEN),-I$(srctree)/arch/x86/include/mach-xen) \ -I$(srctree)/arch/$(SRCARCH)/include \ -Iarch/$(SRCARCH)/include/generated \ -Iinclude \ -I$(srctree)/arch/$(SRCARCH)/include/uapi \ -Iarch/$(SRCARCH)/include/generated/uapi \ -I$(srctree)/include \ -I$(srctree)/include/uapi \ -Iinclude/generated/uapi \ $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \ -I$(srctree)/arch/$(SRCARCH)/include \ -Iarch/$(SRCARCH)/include/generated \ ' \ modules make[1]: Entering directory '/usr/src/linux-headers-4.2.0-27-generic' CC [M] /home/oulijun/OFED/compat-rdma/compat/main.o In file included from <command-line>:0:0: /home/oulijun/OFED/compat-rdma/include/linux/compat-2.6.h:7:33: fatal error: ../../compat/config.h: No such file or directory
>> #include "../../compat/config.h" ^ compilation terminated. scripts/Makefile.build:258: recipe for target '/home/oulijun/OFED/compat-rdma/compat/main.o' failed make[3]: *** [/home/oulijun/OFED/compat-rdma/compat/main.o] Error 1 scripts/Makefile.build:403: recipe for target '/home/oulijun/OFED/compat-rdma/compat' failed make[2]: *** [/home/oulijun/OFED/compat-rdma/compat] Error 2 Makefile:1398: recipe for target '_module_/home/oulijun/OFED/compat-rdma' failed make[1]: *** [_module_/home/oulijun/OFED/compat-rdma] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.2.0-27-generic' makefile:70: recipe for target 'kernel' failed make: *** [kernel] Error 2 oulijun at EstBuildSvr1:~/OFED/compat-rdma$ Please forgive me for taking the liberty, Because I was trying for the first time, I don't know how to resolved the build error? Beside, if i want to build hns, how to do and set the config? Lijun Ou
>
> Hi Lijun,
> OFED-5.3 does not support Ubuntu. In this specific case configure script failed to find kernel headers and therefore did not create compat/config.h.
> Please use one of the supported Distros.
>
> Regards,
> Vladimir

Hi, Vlad & Arlin R

    I have found a redhat 7.6 enviroment and test it according your steps:

   [root at localhost ofed]# git clone git://git.openfabrics.org/compat-rdma/compat-rdma.git
Cloning into 'compat-rdma'...
remote: warning: unable to access '/root/.config/git/attributes': Permission denied
remote: Counting objects: 3511, done.
remote: Compressing objects: 100% (3466/3466), done.
remote: Total 3511 (delta 1730), reused 187 (delta 10)
Receiving objects: 100% (3511/3511), 21.84 MiB | 30.00 KiB/s, done.
Resolving deltas: 100% (1730/1730), done.
[root at localhost ofed]# ls
compat  compat-rdma
[root at localhost ofed]# git clone git://git.openfabrics.org/compat-rdma/linux-5.3.git
Cloning into 'linux-5.3'...
remote: warning: unable to access '/root/.config/git/attributes': Permission denied
remote: Counting objects: 1546, done.
remote: Compressing objects: 100% (1410/1410), done.
remote: Total 1546 (delta 131), reused 1546 (delta 131)
Receiving objects: 100% (1546/1546), 7.49 MiB | 741.00 KiB/s, done.
Resolving deltas: 100% (131/131), done.
[root at localhost ofed]# ls
compat  compat-rdma  linux-5.3
[root at localhost ofed]# OFED_EWG_DIR=$PWD
[root at localhost ofed]# uname -a
Linux localhost.localdomain 3.10.0-957.el7.x86_64 #1 SMP Thu Oct 4 20:48:51 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root at localhost ofed]# ls
compat  compat-rdma  linux-5.3
[root at localhost ofed]# cd compat-rdma/
[root at localhost compat-rdma]# ls
compat-rdma.spec  configure  crap            linux-next-cherry-picks  Makefile     Module.supported  patches          pending-stable  tech-preview
config.mk         COPYRIGHT  linux-firmware  linux-next-pending       makefile.in  ofed_scripts      patches.archive  scripts
[root at localhost compat-rdma]# GIT_TREE=${OFED_EWG_DIR}/linux-5.3 GIT_COMPAT_TREE=${OFED_EWG_DIR}/compat ./scripts/admin_rdma.sh -n -p
You said to use git tree at: /root/ofed/linux-5.3 for linux-next
You said to use git tree at: /root/ofed/compat for compat
mkdir -p ./include/linux
cp -a /root/ofed/linux-5.3/include/linux/blk-mq-rdma.h ./include/linux
mkdir -p ./include/linux
cp -a /root/ofed/linux-5.3/include/linux/cgroup_rdma.h ./include/linux
mkdir -p ./include/linux
cp -a /root/ofed/linux-5.3/include/linux/mlx4/ ./include/linux
mkdir -p ./include/linux
cp -a /root/ofed/linux-5.3/include/linux/mlx5/ ./include/linux
mkdir -p ./include/linux
cp -a /root/ofed/linux-5.3/include/linux/nvme.h ./include/linux
mkdir -p ./include/linux
cp -a /root/ofed/linux-5.3/include/linux/nvme-rdma.h ./include/linux
mkdir -p ./include/linux
cp -a /root/ofed/linux-5.3/include/linux/nvme-fc-driver.h ./include/linux
mkdir -p ./include/linux
cp -a /root/ofed/linux-5.3/include/linux/nvme-fc.h ./include/linux
mkdir -p ./include/linux
cp -a /root/ofed/linux-5.3/include/linux/qed/ ./include/linux
mkdir -p ./include/linux
cp -a /root/ofed/linux-5.3/include/linux/sunrpc/ ./include/linux
mkdir -p ./include
cp -a /root/ofed/linux-5.3/include/rdma/ ./include
mkdir -p ./include/scsi
cp -a /root/ofed/linux-5.3/include/scsi/iser.h ./include/scsi
mkdir -p ./include/scsi
cp -a /root/ofed/linux-5.3/include/scsi/scsi_transport_srp.h ./include/scsi
mkdir -p ./include/scsi
cp -a /root/ofed/linux-5.3/include/scsi/srp.h ./include/scsi
mkdir -p ./include/uapi/linux
cp -a /root/ofed/linux-5.3/include/uapi/linux/nvme_ioctl.h ./include/uapi/linux
mkdir -p ./include/uapi/linux
cp -a /root/ofed/linux-5.3/include/uapi/linux/rds.h ./include/uapi/linux
mkdir -p ./include/uapi
cp -a /root/ofed/linux-5.3/include/uapi/rdma/ ./include/uapi
mkdir -p ./include/trace/events
cp -a /root/ofed/linux-5.3/include/trace/events/ib_umad.h ./include/trace/events
mkdir -p ./include/trace/events
cp -a /root/ofed/linux-5.3/include/trace/events/ib_mad.h ./include/trace/events
mkdir -p ./include/trace/events
cp -a /root/ofed/linux-5.3/include/trace/events/rdma.h ./include/trace/events
mkdir -p ./block
cp -a /root/ofed/linux-5.3/block/blk-mq-rdma.c ./block
mkdir -p ./drivers
cp -a /root/ofed/linux-5.3/drivers/infiniband/ ./drivers
mkdir -p ./drivers/net/ethernet/chelsio
cp -a /root/ofed/linux-5.3/drivers/net/ethernet/chelsio/Kconfig ./drivers/net/ethernet/chelsio
mkdir -p ./drivers/net/ethernet/chelsio
cp -a /root/ofed/linux-5.3/drivers/net/ethernet/chelsio/cxgb3/ ./drivers/net/ethernet/chelsio
mkdir -p ./drivers/net/ethernet/chelsio
cp -a /root/ofed/linux-5.3/drivers/net/ethernet/chelsio/cxgb4/ ./drivers/net/ethernet/chelsio
mkdir -p ./drivers/net/ethernet/emulex
cp -a /root/ofed/linux-5.3/drivers/net/ethernet/emulex/benet/ ./drivers/net/ethernet/emulex
mkdir -p ./drivers/net/ethernet/emulex
cp -a /root/ofed/linux-5.3/drivers/net/ethernet/emulex/Kconfig ./drivers/net/ethernet/emulex
mkdir -p ./drivers/net/ethernet/emulex
cp -a /root/ofed/linux-5.3/drivers/net/ethernet/emulex/Makefile ./drivers/net/ethernet/emulex
mkdir -p ./drivers/net/ethernet
cp -a /root/ofed/linux-5.3/drivers/net/ethernet/mellanox/ ./drivers/net/ethernet
mkdir -p ./drivers/net/ethernet/intel
cp -a /root/ofed/linux-5.3/drivers/net/ethernet/intel/Kconfig ./drivers/net/ethernet/intel
mkdir -p ./drivers/net/ethernet/intel
cp -a /root/ofed/linux-5.3/drivers/net/ethernet/intel/i40e/ ./drivers/net/ethernet/intel
mkdir -p ./drivers/net/ethernet
cp -a /root/ofed/linux-5.3/drivers/net/ethernet/qlogic/ ./drivers/net/ethernet
mkdir -p ./drivers/net/ethernet/broadcom
cp -a /root/ofed/linux-5.3/drivers/net/ethernet/broadcom/bnxt/ ./drivers/net/ethernet/broadcom
mkdir -p ./drivers/net/ethernet/broadcom
cp -a /root/ofed/linux-5.3/drivers/net/ethernet/broadcom/Kconfig ./drivers/net/ethernet/broadcom
mkdir -p ./drivers/net/ethernet/broadcom
cp -a /root/ofed/linux-5.3/drivers/net/ethernet/broadcom/Makefile ./drivers/net/ethernet/broadcom
mkdir -p ./drivers/net/ethernet/hisilicon
cp -a /root/ofed/linux-5.3/drivers/net/ethernet/hisilicon/hns/ ./drivers/net/ethernet/hisilicon
mkdir -p ./drivers/net/ethernet/hisilicon
cp -a /root/ofed/linux-5.3/drivers/net/ethernet/hisilicon/hns3/ ./drivers/net/ethernet/hisilicon
mkdir -p ./drivers/scsi
cp -a /root/ofed/linux-5.3/drivers/scsi/Kconfig ./drivers/scsi
mkdir -p ./drivers/scsi
cp -a /root/ofed/linux-5.3/drivers/scsi/Makefile ./drivers/scsi
mkdir -p ./drivers/scsi
cp -a /root/ofed/linux-5.3/drivers/scsi/scsi_priv.h ./drivers/scsi
mkdir -p ./drivers/scsi
cp -a /root/ofed/linux-5.3/drivers/scsi/scsi_transport_srp.c ./drivers/scsi
mkdir -p ./drivers/scsi
cp -a /root/ofed/linux-5.3/drivers/scsi/cxgbi/ ./drivers/scsi
mkdir -p ./drivers/scsi
cp -a /root/ofed/linux-5.3/drivers/scsi/qedf/ ./drivers/scsi
mkdir -p ./drivers/scsi
cp -a /root/ofed/linux-5.3/drivers/scsi/qedi/ ./drivers/scsi
mkdir -p ./drivers
cp -a /root/ofed/linux-5.3/drivers/nvme/ ./drivers
mkdir -p ./net/sunrpc
cp -a /root/ofed/linux-5.3/net/sunrpc/Kconfig ./net/sunrpc
mkdir -p ./net/sunrpc
cp -a /root/ofed/linux-5.3/net/sunrpc/xprtrdma/ ./net/sunrpc
mkdir -p ./net
cp -a /root/ofed/linux-5.3/net/rds/ ./net
Copying /root/ofed/compat/ files...
Applying backport patch: patches/0001-drivers-scsi-Makefile-Remove-unused-components.patch
./scripts/admin_rdma.sh: line 367: patch: command not found
Patching patches/0001-drivers-scsi-Makefile-Remove-unused-components.patch failed, update it
[root at localhost compat-rdma]# ./configure --with-core-mod --with-ipoib_debug-mod --with-ipoib_debug_data-mod --with-user_mad-mod --with-user_access-mod --with-addr_trans-mod --with-mlx4-mod --with-mlx4_core-mod --with-mlx4_en --with-mlx4_inf-mod --with-mlx_debug-mod --with-ipoib-cm --with-isrp-mod --with-iser-mod --with-iscsi-mod --with-isert-mod
.backports_applied does not exist. running ofed_patch.sh
/root/ofed/compat-rdma/ofed_scripts/ofed_patch.sh
Quilt  does not exist... Going to use patch.
mkdir -p /root/ofed/compat-rdma/patches
touch /root/ofed/compat-rdma/patches/quiltrc
getting backport dir for kernel version 3.10.0-957.el7.x86_64
found backport dir backports

Applying patches for backports kernel:
/usr/bin/git checkout -b backport-backports
Switched to a new branch 'backport-backports'
/root/ofed/compat-rdma/backports no such directory
tac: failed to open ‘/lib/modules/3.10.0-957.el7.x86_64/build/include/*/autoconf.h’ for reading: No such file or directory
tac: failed to open ‘/lib/modules/3.10.0-957.el7.x86_64/build/include/*/autoconf.h’ for reading: No such file or directory
Created configure.mk.kernel:
Created /root/ofed/compat-rdma/include/linux/autoconf.h
./autogen.sh
Running aclocal -I /root/ofed/compat-rdma/compat/config ./autogen.sh: line 7: aclocal: command not found
 failed: 127
Aborting

Failed executing ./autogen.sh

[root at localhost compat-rdma]# yum install tac
Loaded plugins: fastestmirror, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Loading mirror speeds from cached hostfile
No package tac available.
Error: Nothing to do
[root at localhost compat-rdma]#


however, it still has problems

Next, How should I solve it ?

Thanks

Lijun Ou

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20190928/376b240a/attachment-0001.html>


More information about the ewg mailing list