Wind River Support Network

HomeDefectsLIN5-20070
Fixed

LIN5-20070 : cav-octeon2 cn66xx sgmii ethernet interfance up failed with 'cvmx_helper_board_get_mii_address: Unknown board type 42'

Created: Feb 5, 2015    Updated: Dec 19, 2017
Resolved Date: Feb 11, 2015
Found In Version: 5.0.1
Fix Version: 5.0.1.24
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: BSP - Async

Description

cav-octeon2 cn66xx board:
sgmii ethernet interfance up failed with 'cvmx_helper_board_get_mii_address: Unknown board type 42'

root@66XX:~# kmemleak: 12096 new suspected memory leaks (see /sys/kernel/debug/kmemleak)
cvmx_helper_board_get_mii_address: Unknown board type 42

root@66XX:~# ifconfig eth0 up
SIOCSIFFLAGS: No such device
root@66XX:~# 
root@66XX:~# ethtool -i eth0
driver: octeon-ethernet
version: 2.0
firmware-version: 
bus-info: Builtin
root@66XX:~# ethtool eth0
Settings for eth0:cvmx_helper_board_get_mii_address: Unknown board type 42

	Supported ports: [ ]
	Supported link modes:   
	Supports auto-negotiation: No
	Advertised link modes:  Not reported
	Advertised pause frame use: No
	Advertised auto-negotiation: No
	Speed: Unknown!
	Duplex: Half
	Port: Twisted Pair
	PHYAD: 0
	Transceiver: internal
	Auto-negotiation: off
	MDI-X: Unknown
	Link detected: no
root@66XX:~# 
#################################################################################################################################### 
                                                             Testing Env                                                            
#################################################################################################################################### 

Project Build Path:
------------------
pek-lpgtest99.wrs.com:/buildarea2/xxxx/octeon2/std_bts_1423104546

To Get The Testing Layer:
------------------------
# git clone git://git.wrs.com/git/projects/wassp-repos/testcases/wrlinux
# cd wrlinux;git checkout WRLINUX_7_0_HEAD

Project Configure Line:
----------------------
# Generated by wrlinux configure at Thu Feb  5 10:50:54 CST 2015
/lpg-build/cdc/fast_prod/wrlinux50123/dvd_install/lx06_12sp/wrlinux-5/wrlinux/configure --enable-rootfs=glibc-std --enable-board=cav-octeon2 --enable-kernel=standard --with-layer=/lpg-build/cdc/xxxx/wrlinux/wr-testing/bts-dev --with-template=feature/bts --enable-jobs=16 --enable-parallel-pkgbuilds=16 --enable-reconfig --with-rcpl-version=0023

Kernel Boot Parameter:
---------------------
root@66XX:/opt/wr-test# cat /proc/cmdline
 bootoctlinux 20000000 numcores=10 root=/dev/nfs rw nfsroot=128.224.165.20:/export/pxeboot/vlm-boards/20596/rootfs ip=128.224.178.197::128.224.178.1:255.255.255.0:66XX:mgmt0:off console=ttyS0,115200

Kernel source top 10 commits:
----------------------------
Wenlin Kang 5362604 fs/inode: fix yaffs link time error when it is configured as module Wed Jan 28 21:11:19 2015 -0800
Andy Lutomirski fb07096 x86_64, traps: Stop using IST for #SS Wed Jan 28 21:02:34 2015 -0800
 2015 -0800
Wenlin Kang 419ec49 net: fec: fixed ethernet packet loss Mon Jan 12 20:49:17 2015 -0800
Wenlin Kang 283dcce fs/yaffs2: fix missing checkpoint on yaffs Mon Jan 12 20:41:09 2015 -0800
Nadav Amit 32c11ff KVM: x86: PREFETCH and HINT_NOP should have SrcMem flag Mon Jan 12 20:35:24 2015 -0800
Paolo Bonzini 88cf37d KVM: Emulate multibyte NOP Mon Jan 12 20:35:12 2015 -0800
Nadav Amit 792aa07 KVM: x86: Don't report guest userspace emulation error to userspace Mon Jan 12 20:30:52 2015 -0800
Nadav Amit ccbe341 KVM: x86: Handle errors when RIP is set during far jumps Tue Dec 30 00:43:35 2014 -0800
Paolo Bonzini 19930fc KVM: x86: use new CS.RPL as CPL during task switch Tue Dec 30 00:42:36 2014 -0800

Kernel config enabled by the testing layer:
------------------------------------------
CONFIG_PROC_DEVICETREE=y
CONFIG_PERF_EVENTS=y
CONFIG_DEBUG_KMEMLEAK=y
CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=1000
CONFIG_MTD_TESTS=m
CONFIG_DEBUG_KMEMLEAK=y
CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=5000

Steps to Reproduce

1) configure --enable-rootfs=glibc-std --enable-board=cav-octeon2 --enable-kernel=standard --with-layer=/wrlinux/wr-testing/bts-dev --with-template=feature/bts --enable-jobs=16 --enable-parallel-pkgbuilds=16 --enable-reconfig 
2) make all
3) deploy images and boot target
4) follow descriptions' steps run commands.

Check the logs.

Other Downloads


Live chat
Online