Comments (14)
sudo su
mkdir -p /root/build; cd /root/build
wget http://nwl.cc/pub/cryptodev-linux/cryptodev-linux-1.9.tar.gz; tar xzf cryptodev-linux-1.9.tar.gz; cd cryptodev-linux-1.9
make; make install; cd ..
echo "cryptodev" >> /etc/modules
sudo modprobe cryptodev
modprobe: FATAL: Module cryptodev not found in directory /lib/modules/4.10.0-40-generic
:(
PLEASE help!
from cryptodev-linux.
@cokeflash You should at least be able to do "insmod cryptodev.ko" from the cryptodev build directory. That should get you going with your tests.
As for modprobe failing, this is not related to cryptodev. Are you building against the running kernel? Setting KERNEL_DIR should not be necessary unless you are building against a different kernel than you are running.
from cryptodev-linux.
insmod: ERROR: could not load module cryptodev.ko: No such file or directory
from cryptodev-linux.
on my system (kernel)
"linux-headers-4. 10. 0-40-generic"
Sorry, I'm not a prof. ;-)
from cryptodev-linux.
@cokeflash I'm sorry - I will be blunt. You are terse and this make it hard to debug your problem.
If you want to debug your problem you should be able to explain why you get that error from insmod.
Hint: insmod /full/path/to/cryptodev/build/directory/where/you/built/cryptodev.ko
from cryptodev-linux.
insmod: ERROR: could not insert module /lib/modules/4.10.0-38-generic/extra/cryptodev.ko: Invalid module format
any idea?
from cryptodev-linux.
Are you playing with cross-building?
from cryptodev-linux.
hmm, now it worked:
insmod /lib/modules/4.10.0-40-generic/extra/cryptodev.ko ;)
from cryptodev-linux.
how can I add now cryptodev. ko constantly to the core?
from cryptodev-linux.
@cokeflash How am I supposed to know that?
from cryptodev-linux.
-> lsmod
cryptodev 45056 0
-> modinfo cryptodev
modinfo: ERROR: Module cryptodev not found :-(
any idea?
from cryptodev-linux.
-> dmesg
PKCS#7 signature not signed with a trusted key
[ 9879.988269] cryptodev: version magic '4.10.0-38-generic SMP mod_unload ' should be '4.10.0-40-generic SMP mod_unload
from cryptodev-linux.
[10157.256901] cryptodev: driver 1.9 loaded
from cryptodev-linux.
Hi,
Please enter project top directory and call 'make install' as root. This should install the module to the correct location so that both 'modinfo' and 'modprobe' work.
Cheers, Phil
from cryptodev-linux.
Related Issues (20)
- SSH with openssl "mux digest failed" HOT 5
- make fail: zc.c:80:8: error: too many arguments to function ‘get_user_pages_remote’ HOT 9
- Openembedded out of tree patches HOT 5
- OpenSSL patch website cannot be opened, where to find the patch please? HOT 3
- encrypt-then-mac in aead is more secure
- kle
- openssl_wrapper.c needs to be updated for openssl 3.0.0 HOT 3
- "possible circular locking dependency" warning HOT 3
- pgcrypto to use cryptodev HOT 2
- [OpenBMC] Kernel panic while running "openssl engine" within cryptodev-linux kernel module inserted HOT 1
- What's the supported kernel version list? HOT 2
- Unable to fetch URL from any source HOT 3
- No file to patch. Skipping patch. HOT 3
- module install HOT 1
- Cryptodev module fails to load with Unknown symbol errors HOT 1
- Cipher supports in cryptodev-linux HOT 2
- AES-GCM tag issue HOT 5
- performance issue HOT 4
- the async mode is not truely async
- Phase 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cryptodev-linux.