From huntting@studious.glarp.com  Thu Apr 13 19:19:36 2006
Return-Path: <huntting@studious.glarp.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6254B16A404
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <huntting@glarp.com>
Reply-To: Brad Huntting <huntting@glarp.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: huntting@glarp.com
Subject: iwi wont roam
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         95710
>Category:       kern
>Synopsis:       [iwi] iwi wont roam
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    vwe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 13 19:20:21 GMT 2006
>Closed-Date:    Wed Jan 14 22:22:23 UTC 2009
>Last-Modified:  Wed Jan 14 22:22:23 UTC 2009
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: matteo 
State-Changed-When: Sab 17 Mag 2008 10:49:07 UTC 
State-Changed-Why:  
Can you experience this problem on newer FreeBSD versions too? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=95710 
State-Changed-From-To: feedback->closed 
State-Changed-By: vwe 
State-Changed-When: Wed Jan 14 22:20:48 UTC 2009 
State-Changed-Why:  
feedback timeout 
Dear submitter, if you think your issue is still true and must be 
investigated, please give us the requested feedback and we'll be 
happy to reopen this PR. 


Responsible-Changed-From-To: freebsd-bugs->vwe 
Responsible-Changed-By: vwe 
Responsible-Changed-When: Wed Jan 14 22:20:48 UTC 2009 
Responsible-Changed-Why:  
track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=95710 
>Unformatted:
