From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from delivery.mailspamprotection.com (delivery.mailspamprotection.com [198.143.161.20]) by dpdk.org (Postfix) with ESMTP id C586C58EC for ; Wed, 27 Feb 2019 14:01:24 +0100 (CET) Received: from ns1.es18.siteground.eu ([37.60.250.193] helo=es18.siteground.eu) by se2.mailspamprotection.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1gyypp-0001pP-1H for users@dpdk.org; Wed, 27 Feb 2019 07:01:23 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=filipjaniszewski.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=JFUXRFPRHJc7ipAY1UoZvDNg21ApKeUaA4qhXtYjXoU=; b=YpISIIus8K9QCRTC4kqREVCm4o sQMol9nTmrRYd79L2imJ3PErW6zdpacRyjY1ifucveB3QgsrwehIOXaQBSn7qDk24TkBPjgT0o2Zf NUOB1SzwNouKksCQkR8S3nXfJlje/nmcA6a6turZ+Gdin+UTl9qg6LZw/Cdq7o2lrmLwxzBJdBpHr iRvagp4BVkecCodx/lPK+HCbRRUfZVsIj2b+B/nHYULAm4zSOHag8EDhphlsZoBY9EFfPPzAz3tMD 8mSUZdzuPXY1Ei/Nolt0Y43DUwx3EMiW4REBsbRXFsuU4NbdcGoata82GZSOu5of+boFz+uicOt6m IEhU7sSA==; Received: from [89.64.173.160] (port=59264 helo=localhost.localdomain) by es18.siteground.eu with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_34-9f6032f-XX) (envelope-from ) id 1gyypm-00008s-7S for users@dpdk.org; Wed, 27 Feb 2019 14:01:14 +0100 To: "users@dpdk.org" From: Filip Janiszewski Message-ID: Date: Wed, 27 Feb 2019 14:01:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: 37.60.250.193 X-SpamExperts-Domain: es18.siteground.eu X-SpamExperts-Username: 37.60.250.193 Authentication-Results: mailspamprotection.com; auth=pass smtp.auth=37.60.250.193@es18.siteground.eu X-SpamExperts-Outgoing-Class: unsure X-SpamExperts-Outgoing-Evidence: Combined (0.58) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5uvJ8ruhvWZR9xY0fAolmIp602E9L7XzfQH6nu9C/Fh9KJzpNe6xgvOx q3u0UDjvO1v+PcEVtX7KZY7H5dkGCkxVjyn5UrUp4n4yKOOaq9Ax3vgdPRLX7XHXGLyb/T1KQFDj fzzJ6O8jiVhZi+WiYeCsScX6I9Dl5i6VrUM1b/j5na+zLtWF8aS5pH74HzPkHeM0SnoZX29Ppjgp pjrn+Yqxkzc3MaPwhyyXNpaCoQ64h1iGXNc1dC5E2NQMgDXSujxIPj1UU4msT2Odp9D6f/M9BNSM IeL844hdb5YC9oOas7rU/0aIzyPhsTjj9F2Uj2np7WJJ+GJanNasdrRWmdTk1OYQipoNB7xXL6n1 VuxxKjVMiaBuTf+Rjw1QjE94ZiObofOmVZ8jq2JCzFshGkbfX8TdqEXkwxwMjsp2mNApnxCbUh0d 2Cp8GYai7wEkBWWLX2ZbQb3UJKihEmoDuwh4Xlnjt820wyOY6l7qz/EbxxIFeBwctNa7tcu4kuCT Y+/P1b+4IEu4hwdJpSTUmtD74O4hBSz/kkmPgL+fgIguI7YCZaJheivB11WT8SXm6ds97aVCmKEA YtbTFDORUSQbA0JrsGM22vJOSAu806xaGAP8VURju/iVoh1Mnx34oClCpNHRGUAcUhYqiDciK/NE BcbeMFqVO3CQVJnifVD+Ju4XPXrpyQLmjm84ADbVTwzORkaqbYlLi8y2UFKBOGrCX73kEFWO7n93 RSj7X9DXnX26KUX+b1L6+k1DC+Z1PYCALLE/0b5jktw76B6XZEsTubuzlYk3IJjrxCKNJ+HqNbKx unFzWpKIVWHsnnmRWVoUFCp3ieI8O9oFIHlCbLQeG9Aip/3XbLk+u3HcxvuOKShulmI/5O1PLx26 fb20sxxwEiTVJqDh0qKoKsXx5lnloji5wskHssXX1uAuA4jAdS+zR4ZxkUjXiYfT90c1TaveYJ35 U9ERjni3iNitz0RR8uANRg4eAYyR5OaUpXxF/buUi06k/CW9DqS3AO5GK9nSUQ213FJP26QRE68W 1UkXKu1VbgppFJRGoXLED7mHnYlgf/oGiG9NGY6rnqleLTR8pXwdaPOMExbhMJTmZCgZaAdMCX2h r6tW6yzSsA9R X-Report-Abuse-To: spam@quarantine1.mailspamprotection.com Subject: [dpdk-users] Not supported card on board, is segfault expected? 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, 27 Feb 2019 13:01:25 -0000 Hi, I'm running DPDK 18.05 with a nic card that is not present in the list of supported devices: MCX512F-ACAT (ConnectX®-5 EN network interface card, 25GbE dual-port SFP28, PCIe3.0 x16, tall bracket), during rte_eal_init there's a segfault: . #0 0x00007ffff77a98ce in mlx5_alloc_td () from /lib64/libmlx5.so.1 #1 0x0000000000784008 in mlx5_pci_probe (pci_drv=, pci_dev=0xfc04d0) at dpdk-18.05/drivers/net/mlx5/mlx5.c:1021 #2 0x0000000000599a7f in pci_probe_all_drivers.part.1 () #3 0x0000000000599bbe in rte_pci_probe () #4 0x000000000057ad7c in rte_bus_probe () #5 0x000000000056a73e in rte_eal_init () #6 0x000000000047312a in main (argc=4, argv=0x7fffffffe5a8) at /home/fjaniszewski/SDC/P2D/repo/p2d-megamole/mm_main.c:163 . Shall I always expect segmentation faults like this when DPDK is executed on a system with unsupported nic card? Shouldn't those cards just be ignored? Did any of you encountered a similar segfault? Thanks -- BR, Filip +48 666 369 823