Re: WLT: Re: LOR if_ath.c:842 ieee80211_node.c:1490 (fwd)

From: Roland van Laar (the_mip_rvl_at_myrealbox.com)
Date: 05/17/05

  • Next message: Maksim Yevmenkin: "Re: keyboard mux driver (straw man proposal & code)"
    To: techniek@lijst.WirelessLeiden.NL
    Date: Tue, 17 May 2005 22:35:42 +0200
    
    

    On Tue, 2005-05-17 at 12:35 -0700, Dirk-Willem van Gulik wrote:
    > Sam is asking for wicontrol features not in ifconfig - do we have any left
    > ?

    Yes, we have,
    http://wleiden.webweaving.org:8080/svn/node-config/other/enh-sec-patch/

    The ability to make your ssid hidden and let nobody with an "ANY" or
    blank SSID associate with a prism2 card in master mode.

    Roland

    >
    > DW.
    >
    > ---------- Forwarded message ----------
    > Date: Tue, 17 May 2005 12:23:50 -0700
    > From: Sam Leffler <sam@errno.com>
    > To: Jiri Mikulas <konfer@mikulas.com>
    > Cc: current@freebsd.org
    > Subject: Re: LOR if_ath.c:842 ieee80211_node.c:1490
    >
    > 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"
    > >
    >
    > _______________________________________________
    > 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"
    >
    > =============================================================================
    > :
    > : Wil je je afmelden voor deze lijst, stuur dan een emailtje naar
    > : majordomo@lijst.wirelessleiden.nl de tekst "unsubscribe techniek" in het bericht
    > : (dus niet in het subject!)
    > :
    > : Voor vragen over deze lijst kun je contact opnemen met:
    > ; owner-techniek@lijst.wirelessleiden.nl
    > =============================================================================
    >
    >

    _______________________________________________
    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"


  • Next message: Maksim Yevmenkin: "Re: keyboard mux driver (straw man proposal & code)"

    Relevant Pages

    • Re: ath(4) driver problems with WEP...
      ... I believe the mechanism that wicontrol uses to fetch keys does not ... I rebuilt ifconfig from the sources you checked in, ... The key I got from wicontrol wasn't zero-padded. ... I need to see if I can get an IPSec tunnel running to the ...
      (freebsd-current)
    • Re: LOR if_ath.c:842 ieee80211_node.c:1490
      ... Jiri Mikulas wrote: ... The LOR is a longstanding issue with holding the driver lock over ... wicontrol is dead. ...
      (freebsd-current)
    • Re: Cant see BSS ID on if_ndis
      ... >However I don't see which BSSID I'm associated with using wicontrol -L.. ... and place the device-specific functionality in ifconfig ... ioctls because they are better (simpler to use, return more information, ... there are two ssids maintained: a desired ssid which is the ...
      (freebsd-current)
    • Re: Project Evil on a WG311v2: working
      ... Hash: SHA1 ... ifconfig when attempting to configure ndis interface with them. ... argument for wicontrol and another ...
      (freebsd-current)
    • Cant see BSS ID on if_ndis
      ... However I don't see which BSSID I'm associated with using wicontrol -L.. ... when you run ifconfig after setting an SSID it doesn't actually display ... for Genesis Software - http://www.gsoft.com.au ...
      (freebsd-current)