From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f180.google.com (mail-yw0-f180.google.com [209.85.161.180]) by dpdk.org (Postfix) with ESMTP id 26C252BF8 for ; Wed, 13 Apr 2016 02:28:24 +0200 (CEST) Received: by mail-yw0-f180.google.com with SMTP id o66so47828365ywc.3 for ; Tue, 12 Apr 2016 17:28:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=/fkV0ORKtpwgQLzze3iLaJpMw9pwAF3gNOnQG1+LCUQ=; b=qDYHsH8Ij3pYIg7KaPHhRyySrsmE0JBUn1dwaKs2hkY6DZz9Yfoik6J8so2rIUUf0V eWn1RWYoE2ukU2bVr2XnPINSaOaohDAP44+OwvlChhLn0GculOb7dTxvZ5mvYlwWAdyt L2ME/sZfBo1nepXFKNh9UhoEyqjO/09etsq6T+JVOtqkgiXMSDGFoFymuaPXFus2mH/6 9AnlpZDFA/MhHx831KVO2PZ6fHWJiS7yO88qmeYxl+ex6vwcC/PmUN7BNAqhIlRn/OCv NYk/a/J//Pow+dRumBP2Sh5d0euNX4Q6MIeziN905G61sjMeKwApyt58fNzrTDZXiQu9 0EUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=/fkV0ORKtpwgQLzze3iLaJpMw9pwAF3gNOnQG1+LCUQ=; b=LuTkCcr2LtJRQGZSDubzEotOybgsGsjA5ityLG/9ii/iYDZvVx0JQPtzWJLyc6ZmfN BULzWBQZ3vdshf+HR7JcmfrgXvVhoLfF2aOzfiNT+wnpHvCjxI8LrcTqUS6Mlceir0P+ 3gGCqEhkV0bstFrYHkD9QeHg3Oy5ZEU6Hj5ha9CXTSsW4h7O6R1ATn/pO0IXBvwnXFZg pmAFhDvpwP4MGBt3pUWll0WOoNLXAMer1N4TVqHghH5T9/sfSVITDAipGdE6jEtY9a1P YmwqHzyfLHAVubiCJQgxzaVbRqFa2ID+SjVItV+YXV+d4AOCFdy23gl1Nb1yI5z8zNNU 3oJg== X-Gm-Message-State: AOPr4FVEeYLE63EODVKaFagQGL2eJgp5WrTycbsq1kISk6HxZd7uWPmTNa1RumShXJvyENpYbClbLvu1VaxgGw== MIME-Version: 1.0 X-Received: by 10.37.118.75 with SMTP id r72mr406039ybc.92.1460507303638; Tue, 12 Apr 2016 17:28:23 -0700 (PDT) Received: by 10.129.70.194 with HTTP; Tue, 12 Apr 2016 17:28:23 -0700 (PDT) In-Reply-To: References: Date: Tue, 12 Apr 2016 17:28:23 -0700 Message-ID: From: ALeX Wang To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [4.4 kernel] kni lockup, kernel dump 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, 13 Apr 2016 00:28:24 -0000 I tried compiling both dpdk-2.2 and dpdk-16.04, all have the issue, Thanks, On 12 April 2016 at 17:19, ALeX Wang wrote: > Hi, > > I recently upgraded my debian/jessie to 4.4 kernel, and my application > uses kni to > create test interface, > > However, when doing 'rte_kni_alloc()', i observed the following log in > syslog... > If i go on trying setting interface via ifconfig, the execution locks up... > > [ 888.051427] BUG: unable to handle kernel paging request at > 0000073b010bcb88 > [ 888.051972] IP: [] kni_net_rx_normal+0x3a/0x290 > [rte_kni] > [ 888.052371] PGD 0 > [ 888.052638] Oops: 0000 [#1] SMP > [ 888.053041] Modules linked in: rte_kni(O) xt_conntrack ipt_MASQUERADE > nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 > nf_nat_ipv4 xt_addrtype iptable_filter ip_tables x_tables nf_nat > nf_conntrack br_netfilter bridge stp llc dm_thin_pool dm_persistent_data > dm_bio_prison dm_bufio libcrc32c crc32c_generic loop dm_mod nfsd > auth_rpcgss oid_registry nfs_acl nfs lockd grace fscache sunrpc > crct10dif_pclmul crc32_pclmul jitterentropy_rng sha256_ssse3 sha256_generic > hmac drbg ansi_cprng ppdev parport_pc i2c_piix4 aesni_intel aes_x86_64 > parport acpi_cpufreq tpm_tis tpm lrw gf128mul glue_helper ablk_helper evdev > cryptd 8250_fintek psmouse processor serio_raw video battery button ac > pcspkr autofs4 ext4 crc16 mbcache jbd2 sg sd_mod ata_generic ahci > crc32c_intel libahci ata_piix fjes libata > [ 888.065118] e1000 scsi_mod > [ 888.065476] CPU: 1 PID: 2226 Comm: kni_single Tainted: G O > 4.4.0-0.bpo.1-amd64 #1 Debian 4.4.6-1~bpo8+1 > [ 888.065861] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS > VirtualBox 12/01/2006 > [ 888.066183] task: ffff88011ab9e0c0 ti: ffff8800b2fb8000 task.ti: > ffff8800b2fb8000 > [ 888.066666] RIP: 0010:[] [] > kni_net_rx_normal+0x3a/0x290 [rte_kni] > [ 888.094268] RSP: 0018:ffff8800b2fbbd40 EFLAGS: 00010246 > [ 888.094879] RAX: ffff8800da073000 RBX: ffff8800d88bc2f8 RCX: > 0000000000000000 > [ 888.095392] RDX: 0000073b010bcb80 RSI: 0000000000000282 RDI: > ffff8800da073840 > [ 888.095929] RBP: 00000000000003e8 R08: ffff8800b2fb8000 R09: > 000000cec3fd1e2c > [ 888.096425] R10: 0000000000000002 R11: 0000000000000000 R12: > ffff8800d88bc2c0 > [ 888.096913] R13: ffff8800d88bc2d0 R14: ffff8800da073840 R15: > ffff8800da073840 > [ 888.097382] FS: 0000000000000000(0000) GS:ffff88011fc80000(0000) > knlGS:0000000000000000 > [ 888.098052] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b > [ 888.098490] CR2: 0000073b010bcb88 CR3: 0000000000044000 CR4: > 00000000000406e0 > [ 888.098958] Stack: > [ 888.099294] ffff8800b2fb8000 ffff88011fc95d80 ffff88011ab9e0c0 > 0000000000000000 > [ 888.100428] ffffffff810bc311 0000000000000000 0000000000000002 > 000000cec3fd1e2c > [ 888.101629] ffff8800b2fb8000 ffff88011fc8df80 0000000000000282 > 0000000000000001 > [ 888.103134] Call Trace: > [ 888.103607] [] ? > __raw_callee_save___pv_queued_spin_unlock+0x11/0x20 > [ 888.104553] [] ? try_to_del_timer_sync+0x59/0x80 > [ 888.105290] [] ? del_timer_sync+0x44/0x50 > [ 888.105722] [] ? schedule_timeout+0x169/0x2d0 > [ 888.106159] [] ? > trace_event_raw_event_tick_stop+0x100/0x100 > [ 888.106816] [] ? kni_thread_single+0x4c/0xa0 > [rte_kni] > [ 888.107279] [] ? kni_init_net+0x50/0x50 [rte_kni] > [ 888.107754] [] ? kthread+0xdf/0x100 > [ 888.108177] [] ? kthread_park+0x50/0x50 > [ 888.108600] [] ? ret_from_fork+0x3f/0x70 > [ 888.109026] [] ? kthread_park+0x50/0x50 > [ 888.109448] Code: 54 55 53 48 81 ec 28 01 00 00 48 8b 97 78 01 00 00 65 > 48 8b 04 25 28 00 00 00 48 89 84 24 20 01 00 00 31 c0 48 8b 87 48 01 00 00 > <44> 8b 72 08 48 89 04 24 8b 42 04 8b 0a 41 83 ee 01 83 e8 01 29 > [ 888.145305] RIP [] kni_net_rx_normal+0x3a/0x290 > [rte_kni] > [ 888.145904] RSP > [ 888.146337] CR2: 0000073b010bcb88 > [ 888.146705] ---[ end trace ef3848430517129b ]--- > > -- > Alex Wang, > > -- Alex Wang, Open vSwitch developer