Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332817 - net-wireless/madwifi-ng-0.9.4.4133.20100621 fails to configure because of missing CONFIG_WIRELESS_EXT kernel option
Summary: net-wireless/madwifi-ng-0.9.4.4133.20100621 fails to configure because of mis...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Steev Klimaszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-15 08:48 UTC by Juergen Rose
Modified: 2010-08-22 11:59 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2010-08-15 08:48:44 UTC
'emerge world' fails with:
...
* CPV:  net-wireless/madwifi-ng-0.9.4.4133.20100621
 * REPO: gentoo
 * USE:  elibc_glibc kernel_linux userland_GNU x86
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.34-gentoo-r2/build
 * Found sources for kernel version:
 *     2.6.34-gentoo-r2
 * Checking for suitable kernel configuration options...
 *   madwifi-ng-0.9.4.4133.20100621 requires CONFIG_WIRELESS_EXT selected by some Wireless LAN drivers (e.g CONFIG_
 * 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/madwifi-ng-0.9.4.4133.20100621 failed:
 
But there is no such kernel options neither for gentoo-sources-2.6.34-r2 nor for gentoo-sources-2.6.35-r2. I suppose, since *-sources-2.6.33 there is only CONFIG_WIRELESS_EXT_SYSFS,

root@thinkpad:/usr/local/portage/sci-libs/gdal(179)# grep CONFIG_WIRELESS_EXT /boot/config*
...
/boot/config-2.6.32.1_radeonfb_ioapic_ip6_intphy:CONFIG_WIRELESS_EXT=y
/boot/config-2.6.32.1_radeonfb_ioapic_ip6_intphy:CONFIG_WIRELESS_EXT_SYSFS=y
/boot/config-2.6.32-gentoo-r1_radeonfb_ioapic_ip6_intph:CONFIG_WIRELESS_EXT=y
/boot/config-2.6.32-gentoo-r1_radeonfb_ioapic_ip6_intph:CONFIG_WIRELESS_EXT_SYSFS=y
/boot/config-2.6.32-gentoo-r3_radeonfb_ioapic_ip6_intphy:CONFIG_WIRELESS_EXT=y
/boot/config-2.6.32-gentoo-r3_radeonfb_ioapic_ip6_intphy:CONFIG_WIRELESS_EXT_SYSFS=y
/boot/config-2.6.32-gentoo-r6_radeonfb_ioapic_ip6_intphy:CONFIG_WIRELESS_EXT=y
/boot/config-2.6.32-gentoo-r6_radeonfb_ioapic_ip6_intphy:CONFIG_WIRELESS_EXT_SYSFS=y
/boot/config-2.6.32-gentoo_radeonfb_ioapic_ip6_intphy:CONFIG_WIRELESS_EXT=y
/boot/config-2.6.32-gentoo_radeonfb_ioapic_ip6_intphy:CONFIG_WIRELESS_EXT_SYSFS=y
/boot/config-2.6.33.5-rt23_radeonfb_ioapic_ip6_intphy:CONFIG_WIRELESS_EXT_SYSFS=y
/boot/config-2.6.33-gentoo-r1_radeonfb_ioapic_ip6_intphy:CONFIG_WIRELESS_EXT_SYSFS=y
/boot/config-2.6.33-gentoo-r2_radeonfb_ioapic_ip6_intphy:CONFIG_WIRELESS_EXT_SYSFS=y
/boot/config-2.6.33_radeonfb_ioapic_ip6_intphy:CONFIG_WIRELESS_EXT_SYSFS=y
/boot/config-2.6.33-rc2_radeonfb_ioapic_ip6_intphy:CONFIG_WIRELESS_EXT_SYSFS=y
/boot/config-2.6.34-gentoo-r1_radeonfb_ioapic_ip6_intphy:CONFIG_WIRELESS_EXT_SYSFS=y
/boot/config-2.6.34-gentoo-r2_radeonfb_ioapic_ip6_intphy:CONFIG_WIRELESS_EXT_SYSFS=y
/boot/config-2.6.34-gentoo_radeonfb_ioapic_ip6_intphy:CONFIG_WIRELESS_EXT_SYSFS=y
/boot/config-2.6.34_radeonfb_ioapic_ip6_intphy:CONFIG_WIRELESS_EXT_SYSFS=y
/boot/config-2.6.34-rc6_radeonfb_ioapic_ip6_intphy:CONFIG_WIRELESS_EXT_SYSFS=y
/boot/config_radeonfb_ioapic_ip6_intphy:CONFIG_WIRELESS_EXT=y
/boot/config_radeonfb_ioapic_ip6_intphy:CONFIG_WIRELESS_EXT_SYSFS=y


Reproducible: Always
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2010-08-16 10:23:26 UTC
Juerge it's not in .config because you have not enabled any wireless driver that will select it. But option is still there. just enable something like "Cisco/Aironet 34X/35X/4500/4800 ISA and PCI cards"  (CONFIG_AIRO or CONFIG_IPW2100 as eerror message suggests) and you'll find CONFIG_WIRELESS=y inside .config.
Comment 2 Juergen Rose 2010-08-21 17:12:58 UTC
I have a Atheros Communications Inc. AR5212 802.11abg NIC. Now I am using the ath5k driver for WLAN communication. In the past I used the madwifi-ng. If I activate all ATH specific options, CONFIG_WIRELESS_EXT is not set:
root@thinkpad:/usr/src/linux(31)# grep -i ath .config
# CONFIG_MATH_EMULATION is not set
CONFIG_BT_ATH3K=m
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
# CONFIG_MD_MULTIPATH is not set
# CONFIG_DM_MULTIPATH is not set
CONFIG_ATH_COMMON=m
# CONFIG_ATH_DEBUG is not set
CONFIG_ATH5K=m
# CONFIG_ATH5K_DEBUG is not set
CONFIG_ATH9K_HW=m
CONFIG_ATH9K_COMMON=m
CONFIG_ATH9K=m
# CONFIG_ATH9K_DEBUGFS is not set
CONFIG_ATH9K_HTC=m
# CONFIG_ATH9K_HTC_DEBUGFS is not set
root@thinkpad:/usr/src/linux(32)# grep CONFIG_WIRELESS_EXT .config
CONFIG_WIRELESS_EXT_SYSFS=y

If I activate CONFIG_IPW2100 I get also the CONFIG_WIRELESS_EXT option.
But does it make sense, to activate the CONFIG_IPW2100 if I want to get madwifi_ng for an atheros card?
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2010-08-22 11:59:48 UTC
(In reply to comment #2)
> If I activate CONFIG_IPW2100 I get also the CONFIG_WIRELESS_EXT option.
> But does it make sense, to activate the CONFIG_IPW2100 if I want to get
> madwifi_ng for an atheros card?

Yup, there is no other way:

http://kerneltrap.org/mailarchive/madwifi-devel/2010/1/11/6697083