From nobody@FreeBSD.org  Tue Aug  7 18:20:19 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9E22C16A41A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  7 Aug 2007 18:20:19 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 97EC613C4A6
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  7 Aug 2007 18:20:19 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l77IKJiX083590
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 7 Aug 2007 18:20:19 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l77IKJ86083589;
	Tue, 7 Aug 2007 18:20:19 GMT
	(envelope-from nobody)
Message-Id: <200708071820.l77IKJ86083589@www.freebsd.org>
Date: Tue, 7 Aug 2007 18:20:19 GMT
From: Paolo <piso@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Wi configure at boot time led to panic "ieee80211_newstate: bogus xmit rate 0 setup"
X-Send-Pr-Version: www-3.0

>Number:         115275
>Category:       kern
>Synopsis:       [wi] [panic] wi configure at boot time led to panic "ieee80211_newstate: bogus xmit rate 0 setup"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 07 18:30:01 GMT 2007
>Closed-Date:    Thu Apr 21 19:05:13 UTC 2011
>Last-Modified:  Thu Apr 21 19:05:13 UTC 2011
>Originator:     Paolo
>Release:        
>Organization:
>Environment:
FreeBSD newluxor.wired.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Tue Aug  7 00:49:22 CEST 2007     piso@newluxor.wired.org:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
wi0@pci1:1:0:   class=0x028000 card=0x41051385 chip=0x38731260 rev=0x01 hdr=0x00
    vendor     = 'Intersil Americas Inc (Was: Harris Semiconductor)'
    device     = 'PRISM 2.5 802.11b 11Mbps Wireless Controller'
    class      = network

panic: ieee80211_newstate: bogus xmit rate 0 setup

cpuid = 1
KDB: enter: panic
Uptime: 3m11s
Physical memory: 2027 MB
Dumping 137 MB: 122 106 90 74 58 42 26 10

#0  doadump () at pcpu.h:195
195     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:195
#1  0xc0731764 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc0731a38 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:563
#3  0xc07ed8bc in ieee80211_newstate (ic=0xc5275004, nstate=IEEE80211_S_RUN, arg=-1)
    at /usr/src/sys/net80211/ieee80211_proto.c:1314
#4  0xc06c088c in wi_newstate (ic=0xc5275004, nstate=IEEE80211_S_RUN, arg=-1) at /usr/src/sys/dev/wi/if_wi.c:3011
#5  0xc06c2a9d in wi_intr (arg=0xc5275000) at /usr/src/sys/dev/wi/if_wi.c:1888
#6  0xc07176b5 in ithread_loop (arg=0xc5274310) at /usr/src/sys/kern/kern_intr.c:1036
#7  0xc0714c21 in fork_exit (callout=0xc071750b <ithread_loop>, arg=0xc5274310, frame=0xe57c8d38)
    at /usr/src/sys/kern/kern_fork.c:797
#8  0xc09b3d70 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:205

>How-To-Repeat:
Drop these into rc.conf:

defaultrouter="10.0.0.1"
ifconfig_wi0="inet 10.0.0.1 wepmode on weptxkey 1 wepkey 1:$WEPKEY netmask 255.255.255.0"

and reboot.
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: jh 
State-Changed-When: Fri Mar 4 15:56:21 UTC 2011 
State-Changed-Why:  
Can you still reproduce this on a supported release? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115275 
State-Changed-From-To: feedback->closed 
State-Changed-By: jh 
State-Changed-When: Thu Apr 21 19:05:11 UTC 2011 
State-Changed-Why:  
Feedback timeout. 

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