From owner-freebsd-current@FreeBSD.ORG Tue May 17 19:20:19 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 289C016A4CE for ; Tue, 17 May 2005 19:20:19 +0000 (GMT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id B454F43DC0 for ; Tue, 17 May 2005 19:20:18 +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 j4HJKCms003902 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 May 2005 12:20:13 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <428A44C6.4070403@errno.com> Date: Tue, 17 May 2005 12:23:50 -0700 From: Sam Leffler User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050327) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jiri Mikulas References: <42897F5E.8060404@mikulas.com> In-Reply-To: <42897F5E.8060404@mikulas.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: LOR if_ath.c:842 ieee80211_node.c:1490 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: Tue, 17 May 2005 19:20:19 -0000 Jiri Mikulas wrote: > Hello, FYI > FreeBSD 6.0-CURRENT #1: Wed May 11 18:38:12 CEST 2005 > > lock order reversal > 1st 0xc15d4f1c ath0 (network driver) @ /usr/src/sys/dev/ath/if_ath.c:842 > 2nd 0xc15d4c64 ath0 (802.11 scangen) @ > /usr/src/sys/net80211/ieee80211_node.c:1490 > KDB: stack backtrace: > kdb_backtrace(0,ffffffff,c0797bd0,c0797ab8,c075c9c8) at kdb_backtrace+0x29 > witness_checkorder(c15d4c64,9,c072d520,5d2) at witness_checkorder+0x55c > _mtx_lock_flags(c15d4c64,0,c072d520,5d2,c15d4000) at _mtx_lock_flags+0x5b > ieee80211_iterate_nodes(c15d4bb0,c04a9540,c15d4000) at > ieee80211_iterate_nodes+0x21 > ath_rate_newstate(c15d4000,4) at ath_rate_newstate+0x2f > ath_newstate(c15d4404,4,ffffffff) at ath_newstate+0x1bf > ieee80211_sta_join(c15d4404,c1a4d000,1,0,c15d4404) at > ieee80211_sta_join+0xcf > ieee80211_create_ibss(c15d4404,c15d4862) at ieee80211_create_ibss+0x23b > ieee80211_newstate(c15d4404,1,ffffffff,d148bb4c,c06f7b40) at > ieee80211_newstate+0x2b8 > ath_newstate(c15d4404,1,ffffffff) at ath_newstate+0x2b3 > ath_init(c15d4000) at ath_init+0x167 > ath_media_change(c15d4000,c15d4f1c,10080,c15bb920,0) at > ath_media_change+0x26 > ifmedia_ioctl(c15d4000,c1888ba0,c15d4cac,c0206937,0) at ifmedia_ioctl+0x93 > ieee80211_ioctl(c15d4404,c0206937,c1888ba0,c1888ba0,c15d4404) at > ieee80211_ioctl+0xc1 > ath_ioctl(c15d4000,c0206937,c1888ba0,d148bc38,c0539b90) at ath_ioctl+0x174 > ifhwioctl(c0206937,c15d4000,c1888ba0,c1a80900,1) at ifhwioctl+0x998 > ifioctl(c182de44,c0206937,c1888ba0,c1a80900,0) at ifioctl+0xc3 > soo_ioctl(c1800630,c0206937,c1888ba0,c16da680,c1a80900) at soo_ioctl+0x2db > ioctl(c1a80900,d148bd04,3,2,246) at ioctl+0x370 > syscall(3b,3b,3b,80553a0,1) at syscall+0x227 > Xint0x80_syscall() at Xint0x80_syscall+0x1f > --- syscall (54, FreeBSD ELF32, ioctl), eip = 0x280c527f, esp = > 0xbfbfe35c, ebp = 0xbfbfe378 --- > > > Could it be reason, why 'wicontrol wi0 -l' doesn't show associated > clients ? No. The LOR is a longstanding issue with holding the driver lock over net80211 ioctls. I've delayed dealing with it because I think the best solution involves exposing the driver's lock to the net80211 layer and that is a significant change that needs to be thought through. ifconfig ath0 list sta should show you the set of associated stations. wicontrol is dead. If there's something you can do with wicontrol that you cannot do with ifconfig please speak up. > I have 2 ath cards and one wi card in this router. > Thanks for reply > Jiri > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >