Wind River Support Network

HomeDefectsLIN5-18802
Fixed

LIN5-18802 : [wrLinux501 Async BSP altera-socfpga] There is "kernel BUG" warning when running ETHERNET test

Created: May 22, 2014    Updated: Dec 19, 2017
Resolved Date: May 25, 2014
Found In Version: 5.0
Fix Version: 5.0.1.15
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: BSP - Async

Description

On wrLinux501 Async BSP altera-socfpga, there is "kernel BUG" warning when running ETHERNET test as follows:


root@localhost:/opt/wr-test# ./main_test.sh -s ETHERNET

...

        Start bts Case ETHERNET at Fri May 23 06:23:42 UTC 2014 with duration 600 s
device eth0 entered promiscuous mode
device eth0 left promiscuous mode
BUG: sleeping function called from invalid context at /altera-socfpga-cgl/bitbake_build/tmp/work/altera_socfpga-wrs-linux-gnueabi/linux-windriver-3.8
in_atomic(): 1, irqs_disabled(): 0, pid: 8928, name: ethtool
INFO: lockdep is turned off.
[<80018120>] (unwind_backtrace+0x0/0x104) from [<8069f500>] (dump_stack+0x20/0x24)
[<8069f500>] (dump_stack+0x20/0x24) from [<8005b6d0>] (__might_sleep+0x110/0x134)
[<8005b6d0>] (__might_sleep+0x110/0x134) from [<806aa794>] (mutex_lock_nested+0x38/0x394)
[<806aa794>] (mutex_lock_nested+0x38/0x394) from [<804ac490>] (phy_start_aneg+0x28/0x1d0)
[<804ac490>] (phy_start_aneg+0x28/0x1d0) from [<804ac6d8>] (phy_ethtool_sset+0xa0/0xcc)
[<804ac6d8>] (phy_ethtool_sset+0xa0/0xcc) from [<804b21d0>] (stmmac_ethtool_setsettings+0x38/0x4c)
[<804b21d0>] (stmmac_ethtool_setsettings+0x38/0x4c) from [<805930b4>] (dev_ethtool+0x4dc/0x1ed8)
[<805930b4>] (dev_ethtool+0x4dc/0x1ed8) from [<8059080c>] (dev_ioctl+0x3a0/0x95c)
[<8059080c>] (dev_ioctl+0x3a0/0x95c) from [<80573660>] (sock_ioctl+0xa8/0x380)
[<80573660>] (sock_ioctl+0xa8/0x380) from [<8015dc84>] (do_vfs_ioctl+0x94/0x5e8)
[<8015dc84>] (do_vfs_ioctl+0x94/0x5e8) from [<8015e270>] (sys_ioctl+0x98/0x124)
[<8015e270>] (sys_ioctl+0x98/0x124) from [<8000eb24>] (__sys_trace_return+0x0/0x1c)
PHY: stmmac-1:04 - Link is Down
PHY: stmmac-1:04 - Link is Up - 100/Full

Steps to Reproduce

1. configure and build project

--enable-board=altera-socfpga --enable-kernel=cgl --enable-rootfs=glibc-cgl --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-test --with-layer=<path to wr-testing layer on WRLINUX_Penguin_async branch>/kts,<path to wr-testing layer on WRLINUX_Penguin_async branch>/bts,<path to wr-testing layer on WRLINUX_Penguin_async branch>/ltp

2. boot the target and run perf test

root@localhost:/opt/wr-test# ./main_test.sh -s ETHERNET

Other Downloads


Live chat
Online