Fixed
Created: Sep 16, 2014
Updated: Dec 3, 2018
Resolved Date: Sep 21, 2014
Found In Version: 6.0.0.11
Fix Version: 6.0.0.13
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP - Async
Key logs:
[ 3.674174] /buildarea2/xdong/rt_std_1/bitbake_build/tmp/work/xilinx_zynq-wrs-linux-gnueabi/linux-windriver/3.10-r0/linux/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 3.737323] usb 1-1: new high-speed USB device number 2 using zynq-ehci
[ 3.863620] ------------[ cut here ]------------
[ 3.866882] WARNING: at /buildarea2/xdong/rt_std_1/bitbake_build/tmp/work/xilinx_zynq-wrs-linux-gnueabi/linux-windriver/3.10-r0/linux/kernel/irq/handle.c:148 handle_irq_event_percpu+0x1cc/0x450()
[ 3.882937] irq 214 handler irq_default_primary_handler+0x0/0x1c enabled interrupts
[ 3.889259] Modules linked in:
[ 3.891010] CPU: 1 PID: 29 Comm: irq/91-zynqpcie Not tainted 3.10.38-ltsi-rt34-WR6.0.0.0_preempt-rt #3
[ 3.894107] hub 1-1:1.0: USB hub found
[ 3.894826] hub 1-1:1.0: 4 ports detected
[ 3.904134] [<80017140>] (unwind_backtrace+0x0/0xec) from [<8001264c>] (show_stack+0x20/0x24)
[ 3.911341] [<8001264c>] (show_stack+0x20/0x24) from [<806c6ac4>] (dump_stack+0x20/0x28)
[ 3.918105] [<806c6ac4>] (dump_stack+0x20/0x28) from [<800291cc>] (warn_slowpath_common+0x5c/0x7c)
[ 3.925736] [<800291cc>] (warn_slowpath_common+0x5c/0x7c) from [<8002922c>] (warn_slowpath_fmt+0x40/0x48)
[ 3.933975] [<8002922c>] (warn_slowpath_fmt+0x40/0x48) from [<800b2058>] (handle_irq_event_percpu+0x1cc/0x450)
[ 3.942657] [<800b2058>] (handle_irq_event_percpu+0x1cc/0x450) from [<800b2328>] (handle_irq_event+0x4c/0x6c)
[ 3.951246] [<800b2328>] (handle_irq_event+0x4c/0x6c) from [<800b4e98>] (handle_simple_irq+0xac/0xbc)
[ 3.959154] [<800b4e98>] (handle_simple_irq+0xac/0xbc) from [<800b1638>] (generic_handle_irq+0x30/0x40)
[ 3.967227] [<800b1638>] (generic_handle_irq+0x30/0x40) from [<80020830>] (xaxi_pcie_intr_handler+0x21c/0x32c)
[ 3.975909] [<80020830>] (xaxi_pcie_intr_handler+0x21c/0x32c) from [<800b2ed0>] (irq_forced_thread_fn+0x30/0x60)
[ 3.984756] [<800b2ed0>] (irq_forced_thread_fn+0x30/0x60) from [<800b3164>] (irq_thread+0xec/0x180)
[ 3.992479] [<800b3164>] (irq_thread+0xec/0x180) from [<800551dc>] (kthread+0xb4/0xbc)
[ 3.999078] [<800551dc>] (kthread+0xb4/0xbc) from [<8000dee8>] (ret_from_fork+0x14/0x20)
[ 4.005842] ---[ end trace 0000000000000002 ]---
[ 4.011556] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
root@localhost:~# zcat /proc/config.gz |grep -i "e100"
CONFIG_E100=y
CONFIG_E1000=y
CONFIG_E1000E=y
root@localhost:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:15:17:8e:d2:30
inet addr:128.224.162.135 Bcast:128.224.163.255 Mask:255.255.254.0
inet6 addr: fe80::215:17ff:fe8e:d230/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:743 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:111948 (109.3 KiB) TX bytes:6148 (6.0 KiB)
Interrupt:91 Memory:60000000-60020000
eth1 Link encap:Ethernet HWaddr 00:0a:35:00:01:22
inet addr:128.224.162.180 Bcast:128.224.163.255 Mask:255.255.254.0
inet6 addr: fe80::20a:35ff:fe00:122/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21374 errors:4 dropped:3 overruns:0 frame:1
TX packets:11898 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:20728143 (19.7 MiB) TX bytes:2574905 (2.4 MiB)
Interrupt:54 Base address:0xb000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 B) TX bytes:560 (560.0 B)
root@localhost:~#
1). Build project
/wrlinux-x/wrlinux/configure --enable-board=xilinx-zynq --enable-kernel=preempt-rt --enable-rootfs=glibc-std --enable-test=yes --with-layer=/wr-testing/kts-test,/wr-testing/bts,/wr-testing/ltp,/wr-testing/bts-new --with-template=feature/kts-basic,feature/kts-extended,feature/kts-rt,feature/bts --enable-parallel-pkgbuilds=16 --enable-jobs=16 --enable-reconfig && make fs
2). Boot target
setenv genmask 255.255.254.0; setenv gateway 128.224.162.1; setenv ipaddr 128.224.163.143; setenv serverip 128.224.162.136; setenv rootpath /home/ovp/ihdw/TFTPNFS/RTPCIe/rootfs
setenv bootargs console=ttyPS0,115200 earlyprintk root=/dev/nfs rw nfsroot=$serverip:$rootpath ip=dhcp
tftpboot 0x3000000 RTPCIe/uImage; tftpboot 0x2a00000 RTPCIe/dtbme; bootm 0x3000000 - 0x2a00000