Hi,

The attached patch should fix the problem.
mv_remove and mv_probe are from drivers/crypto/mv_cesa.c and this driver
depends on crypto_hash.ko.

Please test this and report the results , if it fixes the problem I will
commit this. This has nothing to do with an update to kernel 2.6.37.6,
what is blocking 2.6.37.6, if nothing then I would like to add this patch.

Hauke

On 04/02/2011 05:04 PM, Maarten Bezemer wrote:
> On Sat, 2011-04-02 at 14:51 +0200, Felix Fietkau wrote:
>> On 2011-04-02 2:31 PM, Maarten Bezemer wrote:
>>> When I select CONFIG_CRYPTO_HASH in the kernel config, everything works!
>> Should be fixed in r26402
> 
> Thanks for putting effort into this problem.
> But unfortunately, this change does not select CONFIG_CRYPTO_HASH.
> 
> Orion does not have CONFIG_OCF_OCF and thus CONFIG_OCF_CYRPTOSOFT
> selected..
> If I select it manually (by changing the config-default of the orion
> target)
> 
> Everything works, so I suppose another update is required for the orion
> target default config? Or is it unwanted to have this enabled by
> default?
> 
> Thanks again,
>   Maarten
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index 4df62de..e504ae7 100644
--- a/package/kernel/modules/crypto.mk
+++ b/package/kernel/modules/crypto.mk
@@ -428,6 +428,7 @@ $(eval $(call KernelPackage,crypto-xts))
 
 define KernelPackage/crypto-mv-cesa
    TITLE:=Marvell crypto engine
+   DEPENDS:=+kmod-crypto-hash
    KCONFIG:=CONFIG_CRYPTO_DEV_MV_CESA
    FILES:=$(LINUX_DIR)/drivers/crypto/mv_cesa.ko
    AUTOLOAD:=$(call AutoLoad,09,mv_cesa)
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to