From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id B57EC7E71 for ; Wed, 8 Oct 2014 15:52:01 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 08 Oct 2014 06:59:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="397093626" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by FMSMGA003.fm.intel.com with ESMTP; 08 Oct 2014 06:52:07 -0700 Received: from irsmsx106.ger.corp.intel.com (163.33.3.31) by IRSMSX104.ger.corp.intel.com (163.33.3.159) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 8 Oct 2014 14:58:54 +0100 Received: from irsmsx107.ger.corp.intel.com ([169.254.10.68]) by IRSMSX106.ger.corp.intel.com ([169.254.8.193]) with mapi id 14.03.0195.001; Wed, 8 Oct 2014 14:58:50 +0100 From: "Mrzyglod, DanielX T" To: "dev@dpdk.org" Thread-Topic: [PATCH] Modify tools/setup.sh to be compatible with fedora 21 Thread-Index: AQHP4vlu01P9AIPh1UekWKy4zTalUpwmNu0g Date: Wed, 8 Oct 2014 13:58:49 +0000 Message-ID: <7ADD74816B4C8A45B56203CBA65FE5A64A5F11@IRSMSX107.ger.corp.intel.com> References: <1412773891-25774-1-git-send-email-danielx.t.mrzyglod@intel.com> In-Reply-To: <1412773891-25774-1-git-send-email-danielx.t.mrzyglod@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] Modify tools/setup.sh to be compatible with fedora 21 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2014 13:52:02 -0000 Section From: should be=20 From: Daniel Mrzyglod .=20 error due to setting fedora 21 alpha on the new machine > -----Original Message----- > From: Mrzyglod, DanielX T > Sent: Wednesday, October 08, 2014 3:12 PM > To: dev@dpdk.org > Cc: Daniel Mrzyglod; Mrzyglod, DanielX T > Subject: [PATCH] Modify tools/setup.sh to be compatible with fedora 21 >=20 > From: Daniel Mrzyglod >=20 > script was expecting /lib/modules/$(uname -r)/kernel/drivers/uio/uio.ko b= ut in > fedora 21 > there are Compressed kernel modules - xz (LZMA) >=20 > Signed-off-by: Daniel Mrzyglod > --- > tools/setup.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tools/setup.sh b/tools/setup.sh > index 369e09e..6a9d23c 100755 > --- a/tools/setup.sh > +++ b/tools/setup.sh > @@ -169,7 +169,7 @@ load_igb_uio_module() >=20 > /sbin/lsmod | grep -s uio > /dev/null > if [ $? -ne 0 ] ; then > - if [ -f /lib/modules/$(uname -r)/kernel/drivers/uio/uio.ko ] ; > then > + if ls /lib/modules/$(uname -r)/kernel/drivers/uio/uio.ko* &> > /dev/null; then > echo "Loading uio module" > sudo /sbin/modprobe uio > fi > -- > 2.1.0