Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2009 10:17:34 +0100
From:      "Paul B. Mahol" <onemda@gmail.com>
To:        Olivier Cochard-Labbe <olivier@freenas.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Is iwn drivers working on Current ?
Message-ID:  <3a142e750903130217l160a7cadj7975725e6e5e8e1a@mail.gmail.com>
In-Reply-To: <3131aa530903122323n73b671b5y4cb4a4a8896efa14@mail.gmail.com>
References:  <3131aa530903122323n73b671b5y4cb4a4a8896efa14@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/13/09, Olivier Cochard-Labbe <olivier@freenas.org> wrote:
> Hi,
>
> I try to use the iwn drivers on my Dell Latitude D630 laptop on a
> up-to-date current, but I can't.
>
> I've an Intel 4965AGN card, and here is the result of pciconf -lv :
>
> iwn0@pci0:12:0:0:	class=0x028000 card=0x11218086 chip=0x42298086
> rev=0x61 hdr=0x00
>     vendor     = 'Intel Corporation'
>     device     = 'Intel 4965AGN Intel Wireless WiFi Link
> 4965AGN(supporting 802.11a/b/g/Draft-N)'
>     class      = network
>
> I've put on /boot/loader.conf the magics lines:
> legal.intel_iwn.license_ack=1
> if_iwn_load="YES"
>
> my /etc/rc.conf is configured like that:
> wlans_iwn0="wlan0"
> ifconfig_wlan0="country FR WPA DHCP"
>
> and the /etc/wpa_supplicant.conf was tested using 2 others differents
> wirelles card (USB rum and PCMCIA ath) without problem.
> But I have this error message on dmesg:
>
> iwn0: need multicast update callback
> iwn0: error, INTR=2000000<SW_ERROR> STATUS=0x0
> iwn0: error, INTR=2000000<SW_ERROR> STATUS=0x0
> iwn0: iwn_config: configure command failed, error 35
> iwn0: iwn_init_locked: could not configure device, error 35
> iwn0: iwn_config: configure command failed, error 35
> iwn0: iwn_init_locked: could not configure device, error 35
> iwn0: iwn_transfer_firmware: timeout waiting for first alive notice, error
> 35
> iwn0: iwn_init_locked: could not load firmware, error 35
>
> (The wireless switch is on the ON position, and this wireless works
> when booting with Linux Ubuntu).
>
> And not association possible...
>
> Here are some other information:
>
> [root@d630]~#ifconfig wlan0
> wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> 	ether 00:1d:e0:72:10:01
> 	inet6 fe80::21d:e0ff:fe72:1001%wlan0 prefixlen 64 scopeid 0x7
> 	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
> 	status: no carrier
> 	ssid "" channel 13 (2472 Mhz 11g)
> 	regdomain ETSI country F2 authmode WPA1+WPA2/802.11i privacy ON
> 	deftxkey UNDEF txpower 30 bmiss 10 scanvalid 60 protmode CTS wme
> 	roaming MANUAL
> [root@d630]~#ifconfig wlan0 list scan
> [root@d630]~#ifconfig wlan0 list caps
> drivercaps=581e001<STA,TXPMGT,SHSLOT,SHPREAMBLE,MONITOR,WPA1,WPA2,WME>
> [root@d630]~#uname -a
> FreeBSD d630.freenas.org 8.0-CURRENT FreeBSD 8.0-CURRENT #14: Thu Mar
> 12 14:17:22 CET 2009
> root@d630.freenas.org:/usr/obj/usr/src/sys/DellD630  amd64
> [root@d630]~#wpa_supplicant -d -i wlan0 -c /etc/wpa_supplicant.conf
> Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver
> 'default' ctrl_interface 'N/A' bridge 'N/A'
> Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
> Reading configuration file '/etc/wpa_supplicant.conf'
> update_config=1
> ctrl_interface='/var/run/wpa_supplicant'
> ap_scan=1
> Priority group 19
>    id=0 ssid='Gugus'
> Initializing interface (2) 'wlan0'
> Own MAC address: 00:1d:e0:72:10:01
> wpa_driver_bsd_set_wpa: enabled=1
> wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
> wpa_driver_bsd_del_key: keyidx=0
> wpa_driver_bsd_del_key: keyidx=1
> wpa_driver_bsd_del_key: keyidx=2
> wpa_driver_bsd_del_key: keyidx=3
> wpa_driver_bsd_set_countermeasures: enabled=0
> wpa_driver_bsd_set_drop_unencrypted: enabled=1
> RSN: flushing PMKID list in the driver
> Setting scan request: 0 sec 100000 usec
> EAPOL: SUPP_PAE entering state DISCONNECTED
> EAPOL: KEY_RX entering state NO_KEY_RECEIVE
> EAPOL: SUPP_BE entering state INITIALIZE
> EAP: EAP entering state DISABLED
> Added interface wlan0
> State: DISCONNECTED -> SCANNING
> Starting AP scan (broadcast SSID)
> Trying to get current scan results first without requesting a new scan
> to speed up initial association
> Received 0 bytes of scan results (0 BSSes)
> Scan results: 0
> Cached scan results are empty - not posting
> Selecting BSS from priority group 19
> Try to find WPA-enabled AP
> Try to find non-WPA AP
> No suitable AP found.
> Setting scan request: 0 sec 0 usec
> Starting AP scan (broadcast SSID)
> ioctl[SIOCS80211, op 103, len 128]: Device not configured
> Failed to initiate AP scan.
>
> Does someone know where the problem is ?
>
> Thanks for your help,
>
> Olivier

Is iwnfw loaded in kernel?
What happens if you enable iwn debug sysctl.

-- 
Paul



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a142e750903130217l160a7cadj7975725e6e5e8e1a>