[dpdk-users] DPDK KNI causes kernel panic

Norbert Nyakó norbert.nyako at gmail.com
Thu Dec 15 10:22:29 CET 2016


Hi,

We are experimenting with KNI interface with a self-made RTP traffic
generator and we randomly got a kernel panic which looks like caused
by the rte_kni kernel module.
I managed to get a screenshot but we can't scroll back:

[85999.028891] rte_kni: Device not supported by ethtool
[86886.942934] BUG: unable to handle kernel paging request at 000007eb982e2808
[86886.943167] IP: Uffffffffa055cc04,1 kni_net_tx.0xc4/0xla0 Irte_knil
[86886.943387] PGD 0
[86886.943457] Oops: 0000 11111 SHP
[86886.943574] Modules linked in: rte_kni(OX) igb_uio(OX) uio nfsu3
rpcsec_gss_krb5 nfsu4 autofs4 xt_conntrack ipt_HASQUERADE iptable_nat
nf_conntrack ipu4 nf_d frag_ipu4 nf_nat_ipu4 xt_addrtype
iptable_filter ip_tables x_tables nf_nat nf_conntrack bridge stp Ilc
aufs bnep rfcomm bluetooth binfmt_misc nfsd auth_rpcgss fs_acl nfs
lockd sunrpc fscache gpio_ich ipmi_deuintf dcdbas x86_pkg_temp_thermal
intel_powerclamp coretemp kum_intel joydeu mac_hid kum
crctlOdif_pclmul crc32 .clmul ghash_clmulni intel aesni intel
aes_x86_64 lrw gf128mu1 glue_helper ablk_helper cryptd sb_edac
edac_core acpi_power_meter ipmi_si mei_me 1pc_ich mei shp hp wmi 1p
parport usb_storage hid_generic usbhid hid e1000e tg3 ahci libahci ptp
megaraid_sas pps_core [86886.946007] CPU: 27 PID: 0 Comm: swapper/27
Tainted: G OX 3.13.0-65-generic 11106.testl
[86886.946293] Hardware name: Dell Inc. PowerEdge R520/08DH12, BIOS
2.1.2 01/20/2014
[86886.946541] task: ffff880803e79800 ti: ffff880803e82000 task.ti:
ffff880803e82000
[86886.946789] HIP: 0010:1<ffffffffa055cc04>1 Uffffffffa055cc04>1
kni_net_tx.0xc4/0x1a0 Irte_knil
[86886.947084] HSP: 0018:ffff88100f3a3ba8 EFLAGS: 00010202
[86886.947257] RAX: ffff88080f9c34c0 HBX: ffff8808025bf000 RCX:
00000000000003ff
[86886.947492] RDX: 0000000000000001 HSI: 00007feb982e2800 RDI: ffff880000000000
[86886.947728] RBP: ffff88100f3a3bd8 R08: 00000000000006c0 R09: ffff880efe745800
[86886.947964] R10: 000000000000ffff R11: 0000000000000017 R12: ffff880f00401a00
[86886.948200] R13: 000000000000005a R14: 000007eb982e2800 R15: ffff880f00401a00
[86886.948436] FS: 0000000000000000(0000) GS:ffff88100f3a0000(0000)
kn1GS:0000000000000000
[86886.948703] CS: 0010 DS: 0000 ES: 0000 CRO: 0000000080050033
[86886.948892] CH2: 000007eb982e2808 CH3: 0000000001c0e000 CH4:
00000000001407e0
[86886.949128] Stack:
[86886.949193] ffffffff81d1a4f0 000000000000005a ffff8808025bf000
0000000000004000
[86886.949454] ffff880efe70f09c ffff880f00401a00 ffff88100f3a3c30
ffffffff81629218
[86886.949717] 000000000000001b ffffffffa0560d40 ffff8807565d5800
ffff880f00401a00
[86886.949972] Call Trace:
[86886.950048] <IRQ>
[86886.950116] Uffffffff81629218>1 deu_hard_start_xmit.0x318/0x560
[86886.950327] Uffffffff8164862e>1 sch_direct_xmit.Oxee/Ox1c0
[86886.950511] Uffffffff81629690>1 deu_queue_xmit.0x230/0x500
[86886.950699] Uffffffff81629970>1 deu_queue_xmit.0x10/0x20
[86886.950876] Uffffffff816325b7>1 neigh_connected_output.Oxb7/0x100
[86886.951074] Uffffffff816c37b9>1 ip6_finish_output2.0x159/0x430
[86886.951259] Uffffffff81076100>1 ? mod_timer.Oxe0/0x210
[86886.951425] Uffffffff816c68fd>1 ip6_finish_output.0x7d/Oxe0
[86886.951614] Uffffffff816c699c>1 ip6_output.0x3c/OxbO
[86886.951786] Uffffffff816e6cd0>1 mld_sendpack.0x170/0x2b0
[86886.951964] Uffffffff816e7984>1 mld_ifc_timer_expire.0x194/0x2c0
[86886.952167] Uffffffff816e77f0>1 ? mld_clear_delrec.0x100/0x100
[86886.952366] Uffffffff810744f6>1 call_timer_fn.0x36/0x100
[86886.952546] Uffffffff816e77f0>1 ? mld_clear_delrec.0x100/0x100
[86886.952745] Uffffffff8107548f>1 run_timer_softirq.0xlef/Ox2f0
[86886.952942] Uffffffff8106cccc>1 do_softirq.Oxec/Ox2c0
[86886.953117] Uffffffff8106d215>1 irq_exit.0x105/0x110
[86886.953289] Uffffffff81736f15>1 smp_apic_timer_interrupt.0x45/0x60
[86886.953496] Uffffffff8173589d>1 apic_timer_interrupt.0x6d/Ox80
[86886.953693] <EOI>
[86886.953761] Uffffffff815d5d92>1 ? cpuidle_enter_state.0x52/0xc0
[86886.953970] Uffffffff815d5eb9>1 cpuidle_idle_call.Oxb9/0x1f0
[86886.954165] Uffffffff8101d3ee>1 arch_cpu_idle.Oxe/0x30
[86886.954339] Uffffffff810bf3a5>1 cpu_startup_entry.Oxc5/0x290
[86886.954533] Uffffffff810415ed>1 start_secondary.0x21,0x2d0
[86886.954717] Code: Of 84 ad 00 00 00 89 d6 48 bf 00 00 00 00 00 88
ff ff 83 c2 01 48 83 c6 02 21 ca 48 8b 34 f0 89 50 04 4d 63 6c 24 68
4c 8d 34 3e <49> 8b 46 08 49 03 36 41 Of b7 56 12 48 01 c7 49 89 f7 49
8b b4
[86886.955598] HIP Uffffffffa055cc04>1 kni_net_tx.0xc4/0x1a0 Irte_knil
[86886.955803] HSP <ffff88100f3a3ba8>
[86886.967028] CH2: 000007eb982e2808
[86887.007905] end trace 4d018370de91ec89 I
[86887.020949] Kernel panic - not syncing: Fatal exception in interrupt

What could cause it?

We have tested it on the following configuration:
Dell Poweredge R520
Ubuntu 14.04.1 / 3.19.0-71-generic kernel
82571EB Gigabit Ethernet Controller, igb_uio driver
DPDK 16.11 (but there was a kernel panic in 16.07 too and we think it
was the same problem)

I cannot paste any code but if you have any question about its
architecture then I can answer it. Any idea can help us.

Thank you in advance!

Best regards,
Norbert


More information about the users mailing list