Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132787 - net-wireless/madwifi-ng-0.1443.20060207 doesn't create ath0 device
Summary: net-wireless/madwifi-ng-0.1443.20060207 doesn't create ath0 device
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-05-09 06:47 UTC by Andrej Kacian (RETIRED)
Modified: 2006-05-15 23:34 UTC (History)
1 user (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 Andrej Kacian (RETIRED) gentoo-dev 2006-05-09 06:47:27 UTC
Currently stable (x86) madwifi-ng drivers don't work with my HP nc6000 notebook's wireless card.

lspci:
02:04.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)

When loading ath_pci module:

May  9 15:35:04 kernsrc@hiker ath_pci: 0.9.4.5 (svn 2006-05-09)
May  9 15:35:04 kernsrc@hiker ACPI: PCI Interrupt 0000:02:04.0[A] -> Link [C0C7]
 -> GSI 11 (level, low) -> IRQ 11
May  9 15:35:04 kernsrc@hiker wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
May  9 15:35:04 kernsrc@hiker wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps
 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
May  9 15:35:04 kernsrc@hiker wifi0: H/W encryption support: WEP AES AES_CCM TKI
P
May  9 15:35:04 kernsrc@hiker wifi0: mac 5.6 phy 4.1 radio 1.7
May  9 15:35:04 kernsrc@hiker wifi0: Use hw queue 1 for WME_AC_BE traffic
May  9 15:35:04 kernsrc@hiker wifi0: Use hw queue 0 for WME_AC_BK traffic
May  9 15:35:04 kernsrc@hiker wifi0: Use hw queue 2 for WME_AC_VI traffic
May  9 15:35:04 kernsrc@hiker wifi0: Use hw queue 3 for WME_AC_VO traffic
May  9 15:35:04 kernsrc@hiker wifi0: Use hw queue 8 for CAB traffic
May  9 15:35:04 kernsrc@hiker wifi0: Use hw queue 9 for beacons
May  9 15:35:04 kernsrc@hiker alloc_dev: Unable to allocate device.
May  9 15:35:04 kernsrc@hiker wifi0: autocreation of vap failed: -5
May  9 15:35:04 kernsrc@hiker wifi0: Atheros 5212: mem=0x90080000, irq=11
May  9 15:35:04 kernsrc@hiker alloc_dev: Unable to allocate device.

wifi0 interface gets created, but it has no wireless extensions. ath0, however, is not created, so I'm left without a wireless device.

Fortunately, upgrading to latest ~x86 madwifi-ng (and madwifi-ng-tools) solves this, and I can connect to APs using wpa_supplicant-0.4.8, which is latest stable x86.



root@hiker /home/ticho # emerge --info
Portage 2.1_pre10-r5 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-suspend2-r4 i686)
=================================================================
System uname: 2.6.16-suspend2-r4 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/gentoo/distfiles"
FEATURES="autoconfig ccache collision-protect confcache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms sign strict stricter"
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo http://ftp.easynet.nl/mirror/gentoo"
LANG="en_US.UTF-8"
LC_ALL="sk_SK.UTF-8"
MAKEOPTS="-j4"
PKGDIR="/usr/gentoo/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'"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/gentoo/portage"
PORTDIR_OVERLAY="/usr/gentoo/overlay"
SYNC="rsync://gentoo.ynet.sk/gentoo-portage"
USE="x86 X aac aalib acpi alsa avi bash-completion berkdb bitmap-fonts bzip2 cdr cli crypt curl dillo dri dvd eds emboss encode esd firefox flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal howl imap imlib ipv6 isdnlog jpeg jpek2k libg++ libwww lm_sensors mmx motif moznocompose moznoirc moznomail mp3 mpeg mplayer ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl pmu png pppd python quicktime readline real reflection rtc sasl sdl session spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs wma xface xinerama xml xml2 xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux userland_GNU video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Henrik Brix Andersen 2006-05-11 13:45:27 UTC
I've marked the madwifi-ng{,-tools}-0.1531.20060427 ebuild stable on x86. Thank you for reporting this.
Comment 2 Phil Pennock 2006-05-15 23:34:54 UTC
(In reply to comment #1)
> I've marked the madwifi-ng{,-tools}-0.1531.20060427 ebuild stable on x86. Thank
> you for reporting this.

I've just added an ath0 card to my machine, and am seeing the problem reported in http://madwifi.org/ticket/583 -- which notes that the problem below is fixed in r1538.  :-(

# wlanconfig ath0 list scan
wlanconfig: len < sizeof(struct ieee80211req_scan_result)

A moving target -- quite fitting for wifi drivers.  (*ducks fast*)