linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 928] New: cryptoloop has unresolved symbols (includes fix)
@ 2003-07-15 15:20 Martin J. Bligh
  0 siblings, 0 replies; only message in thread
From: Martin J. Bligh @ 2003-07-15 15:20 UTC (permalink / raw)
  To: linux-kernel

http://bugme.osdl.org/show_bug.cgi?id=928

           Summary: cryptoloop has unresolved symbols (includes fix)
    Kernel Version: 2.6.0-test1
            Status: NEW
          Severity: blocking
             Owner: bugme-janitors@lists.osdl.org
         Submitter: andy-kernel.388488@dustman.net


Distribution: Gentoo 1.4
Hardware Environment: Athlon-XP, Nvidia NForce2 chipset
Software Environment:
Problem Description:

WARNING: /lib/modules/2.6.0-test1/kernel/drivers/block/cryptoloop.ko needs
unknown symbol crypto_alloc_tfm
WARNING: /lib/modules/2.6.0-test1/kernel/drivers/block/cryptoloop.ko needs
unknown symbol crypto_free_tfm

Steps to reproduce:

CONFIG_BLK_DEV_CRYPTOLOOP=m
# CONFIG_CRYPTO is not set

Fix: Obviously CONFIG_CRYPTO should be set. This is due to an error in the
Kconfig. When the following patch is applied, the BLK_DEV_CRYPTOLOOP option will
not appear unless CRYPTO is set, which fixes the unresolved symbol problem
(works with both on or both off):

--- drivers/block/Kconfig.orig  2003-07-14 22:54:19.000000000 -0400
+++ drivers/block/Kconfig       2003-07-15 00:33:33.000000000 -0400
@@ -264,7 +264,7 @@
  
 config BLK_DEV_CRYPTOLOOP
        tristate "Cryptoloop Support"
-       depends on BLK_DEV_LOOP
+       depends on BLK_DEV_LOOP && CRYPTO
        ---help---
          Say Y here if you want to be able to use the ciphers that are
          provided by the CryptoAPI as loop transformation. This might be



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-15 15:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-15 15:20 [Bug 928] New: cryptoloop has unresolved symbols (includes fix) Martin J. Bligh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).