Module cryptodev not found

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Module cryptodev not found

Postby jcconnell » Mon May 14, 2018 6:28 pm

I am trying to enable hardware cryptography on my Go Flex Home by following the guide in the community guides section.

I am receiving the following error:
$this->bbcode_second_pass_code('', 'modprobe: FATAL: Module cryptodev not found in directory /lib/modules/4.4.97-1-ARCH')

Has anyone experienced this? Any idea how to resolve it? This is on a fresh installation of Arch.
jcconnell
 
Posts: 45
Joined: Thu May 02, 2013 1:10 am

Re: Module cryptodev not found

Postby moonman » Sat May 19, 2018 8:01 pm

install cryptodev-dkms
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Module cryptodev not found

Postby jcconnell » Sun May 20, 2018 12:41 am

Edit: Sorry, I meant to say that I am still receiving the same message.

$this->bbcode_second_pass_code('', 'modprobe: FATAL: Module cryptodev not found in directory /lib/modules/4.4.97-1-ARCH')
Last edited by jcconnell on Sun May 20, 2018 1:55 am, edited 1 time in total.
jcconnell
 
Posts: 45
Joined: Thu May 02, 2013 1:10 am

Re: Module cryptodev not found

Postby moonman » Sun May 20, 2018 1:46 am

Did you get any errors installing cryptodev-dkms?
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Module cryptodev not found

Postby jcconnell » Sun May 20, 2018 1:57 am

Yes, I didn't notice previously.

$this->bbcode_second_pass_code('', '
DKMS: add completed.
Error! echo
Your kernel headers for kernel 4.4.97-1-ARCH cannot be found at
/usr/lib/modules/4.4.97-1-ARCH/build or /usr/lib/modules/4.4.97-1-ARCH/source.
error: command failed to execute correctly
')
jcconnell
 
Posts: 45
Joined: Thu May 02, 2013 1:10 am

Re: Module cryptodev not found

Postby jcconnell » Sun May 20, 2018 2:03 am

I removed linux-kirkwood-dt-headers and installed linux-kirkwood-headers and then tried installing cryptodev-dkms. This time I received a few new errors.

$this->bbcode_second_pass_code('', '
:: Running pre-transaction hooks...
(1/1) Remove DKMS modules
==> dkms remove cryptodev/1.9 -k 4.4.97-1-ARCH
Error! There is no instance of cryptodev 1.9
for kernel 4.4.97-1-ARCH (armv5tel) located in the DKMS tree.
:: Processing package changes...

------------------------------
Deleting module version: 1.9
completely from the DKMS tree.
------------------------------
Done.
(1/1) reinstalling cryptodev-dkms [####################################################] 100%

Creating symlink /var/lib/dkms/cryptodev/1.9/source ->
/usr/src/cryptodev-1.9

DKMS: add completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area.....
make -j1 KERNELRELEASE=4.4.97-1-ARCH -s build KERNEL_DIR=/lib/modules/4.4.97-1-ARCH/build.........(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.4.97-1-ARCH (armv5tel)
Consult /var/lib/dkms/cryptodev/1.9/build/make.log for more information.
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/2) Install DKMS modules
==> dkms install cryptodev/1.9 -k 4.4.97-1-ARCH
Error! Bad return status for module build on kernel: 4.4.97-1-ARCH (armv5tel)
Consult /var/lib/dkms/cryptodev/1.9/build/make.log for more information.
(2/2) Arming ConditionNeedsUpdate...
')

Finally, here is the make log:
$this->bbcode_second_pass_code('', '
DKMS make.log for cryptodev-1.9 for kernel 4.4.97-1-ARCH (armv5tel)
Sun May 20 02:00:53 UTC 2018
/tmp/ccxxgsdS.s: Assembler messages:
/tmp/ccxxgsdS.s:1788: Error: .err encountered
make[2]: *** [scripts/Makefile.build:259: /var/lib/dkms/cryptodev/1.9/build/ioctl.o] Error 1
make[1]: *** [Makefile:1405: _module_/var/lib/dkms/cryptodev/1.9/build] Error 2
make: *** [Makefile:27: build] Error 2
')
jcconnell
 
Posts: 45
Joined: Thu May 02, 2013 1:10 am

Re: Module cryptodev not found

Postby Kabbone » Sun May 20, 2018 8:02 am

why did you remove the device tree version and used no dt version?
Kabbone
 
Posts: 153
Joined: Thu Jul 25, 2013 9:20 am

Re: Module cryptodev not found

Postby jcconnell » Sun May 20, 2018 2:20 pm

I was looking for examples of how other people had accomplished this goal on their Kirkwood devices and saw examples of it being done both ways, dt vs non-dt. I decided to try it as a test.
jcconnell
 
Posts: 45
Joined: Thu May 02, 2013 1:10 am

Re: Module cryptodev not found

Postby Kabbone » Sun May 20, 2018 9:05 pm

if I remember correctly, it was told one time, that support for non dt-kernel should end at some time, don't know if it already happened as of I ran it with dt
Kabbone
 
Posts: 153
Joined: Thu Jul 25, 2013 9:20 am

Re: Module cryptodev not found

Postby moonman » Sun May 20, 2018 10:20 pm

There are 2 problems with linux-kirkwood:
I couldn't get it to compile with gcc8.1, but I haven't looked into it yet. But the error is similar as your are getting trying to compile this module

The current package that's in the repo is compiled with an older version of gcc so there may an incompatibility there.

Yes, non-dt version will be discontinued eventually so if your hardware is supported in linux-kirkwood-dt there is no reason why you should be running non-dt version.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 14 guests