Date: Thu, 13 Apr 2006 13:18:14 -0600 (MDT) From: Brad Huntting <huntting@glarp.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: huntting@glarp.com Subject: kern/95710: iwi wont roam Message-ID: <200604131918.k3DJIEKZ009823@studious.glarp.com> Resent-Message-ID: <200604131920.k3DJKNnU074721@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 95710 >Category: kern >Synopsis: iwi wont roam >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 13 19:20:21 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Brad Huntting >Release: FreeBSD 6.1-PRERELEASE i386 >Organization: >Environment: System: FreeBSD studious.glarp.com 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #5: Sat Feb 25 20:02:16 MST 2006 root@studious.glarp.com:/usr/src/sys/i386/compile/STUDIOUS i386 Panasonic CF-W4 laptop (Centrino) (Japanese model) >Description: PRO/Wireless 2915ABG MiniPCI Adapter (iwi) will not change base stations (roaming is broken) >How-To-Repeat: Load the if_iwi driver either at run time or at boot time, run 'sh /etc/rc.d/netif start', connects to base station, all appears well. Next, move to a new base station. Running 'ifconfig iwi0' indicates the device is still attached to the original base station: Running 'ifconfig iwi0 scan' returns an empty list. I tried 'ifconfig iwi0 roaming device' followed by 'ifconfig iwi0 down up' but it froze and then crashed the machine. After reloading once, I see the following messages $ dmesg|grep iwi0|sort|uniq -c 2 iwi0: <Intel(R) PRO/Wireless 2915ABG> mem 0xb0101000-0xb0101fff irq 21 at device 4.0 on pci6 2 iwi0: Ethernet address: 00:12:f0:5e:b5:3c 1 iwi0: Please load firmware 2 iwi0: [GIANT-LOCKED] 1 iwi0: detached 2 iwi0: fatal error 2 iwi0: link state changed to UP 41 iwi0: unknown authentication state 1 >Fix: I've been reloading the kernel module with the following script as a workaround, but it's a kludge. Even with such extreme measures, a reboot is sometimes required. #!/usr/local/bin/sudo /bin/sh set -x sh /etc/rc.d/netif stop sh /etc/rc.d/iwi stop ifconfig iwi0 down sleep 1 kldunload if_iwi sleep 1 kldload if_iwi sleep 1 sh /etc/rc.d/iwi start sleep 1 sh /etc/rc.d/netif start ifconfig iwi0 list scan ifconfig iwi0 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604131918.k3DJIEKZ009823>