Date: Sat, 12 Jul 2008 20:51:08 00200 (CEST) From: tomrapier <tomrapier@mailvault.com> To: freebsd-hackers@freebsd.org Cc: patfbsd@davenulle.org Subject: Re: AMD Geode LX crypto accelerator (glxsb) - invalid engine "cryptodev" Message-ID: <20080712185109.42684B64134@gateway.mailvault.com>
next in thread | raw e-mail | index | archive | help
This is a MIME encoded message. --=_c8ec552a44a8dc0c1002dc5f59af6fde Content-Type: text/plain Content-Transfer-Encoding: 7bit Hello, I'm having trouble with the OpenSSL benchmark. It isn't able to load cryptodev. Output attached. Any pointers? Thanks. - Tom --=_c8ec552a44a8dc0c1002dc5f59af6fde Content-Type: text/plain; name = "cryptodev.txt" Content-Transfer-Encoding: 7bit $ openssl speed -engine cryptodev -elapsed -evp aes-128-cbc aes-128-cbc invalid engine "cryptodev" 11286:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/dso/dso_dlfcn.c:162:filename(/usr/lib/engines/libcryptodev.so): Cannot open "/usr/lib/engines/libcryptodev.so" 11286:error:25070067:DSO support routines:DSO_load:could not load the shared library:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/dso/dso_lib.c:244: 11286:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_dyn.c:450: 11286:error:2606A074:engine routines:ENGINE_by_id:no such engine:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_list.c:415:id=cryptodev 11286:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/dso/dso_dlfcn.c:162:filename(libcryptodev.so): Shared object "libcryptodev.so" not found, required by "openssl" 11286:error:25070067:DSO support routines:DSO_load:could not load the shared library:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/dso/dso_lib.c:244: 11286:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_dyn.c:450: You have chosen to measure elapsed time instead of user CPU time. To get the most accurate results, try to run this program when this computer is idle. Doing aes-128 cbc for 3s on 16 size blocks: 981606 aes-128 cbc's in 3.00s Doing aes-128 cbc for 3s on 64 size blocks: 258602 aes-128 cbc's in 3.00s Doing aes-128 cbc for 3s on 256 size blocks: 65471 aes-128 cbc's in 3.00s Doing aes-128 cbc for 3s on 1024 size blocks: 16451 aes-128 cbc's in 3.00s Doing aes-128 cbc for 3s on 8192 size blocks: 2058 aes-128 cbc's in 3.00s Doing aes-128-cbc for 3s on 16 size blocks: 913121 aes-128-cbc's in 3.00s Doing aes-128-cbc for 3s on 64 size blocks: 249883 aes-128-cbc's in 3.00s Doing aes-128-cbc for 3s on 256 size blocks: 64875 aes-128-cbc's in 3.00s Doing aes-128-cbc for 3s on 1024 size blocks: 16367 aes-128-cbc's in 3.00s Doing aes-128-cbc for 3s on 8192 size blocks: 2058 aes-128-cbc's in 3.00s OpenSSL 0.9.8e 23 Feb 2007 built on: Sun Feb 24 16:11:39 UTC 2008 options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial) blowfish(idx) compiler: cc available timing options: USE_TOD HZ=128 [sysconf value] timing function used: gettimeofday The 'numbers' are in 1000s of bytes per second processed. type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes aes-128 cbc 5234.72k 5516.54k 5586.44k 5614.71k 5617.06k aes-128-cbc 4868.70k 5330.56k 5535.58k 5586.03k 5617.14k $ uname -a FreeBSD router.local 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed Jun 18 07:33:20 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 $ openssl engine (padlock) VIA PadLock (no-RNG, no-ACE) (dynamic) Dynamic engine loading support $ dmesg |grep glx glxsb0: <AMD Geode LX Security Block (AES-128-CBC,RNG)> mem 0xefff4000-0xefff7fff irq 9 at device 1.2 on pci0 $ kldstat Id Refs Address Size Name 1 6 0xc0400000 906578 kernel 2 1 0xc2553000 3000 pflog.ko 3 1 0xc2556000 33000 pf.ko 4 1 0xc2e07000 5000 glxsb.ko 5 1 0xc2e0c000 23000 crypto.ko 6 1 0xc2e2f000 a000 zlib.ko --=_c8ec552a44a8dc0c1002dc5f59af6fde--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080712185109.42684B64134>