Wind River Support Network

HomeDefectsOVP-401
Fixed

OVP-401 : rte_kni kernel module is not cleaning up after a aborted initialization phase.

Created: Sep 10, 2013    Updated: Mar 11, 2016
Resolved Date: Dec 16, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.11
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Kernel

Description

Kernel crash as of:

KNI: ######## DPDK kni module loading ########
BUG: unable to handle kernel paging request at ffffffffa00bbe80
IP: [<ffffffff81381620>] misc_register+0x50/0x130
PGD 186c067 PUD 1870063 PMD 7b7026067 PTE 0
Oops: 0000 [#1] PREEMPT SMP 
CPU 8 
Modules linked in: iTCO_wdt llc stp uio xt_tcpudp iptable_mangle container bridge xt_CHECKSUM ipt_REJECT nf_conntrack xt_conntrack exportfs evdev nf_defrag_ipv4 iptable_nat igb_uio(O) iptable_filter igbvf nf_conntrack_ipv4 nf_nat ipt_MASQUERADE hwmon x_tables coretemp thermal_sys processor kvm rte_kni(O+) aes_x86_64 ebtable_nat cryptd aesni_intel kvm_intel minix nfsd openvswitch ip_tables ebtables ip6_tables ip6table_filter

Pid: 2761, comm: modprobe Tainted: G           O 3.4.34-ovp-ga-rt40-WR5.0.1.0_preempt-rt #1 EMERSON ATCA-7370-C01/ACPI5-A
RIP: 0010:[<ffffffff81381620>]  [<ffffffff81381620>] misc_register+0x50/0x130
RSP: 0018:ffff880404d29ef8  EFLAGS: 00010206
RAX: ffffffffa00bbe98 RBX: ffffffffa01d4e80 RCX: ffffffffa00bbe80
RDX: 00000000000000ff RSI: ffff88042fc8aeb8 RDI: ffffffff818a1b80
RBP: ffffffffa01d4e98 R08: 000000000001ffff R09: ffffffff819940c0
R10: 0000000000000000 R11: 0a23232323232323 R12: ffffffffa00d6000
R13: 000000000060e0c0 R14: 0000000000000000 R15: 0000000000405c30
FS:  00007ffff7ff9700(0000) GS:ffff88042fc80000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: ffffffffa00bbe80 CR3: 000000040c93b000 CR4: 00000000000407e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process modprobe (pid: 2761, threadinfo ffff880404d28000, task ffff88040d5f60c0)
Stack:
 0000000000000000 ffffffffa01d5160 0000000000000000 ffffffffa00d601b
 ffffffffa01d5160 ffffffff810001c9 ffffffffa01d5160 ffffffffa01d5160
 ffffffffffffffff 0000000000054630 000000000060e0c0 ffffffff81082c3a
Call Trace:
 [<ffffffffa00d601b>] ? kni_init+0x1b/0xd1 [rte_kni]
 [<ffffffff810001c9>] ? do_one_initcall+0x39/0x170
 [<ffffffff81082c3a>] ? sys_init_module+0x8a/0x200
 [<ffffffff8167fea8>] ? tracesys+0xe1/0xe6
Code: 05 52 00 8b 13 48 8d 48 e8 48 3d b0 1b 8a 81 75 1a eb 38 0f 1f 84 00 00 00 00 00 48 8b 41 18 48 8d 48 e8 48 3d b0 1b 8a 81 74 20 <39> 50 e8 75 eb 48 c7 c7 80 1b 8a 81 bb f0 ff ff ff e8 5a d8 2f 
RIP  [<ffffffff81381620>] misc_register+0x50/0x130
 RSP <ffff880404d29ef8>
CR2: ffffffffa00bbe80
---[ end trace 0000000000000002 ]---
root@localhost:~#

Steps to Reproduce

1. WRL5 + OVP platform build
2. In target host, modprobe rte_kni where PCI_VENDOR_ID_IVSHMEM,
PCI_DEVICE_ID_IVSHMEM device is missing. First attempt goes "well" (the initroutine exist with nodev status which should be possible) but next time one tries to modprobe there is a crash.

Other Downloads


Live chat
Online