kern/95710: iwi wont roam

Brad Huntting huntting at
Thu Apr 13 19:20:25 UTC 2006

>Number:         95710
>Category:       kern
>Synopsis:       iwi wont roam
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 13 19:20:21 GMT 2006
>Originator:     Brad Huntting
>Release:        FreeBSD 6.1-PRERELEASE i386
System: FreeBSD 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #5: Sat Feb 25 20:02:16 MST 2006 root at i386

Panasonic CF-W4 laptop (Centrino) (Japanese model)

	PRO/Wireless 2915ABG MiniPCI Adapter (iwi) will not change base stations (roaming is broken)

	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


	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


More information about the freebsd-bugs mailing list