Date: Sun, 9 Jun 2013 17:21:46 -0700 From: Adrian Chadd <adrian@freebsd.org> To: Alexander Kapshuk <alexander.kapshuk@gmail.com> Cc: freebsd-net@freebsd.org, freebsd-wireless@freebsd.org Subject: Re: kldstat doesn't show ath_hal [AR2425] Message-ID: <CAJ-Vmoni8kKmu6OLy%2BU9goWyNa1bdm=ZW_9xbSojgdxH9PFgSA@mail.gmail.com> In-Reply-To: <51B4C433.9010702@gmail.com> References: <51B4C433.9010702@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, The ath driver right doesn't (currently!) build a separate HAL and ath driver module. It's something I plan on doing sometime soon as part of the embedded MIPS board support though. Anyway, it probed/attached. The AR2425 is just a different bus variant of the AR2424. So it's detected fine. Now, why it isn't working - I'm not sure. Compile it up with ATH_DEBUG, AH_DEBUG nad ATH_DIAGAPI in your kernel config file, then compile up tools/ath/ath/athstats/ and run it for me. Adrian On 9 June 2013 11:06, Alexander Kapshuk <alexander.kapshuk@gmail.com> wrote: > I've got an Atheros card, AR2425, which is supposed to be supported by > ath_hal(4), according to the man page. > > dmesg|grep -i Ath > ath0: <Atheros 5424/2424> mem 0xd6000000-0xd600ffff irq 16 at device 0.0 on > pci2 > ath0: AR2425 mac 14.2 RF5424 phy 7.0 > > I can see that ath_hal is listed in the kernel config file: > > egrep 'ath_|wlan_' GENERIC > device wlan_wep # 802.11 WEP support > device wlan_ccmp # 802.11 CCMP support > device wlan_tkip # 802.11 TKIP support > device wlan_amrr # AMRR transmit rate control algorithm > device ath_pci # Atheros pci/cardbus glue > device ath_hal # pci/cardbus chip support > device ath_rate_sample # SampleRate tx rate control for ath > > kldstat doesn't show ath_hal as having been loaded. Is that normal? > > kldstat -v|egrep 'wlan|ath_' > 98 pci/ath_pci > 434 wlan > 433 wlan_wep > 432 wlan_tkip > 431 wlan_ccmp > 430 wlan_amrr > 436 wlan_sta 435 wlan_ratectl_none > > Long story short, I can't seem to be able to configure my wireless, despite > following the instructions given in the handbook. > > Here's my /etc/rc.conf: > cat /etc/rc.conf > hostname="box0" > sshd_enable="YES" > moused_enable="YES" > ntpd_enable="YES" > powerd_enable="YES" > # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable > dumpdev="AUTO" > wlans_ath0="wlan0" > ifconfig_wlan0="ssid plan9 WPA DHCP" > hald_enable="YES" > dbus_enable="YES" > linux_enable="YES" > ifconfig_re0="DHCP" > > And my /etc/wpa_supplicant.conf: > cat /etc/wpa_supplicant.conf > ctrl_interface=/var/run/wpa_supplicant > eapol_version=2 > ap_scan=1 > fast_reauth=1 > > network={ > ssid="plan9" > psk=wpa_passphrase-generated psk > } > ifconfig -a > ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290 > ether 00:24:2c:5e:06:f2 > nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: associated > re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE> > ether 00:23:8b:b2:e5:1f > inet 192.168.1.3 netmask 0xffffff00 broadcast 192.168.1.255 > nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 > options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0xb > inet 127.0.0.1 netmask 0xff000000 > nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> > wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > ether 00:24:2c:5e:06:f2 > nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid plan9 channel 1 (2412 MHz 11g) > regdomain 103 indoor ecm authmode WPA1+WPA2/802.11i privacy OFF > txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle > 250 > roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL > > 'ifconfig wlan0 list scan' returns nothing. > uname -a > FreeBSD box0 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:11:52 > UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > i386 > > I've tried everything I could think of, still no luck. > > Any pointers would be appreciated. > > Alexander Kapshuk. > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmoni8kKmu6OLy%2BU9goWyNa1bdm=ZW_9xbSojgdxH9PFgSA>