From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 4119E2B91 for ; Wed, 23 Mar 2016 16:05:06 +0100 (CET) Received: by mail-wm0-f52.google.com with SMTP id p65so237792853wmp.1 for ; Wed, 23 Mar 2016 08:05:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:references:in-reply-to:mime-version:thread-index:date :message-id:subject:to:cc:content-transfer-encoding; bh=Jo9+qQmiBfipvAj8U1kE8HeoJCT1nHXOYzGkt0cAfKg=; b=G8BcZS226gqudnFXvK8SCwC1c2yOR2DJ2D1jsmkk73LO1b3Ux90ws5bVaHSuBQHnJD 8KEuSAmmFtlvWIvu7e1S8QD0rYPRK2ly540EI5KITqxN7YKc7ZoIfLpmwLcguTavubqR AOVbt88xNWLcELAYjxfNG34BfhntN1/DaG5Pg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:cc :content-transfer-encoding; bh=Jo9+qQmiBfipvAj8U1kE8HeoJCT1nHXOYzGkt0cAfKg=; b=GuxIlHHiU1y1NptF7z/8F1xQQn3wO52R4pQ4JPj3oCn39bteX2NiSE5DYo5Rxn46Ek 4JQoaIqOY/etulcwFz1eMCd2DFy4/RIRbSZZNeS55Onfars/i5dBltUET+q7ZjLbcjNJ wqRd13M7qP27y9ZWshFr92BYt5Wc0CyKC3yhTbl/rMBOVnhzLBpWx9KAyEaong/mX4h0 ZP6Hs4yL1M5Q4/BHG3GuYVxWBg5WtX8s7TUFJzdEVcc+bBPJGHqaLwud9T69XrkkOlfH K4SZ76ETxuwUB4a315y6xsrxAW9cw1b7tjDWXSFcffh+b7chFsWvK4A9L0CcwTpv/cwA LbiQ== X-Gm-Message-State: AD7BkJILFK8N8N8EdEqus4e4aEUJ8yt6TiS1yyHXTVf/U0Dviz5M8O4hqGA9WIN7GfhF1BUUl0Pij+x5noL6Jg6L X-Received: by 10.194.143.82 with SMTP id sc18mr3896136wjb.14.1458745506001; Wed, 23 Mar 2016 08:05:06 -0700 (PDT) From: Murali Krishna References: <23529361.xgbDrcMi19@xps13> dba23402c81dbd5002f14c282e103309@mail.gmail.com c4b546c21b7bf4337b0c188ce0d96dca@mail.gmail.com In-Reply-To: c4b546c21b7bf4337b0c188ce0d96dca@mail.gmail.com MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJRxtgJpEYobZtFz0Nf6pAO+CmszwGc+ChDnlmp2RCAAAdbMIAAAtjA Date: Wed, 23 Mar 2016 20:35:05 +0530 Message-ID: To: Thomas Monjalon Cc: users@dpdk.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-users] dpdk 2.2.0 build failure on Rhel 6.8 Beta 1 Kernel X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2016 15:05:06 -0000 Note: DPDK 2.2.0 build was successful on Rhel 6.7 kernel(2.6.32-573.el6.x86_64) without disabling igb_uio(CONFIG_RTE_EAL_IGB_UIO=3Dn) and KNI(CONFIG_RTE_KNI_KMOD=3Dn) Thanks, Murali -----Original Message----- From: Murali Krishna [mailto:murali.krishna@broadcom.com] Sent: Wednesday, March 23, 2016 8:23 PM To: 'Thomas Monjalon' Cc: 'users@dpdk.org' Subject: RE: [dpdk-users] dpdk 2.2.0 build failure on Rhel 6.8 Beta 1 Kerne= l I also tried to build DPDK 2.2.0 on Rhel 6.7 Kernel(2.6.32-573.el6.x86_64) and I didn=E2=80=99t see any errors, build was successful. Thanks, Murali -----Original Message----- From: Murali Krishna [mailto:murali.krishna@broadcom.com] Sent: Wednesday, March 23, 2016 8:08 PM To: 'Thomas Monjalon' Cc: 'users@dpdk.org' Subject: RE: [dpdk-users] dpdk 2.2.0 build failure on Rhel 6.8 Beta 1 Kerne= l Hi Thomas, I tried workaround 1, 2 and 3. 1. I still see some errors after disabling igb_uio(setting CONFIG_RTE_EAL_IGB_UIO=3Dn in x86_64-native-linuxapp-gcc/.config) in the sa= me kernel(2.6.32-621.el6.x86_64). Please see the attachment for detailed error information. 2. I tried to build dpdk 2.2.0 on Rhel7.2 kernel(3.10.0-327.el7.x86_64) and I didn=E2=80=99t see any errors. 3. I tried to compile older DPDKs(DPDK 1.7.1, DPDK 1.8.0 and DPDK 2.0.0) on the same Rhel6.8 kernel(2.6.32-621.el6.x86_64). I am seeing the same errors which I observed while building dpdk 2.2.0 when I try to compile older DPDKs(DPDK 1.7.1, DPDK 1.8.0 and DPDK 2.0.0) Thanks, Murali -----Original Message----- From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] Sent: Wednesday, March 23, 2016 7:31 PM To: Murali Krishna Cc: users@dpdk.org Subject: Re: [dpdk-users] dpdk 2.2.0 build failure on Rhel 6.8 Beta 1 Kerne= l Hi, 2016-03-23 19:04, Murali Krishna: > [root@Rhel68B1 dpdk-2.2.0]# cat /etc/redhat-release > > Red Hat Enterprise Linux Server release 6.8 Beta (Santiago) > > [root@Rhel68B1 dpdk-2.2.0]# uname -a > > Linux Rhel68B1 2.6.32-621.el6.x86_64 #1 SMP Wed Feb 24 00:07:06 EST > 2016 > x86_64 x86_64 x86_64 GNU/Linux [...] > /root/dpdk-2.2.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp= /igb_uio/igb_uio.c:213: > error: =E2=80=98PCI_MSIX_ENTRY_CTRL_MASKBIT=E2=80=99 undeclared (first us= e in this > function) [...] > Is there any workaround for this? Yes there are a lot of workarounds (see the 4 proposals below). igb_uio is an out-of-tree kernel module. We are replacing it with upstream modules uio_pci_generic or vfio. 1/ Try to disable igb_uio in your config (x86_64-native-linuxapp-gcc/.config): CONFIG_RTE_EAL_IGB_UIO=3Dn 2/ If you want igb_uio, you should upgrade your kernel 3/ If you want to keep this kernel, you can try an older DPDK version 4/ If you want to keep this kernel and this DPDK, you can try to fix the issue and submit a patch to dev@dpdk.org.