Wind River Support Network

HomeDefectsLIN6-9399
Fixed

LIN6-9399 : fsl-p50xx boot have kernel call trace when enable crypto kernel test module.

Created: Feb 3, 2015    Updated: Dec 3, 2018
Resolved Date: Feb 26, 2015
Found In Version: 6.0
Fix Version: 6.0.0.18
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP - Async

Description

[    2.820376] platform caam_qi.0: Linux CAAM Queue I/F driver initialised
[    2.825747] caam ffe300000.crypto: device ID = 0x0a12010000000000 (Era 3)
[    2.831235] caam ffe300000.crypto: job rings = 4, qi = 1
[    2.836284] alg: No test for authenc(hmac(md5),ecb(cipher_null)) (authenc-hmac-md5-ecb-cipher_null-caam)
[    2.844533] alg: No test for authenc(hmac(sha1),ecb(cipher_null)) (authenc-hmac-sha1-ecb-cipher_null-caam)
[    2.852949] alg: No test for authenc(hmac(sha224),ecb(cipher_null)) (authenc-hmac-sha224-ecb-cipher_null-caam)
[    2.861704] alg: No test for authenc(hmac(sha256),ecb(cipher_null)) (authenc-hmac-sha256-ecb-cipher_null-caam)
[    2.870464] alg: No test for authenc(hmac(sha384),ecb(cipher_null)) (authenc-hmac-sha384-ecb-cipher_null-caam)
[    2.879232] alg: No test for authenc(hmac(sha512),ecb(cipher_null)) (authenc-hmac-sha512-ecb-cipher_null-caam)
[    2.887992] alg: No test for authenc(hmac(md5),cbc(aes)) (authenc-hmac-md5-cbc-aes-caam)
[    2.894919] caam_jr ffe301000.jr: DMA-API: device driver maps memory from kernel text or rodata [addr=c000000000be9170] [len=20]
[    2.905316] ------------[ cut here ]------------
[    2.908620] WARNING: at /fsl-p50xx/bts-cgl/bitbake_build/tmp/work/fsl_p50xx-wrs-linux/linux-windriver/3.10-r0/linux/lib/dma-debug.c:967
[    2.920950] Modules linked in:
[    2.922696] CPU: 1 PID: 119 Comm: cryptomgr_test Not tainted 3.10.62-ltsi-WR6.0.0.0_cgl #3
[    2.929644] task: c0000000f23a4600 ti: c0000000f23ac000 task.ti: c0000000f23ac000
[    2.935810] NIP: c0000000005aa124 LR: c0000000005aa120 CTR: c000000000610be0
[    2.941543] REGS: c0000000f23af220 TRAP: 0700   Not tainted  (3.10.62-ltsi-WR6.0.0.0_cgl)
[    2.948403] MSR: 0000000080029000 <CE,EE,ME>  CR: 24042084  XER: 00000000
[    2.953892] SOFTE: 1
[    2.954764] 
GPR00: c0000000005aa120 c0000000f23af4a0 c0000000010741c8 0000000000000074 
GPR04: 0000000024042084 0000000000000000 c00000000101b6d8 0000000000000204 
GPR08: 0000000000000060 0000000000000001 00000001e9cc8c71 c0000000010a0368 
GPR12: 0000000000000204 c00000000ffff780 c000000000f18d18 c000000000f18d68 
GPR16: 00000000000001e0 0000000000000100 c000000000f18d18 c000000000f18f48 
GPR20: c0000000f23af998 0000000004410010 c0000000f3fa239c 000000000000535f 
GPR24: 0000000000000001 0000000000000001 c000000000be9170 0000000000000014 
GPR28: 0000000000000000 c0000000f21b7810 0000000000000014 c000000000be9170 
[    3.008529] NIP [c0000000005aa124] .check_for_illegal_area+0x134/0x1a0
[    3.013742] LR [c0000000005aa120] .check_for_illegal_area+0x130/0x1a0
[    3.018867] Call Trace:
[    3.020000] [c0000000f23af4a0] [c0000000005aa120] .check_for_illegal_area+0x130/0x1a0 (unreliable)
[    3.027650] [c0000000f23af530] [c0000000005ab398] .debug_dma_map_page+0x178/0x1d0
[    3.033824] [c0000000f23af5f0] [c000000000973424] .gen_split_key+0x124/0x540
[    3.039562] [c0000000f23af6f0] [c00000000097b94c] .aead_setkey+0xcc/0x340
[    3.045040] [c0000000f23af7a0] [c00000000053cbac] .setkey+0x6c/0x160
[    3.050082] [c0000000f23af840] [c0000000005482a4] .__test_aead+0x944/0xf20
[    3.055644] [c0000000f23afaa0] [c000000000549a4c] .test_aead+0x4c/0xc0
[    3.060860] [c0000000f23afb30] [c000000000549b30] .alg_test_aead+0x70/0x100
[    3.066508] [c0000000f23afbc0] [c000000000548a48] .alg_test+0xa8/0x2c0
[    3.071724] [c0000000f23afcb0] [c000000000545464] .cryptomgr_test+0x64/0x80
[    3.077375] [c0000000f23afd30] [c00000000009b150] .kthread+0xf0/0x100
[    3.082505] [c0000000f23afe30] [c000000000000908] .ret_from_kernel_thread+0x5c/0xd4
[    3.088846] Instruction dump:
[    3.090501] 4807e43d 60000000 e8bd0050 2fa50000 7c641b78 419e007c 3c62ffcd 7fe6fb78 
[    3.096951] 3863a258 7fc7f378 485fbed1 60000000 <0fe00000> 60000000 60000000 3d020001 
[    3.103584] ---[ end trace 19bf804f638ad281 ]---
[    3.107925] alg: No test for authenc(hmac(sha224),cbc(aes)) (authenc-hmac-sha224-cbc-aes-caam)
[    3.116463] alg: No test for authenc(hmac(sha384),cbc(aes)) (authenc-hmac-sha384-cbc-aes-caam)
[    3.125393] alg: No test for authenc(hmac(md5),cbc(des3_ede)) (authenc-hmac-md5-cbc-des3_ede-caam)
[    3.133133] alg: No test for authenc(hmac(sha1),cbc(des3_ede)) (authenc-hmac-sha1-cbc-des3_ede-caam)
[    3.141025] alg: No test for authenc(hmac(sha224),cbc(des3_ede)) (authenc-hmac-sha224-cbc-des3_ede-caam)
[    3.149304] alg: No test for authenc(hmac(sha256),cbc(des3_ede)) (authenc-hmac-sha256-cbc-des3_ede-caam)
[    3.157544] alg: No test for authenc(hmac(sha384),cbc(des3_ede)) (authenc-hmac-sha384-cbc-des3_ede-caam)
[    3.165800] alg: No test for authenc(hmac(sha512),cbc(des3_ede)) (authenc-hmac-sha512-cbc-des3_ede-caam)
[    3.174041] alg: No test for authenc(hmac(md5),cbc(des)) (authenc-hmac-md5-cbc-des-caam)
[    3.180911] alg: No test for authenc(hmac(sha1),cbc(des)) (authenc-hmac-sha1-cbc-des-caam)
[    3.187935] alg: No test for authenc(hmac(sha224),cbc(des)) (authenc-hmac-sha224-cbc-des-caam)
[    3.195323] alg: No test for authenc(hmac(sha256),cbc(des)) (authenc-hmac-sha256-cbc-des-caam)
[    3.202695] alg: No test for authenc(hmac(sha384),cbc(des)) (authenc-hmac-sha384-cbc-des-caam)
[    3.210084] alg: No test for authenc(hmac(sha512),cbc(des)) (authenc-hmac-sha512-cbc-des-caam)
[    3.221010] caam algorithms registered in /proc/crypto
[    3.242181] caam_jr ffe301000.jr: registering rng-caam
[    3.246577] alg: No test for authenc(hmac(md5),cbc(aes)) (authenc-hmac-md5-cbc-aes-caam-qi)
[    3.565407] alg: No test for authenc(hmac(sha224),cbc(aes)) (authenc-hmac-sha224-cbc-aes-caam-qi)
[    3.885405] alg: No test for authenc(hmac(sha384),cbc(aes)) (authenc-hmac-sha384-cbc-aes-caam-qi)
[    4.205405] alg: No test for authenc(hmac(md5),cbc(des3_ede)) (authenc-hmac-md5-cbc-des3_ede-caam-qi)
[    4.213388] alg: No test for authenc(hmac(sha1),cbc(des3_ede)) (authenc-hmac-sha1-cbc-des3_ede-caam-qi)
[    4.221539] alg: No test for authenc(hmac(sha224),cbc(des3_ede)) (authenc-hmac-sha224-cbc-des3_ede-caam-qi)
[    4.230038] alg: No test for authenc(hmac(sha256),cbc(des3_ede)) (authenc-hmac-sha256-cbc-des3_ede-caam-qi)
[    4.238553] alg: No test for authenc(hmac(sha384),cbc(des3_ede)) (authenc-hmac-sha384-cbc-des3_ede-caam-qi)
[    4.247051] alg: No test for authenc(hmac(sha512),cbc(des3_ede)) (authenc-hmac-sha512-cbc-des3_ede-caam-qi)
[    4.255551] alg: No test for authenc(hmac(md5),cbc(des)) (authenc-hmac-md5-cbc-des-caam-qi)
[    4.262688] alg: No test for authenc(hmac(sha1),cbc(des)) (authenc-hmac-sha1-cbc-des-caam-qi)
[    4.269970] alg: No test for authenc(hmac(sha224),cbc(des)) (authenc-hmac-sha224-cbc-des-caam-qi)
[    4.277630] alg: No test for authenc(hmac(sha256),cbc(des)) (authenc-hmac-sha256-cbc-des-caam-qi)
[    4.285261] alg: No test for authenc(hmac(sha384),cbc(des)) (authenc-hmac-sha384-cbc-des-caam-qi)
[    4.292917] alg: No test for authenc(hmac(sha512),cbc(des)) (authenc-hmac-sha512-cbc-des-caam-qi)
[    4.537352] platform caam_qi.0: fsl,sec-v4.2 algorithms registered in /proc/crypto
[    4.543789] alg: No test for pkc(rsa) (pkc-rsa-caam)
[    4.547511] alg: No test for pkc(dsa) (pkc-dsa-caam)
[    4.551230] alg: No test for pkc(dh) (pkc-dh-caam)
[    4.554733] caam ffe300000.crypto: fsl,sec-v4.2 algorithms registered in /proc/crypto

Steps to Reproduce

/wrlinux-6/wrlinux/configure --enable-board=fsl-p50xx --enable-kernel=cgl --enable-rootfs=glibc-cgl --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; make fs

Other Downloads


Live chat
Online