Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67928 - ipw2100-0.56 fails to recognise provided kernel support
Summary: ipw2100-0.56 fails to recognise provided kernel support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Henrik Brix Andersen
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-10-17 13:38 UTC by Sander Bouwhuis
Modified: 2004-10-21 07:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for CONFIG_CRYPT_AES detection (ipw2100-0.56-r1-aes_detect_fix.patch,751 bytes, patch)
2004-10-21 00:21 UTC, Henrik Brix Andersen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sander Bouwhuis 2004-10-17 13:38:52 UTC
When I try to upgrade to ipw2100-0.56 from 0.55-r2 I get the following message:

 *
 * ipw2100-0.56 requires support for AES cipher algorithms (i586)
 * (CONFIG_CRYPTO_AES_586) in the kernel.
 *

!!! ERROR: net-wireless/ipw2100-0.56 failed.
!!! Function src_unpack, Line 60, Exitcode 0
!!! CONFIG_CRYPTO_MICHAEL_MIC support not detected.

But I have both of these enabled in my kernel (I used genkernel with menuconfig, but that shouldn't matter, right?).
Comment 1 Chris White (RETIRED) gentoo-dev 2004-10-18 19:58:45 UTC
Re-assinging to latexer and the mobile herd.
Comment 2 Henrik Brix Andersen 2004-10-19 00:02:08 UTC
Ok. The CONFIG_CRYPTO_MICHAEL_MIC error message should read CONFIG_CRYPTO_AES_586. I just fixed that in net-wireless/ipw2100-0.56.

Could you please paste the result of 'grep CONFIG_CRYPTO /usr/src/linux/.config' to this bug report?
Comment 3 Sander Bouwhuis 2004-10-19 00:22:12 UTC
Sure, here it is:

# grep CONFIG_CRYPTO /usr/src/linux/.config
CONFIG_CRYPTO=y
# CONFIG_CRYPTO_HMAC is not set
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_MD4 is not set
CONFIG_CRYPTO_MD5=m
CONFIG_CRYPTO_SHA1=m
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
CONFIG_CRYPTO_DES=m
CONFIG_CRYPTO_BLOWFISH=m
CONFIG_CRYPTO_TWOFISH=m
# CONFIG_CRYPTO_SERPENT is not set
CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
CONFIG_CRYPTO_ARC4=y
CONFIG_CRYPTO_DEFLATE=y
CONFIG_CRYPTO_MICHAEL_MIC=y
# CONFIG_CRYPTO_CRC32C is not set
# CONFIG_CRYPTO_TEST is not set
Comment 4 Henrik Brix Andersen 2004-10-19 00:27:47 UTC
Odd. Looks like the AES cipher algorithms (i586) kernel config option is called CONFIG_CRYPTO_AES and not CONFIG_CRYPTO_AES_586 in your kernel.

Which kernel are you using?
Comment 5 Sander Bouwhuis 2004-10-19 00:53:58 UTC
I use the linux-2.6.7-gentoo-r11 kernel (from gentoo-dev-sources). It came with the 2004.2 livecd I believe.
Comment 6 Henrik Brix Andersen 2004-10-19 00:54:53 UTC
Thanks. I'll look into this.
Comment 7 Sander Bouwhuis 2004-10-20 04:37:18 UTC
Thanks for checking it out. Just FYI, the 0.56-r1 didn't fix it so the problem still stands (I don't know whether it was supposed to fix it, but I just thought I'd mention it here).
Comment 8 Henrik Brix Andersen 2004-10-20 15:14:10 UTC
From http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.8:

<jmorris@redhat.com>
	[CRYPTO]: Add i586 optimized AES


That would explain the name change...
Comment 9 Henrik Brix Andersen 2004-10-21 00:21:36 UTC
Created attachment 42291 [details, diff]
Patch for CONFIG_CRYPT_AES detection

Could you please verify that the above patch works?
Comment 10 Sander Bouwhuis 2004-10-21 00:42:28 UTC
I would if I knew how to do that, I'm still a little new to linux. Is there a tutorial or howto somewhere that I could follow?

Thanks!
Comment 11 Henrik Brix Andersen 2004-10-21 01:15:11 UTC
I've tested it locally and applied the patch to ipw2100-0.56.ebuild and ipw2100-0.56-r1.ebuild.

If you wait little while and then 'emerge --sync' it should be fixed. Please verify this.
Comment 12 Sander Bouwhuis 2004-10-21 07:50:12 UTC
Works like a charm. Thanks!
Comment 13 Henrik Brix Andersen 2004-10-21 07:52:45 UTC
Closing as FIXED InCVS. Thanks for reporting this - and for testing :)