From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.bemta5.messagelabs.com (mail1.bemta5.messagelabs.com [195.245.231.138]) by dpdk.org (Postfix) with ESMTP id 22F76A10 for ; Wed, 15 Mar 2017 17:55:54 +0100 (CET) Received: from [85.158.139.35] by server-2.bemta-5.messagelabs.com id 6F/92-20080-91279C85; Wed, 15 Mar 2017 16:55:53 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRWlGSWpSXmKPExsVyZfehZl3JopM RBssW61k0H1zP4sDo8WvBUtYAxijWzLyk/IoE1ox9E2+xFpzgq/ixqoe5gbGPp4uRi0NIYAGj xOFzj5m7GDk5eAU0Je48XcwOYrMIqEp0rmxjArHZBHQlLtyexApi8wuISKxfdY2li5GDQ1QgT GLqUh6IVkGJkzOfsIDYIkAlH34+BisXFnCWONq8BizOLGAhMXP+eUYIW1ti2cLXYGuFBOQltv 6fzjiBkWcWklGzkLTMQtKygJF5FaNGcWpRWWqRrqGhXlJRZnpGSW5iZo6uoYGpXm5qcXFiemp OYlKxXnJ+7iZGYPAwAMEOxpXtzocYJTmYlER5VQRPRAjxJeWnVGYkFmfEF5XmpBYfYpTh4FCS 4H05EygnWJSanlqRlpkDDGOYtAQHj5II70yQNG9xQWJucWY6ROoUoy7HrYY9b5iEWPLy81Klx HmVZwEVCYAUZZTmwY2AxdQlRlkpYV5GoKOEeApSi3IzS1DlXzGKczAqCfNKgEzhycwrgdv0Cu gIJqAjEn8eATmiJBEhJdXA2Ozk8U0zT0Cg6EhVdMibZXkKfMqXXjjuVxF96+q6+/yqe7vOMZ5 n+3XEqK5KvmibJc98dYPj1xkdWTI0V78ObJvolePp8Fi9/cGkdClrzivL5qqYnyyyfTRppYGe SL7VyTnmThKFW+5tMSu+0hVjXNlltc3+5yLmHZ5d/4QXpp1c9Nu2d/U3JZbijERDLeai4kQAB GSbIqQCAAA= X-Env-Sender: michalm@openet.com X-Msg-Ref: server-13.tower-179.messagelabs.com!1489596953!78685750!1 X-Originating-IP: [212.187.194.131] X-StarScan-Received: X-StarScan-Version: 9.2.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 7491 invoked from network); 15 Mar 2017 16:55:53 -0000 Received: from unknown.level3.net (HELO dubhbca01.openet-dublin) (212.187.194.131) by server-13.tower-179.messagelabs.com with RC4-SHA encrypted SMTP; 15 Mar 2017 16:55:53 -0000 Received: from [10.0.30.73] (10.0.30.73) by dubhbca01.openet-dublin (10.0.3.80) with Microsoft SMTP Server (TLS) id 8.3.485.1; Wed, 15 Mar 2017 16:55:52 +0000 Message-ID: <58C97216.3040207@openet.com> Date: Wed, 15 Mar 2017 17:55:50 +0100 From: Michal Michalowski Organization: Openet User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: quoted-printable Subject: [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: Wed, 15 Mar 2017 16:55:54 -0000 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 =3D 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 This email and any files transmitted with it are confidential and intended = solely for the use of the individual or entity to whom they are addressed. = If you are not the intended recipient, please note that any review, dissemi= nation, disclosure, alteration, printing, circulation, retention or transmi= ssion of this e-mail and/or any file or attachment transmitted with it, is = prohibited and may be unlawful. If you have received this e-mail or any fil= e or attachment transmitted with it in error please notify postmaster@opene= t.com. Although Openet has taken reasonable precautions to ensure no viruse= s are present in this email, we cannot accept responsibility for any loss o= r damage arising from the use of this email or attachments.