Re: 2.6.25-rc[1,2]: failed to setup dm-crypt key mapping

From: Tony Luck
Date: Fri Mar 07 2008 - 13:18:50 EST


On Fri, Feb 22, 2008 at 4:34 AM, Herbert Xu
<herbert@xxxxxxxxxxxxxxxxxxx> wrote:
> Does this patch fix the problem?
...
> diff --git a/include/crypto/internal/skcipher.h b/include/crypto/internal/skcipher.h
> index 2ba42cd..a8f1264 100644
> --- a/include/crypto/internal/skcipher.h
> +++ b/include/crypto/internal/skcipher.h
...
> +int __init eseqiv_module_init(void);
> +void __exit eseqiv_module_exit(void);
> +int __init chainiv_module_init(void);
> +void __exit chainiv_module_exit(void);

The zx1_defconfig in ia64 tree has CONFIG_CRYPTO_BLK_CONFIG=y ... making
these symbols not only causes build warnings:
chainiv_module_exit' referenced in section `.init.text' of
crypto/built-in.o: defined in discarded section `.exit.text'
eseqiv_module_exit' referenced in section `__ksymtab_gpl' of
crypto/built-in.o: defined in discarded section `.exit.text'

it also manages to make my "ld" dump core!

-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/