From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id C9A04C3AA for ; Wed, 22 Jun 2016 14:27:18 +0200 (CEST) Received: by mail-wm0-f45.google.com with SMTP id f126so85624454wma.1 for ; Wed, 22 Jun 2016 05:27:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version; bh=0D/ulXtW0659jcmJ1Maerh9Cgyd2e+zO3b29Om35RNs=; b=FE2Ki0IqJ2HcUgHgjvYv+QBYC5iOgaGY7e6c963pNwxWPhFoLviQNpi1CBnFsLak37 ZlaTIVN2zGNOD6a89MfHtRmt94e1ddIaIOI/ScTSI/xN8QluTyQmOyGxmZzpEBjHwqnr 4/2McOj8Era+T+LnLfwei08AyIBWlNSFKVNQHdKE6eznJnBukO5li7HNrlU/Dfi1axAV YKIqjskMKp+QF8j0F7RoOt6gJcBOELrFTiGtsgl8NAMK2ZrIBFmMcAc8R67RmW8GKt6v mQEM7FDEMre8qtpmBiU5fPapIp4Lh6CYr0laxb8sjSZ8Sec3PB7A/2lNa5Nimkw7plP7 5jyQ== X-Gm-Message-State: ALyK8tJQwrjEYWSn9Ne02dZWMzZ77TYZL2AVGpMSbaI7a8v+9cSI4VHf3GmQRxXVQPx9sXCh X-Received: by 10.28.60.5 with SMTP id j5mr8341166wma.26.1466598438475; Wed, 22 Jun 2016 05:27:18 -0700 (PDT) Received: from surfer-172-29-32-145-hotspot.internet-for-guests.com ([62.214.2.210]) by smtp.gmail.com with ESMTPSA id i74sm391197wmg.21.2016.06.22.05.27.17 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 22 Jun 2016 05:27:17 -0700 (PDT) To: "dev@dpdk.org" Cc: "Gray, Mark D" , "troz >> Tim Rozet" From: Thomas F Herbert Message-ID: <576A8424.7080000@redhat.com> Date: Wed, 22 Jun 2016 14:27:16 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] segfault in vt_pci_init 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, 22 Jun 2016 12:27:19 -0000 All, I am trying to debug a problem: I am running testpmd in a VM. The stack trace is below. Running uio_pci_generic. kvm-qemu 2.5.3, Centos 7 CentOS Linux release 7.2.1511 (Core) Problem can be reproduced using either igb_uio or virtio_pci kernel drivers. Currently running 3.18.35 kernel but problem can be reproduced with 3.10 kernel shipped with Centos. Problem originally was scene with 16.04. Now reproduced from top of master commit, 34d279906d588e349f3e69020a94d7f932bdf099 Currently running qemu/kvm 2.3: qemu-kvm-ev-2.3.0-31.el7_2.10.1.x86_64 Thanks for helping with more eyes on this problem. I am at OPNFV and this problem is currently holding up nfv deployment. (gdb) run -c 0x1 -n 4 -- -i -- portmask 0x1 --ncores=1 Starting program: /home/heat-admin/dpdk/mybuild/app/testpmd -c 0x1 -n 4 -- -i -- portmask 0x1 --ncores=1 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". EAL: Detected 4 lcore(s) EAL: Probing VFIO support... EAL: VFIO support initialized [New Thread 0x7ffff73f0700 (LWP 30542)] EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles ! [New Thread 0x7ffff6aec700 (LWP 30543)] EAL: PCI device 0000:00:03.0 on NUMA socket -1 EAL: probe driver: 1af4:1000 rte_virtio_pmd Program received signal SIGSEGV, Segmentation fault. 0x0000000000616172 in vtpci_init (dev=0xbfb0f0, hw=0x7fffd57d0700, dev_flags=0x7fffffffdf9c) at /home/heat-admin/dpdk/drivers/net/virtio/virtio_pci.c:722 722 dev->devargs->type != RTE_DEVTYPE_WHITELISTED_PCI) { Missing separate debuginfos, use: debuginfo-install glibc-2.17-106.el7_2.6.x86_64 (gdb) bt #0 0x0000000000616172 in vtpci_init (dev=0xbfb0f0, hw=0x7fffd57d0700, dev_flags=0x7fffffffdf9c) at /home/heat-admin/dpdk/drivers/net/virtio/virtio_pci.c:722 #1 0x00000000006209fb in eth_virtio_dev_init ( eth_dev=0xb659a0 ) at /home/heat-admin/dpdk/drivers/net/virtio/virtio_ethdev.c:1108 #2 0x000000000048339c in rte_eth_dev_init (pci_drv=0x8d52a0 , pci_dev=0xbfb0f0) at /home/heat-admin/dpdk/lib/librte_ether/rte_ethdev.c:288 #3 0x00000000004a0b7d in rte_eal_pci_probe_one_driver ( dr=0x8d52a0 , dev=0xbfb0f0) at /home/heat-admin/dpdk/lib/librte_eal/common/eal_common_pci.c:214 #4 0x00000000004a0d3d in pci_probe_all_drivers (dev=0xbfb0f0) at /home/heat-admin/dpdk/lib/librte_eal/common/eal_common_pci.c:290 #5 0x00000000004a108a in rte_eal_pci_probe () at /home/heat-admin/dpdk/lib/librte_eal/common/eal_common_pci.c:417 #6 0x0000000000492fd2 in rte_eal_init (argc=11, argv=0x7fffffffe368) at /home/heat-admin/dpdk/lib/librte_eal/linuxapp/eal/eal.c:874 #7 0x000000000043592d in main (argc=11, argv=0x7fffffffe368) at /home/heat-admin/dpdk/app/test-pmd/testpmd.c:2059 (gdb) -- *Thomas F Herbert* SDN Group Office of Technology *Red Hat*