From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 6C4762B93 for ; Wed, 23 Mar 2016 15:51:37 +0100 (CET) Received: by mail-wm0-f43.google.com with SMTP id p65so27776082wmp.0 for ; Wed, 23 Mar 2016 07:51:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=CR9E+CPUpHhhj9LRdemPLIsHoNF5Ldhp0RT2oskIuCM=; b=BPKaXux33ENsk/NZWZcXqV0+G5wyIy+bIlFjjxURcO+6EWr5TW2DhAaB36XNBCa/Ow dxz/l6uXuZypFXQWH/CyXNtwCtFb8jEiS8fb9DJrLsIG8bd2SLXPhlB2di8nlEEEPqpF 7TxwmvXHzHXoM+YlZk3IVjHSdHLTJ+hpeaBa9LJG1Qrv/4m/37vcwjIu+bQgPEBrbpkC KwdgrBxUZWlw+I3A4HWgNvezIK0+Q+eiJvz3uoSRfG25pg7QUmjL1rvSxW85B9nHUNYs bPKDzdmO2cg0FbsVGUX1O3JZmr5BIVv12IMal9zLaAwdZ4Bgfe7hTxd1D6ueQ+SD+h5e 1PLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=CR9E+CPUpHhhj9LRdemPLIsHoNF5Ldhp0RT2oskIuCM=; b=ccXfxDnIh2WG+KIKcDBwc0vMcigHISVpC3c8cvtryQMC+eGGP3nc0Dqifi7DJhzRY/ RxGcvT9T2nEW7u/rBOjf8FC1ZZ7/aXHqRQyK9+J9O4bUHSf+qd3QTLKy43JAZCNpi5j6 +7rHIky8E4oABXBfHZCD1NR2KVK51IK8E+Kdk6o2uf5SRosAophFfYbx7tpIS10wxhFg qUKX76uJ6roGNzn4EDh2fjRNk0IsI0nl8XjfSZr+LtH+KduOAFauLc5MyyjziXDt9XEP pz9AmCxJAdr1xA/ir1tbaRA6gwCAdSjaGlyqGO9dr5vXeP0hrS2F1vUpSNSRTyR2WNSv 7vng== X-Gm-Message-State: AD7BkJJG1UuQPJ6R9mwe7US8O9cy5cr9nz5pn8HgxL177NmpI3KAfzphI3M0Lu9vWqlqSTbt X-Received: by 10.194.179.227 with SMTP id dj3mr3908689wjc.50.1458744697295; Wed, 23 Mar 2016 07:51:37 -0700 (PDT) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id et11sm2971904wjc.30.2016.03.23.07.51.35 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 23 Mar 2016 07:51:36 -0700 (PDT) From: Thomas Monjalon To: Murali Krishna Cc: users@dpdk.org Date: Wed, 23 Mar 2016 15:49:54 +0100 Message-ID: <9791503.gmfYu7J9gH@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <23529361.xgbDrcMi19@xps13> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 14:51:37 -0000 2016-03-23 20:08, Murali Krishna: > Hi Thomas, >=20 > I tried workaround 1, 2 and 3. >=20 > 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 same > kernel(2.6.32-621.el6.x86_64). Please see the attachment for detailed= error > information. You must disable KNI which is also failing: =09CONFIG_RTE_KNI_KMOD=3Dn > 2. I tried to build dpdk 2.2.0 on Rhel7.2 kernel(3.10.0-327.el7.x86_6= 4) and > I didn=E2=80=99t see any errors. >=20 > 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 olde= r > DPDKs(DPDK 1.7.1, DPDK 1.8.0 and DPDK 2.0.0) It is hard to maintain these out of tree modules for kernels receiving a lot of backports. > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > 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/li= nuxapp/igb_uio/igb_uio.c:213: > > error: =E2=80=98PCI_MSIX_ENTRY_CTRL_MASKBIT=E2=80=99 undeclared (fi= rst use in this > > function) > [...] > > Is there any workaround for this? >=20 > 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. >=20 > 1/ Try to disable igb_uio in your config (x86_64-native-linuxapp-gcc/= .config): > =09CONFIG_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 > =09the issue and submit a patch to dev@dpdk.org.