From owner-freebsd-current@FreeBSD.ORG Fri Mar 13 09:17:36 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 712B1106564A for ; Fri, 13 Mar 2009 09:17:36 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f166.google.com (mail-ew0-f166.google.com [209.85.219.166]) by mx1.freebsd.org (Postfix) with ESMTP id CF36E8FC13 for ; Fri, 13 Mar 2009 09:17:35 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by ewy10 with SMTP id 10so2727898ewy.43 for ; Fri, 13 Mar 2009 02:17:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=7y8hCJlPXoe2wsaSeY/B05gBq0zbfB1qZn4mSNyvzYE=; b=uc9GQ6/UJ8dCLLt+RkXvetiT4/PqSwUhBjj9ed16ZQmbSfwD0sqcvsKgmDJVXxfkrU JhG2jtjbu7GutipoZsokkc5F2CX+AuBCkzUu1M89K3Q1hykvi18ewxL3eJyT0IDO/l+j 9OY1apN0Nx9cUMXA/m/QaodCy2TlwyonqEbPE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=WRSqAiHf1KYQhTna4dYg1vjEswRTmo5xIJcWXAXLVKCGwVe7q3htPHBj9laGh7jRyC qE0x0q9I7uT0zJzqAKgwJOD9wEqKv3w4f8T6uPMgSWLiICXCLsVU3IPdSZH/xA60SjaZ 2ausSpURqD3zaz4rXND/+bOoHCUbf3pKaSsPE= MIME-Version: 1.0 Received: by 10.210.46.14 with SMTP id t14mr767916ebt.57.1236935854782; Fri, 13 Mar 2009 02:17:34 -0700 (PDT) In-Reply-To: <3131aa530903122323n73b671b5y4cb4a4a8896efa14@mail.gmail.com> References: <3131aa530903122323n73b671b5y4cb4a4a8896efa14@mail.gmail.com> Date: Fri, 13 Mar 2009 10:17:34 +0100 Message-ID: <3a142e750903130217l160a7cadj7975725e6e5e8e1a@mail.gmail.com> From: "Paul B. Mahol" To: Olivier Cochard-Labbe Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Is iwn drivers working on Current ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2009 09:17:36 -0000 On 3/13/09, Olivier Cochard-Labbe 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 STATUS=0x0 > iwn0: error, INTR=2000000 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 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 > [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