Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#3726 closed defect (worksforme)

crypto modules don't compile on kernel 2.6.25.10

Reported by: claudyus Owned by: developers
Priority: high Milestone:
Component: kernel Version:
Keywords: Cc:

Description

Hi all,
new kernel old problems.

Again on kernels 2.6.25.10 part of crypto modules has been renamed.

cp: cannot stat `/home/claudyus/sdk/openwrt/trunk/build_dir/linux-etrax/linux-2.6.25.10/crypto/crypto_algapi.ko': No such file or directory
cp: cannot stat `/home/claudyus/sdk/openwrt/trunk/build_dir/linux-etrax/linux-2.6.25.10/crypto/crypto_blkcipher.ko': No such file or directory
cp: cannot stat `/home/claudyus/sdk/openwrt/trunk/build_dir/linux-etrax/linux-2.6.25.10/crypto/ecb.ko': No such file or directory
cp: cannot stat `/home/claudyus/sdk/openwrt/trunk/build_dir/linux-etrax/linux-2.6.25.10/crypto/cryptomgr.ko': No such file or directory
make[3]: *** [/home/claudyus/sdk/openwrt/trunk/bin/packages/cris/kmod-crypto-core_2.6.25.10-etrax-1_cris.ipk] Error 1

Some change happens also on wireless crypto stack, here:

cp: cannot stat `/home/claudyus/sdk/openwrt/trunk/build_dir/linux-etrax/linux-2.6.25.10/net/ieee80211/ieee80211_crypt.ko': No such file or directory
cp: cannot stat `/home/claudyus/sdk/openwrt/trunk/build_dir/linux-etrax/linux-2.6.25.10/net/ieee80211/ieee80211.ko': No such file or directory
cp: cannot stat `/home/claudyus/sdk/openwrt/trunk/build_dir/linux-etrax/linux-2.6.25.10/net/ieee80211/ieee80211_crypt_wep.ko': No such file or directory

Attachments (2)

etrax_kernel_config.patch (7.2 KB) - added by claudyus 8 years ago.
fix a lot of mystake inside etrax kernel config. See inside patche for details
FIX etrax_kernel_config.patch (6.8 KB) - added by claudyus 8 years ago.
use this patch instread, the old one is obsoled due to usb-support flag

Download all attachments as: .zip

Change History (8)

comment:1 Changed 8 years ago by anonymous

Hello,

I have the same crypto module problem in compiling the current trunk version (11201). Kernel is 2.6.25.12.

According to the settings in Crypto.mk, kmod-crypto-core needs the following crypto kernel modules but the modules with (*) mark are missing in trunk\build_dir\linux-x86_generic\linux-2.6.25.9\crypto dirctory.

crypto_algapi.ko (*)
crypto_blkcipher.ko (*)
cbc.ko
deflate.ko
ecb.ko (*)
crypto_hash.ko
cryptomgr.ko (*)

I'm not sure whether it's a naming problem.

In the build_dir/linux-x86_generic/linux-2.6.25.9/.config file, the (*)-marked modules (problematic modules) are selected with the built-in compile option while the other normal modules are selected with the module compile option.

CONFIG_CRYPTO_ALGAPI=y 
CONFIG_CRYPTO_HASH=m 

I've tried to figure out this problem for many hours but failed. Is there anyon can solve it?

Thanks.

comment:2 Changed 8 years ago by norbert

use r12280, works for me on Alix 2C2

comment:3 Changed 8 years ago by florian

  • Resolution set to worksforme
  • Status changed from new to closed

comment:4 Changed 8 years ago by anonymous

Won't work for me too...
1)Clean download of Kamikaze
2)Set etrax as the target
3)Enable one of the wireless modules (like rt73)

Got errors on the crypto packages...

comment:5 Changed 8 years ago by anonymous

Doesn't work :(
Please,reopen ticket!

comment:6 Changed 8 years ago by claudyus

Hi all,
I discover the problem that this issues is related to default etrax kernel configuration.

Please consider the follow:

target/linux/etrax$ grep 'CRYPTO' config-default 
CONFIG_CRYPTO_AEAD=m
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ARC4=y
CONFIG_CRYPTO_AUTHENC=m
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_ECB=y
CONFIG_CRYPTO_GF128MUL=m
CONFIG_CRYPTO_MANAGER=y

Shortly part of this modules are build-in inside kernel so the modules files are not build at all.

Regards

Changed 8 years ago by claudyus

fix a lot of mystake inside etrax kernel config. See inside patche for details

Changed 8 years ago by claudyus

use this patch instread, the old one is obsoled due to usb-support flag

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.