I've installed FreeBSD 8.1-RELEASE on a Dell Latitude E6410. Most hardware
works just fine, but I'm having a hell of a time with the wifi. Everytime I
try to associate with an access point, my terminal replies with:
jarvis# wpa_supplicant -i iwn0 -c /etc/wpa_supplicant.conf
ioctl[SIOCG80211, op 98, len 32]: Invalid argument
Failed to initialize driver interface
ELOOP: remaining socket: sock=4 eloop_data=0x28406140
user_data=0x2840d040 handler=0x8069f70
A check to /var/log/messages shows:
Oct 29 03:29:44 jarvis wpa_supplicant[896]: Failed to initiate AP scan.
Oct 29 03:29:45 jarvis wpa_supplicant[751]: Failed to initiate AP scan.
Oct 29 03:29:54 jarvis wpa_supplicant[896]: Failed to initiate AP scan.
Oct 29 03:29:55 jarvis wpa_supplicant[751]: Failed to initiate AP scan.
Oct 29 03:30:00 jarvis wpa_supplicant[751]: Failed to disable WPA in the
driver.
Oct 29 03:30:00 jarvis wpa_supplicant[896]: Failed to disable WPA in the
driver.
Oct 29 03:30:01 jarvis kernel: iwn_fatal_intr: bad firmware error log
address 0x00000000
Oct 29 03:30:02 jarvis kernel: iwn0: iwn_hw_init: timeout waiting for
adapter to initialize, error 35
Oct 29 03:30:02 jarvis kernel: iwn0: iwn_init_locked: could not initialize
hardware, error 35
I know that my device is being detected, because I see:
jarvis# dmesg | grep 'Wireless'
iwn0: <Intel(R) PRO/Wireless 6050> mem 0xe6e00000-0xe6e01fff irq 17 at
device 0.0 on pci3
When looking at my interfaces, I see:
jarvis# ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500
ether 00:23:15:46:b6:c8
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid "" channel 1 (2412 MHz 11b)
country US authmode WPA1+WPA2/802.11i privacy ON deftxkey UNDEF
txpower 0 bmiss 10 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250
roam:rssi 7 roam:rate 1 wme roaming MANUAL bintval 0
jarvis# ifconfig iwn0
iwn0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether 00:23:15:46:b6:c8
media: IEEE 802.11 Wireless Ethernet autoselect mode 11b
status: associated
My wpa_supplicant works on other boxes without problem. Additional useful
file contents:
jarvis# cat /etc/rc.conf
# -- sysinstall generated deltas -- # Sun Oct 24 18:04:25 2010
# Created: Sun Oct 24 18:04:25 2010
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
hostname="jarvis.localdomain"
ifconfig_em0="DHCP"
moused_enable="YES"
sshd_enable="YES"
linux_enable="YES"
nvidia_enable="YES"
wlans_iwn0="wlan0"
ifconfig_wlan0="WPA DHCP"
vboxnet_enable="YES"
vboxguest_enable="YES"
slim_enable="YES"
jarvis# cat /boot/loader.conf
# VBox configs
vboxdrv_load="YES"
# Wireless Lan configs
if_ipw_load="YES"
if_iwi_load="YES"
if_wpi_load="YES"
iwn6050fw_load="YES"
iwnfw_load="YES"
if_iwn_load="YES"
legal.intel_ipw.license_ack=1
legal.intel_iwi.license_ack=1
legal.intel_wpi.license_ack=1
legal.intel_iwn.license_ack=1
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
# Nvidia support? SURE!
nvidia_load="YES"
When looking at dmesg, I see:
jarvis# dmesg | grep wlan0
wlan0: Ethernet address: 00:23:15:46:b6:c8
jarvis# dmesg | grep iwn0
iwn0: <Intel(R) PRO/Wireless 6050> mem 0xe6e00000-0xe6e01fff irq 17 at
device 0.0 on pci3
iwn0: MIMO 2T2R, MoW, address 00:23:15:46:b6:c8
iwn0: [ITHREAD]
iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps
iwn0: iwn_hw_init: timeout waiting for adapter to initialize, error 35
iwn0: iwn_init_locked: could not initialize hardware, error 35
iwn0: iwn_hw_init: timeout waiting for adapter to initialize, error 35
iwn0: iwn_init_locked: could not initialize hardware, error 35
I know that that error has to be part of the problem. I just don't know
what to do next, and haven't been able to find any help further. Any ideas?
Additionally, any thing I forgot to add, please let me know.