Giter VIP home page Giter VIP logo

Comments (14)

 avatar commented on July 18, 2024

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.

cristian-stoica avatar cristian-stoica commented on July 18, 2024

@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.

 avatar commented on July 18, 2024

insmod: ERROR: could not load module cryptodev.ko: No such file or directory

from cryptodev-linux.

 avatar commented on July 18, 2024

on my system (kernel)
"linux-headers-4. 10. 0-40-generic"

Sorry, I'm not a prof. ;-)

from cryptodev-linux.

cristian-stoica avatar cristian-stoica commented on July 18, 2024

@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.

 avatar commented on July 18, 2024

insmod: ERROR: could not insert module /lib/modules/4.10.0-38-generic/extra/cryptodev.ko: Invalid module format

any idea?

from cryptodev-linux.

cristian-stoica avatar cristian-stoica commented on July 18, 2024

Are you playing with cross-building?

from cryptodev-linux.

 avatar commented on July 18, 2024

hmm, now it worked:
insmod /lib/modules/4.10.0-40-generic/extra/cryptodev.ko ;)

from cryptodev-linux.

 avatar commented on July 18, 2024

how can I add now cryptodev. ko constantly to the core?

from cryptodev-linux.

cristian-stoica avatar cristian-stoica commented on July 18, 2024

@cokeflash How am I supposed to know that?

from cryptodev-linux.

 avatar commented on July 18, 2024

-> lsmod
cryptodev 45056 0

-> modinfo cryptodev

modinfo: ERROR: Module cryptodev not found :-(

any idea?

from cryptodev-linux.

 avatar commented on July 18, 2024

-> 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.

 avatar commented on July 18, 2024

[10157.256901] cryptodev: driver 1.9 loaded

from cryptodev-linux.

n0-1 avatar n0-1 commented on July 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.