Wind River Support Network

HomeDefectsLIN1018-3028
Fixed

LIN1018-3028 : tipcTC 12 hang on preempt-rt kernel

Created: Nov 26, 2018    Updated: Sep 16, 2019
Resolved Date: Sep 16, 2019
Found In Version: unknown
Fix Version: 10.18.44.11
Severity: Standard
Applicable for: Wind River Linux LTS 18
Component/s: Kernel

Description

wrlinux-10/setup.sh --machines intel-x86-64 --accept-eula=yes --distros wrlinux-ovp --dl-layers && source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build

bitbake wrlinux-image-ovp-kvm
bitbake tipcutils

install below packages
iproute2-tipc-4.18.0-r0.corei7_64.rpm
tipcutils-2.2.0+git0+7ab2211b87-r0.intel_x86_64.rpm
tipcutils-demos-2.2.0+git0+7ab2211b87-r0.intel_x86_64.rpm

Run the following steps.

root@intel-x86-64:~# ifconfig -a -s |awk 'NR > 1 {print $1}' |grep -v -E 'lo|sit0|nic|docker'
eth0
eth1
eth2
eth3
virbr0
root@intel-x86-64:~# killall -9 tipcTS
tipcTS: no process found
root@intel-x86-64:~# tipc bearer disable media eth dev eth0

root@intel-x86-64:~# tipc node set addr 1.1.11
error: Operation not permitted
root@intel-x86-64:~# tipc bearer enable media eth dev eth0

root@intel-x86-64:~# tipc bearer list
eth:eth0
root@intel-x86-64:~# tipc link list
broadcast-link: up
root@intel-x86-64:~# /opt/tipcutils/ptts/tipcTS &

root@intel-x86-64:~# /opt/tipcutils/ptts/tipcTC 1
Test # 1
TIPC connectionless (SOCK_DGRAM) test...STARTED!
TIPC connectionless (SOCK_DGRAM) test...PASSED!

TIPC test suite finished
root@intel-x86-64:~# /opt/tipcutils/ptts/tipcTC 2
Test # 2
TIPC connectionless (SOCK_RDM) test...STARTED!
TIPC connectionless (SOCK_RDM) test...PASSED!

TIPC test suite finished
root@intel-x86-64:~# /opt/tipcutils/ptts/tipcTC 3
Test # 3
TIPC connection (SOCK_STREAM) test...STARTED!
TIPC connection (SOCK_STREAM) test...PASSED!

TIPC test suite finished
root@intel-x86-64:~# /opt/tipcutils/ptts/tipcTC 4
Test # 4
TIPC connection (SOCK_SEQPACKET) test...STARTED!
TIPC connection (SOCK_SEQPACKET) test...PASSED!

TIPC test suite finished
root@intel-x86-64:~# /opt/tipcutils/ptts/tipcTC 5
Test # 5
TIPC connection shutdown (SOCK_STREAM) test...STARTED!
TIPC connection shutdown (SOCK_STREAM) test...PASSED!

TIPC test suite finished
root@intel-x86-64:~# /opt/tipcutils/ptts/tipcTC 6
Test # 6
TIPC connection shutdown (SOCK_SEQPACKET) test...STARTED!
TIPC connection shutdown (SOCK_SEQPACKET) test...PASSED!

TIPC test suite finished
root@intel-x86-64:~# /opt/tipcutils/ptts/tipcTC 7
Test # 7
TIPC message size limits (SOCK_RDM) test...STARTED!
TIPC message size limits (SOCK_RDM) test...PASSED!

TIPC test suite finished
root@intel-x86-64:~# /opt/tipcutils/ptts/tipcTC 8
Test # 8
TIPC TIPC_IMPORTANCE test...STARTED!
TIPC TIPC_IMPORTANCE test...PASSED!

TIPC test suite finished
root@intel-x86-64:~# /opt/tipcutils/ptts/tipcTC 9
Test # 9
TIPC socket options test...STARTED!
TIPC socket options test...PASSED!

TIPC test suite finished
root@intel-x86-64:~# /opt/tipcutils/ptts/tipcTC 10
Test # 10
TIPC Connection Ancillary Data (SOCK_SEQPACKET) test...STARTED!
TIPC Connection Ancillary Data (SOCK_SEQPACKET) test...PASSED!

TIPC test suite finished
root@intel-x86-64:~# /opt/tipcutils/ptts/tipcTC 11
Test # 11
TIPC Connectionless Ancillary Data (SOCK_RDM) test...STARTED!
TIPC Connectionless Ancillary Data (SOCK_RDM) test...PASSED!

TIPC test suite finished
root@intel-x86-64:~# /opt/tipcutils/ptts/tipcTC 12

hang at here.

Console output 
Duplicate 100100b using eth(00:1e:67:ac:44:ec) seen on <eth:eth0>
Duplicate 100100b using eth(00:1e:67:ac:44:ec) seen on <eth:eth0>
Duplicate 100100b using eth(00:1e:67:ac:44:ec) seen on <eth:eth0>
Duplicate 100100b using eth(00:1e:67:ac:44:ec) seen on <eth:eth0>
Duplicate 100100b using eth(00:1e:67:ac:44:ec) seen on <eth:eth0>
Duplicate 100100b using eth(00:1e:67:ac:44:ec) seen on <eth:eth0>
...

Steps to Reproduce


wrlinux-10/setup.sh --machines intel-x86-64 --accept-eula=yes --distros wrlinux-ovp --dl-layers && source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build

bitbake wrlinux-image-ovp-kvm
bitbake tipcutils

install below packages
iproute2-tipc-4.18.0-r0.corei7_64.rpm
tipcutils-2.2.0+git0+7ab2211b87-r0.intel_x86_64.rpm
tipcutils-demos-2.2.0+git0+7ab2211b87-r0.intel_x86_64.rpm

Run case follow descriptions' step.
Live chat
Online