[Ocf-linux-users] Using talitos with linux kernel 2.6.33
Brought to you by:
david-m
From: sedat a. <sed...@gm...> - 2010-05-29 14:39:19
|
Hi list; I am new in this list. I have a problem about Freescale Security Engine Talitos on MPC8572DS olatform. I am using Linux kernel 2.6.33 patched with ocf-linux -26-20100325.patch After successfuly building the kernel and the ocf,cryptodev and talitos modules I did the below: modprobe ocf modprobe cryptodev modprobe talitos every step is Ok. Then with cryptotest application cryptotest -d talitos -a aes :As a note I am using the talitos driver under crypto/ocf/talitos instead of drivers/crypto/talitos Then I got the following error Unable to handle kernel paging request for instruction fetch Faulting instruction address: 0x61363334 Oops: Kernel access of bad area, sig: 11 [#70] MPC8572 DS Modules linked in: talitos cryptodev(P) ocf(P) [last unloaded: cryptosoft] NIP: 61363334 LR: f2449994 CTR: 61363335 REGS: ef2c3ab0 TRAP: 0400 Tainted: P D (2.6.33.3) MSR: 00029000 <EE,ME,CE> CR: 22088428 XER: 20000000 TASK = ef872ee0[7200] 'cryptotest' THREAD: ef2c2000 GPR00: c0c04000 ef2c3b60 ef872ee0 ef14f6c0 c11f8160 00000a10 00000010 00000001 GPR08: 00000000 c0400000 00000000 61363335 20088422 1001da1c 00000005 00000002 GPR16: 00000001 00000000 00000018 ef292b40 f2450000 00000000 00000004 ef27cf80 GPR24: f2450000 efb70954 ef14f6c0 ef14f6c0 00000003 efb70978 ef27cdc0 ef245cd8 NIP [61363334] 0x61363334 LR [f2449994] talitos_process+0x3ec/0xec0 [talitos] Call Trace: [ef2c3b60] [f244992c] talitos_process+0x384/0xec0 [talitos] (unreliable) [ef2c3bc0] [f2396d28] crypto_invoke+0x98/0x214 [ocf] [ef2c3bf0] [f2397120] crypto_dispatch+0x27c/0x3a4 [ocf] [ef2c3c30] [f24164ac] cryptodev_op+0x4ac/0x94c [cryptodev] [ef2c3ca0] [f2417468] cryptodev_ioctl+0x6d8/0x1a84 [cryptodev] [ef2c3e90] [c00ba6dc] vfs_ioctl+0x88/0x9c [ef2c3ea0] [c00bae78] do_vfs_ioctl+0xc4/0x760 [ef2c3f10] [c00bb554] sys_ioctl+0x40/0x74 [ef2c3f40] [c00102e8] ret_from_syscall+0x0/0x3c Instruction dump: XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX ---[ end trace d969f1c27b62fd31 ]--- Segmentation fault I couldnt solve the problem I found that the error occurs at line dma_map_single() in talitos_process function. Any help will be appreciated. |