Wind River Support Network

HomeDefectsLIN6-9686
Fixed

LIN6-9686 : bcm-xlp do "flash_erase" cause kernel print Call Trace on preempt-rt system on BCM_XLP208 board

Created: Apr 8, 2015    Updated: Dec 3, 2018
Resolved Date: Apr 19, 2015
Found In Version: 6.0
Fix Version: 6.0.0.20
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Kernel

Description

root@localhost:~# dmesg -C
root@localhost:~# dmesg   
root@localhost:~# flash_erase /dev/mtd7 0 0
Erasing 512 Kibyte @ 3ff80000 -- 100 % complete 
root@localhost:~# dmesg
[  195.630000] BUG: spinlock wrong owner on CPU#0, irq/37-18039000/86
[  195.630000]  lock: 0xc0000001194e98a8, .magic: dead4ead, .owner: <none>/-1, .owner_cpu: -1
[  195.630000] CPU: 0 PID: 86 Comm: irq/37-18039000 Tainted: G        W    3.10.62-ltsi-rt55-WR6.0.0.0_preempt-rt #2
[  195.630000] Stack : 0000000000000000 0000000000000065 ffffffffc0d9a620 ffffffffc0da0000
	  0000000000000000 0000000000000000 ffffffffc0da0000 0000000000000000
	  ffffffffc0da0000 0000000000000000 0000000000000065 0000000000000006
	  c00000011bf5fb58 ffffffffc02b7828 0000000000000000 0000000000000000
	  0000000000000000 0000000000000000 ffffffffc11a0000 ffffffffc11a0000
	  ffffffffc0bb5e70 ffffffffc0d93a37 ffffffffc119ca58 c00000011a727f40
	  0000000000000056 0000000000000000 c0000001185a11a8 0000000000000000
	  c00000011bf5fbd8 c00000011bf5fae8 c00000011bf5fc00 ffffffffc067242c
	  c00000011bf5fc38 ffffffffc02b95c0 c00000011a727b98 ffffffffc0bb5e70
	  0000000000000000 ffffffffc02886f8 0000000000000000 0000000000000000
	  ...
[  195.630000] Call Trace:
[  195.630000] [<ffffffffc02886f8>] show_stack+0xd8/0xf8
[  195.630000] [<ffffffffc067242c>] do_raw_spin_unlock+0xcc/0x130
[  195.630000] [<ffffffffc0a2920c>] _raw_spin_unlock_irqrestore+0x44/0xd8
[  195.630000] [<ffffffffc073de04>] xlp_nand_interrupt+0x3c/0x58
[  195.630000] [<ffffffffc03579d4>] irq_forced_thread_fn+0x44/0xd8
[  195.630000] [<ffffffffc0357cf8>] irq_thread+0x148/0x1b8
[  195.630000] [<ffffffffc02e9234>] kthread+0xbc/0xc8
[  195.630000] [<ffffffffc028280c>] ret_from_kernel_thread+0x14/0x1c

root@localhost:~# 

Steps to Reproduce

/net/pek-lpgtest9/buildarea1/wrlinux6async/wrlinux-6/wrlinux/configure --enable-board=bcm-xlp --enable-kernel=preempt-rt --enable-rootfs=glibc-std --with-layer=/WRLINUX_60_async/kts-test,/WRLINUX_60_async/ltp --with-template=feature/kts-basic,feature/kts-extended,feature/kts-rt --enable-jobs=24 --enable-parallel-pkgbuilds=24 --enable-reconfig=yes --with-rcpl-version=0

make

load image to target (22052)

>>dmesg -C
>>dmesg 
>> flash_erase /dev/mtd7 0 0
>> dmesg 

Other Downloads


Live chat
Online