From owner-freebsd-bugs@FreeBSD.ORG Thu Apr 13 19:20:25 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78FB216A448 for ; Thu, 13 Apr 2006 19:20:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E53EA43D58 for ; Thu, 13 Apr 2006 19:20:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3DJKNYi074722 for ; Thu, 13 Apr 2006 19:20:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3DJKNnU074721; Thu, 13 Apr 2006 19:20:23 GMT (envelope-from gnats) Resent-Date: Thu, 13 Apr 2006 19:20:23 GMT Resent-Message-Id: <200604131920.k3DJKNnU074721@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, Brad Huntting Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6254B16A404 for ; Thu, 13 Apr 2006 19:19:36 +0000 (UTC) (envelope-from huntting@studious.glarp.com) Received: from studious.glarp.com (ec240-162-dhcp.colorado.edu [128.138.240.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE76A43D46 for ; Thu, 13 Apr 2006 19:19:33 +0000 (GMT) (envelope-from huntting@studious.glarp.com) Received: from studious.glarp.com (localhost [127.0.0.1]) by studious.glarp.com (8.13.4/8.13.4) with ESMTP id k3DJIEnT009824; Thu, 13 Apr 2006 13:18:14 -0600 (MDT) (envelope-from huntting@studious.glarp.com) Received: (from huntting@localhost) by studious.glarp.com (8.13.4/8.13.4/Submit) id k3DJIEKZ009823; Thu, 13 Apr 2006 13:18:14 -0600 (MDT) (envelope-from huntting) Message-Id: <200604131918.k3DJIEKZ009823@studious.glarp.com> Date: Thu, 13 Apr 2006 13:18:14 -0600 (MDT) From: Brad Huntting To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: huntting@glarp.com Subject: kern/95710: iwi wont roam X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Brad Huntting List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Apr 2006 19:20:25 -0000 >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: 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: