From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com [209.85.218.51]) by dpdk.org (Postfix) with ESMTP id 47BD136E for ; Thu, 23 Feb 2017 23:39:06 +0100 (CET) Received: by mail-oi0-f51.google.com with SMTP id s205so2762372oif.3 for ; Thu, 23 Feb 2017 14:39:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=rC3Nds/Ae0H/bl3ZlJc18Mf3s0fO9m0HHrd5NdH0+sc=; b=d4XxZr+tGz3Ohzoo0FoJ3/JVl04QlJXGfyNbpRW1PS0E2ApMB/25cmqgh02VCELBKj 3Kv5UG3rMZBo5z3tQm3SehBsUA5dLFqwzouv0SL6smnpp8f4NFXlHIwEuJiNvaGr/xDc 8GzMeBX1cJ6oMuqyEmTcDOqV20e1pJrnjCv/IqSjSnfl2P9X4l6sVGYW1aVtPl26g4bk M5RE/C50e/2Wm87VLtCN014ZOLH8/Nng28ZE924xtJEpIRxfoA5WMLPqEVqBtna7O38h LUaloEK4N/FypZUIfxi5JW6QHSnIp2zDk/sefqIuv53OQs7XhC0SZXPgbpxFS+hzucSM 8HjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rC3Nds/Ae0H/bl3ZlJc18Mf3s0fO9m0HHrd5NdH0+sc=; b=CDIeGY8Y3LHW0F/3sUwxcvCzl65EQLgZ6yFJva1DsYLImse8MHqq6lXLYPtesyKIjU Tigeiq99ocmHBnRit8chg6NJfzeNYbxhovwPvxGu/FXdWzOR3XCOUQJPZ6u2t1z0GqWD enFb2T+0RY+ENK8mcA5KBNDWapM4tOxXImxZ+Px3O4AJQNb7d+tJYlj0xZE0XoJadR1D iF2Vq1Gxr9Gc7FMpDZNi9cIcaLoBNHy/XdGD2amUvNVfPGaGyrH973oVmEGASpfRI8Mg K4UOaEuVX5SsE9Wpoqds55h9MWidQrCFQ0Fi0aQwCAD5xNwfe/UuBib/23tIKSKGqmjy Kv+w== X-Gm-Message-State: AMke39lF+SdhGheKl+pBSGNIJKd+URgTnucD1v6u7rL3NAe4roX2GJ6gFHiSQRetBoh7AqX7J+WD3+9MJuBaOg== X-Received: by 10.202.78.22 with SMTP id c22mr5224857oib.150.1487889545267; Thu, 23 Feb 2017 14:39:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.110.38 with HTTP; Thu, 23 Feb 2017 14:38:44 -0800 (PST) From: Sushil Adhikari Date: Thu, 23 Feb 2017 16:38:44 -0600 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] BUG: unable to handle kernel paging request 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: Thu, 23 Feb 2017 22:39:06 -0000 While trying to run dpdk Kni application I ran in to a problem, with following error message BUG: unable to handle kernel paging request at 000007ffe2b92780 To run the application I first unbinded the ports from kernel module and binded them to igb_uio >echo 0000:05:00.1 > /sys/bus/pci/drivers/ixgbe/unbind >echo 0000:05:00.0 > /sys/bus/pci/drivers/ixgbe/unbind >echo 0x8086 0x1528 > /sys/bus/pci/drivers/igb_uio/new_id I ran the application using gdb as [~]$ /root/gdb dpdkKni GNU gdb (crosstool-NG 1.20.0) 7.8 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from dpdkKni...(no debugging symbols found)...done. (gdb) Run dpdkKni -c 0x0f -n 4 -- -P -p 0x3 --config="(0,0,1),(1,2,3)" Starting program: /root/dpdkKni dpdkKni -c 0x0f -n 4 -- -P -p 0x3 --config="(0,0,1),(1,2,3)" warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. EAL: Detected 4 lcore(s) EAL: Probing VFIO support... EAL: PCI device 0000:05:00.0 on NUMA socket -1 EAL: probe driver: 8086:1528 net_ixgbe EAL: PCI device 0000:05:00.1 on NUMA socket -1 EAL: probe driver: 8086:1528 net_ixgbe Address of pktmbuf_pool 0x7ffff5a7dec0 APP: Initialising port 0 ... KNI: pci: 05:00:00 8086:1528 kni created for port 0 with kni[i] address 0x7fff75638280 with i 0 APP: Initialising port 1 ... KNI: pci: 05:00:01 8086:1528 kni created for port 1 with kni[i] address 0x7fff75629e00 with i 0 APP: Lcore 1 is writing to port 0 APP: Lcore 2 is reading from port 1 APP: Lcore 3 is writing to port 1 APP: Lcore 0 is reading from port 0 ^C Program received signal SIGINT, Interrupt. 0x000000000044e916 in rte_kni_tx_burst () (gdb) backtrace #0 0x000000000044e916 in rte_kni_tx_burst () #1 0x0000000000619758 in main_loop(void*) () #2 0x0000000000431183 in rte_eal_mp_remote_launch () #3 0x000000000040d312 in main () (this is where the program crashes) I tried to trace the crash with gdb(I am new to gdb) and when I do the backtrace it ends up in different functions each time: this time it gave me rte_kni_tx_burst() I'm running latest dpdk version 17.02 and linux kernel is Linux version 4.4.20 (tcuser@cibuild08) (gcc version 4.9.2 (crosstool-NG 1.20.0) ) #1 SMP I would appreciate any suggestion or insight regarding this issue.