From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 666933B5 for ; Tue, 21 Mar 2017 13:19:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1490098791; x=1521634791; h=subject:to:references:from:message-id:date:mime-version: in-reply-to:content-transfer-encoding; bh=ht4CnoszP2pBgQB05cY73i8KrGU/1CLa1S5gVL68AR0=; b=vyL0PBWviNRqug4Tk5uDDyapCxD0CiuyEow15J4KImYM3f13nvlQ80Ff K9p4Nud+p/eLO0FLQvi6ZX8DYli2MQ==; Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Mar 2017 05:19:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,198,1486454400"; d="scan'208";a="77731302" Received: from dhunt5-mobl.ger.corp.intel.com (HELO [10.237.221.69]) ([10.237.221.69]) by orsmga005.jf.intel.com with ESMTP; 21 Mar 2017 05:19:48 -0700 To: Michal Michalowski , users@dpdk.org References: <58C97216.3040207@openet.com> From: "Hunt, David" Message-ID: <05c8e962-63b8-2960-bd0b-359d5c84080a@intel.com> Date: Tue, 21 Mar 2017 12:19:48 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <58C97216.3040207@openet.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] OS hang when running helloworld example with two I210 NICs X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2017 12:19:51 -0000 On 15/3/2017 4:55 PM, Michal Michalowski wrote: > HI, > > I have problem running helloworld example. The OS hangs and the only way > forward is to poweroff the box. > > DPDK version 16.11.1 > OS: Ubuntu 16.04 and 14.04 > NICs: > 18:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network > Connection (rev 03) > 24:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network > Connection (rev 03) > > The problem only appears when I have two NICs present. If I bind at > least one of them to uio_pci_generic and run helloworld the OS hangs. > If I try to use igb_uio the system hangs when binding the device. > > I have narrowed it down a bit. The OS hangs when > e1000_get_media_type_82575 is executed. Line: ctrl_ext = > E1000_READ_REG(hw, E1000_CTRL_EXT); > That line is reading memory mapped from resource0 of the device. > > I have reproduced behaviour just by binding the device to > uio_pci_generic and putting it in "bus master" mode and the reading from > it's resour0. > > The behaviour is not reproducible with just one NIC in place. Also if > the devices use igb driver and are in "bus master" I can read from > resource0. > > Has anyone encountered similar problem? > > Cheers, > Michal Michal, Could you post up the output of 'lspci -v' for the two cards? ('lspci -v -s 18:00' and 'lspci -v -s 24:00' should do it). I'm interested in the "Memory at" output. I'm using a board here with some i211's with Ubuntu 16.04 and DPDK 16.11.1. All OK so far with igb_uio and helloworld. Regards, Dave.