Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184803 - net-wireless/ipw3945-1.2.0 - bad CONFIG_CHECK w/ 2.6.22 kernels
Summary: net-wireless/ipw3945-1.2.0 - bad CONFIG_CHECK w/ 2.6.22 kernels
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christian Heim (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: kernel-2.6.22
  Show dependency tree
 
Reported: 2007-07-10 03:52 UTC by Ryan Tandy
Modified: 2007-07-10 09:52 UTC (History)
2 users (show)

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


Attachments
patch to ipw3945-1.2.0.ebuild to build against linux-2.6.22 (ipw3945-1.2.0-linux-2.6.22.patch,1.16 KB, patch)
2007-07-10 04:20 UTC, Ryan Tandy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Tandy 2007-07-10 03:52:43 UTC
ipw3945 fails on build due to CONFIG_NET_RADIO missing from my kernel config.  As far as I can tell the CONFIG_NET_RADIO option doesn't exist any more in 2.6.22; the Wireless Extensions config option is now CONFIG_WIRELESS_EXT.

CONFIG_CFG80211=y
CONFIG_WIRELESS_EXT=y
CONFIG_MAC80211=y
# CONFIG_MAC80211_DEBUG is not set
CONFIG_IEEE80211=y
# CONFIG_IEEE80211_DEBUG is not set
CONFIG_IEEE80211_CRYPT_WEP=y
CONFIG_IEEE80211_CRYPT_CCMP=y
CONFIG_IEEE80211_CRYPT_TKIP=y
CONFIG_IEEE80211_SOFTMAC=y
# CONFIG_IEEE80211_SOFTMAC_DEBUG is not set
# CONFIG_WLAN_PRE80211 is not set
# CONFIG_WLAN_80211 is not set


>>> Emerging (1 of 1) net-wireless/ipw3945-1.2.0 to /
 * ipw3945-1.2.0.tgz RMD160 ;-) ...                                                                                                                                             [ ok ]
 * ipw3945-1.2.0.tgz SHA1 ;-) ...                                                                                                                                               [ ok ]
 * ipw3945-1.2.0.tgz SHA256 ;-) ...                                                                                                                                             [ ok ]
 * ipw3945-1.2.0.tgz size ;-) ...                                                                                                                                               [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                            [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                           [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                          [ ok ]
 * checking ipw3945-1.2.0.tgz ;-) ...                                                                                                                                           [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.22-gentoo
 * Checking for suitable kernel configuration options...
 *   ipw3945-1.2.0 requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO).
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * Once you have satisfied these options, please try merging
 * this package again.
 * 
 * ERROR: net-wireless/ipw3945-1.2.0 failed.
 * Call stack:
 *   ebuild.sh, line 1663:   Called dyn_setup
 *   ebuild.sh, line 719:   Called qa_call 'pkg_setup'
 *   ebuild.sh, line 44:   Called pkg_setup
 *   ipw3945-1.2.0.ebuild, line 43:   Called linux-mod_pkg_setup
 *   linux-mod.eclass, line 464:   Called linux-info_pkg_setup
 *   linux-info.eclass, line 572:   Called check_extra_config
 *   linux-info.eclass, line 471:   Called die
 * 
 * Incorrect kernel configuration options
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-wireless/ipw3945-1.2.0/temp/build.log'.
 * 


Portage 2.1.3_rc7 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r3 i686)
=================================================================
System uname: 2.6.21-gentoo-r3 i686 Genuine Intel(R) CPU T2400 @ 1.83GHz
Gentoo Base System release 2.0.0_alpha3
Timestamp of tree: Tue, 10 Jul 2007 01:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=nocona -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-Os -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="ftp://gentoo.osuosl.org/pub/gentoo"
LANG="en_CA.utf8"
LC_ALL="en_CA.utf8"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/tarpman"
SYNC="rsync://rsync2.ca.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amr amrnb amrwb aotuv async audiofile berkdb boost branding bzip2 cairo caps cddb cdparanoia cracklib cscope custom-cflags dbus divx dri dts dv dvd dvdread encode fam ffmpeg firefox flac ftp gdbm gif glitz gmedia hal hpn iconv idn insecure-savers ipod ithreads java javascript jpeg libedit logrotate mad mailwrapper md5sum midi mmap mmkeys mmx mmxext mp3 multiuser ncurses nethack nptl nptlonly nsplugin offensive ogg opengl pam pcre perl pic png python quicktime rar readline replytolist ruby samba srt sse sse2 ssl ssse3 svg symlink theora threads threadsafe truetype unicode vim-syntax vim-with-x vorbis win32codecs wmp x264 x86 xcb xml xorg xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="none nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Roderick B. Greening 2007-07-10 03:58:52 UTC
I believe you need to switch to net-wireless/iwlwifi now with 2.6.22
Comment 2 Ryan Tandy 2007-07-10 04:20:10 UTC
Created attachment 124396 [details, diff]
patch to ipw3945-1.2.0.ebuild to build against linux-2.6.22

iwlwifi isn't in portage yet, the one in sunrise is masked, and the one in the iwlwifi overlay doesn't build for me.  ipw3945 works fine for me, and with this patch, builds and runs cleanly (save for one warning about a deprecated variable) against gentoo-sources-2.6.22.
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2007-07-10 09:52:11 UTC
thanks, I fixed this.