[Ocf-linux-users] ocf-bench generates "Error in OCF processing: 2" when crytosoft driver is built-i
Brought to you by:
david-m
From: 张绪峰 <sea...@12...> - 2011-04-08 08:20:58
|
Hi experts, I met errors "Error in OCF processing: 2" when I run "insmod ocf-bench.ko" when crytosoft driver is made built-in, but if build crytosoft driver as a module, then such errors don't happen. I tried to debug this problem and found the second algorithm(eg. CRYPTO_3DES_CBC) is not supported, so it returns error "crypto_newsession failed 22" when creating newsessions, afterward it would generate such errors "Error in OCF processing: 2" in ocf_cb() function. But what's the difference between make crytosoft driver built-in and not built-in? this is really hard to understand for me. How to reproduce(fedora system): 1. configure ocf, crytodev and crytosoft drivers as built-in, configure ocf-bench as a module. 2. boot the system and run "insmod ocf-bench.ko", then got the error by "cat /var/log/message". I would appreciate if anybody could give any suggestions. Thanks in advance! Thanks, Ted |