From owner-freebsd-current@FreeBSD.ORG Thu Apr 28 21:38:40 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDE6416A4F9 for ; Thu, 28 Apr 2005 21:38:40 +0000 (GMT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A8C043D39 for ; Thu, 28 Apr 2005 21:38:40 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.91] (sam@[66.127.85.91]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id j3SLccms085485 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 28 Apr 2005 14:38:39 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <42715889.7070202@errno.com> Date: Thu, 28 Apr 2005 14:41:29 -0700 From: Sam Leffler User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050327) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brian Candler References: <20050428121447.GA90430@uk.tiscali.com> In-Reply-To: <20050428121447.GA90430@uk.tiscali.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: wpa_supplicant causes panic in ieee80211_newstate X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 21:38:40 -0000 Brian Candler wrote: > -CURRENT supped as of yesterday. Old-ish Dell PIII-600MHz system. I have put > in a Buffalo PCI-PCCard adaptor with WLI-PCM-L11 wireless card, detected as > if_wi. > > Now I'm trying to see if I can get it to join a WPA network. I installed > security/wpa_supplicant from ports, and ran it as > > wpa_supplicant -iwi0 -c/usr/local/etc/wpa_supplicant.conf -d > # based closely on wpa_suppicant.conf.sample > > It generated some screens of debug information, ending with > > Starting AP scan (broadcast SSID) > Added BSSID 00:00:00:00:00:00 into blacklist > EAPOL: External notification - portEnabled=0 > EAPOL: External notification - portValid=0 > Disconnect event - remove keys > wpa_driver_bsd_dsl_key: keyidx=0 > wpa_driver_bsd_dsl_key: keyidx=1 > wpa_driver_bsd_dsl_key: keyidx=2 > wpa_driver_bsd_dsl_key: keyidx=3 > wpa_driver_bsd_dsl_key: keyidx=0 > > At this point, a panic occured on the first virtual console: > > panic: ieee80211_newstate: bogus xmit rate 0 setup > > cpuid = 0 > KDB: enter: panic > [thread pid 22 tid 100014 ] > Stopped at kdb_enter+0x2b: nop > db> trace > Tracing pid 22 tid 100014 td 0xc1521d80 > kdb_enter(c08a88ab) at kdb_enter+0x2b > panic(c08b6a4a,c085bbdf,0,c16ae400,c1770000) at panic+0x127 > ieee80211_netstate(c177025c,4,ffffffff,c16ae400,782af) at ieee80211_newstate+0x50e > wi_newstate(c1777025c,4,ffffffff) at wi_newstate+0x1bf > wi_info_intr(c17770000) at wi_info_intr+0x107 > wi_intr(c17770000) at wi_intr+0x17e > pccard_intr(c1544680,c1775080,cbffed0c,c064622c,c164f880) at pccard_intr+0x60 > cbb_func_intr(c164f880) at cbb_func_intr+0x45 > ithread_loop(c1544c00,cbffed38,c1544c00,c064610c,0) at ithread_loop+0x120 > fork_exit(c064610c,c1544c00,cbffed38) at fork_exit+0xa0 > fork_trampoline() at fork_trampoline+0x8 > --- trap 0x1, eip = 0, esp = 0xcbffed6c, edp = 0 --- > db> ps > ... > 22 c1524c00 0 0 0 0000204 [CPU 0] irq11: cbb0 ifpi0+* > > Unfortunately I didn't have a dumpdev enabled. I don't know if the above is > much use by itself. wi does not support wpa but you shouldn't get a panic. I'll check out the panic. Sam