From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 11 15:50:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAA921065696 for ; Fri, 11 Sep 2009 15:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 987E08FC0C for ; Fri, 11 Sep 2009 15:50:02 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8BFo2bL059894 for ; Fri, 11 Sep 2009 15:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8BFo2Ta059893; Fri, 11 Sep 2009 15:50:02 GMT (envelope-from gnats) Resent-Date: Fri, 11 Sep 2009 15:50:02 GMT Resent-Message-Id: <200909111550.n8BFo2Ta059893@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, vermaden Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 555C81065695 for ; Fri, 11 Sep 2009 15:46:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 44A838FC24 for ; Fri, 11 Sep 2009 15:46:27 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n8BFkQn5056181 for ; Fri, 11 Sep 2009 15:46:26 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n8BFkQLN056180; Fri, 11 Sep 2009 15:46:26 GMT (envelope-from nobody) Message-Id: <200909111546.n8BFkQLN056180@www.freebsd.org> Date: Fri, 11 Sep 2009 15:46:26 GMT From: vermaden To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138739: wpi(4) does not work very well under 8.0-BETA4 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 15:50:02 -0000 >Number: 138739 >Category: kern >Synopsis: wpi(4) does not work very well under 8.0-BETA4 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 11 15:50:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: vermaden >Release: 8.0-BETA4 >Organization: >Environment: stock 8.0-BETA4 system >Description: Dell D630 hardware here, with Intel 3945 WiFi working only so so with wpi(4) driver. I have WORKING WPA connection using wlan0 interface on wpi0 card using wpa_supplicant, but some things do not work (or work not so reliably). 0. My current configuration. # cat /boot/loader.conf if_wpi_load="YES" # cat /etc/rc.conf # --< terminal settings >-- # font8x14="iso02-8x14" font8x16="iso02-8x16" font8x8="iso02-8x8" keymap="pl_PL.ISO8859-2" keyrate="fast" scrnmap="NO" allscreens_flags="MODE_34" # --< network configuration >-- # hostname="mavio" wlans_wpi0="wlan0" ifconfig_wlan0="WPA DHCP" # --< daemons:YES >-- # moused_enable="YES" sshd_enable="YES" powerd_enable="YES" # --< daemons:NO >-- # sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" # cat /etc/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel ap_scan=1 network={ ssid="wpanetwork" proto=WPA psk="wpapassword" } # ifconfig wlan0 wlan0: flags=8843 metric 0 mtu 1500 ether 00:1b:77:xx:xx:xx inet 10.0.0.4 netmask 0xffffff00 broadcast 10.0.0.255 media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g status: associated ssid wpanetwork channel 6 (2437 Mhz 11g) bssid 00:09:5b:xx:xx:xx country US authmode WPA privacy ON deftxkey UNDEF TKIP 2:128-bit txpower 0 bmiss 7 scanvalid 60 protmode CTS roaming MANUAL # ifconfig wpi0 wpi0: flags=8843 metric 0 mtu 2290 ether 00:1b:77:xx:xx:xx media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated PROBLEMS: 1. Networks scanning not working. # ifconfig wlan0 up scan wpi0: fatal firmware error wpi0: timeout resetting Rx ring microcode alive notification version 10e02 alive 1 microcode alive notification version 10e02 alive 1 # ifconfig wpi0 up scan ifconfig: unable to get scan results after that, connection no longer works and I need to restart these: # /etc/rc.d/netif restart # /etc/rc.d/wpa_supplicant restart 2. Need to wait to get connection After boot, or restarting netif/wpa_supplicant scripts I need to wait for about a minute to get connection back. 3. Messages displayed by kernel on /etc/rc.d/netif restart # /etc/rc.d/netif restart in_scrubprefix: deletion failed wpi0: need multicast update callback wpi_newstate: RUN -> INIT flags 0x0 wlan0: link state changed to DOWN wlan0: Ethernet address: 00:1b:77:xx:xx:xx wpi0: timeout resetting Tx ring 1 wpi0: timeout resetting Tx ring 3 wpi0: timeout resetting Tx ring 4 microcode alive notification version 10e02 alive 1 microcode alive notification version 10e02 alive 1 wpi_newstate: INIT -> SCAN flags 0x0 4. Messages displayed by kernel on /etc/rc.d/wpa_supplicant restart # /etc/rc.d/wpa_supplicant restart (after about a minute of silence) wpi_newstate: SCAN -> AUTH flags 0x0 config chan 6 flags 8005 cck f ofdm 15 wpi_newstate: AUTH -> ASSOC flags 0x0 wpi_newstate: ASSOC -> RUN flags 0x0 config chan 6 flags 8035 wpi0: need multicast update callback wpi_newstate: RUN -> AUTH flags 0x0 config chan 6 flags 8035 cck f ofdm 15 wpi_newstate: AUTH -> AUTH flags 0x0 config chan 6 flags 8035 cck f ofdm 15 wpi_newstate: AUTH -> ASSOC flags 0x0 wpi_newstate: ASSOC -> RUN flags 0x0 config chan 6 flags 8035 wpi0: need multicast update callback wpi0: need multicast update callback (and I have working connection again) >How-To-Repeat: Described in "Full Description:" part. >Fix: >Release-Note: >Audit-Trail: >Unformatted: