kern/138739: wpi(4) does not work very well under 8.0-BETA4

vermaden vermaden at interia.pl
Fri Sep 11 15:50:02 UTC 2009


>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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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:


More information about the freebsd-bugs mailing list