Fixed
Created: Jan 3, 2015
Updated: Dec 3, 2018
Resolved Date: Jan 13, 2015
Found In Version: 6.0
Fix Version: 6.0.0.17
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP - Async
[ 29.350536] fsl-gianfar ethernet.1: DMA-API: device driver failed to check map error[device address=0x0000000006944012] [size=90 bytes] [mapped as single]
[ 29.363081] ------------[ cut here ]------------
[ 29.363089] WARNING: at /bts-rt/bitbake_build/tmp/work/fsl_p10xx-wrs-linux-gnuspe/linux-windriver/3.10-r0/linux/lib/dma-debug.c:937
[ 29.363091] Modules linked in:
[ 29.363103] CPU: 1 PID: 759 Comm: irq/25-eth0_g1_ Not tainted 3.10.55-ltsi-rt55-WR6.0.0.0_preempt-rt #1
[ 29.363110] task: c5f48000 ti: c5e38000 task.ti: c5e38000
[ 29.363115] NIP: c0473e38 LR: c0473e38 CTR: c04c4ef8
[ 29.363120] REGS: c5e39be0 TRAP: 0700 Not tainted (3.10.55-ltsi-rt55-WR6.0.0.0_preempt-rt)
[ 29.363123] MSR: 00029000
[ 29.363124] <
[ 29.363127] CE
[ 29.363129] ,EE
[ 29.363131] ,ME
[ 29.363132] >
[ 29.363136] CR: 22000082 XER: 20000000
[ 29.363139]
GPR00:
[ 29.363141] c0473e38
[ 29.363143] c5e39c90
[ 29.363145] c5f48000
[ 29.363147] 0000008e
[ 29.363149] 00029000
[ 29.363151] 00000005
[ 29.363153] c04c6358
[ 29.363155] c5f48000
[ 29.363158]
GPR08:
[ 29.363160] 00000000
[ 29.363162] 00000800
[ 29.363164] 00000000
[ 29.363166] 00000154
[ 29.363168] 20000082
[ 29.363170] 00000000
[ 29.363172] 0000005a
[ 29.363174] f1060800
[ 29.363176]
GPR16:
[ 29.363178] 06944012
[ 29.363180] 00000001
[ 29.363183] c0abbf58
[ 29.363185] 000000ff
[ 29.363187] c0a56294
[ 29.363189] 00000001
[ 29.363191] 00000000
[ 29.363193] c0abc16c
[ 29.363195]
GPR24:
[ 29.363197] c0b8c340
[ 29.363199] c5e39cd8
[ 29.363201] c0a83714
[ 29.363204] c0b7ebc8
[ 29.363206] c0a80000
[ 29.363208] efa98c00
[ 29.363210] 00000000
[ 29.363212] c0b7ebc0
[ 29.363233] NIP [c0473e38] check_unmap+0x4a4/0x9b4
[ 29.363241] LR [c0473e38] check_unmap+0x4a4/0x9b4
[ 29.363243] Call Trace:
[ 29.363252] [c5e39c90] [c0473e38] check_unmap+0x4a4/0x9b4
[ 29.363254] (unreliable)
[ 29.363265] [c5e39cd0] [c04743c0] debug_dma_unmap_page+0x78/0x8c
[ 29.363282] [c5e39d50] [c055d174] gfar_poll_tx_sq+0x140/0x4bc
[ 29.363294] [c5e39de0] [c068c600] net_rx_action+0x130/0x25c
[ 29.363312] [c5e39e20] [c00530a8] do_current_softirqs+0x1c4/0x320
[ 29.363323] [c5e39e70] [c005326c] local_bh_enable+0x68/0x88
[ 29.363341] [c5e39e80] [c00dd924] irq_forced_thread_fn+0x5c/0xa0
[ 29.363352] [c5e39ea0] [c00ddb70] irq_thread+0x100/0x150
[ 29.363364] [c5e39ee0] [c00750c0] kthread+0xa4/0xa8
[ 29.363379] [c5e39f40] [c0011a9c] ret_from_kernel_thread+0x5c/0x64
[ 29.363382] Instruction dump:
[ 29.363387] 80f90018
[ 29.363389] 3863d3a8
[ 29.363391] 8119001c
[ 29.363393] 552a103a
[ 29.363395] 3d20c081
[ 29.363398] 3929116c
[ 29.363400] 7cc9502e
[ 29.363402] 81390020
[ 29.363405] 81590024
[ 29.363408] 90c10008
[ 29.363410] 4cc63182
[ 29.363412] 4834eb5d
[ 29.363414] <0fe00000>
[ 29.363416] 3c60c096
[ 29.363419] 3863cf80
[ 29.363421] 4cc63182
[ 29.363425] ---[ end trace 0000000000000002 ]---
[ 29.363428] Mapped at:
[ 29.367982] fsl-gianfar ethernet.1: DMA-API: device driver failed to check map error[device address=0x0000000006078040] [size=1536 bytes] [mapped as single]
[ 29.367983] ------------[ cut here ]------------
[ 29.367989] WARNING: at /bts-rt/bitbake_build/tmp/work/fsl_p10xx-wrs-linux-gnuspe/linux-windriver/3.10-r0/linux/lib/dma-debug.c:937
[ 29.367992] Modules linked in:
[ 29.368002] CPU: 0 PID: 757 Comm: irq/30-eth0_g0_ Tainted: G W 3.10.55-ltsi-rt55-WR6.0.0.0_preempt-rt #1
[ 29.368008] task: c5f49e40 ti: c60ac000 task.ti: c60ac000
[ 29.368012] NIP: c0473e38 LR: c0473e38 CTR: 00000000
[ 29.368018] REGS: c60adbe0 TRAP: 0700 Tainted: G W (3.10.55-ltsi-rt55-WR6.0.0.0_preempt-rt)
[ 29.368031] MSR: 00029000 <CE,EE,ME> CR: 22f94f42 XER: 00000000
[ 29.368097]
GPR00: c0473e38 c60adc90 c5f49e40 00000090 00021000 00000000 c0ac6614 00000000
GPR08: 00000000 00000800 00000000 a83aaa7c 24f94f22 00000000 c66b86f8 c66b86f0
GPR16: c66b86e8 c66b86e0 c66b86d8 06078040 c6671a80 c5d246c0 c0820000 c0abc16c
GPR24: c0b8c340 c60adcd8 c0a83714 c0b7d248 c0a80000 efa49a20 00000000 c0b7d240
[ 29.368112] NIP [c0473e38] check_unmap+0x4a4/0x9b4
[ 29.368120] LR [c0473e38] check_unmap+0x4a4/0x9b4
[ 29.368121] Call Trace:
[ 29.368133] [c60adc90] [c0473e38] check_unmap+0x4a4/0x9b4 (unreliable)
[ 29.368144] [c60adcd0] [c04743c0] debug_dma_unmap_page+0x78/0x8c
[ 29.368159] [c60add50] [c0561e44] gfar_clean_rx_ring+0x210/0x4e4
[ 29.368170] [c60addc0] [c0562160] gfar_poll_rx_sq+0x48/0xb8
[ 29.368180] [c60adde0] [c068c600] net_rx_action+0x130/0x25c
[ 29.368195] [c60ade20] [c00530a8] do_current_softirqs+0x1c4/0x320
[ 29.368205] [c60ade70] [c005326c] local_bh_enable+0x68/0x88
[ 29.368219] [c60ade80] [c00dd924] irq_forced_thread_fn+0x5c/0xa0
[ 29.368229] [c60adea0] [c00ddb70] irq_thread+0x100/0x150
[ 29.368240] [c60adee0] [c00750c0] kthread+0xa4/0xa8
[ 29.368253] [c60adf40] [c0011a9c] ret_from_kernel_thread+0x5c/0x64
[ 29.368258] --- Exception: 0 at (null)
LR = (null)
[ 29.368261] Instruction dump:
[ 29.368278] 80f90018 3863d3a8 8119001c 552a103a 3d20c081 3929116c 7cc9502e 81390020
[ 29.368294] 81590024 90c10008 4cc63182 4834eb5d <0fe00000> 3c60c096 3863cf80 4cc63182
[ 29.368297] ---[ end trace 0000000000000003 ]---
[ 29.368300] Mapped at:
root@localhost:~#
1. /wrlinux-6/wrlinux/configure --enable-board=fsl-p10xx --enable-kernel=preempt_rt --enable-rootfs=glibc-std --enable-test=yes --with-layer=/wrlinux/wr-testing/bts-dev --with-template=feature/bts --enable-reconfig=yes --enable-parallel-pkgbuilds=8 --enable-jobs=8 --with-rcpl-version=0
2. make fs