From graf@schurli.wu-wien.ac.at  Mon May  5 01:03:01 2003
Return-Path: <graf@schurli.wu-wien.ac.at>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D4C6237B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 May 2003 01:03:01 -0700 (PDT)
Received: from schurli.wu-wien.ac.at (schurli.wu-wien.ac.at [137.208.16.32])
	by mx1.FreeBSD.org (Postfix) with SMTP id BA2FC43F93
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 May 2003 01:03:00 -0700 (PDT)
	(envelope-from graf@schurli.wu-wien.ac.at)
Received: (qmail 43944 invoked by uid 1000); 5 May 2003 08:02:59 -0000
Message-Id: <20030505080259.43943.qmail@schurli.wu-wien.ac.at>
Date: 5 May 2003 08:02:59 -0000
From: Georg Graf <graf@schurli.wu-wien.ac.at>
Reply-To: Georg Graf <graf@schurli.wu-wien.ac.at>
To: FreeBSD-gnats-submit@freebsd.org
Cc: graf@schurli.wu-wien.ac.at
Subject: lockup of wi0 in hostap mode
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         51779
>Category:       kern
>Synopsis:       lockup of wi0 in hostap mode
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 05 01:10:12 PDT 2003
>Closed-Date:    Mon May 05 01:37:13 PDT 2003
>Last-Modified:  Mon May 05 01:37:13 PDT 2003
>Originator:     Georg Graf
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
FreeBSD jake.graf.priv.at 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Sun May  4 03:10:03 CEST 2003     root@jake.graf.priv.at:/usr/obj/usr/src/sys/JAKE  i386

May  5 01:25:05 jake /kernel: FreeBSD 4.8-RELEASE #0: Sun May  4 03:10:03 CEST 2003
May  5 01:25:05 jake /kernel: root@jake.graf.priv.at:/usr/obj/usr/src/sys/JAKE
May  5 01:25:05 jake /kernel: Timecounter "i8254"  frequency 1193182 Hz
May  5 01:25:05 jake /kernel: CPU: Pentium Pro (199.43-MHz 686-class CPU)
May  5 01:25:05 jake /kernel: Origin = "GenuineIntel"  Id = 0x619  Stepping = 9
May  5 01:25:05 jake /kernel: Features=0xf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV>
May  5 01:25:05 jake /kernel: real memory  = 99614720 (97280K bytes)
May  5 01:25:05 jake /kernel: avail memory = 89513984 (87416K bytes)

[...]

May  5 01:25:05 jake /kernel: wi0: <Intersil Prism2.5> mem 0xff8ff000-0xff8fffff irq 5 at device 0.0 on pci1
May  5 01:25:05 jake /kernel: wi0: 802.11 address: 00:05:3c:07:2b:03
May  5 01:25:05 jake /kernel: wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI)
May  5 01:25:05 jake /kernel: wi0: Intersil Firmware: Primary 1.00.07, Station 1.03.06

[...]

[root@jake root]# grep wi /etc/rc.conf
ifconfig_wi0="192.168.1.1 netmask 0xffffff00 ssid jaci stationname jakw.graf.priv.at authmode open -powersave wepmode off media DS/11Mbps mediaopt hostap"

>Description:
The Card is an Intel Pro 2011B Wireless Adapter and seems to work
properly in low-load situations. On higher loads, the card locks up and
I see messages as below. Only a reboot helps.

May  5 09:40:00 jake /kernel: wi0: timeout in wi_seek to fc2d/0; last status 800b
May  5 09:40:00 jake /kernel: wi0: timeout in wi_seek to fc04/0; last status 800b
May  5 09:40:00 jake /kernel: wi0: timeout in wi_seek to fc02/0; last status 800b
May  5 09:40:00 jake /kernel: wi0: timeout in wi_seek to fc03/0; last status 800b
May  5 09:40:00 jake /kernel: wi0: timeout in wi_seek to fc0e/0; last status 800b
May  5 09:40:00 jake /kernel: wi0: timeout in wi_seek to fc2a/0; last status 800b
May  5 09:40:00 jake /kernel: wi0: timeout in wi_seek to fc01/0; last status 800b
May  5 09:40:00 jake /kernel: wi0: timeout in wi_seek to fc85/0; last status 800b
May  5 09:40:00 jake /kernel: wi0: timeout in wi_seek to fc28/0; last status 800b
May  5 09:40:00 jake /kernel: wi0: timeout in wi_seek to fc23/0; last status 800b
May  5 09:40:00 jake /kernel: wi0: timeout in wi_seek to fc24/0; last status 800b
May  5 09:40:00 jake /kernel: wi0: timeout in wi_seek to fc80/0; last status 800b
May  5 09:40:00 jake /kernel: wi0: wi_cmd: busy bit won't clear.
May  5 09:40:00 jake /kernel: wi0: wi_cmd: busy bit won't clear.
May  5 09:40:00 jake /kernel: wi0: failed to allocate 1594 bytes on NIC
May  5 09:40:00 jake /kernel: wi0: tx buffer allocation failed
May  5 09:40:00 jake /kernel: wi0: wi_cmd: busy bit won't clear.
May  5 09:40:00 jake /kernel: wi0: failed to allocate 1594 bytes on NIC
May  5 09:40:00 jake /kernel: wi0: mgmt. buffer allocation failed
May  5 09:40:00 jake /kernel: wi0: wi_cmd: busy bit won't clear.

>How-To-Repeat:
e.g. do an installworld over nfs or do an ftp in both ways.

>Fix:

	unknown


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dougb 
State-Changed-When: Mon May 5 01:33:39 PDT 2003 
State-Changed-Why:  

Your problem is here: 
wi0: Intersil Firmware: Primary 1.00.07, Station 1.03.06 

You'll never get hostap mode to work reliably without updating 
your firmware to at least station version 1.4.9. There is a lot 
of discussion about this in the freebsd-mobile mail archives, 
and in wi(4). 


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