#185: Stuck beacon on latest svn of madwifi
-------------------------------------+--------------------------------------
      Reporter:  [EMAIL PROTECTED]  |       Owner:  proski                      
                       
          Type:  defect              |      Status:  assigned                   
                        
      Priority:  major               |   Milestone:  version 0.9.x - 
progressive release candidate phase
     Component:  madwifi: driver     |     Version:  trunk                      
                        
    Resolution:                      |    Keywords:                             
                        
Patch_attached:  0                   |  
-------------------------------------+--------------------------------------
Comment (by [EMAIL PROTECTED]):

 I have also encountered the Stuck Beacon.[[BR]]I am using a Ubiquiti XR2
 minipci card, in a PCI-MiniPCI adapter in a PCI-X slot.  I am using the
 madwifi-hal-0.10.5.6 branch on both my AP and my client, though I have
 tried trunk and 0.9.4.  My present revision on the AP is 3722, my client
 is using r3813.[[BR]]The AP is configured for WPA2-Enterprise using
 hostapd and freeradius with a mysql backend.[[BR]]I originally had the
 network configured on channel 1 of the 802.11g spectrum.  After reading
 this ticket, I looked around and saw that there was one other network on
 that channel, though its signal quality was only 2dB.  There are quite a
 few networks on channel 6, so I opted to try out channel 11.  This does
 not seem to have any effect at all on the frequency or duration of stuck
 beacons for me.[[BR]]Trolling through the IPMI event logs and my syslogs,
 I have noticed that every occurence of the SBP is accompanied by a SERR
 assertion from the PCI bus.  It appears that the SERR precedes the SBP by
 slightly less than a second, based on the logs.[[BR]]It is also
 interesting to note that I have two other clients on this network - one
 using an Intel 3945, and the other a Broadcom (I do not know the specific
 chipset; it's in a 17" PowerBook G4).  I also have a D-Link WNA-1330
 PCMCIA card.  The SBP and SERR only occur when I am associated from my
 Atheros-based cards, but the other clients are also affected by
 them.[[BR]]lspci output from the AP:
 {{{
 03:08.0 Ethernet controller [0200]: Atheros Communications, Inc. AR5006X
 802.11abg NIC [168c:001b] (rev 01)
         Subsystem: Unknown device [0777:3002]
         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
 ParErr+ Stepping- SERR+ FastB2B- DisINTx-
         Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
 <TAbort- <MAbort- >SERR- <PERR- INTx-
         Latency: 96 (2500ns min, 7000ns max), Cache Line Size: 64 bytes
         Interrupt: pin A routed to IRQ 24
         Region 0: Memory at fe6f0000 (32-bit, non-prefetchable) [size=64K]
         Capabilities: [44] Power Management version 2
                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
 PME(D0-,D1-,D2-,D3hot-,D3cold-)
                 Status: D0 PME-Enable- DSel=0 DScale=2 PME-
         Kernel driver in use: ath_pci
         Kernel modules: ath_pci
 }}}
 lspci output from my Atheros client, using its onboard minipci card:
 {{{
 03:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR5212
 802.11abg NIC [168c:1014] (rev 01)
         Subsystem: IBM ThinkPad 11a/b/g Wireless LAN Mini Express Adapter
 (AR5BXB6) [1014:058a]
         Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
 ParErr- Stepping- SERR+ FastB2B- DisINTx-
         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
 <TAbort- <MAbort- >SERR- <PERR- INTx-
         Interrupt: pin A routed to IRQ 17
         Region 0: Memory at df2f0000 (64-bit, non-prefetchable) [size=64K]
         Capabilities: [40] Power Management version 2
                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
 PME(D0-,D1-,D2-,D3hot-,D3cold-)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
         Capabilities: [50] Message Signalled Interrupts: Mask- 64bit-
 Queue=0/0 Enable-
                 Address: 00000000  Data: 0000
         Capabilities: [60] Express (v1) Legacy Endpoint, MSI 00
                 DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s
 <512ns, L1 <64us
                         ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
                 DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
 Unsupported-
                         RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
                         MaxPayload 128 bytes, MaxReadReq 512 bytes
                 DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr-
 TransPend-
                 LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1,
 Latency L0 <512ns, L1 <64us
                         ClockPM- Suprise- LLActRep- BwNot-
                 LnkCtl: ASPM L1 Enabled; RCB 128 bytes Disabled- Retrain-
 CommClk+
                         ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                 LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+
 DLActive- BWMgmt- ABWMgmt-
         Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
                 Vector table: BAR=0 offset=00000000
                 PBA: BAR=0 offset=00000000
         Capabilities: [100] Advanced Error Reporting <?>
         Capabilities: [140] Virtual Channel <?>
         Kernel modules: ath_pci
 }}}
 lspci output from my D-Link WNA-1330:
 {{{
 16:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR2413
 802.11bg NIC [168c:001a] (rev 01)
         Subsystem: D-Link System Inc Device [1186:3a1c]
         Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
 ParErr- Stepping- SERR- FastB2B- DisINTx-
         Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
 <TAbort- <MAbort- >SERR- <PERR- INTx-`[[BR]]
         Interrupt: pin A routed to IRQ 16
         Region 0: Memory at c4000000 (32-bit, non-prefetchable) [disabled]
 [size=64K]
         Capabilities: [44] Power Management version 2
                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
 PME(D0-,D1-,D2-,D3hot-,D3cold-)
                 Status: D0 PME-Enable- DSel=0 DScale=2 PME-
         Kernel modules: ath_pci
 }}}
 Syslog of a recent SERR/SBP occurrence:
 {{{
 Jul 22 21:25:09 [ipmievd] Critical Interrupt sensor - PCI SERR
 Jul 22 21:25:10 [kernel] wifi0: ath_bstuck_tasklet: Stuck beacon;
 resetting (beacon miss count: 11)
 Jul 22 21:25:10 [ipmievd] Critical Interrupt sensor - PCI SERR
 Jul 22 21:25:10 [kernel] wifi0: ath_bstuck_tasklet: Stuck beacon;
 resetting (beacon miss count: 11)
 Jul 22 22:36:46 [ipmievd] Critical Interrupt sensor - PCI SERR
 Jul 22 22:36:47 [kernel] wifi0: ath_bstuck_tasklet: Stuck beacon;
 resetting (beacon miss count: 11)
 }}}

-- 
Ticket URL: <http://madwifi.org/ticket/185#comment:29>
madwifi.org <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to