Re: question about crypto module dependency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 18, 2012 at 02:56:45PM +0100, Francis Moreau wrote:
>
> What do you mean with "at module init time" ?
> 
> My point is:
> 
>   $ grep btrfs /lib/modules/3.2.1/modules.dep
>   kernel/fs/btrfs/btrfs.ko: kernel/lib/zlib_deflate/zlib_deflate.ko
> kernel/lib/libcrc32c.ko
> 
> and
> 
>   $ grep libcrc32c.ko: /lib/modules/3.2.1-1.1-desktop/modules.dep
>   kernel/lib/libcrc32c.ko:
> 
> So there's no dependency here to 'pull' a crc32c backend, therefore
> "crypto_alloc_shash("crc32c", 0, 0)" used by libcrc32c at load time
> fails.

We have a Kconfig dependency and the rest is taken care of by
modprobe.

Perhaps your problem is really with mkinitramfs?

Cheers,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux