Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60631 - net-wireless/ipw2200 0.4 ebuild missing check for CONFIG_CRYPTO_ARC4
Summary: net-wireless/ipw2200 0.4 ebuild missing check for CONFIG_CRYPTO_ARC4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Maitin-Shepard
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-16 21:27 UTC by Andrew Ross (RETIRED)
Modified: 2004-08-17 05:42 UTC (History)
0 users

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


Attachments
unified diff against ipw2200-0.4.ebuild to add check for CONFIG_CRYPTO_ARC4 (ARC4_check.patch,650 bytes, patch)
2004-08-16 21:37 UTC, Andrew Ross (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Ross (RETIRED) gentoo-dev 2004-08-16 21:27:26 UTC
ipw2200 v0.4+ requires the kernel to have CONFIG_CRYPTO_ARC4 set. The ebuild currently checks for CONFIG_CRC32 and CONFIG_FW_LOADER (which are also required), but not CONFIG_CRYPTO_ARC4.

The ipw2200 author (James Ketrenos) introduced the new dependency in an email to mailling list:

http://article.gmane.org/gmane.linux.drivers.ipw2100.devel/1379

Since the ebuild allows the ipw2200 kernel module to be built even when CONFIG_CRYPTO_ARC4 is not set, setting the WEP key fails.

Reproducible: Always
Steps to Reproduce:
1. compile and install a kernel with CONFIG_CRYPTO_ARC4 not set
2. emerge =net-wireless/ipw2200-0.4
3. modprobe ipw2200
4. iwconfig ethX key [your key]

Actual Results:  
ebuild and modprobe completed successfully.

iwconfig command fails with following error message:

Error for wireless request "Set Encode" (8B2A) :
    SET failed on device eth2 ; Operation not supported.

Relevant dmesg output:

ieee80211_crypt_wep: could not allocate crypto API arc4
eth2: could not initialize WEP: load module ieee80211_crypt_wep.o

Expected Results:  
ebuild should die and inform user than CONFIG_CRYPTO_ARC4 must be set.

Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.6.8)
=================================================================
System uname: 2.6.8 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/gentoo
http://mirror.pacific.net.au/linux/Gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.1/gentoo-portage"
USE="X acpi alsa apache2 avi bcmath berkdb bzlib caps cdr crypt cups divx4linux
doc dvd encode fam gd gdbm gif gnome gpm gtk gtk2 guile imap imlib java jikes
jpeg ldap libwww mad memlimit mmx motif mozilla mpeg mysql ncurses offensive
oggvorbis opengl pam pdflib perl png python quicktime readline samba sdl slang
spell sse ssl svg svga tcltk theora tiff truetype x86 xml2 xmms xv zlib"
Comment 1 Andrew Ross (RETIRED) gentoo-dev 2004-08-16 21:37:20 UTC
Created attachment 37569 [details, diff]
unified diff against ipw2200-0.4.ebuild to add check for CONFIG_CRYPTO_ARC4
Comment 2 Jeremy Maitin-Shepard 2004-08-17 02:35:01 UTC
This has been fixed -- additionally the -r1 ebuild builds support for WPA.
Comment 3 Andrew Ross (RETIRED) gentoo-dev 2004-08-17 05:42:55 UTC
Thanks Jeremy!