Hi,

0xdeadbeef says the registers are unavailable. Did you disable Station
mode powersave?


-a


On 18 May 2014 17:29, Arkh4mKn1ght <arkh4mkn1...@gmail.com> wrote:
> Hi
>
> I'm still testing but the issue reappeared again with the ASPM disabled on
> the card. This ocurred after starting the computer from hibernation and as i
> mentioned before ASPM was disabled only on the card and not on the root
> complex. I found these messages on the log:
>
> May 18 10:42:56 localhost kernel: mei_me 0000:00:16.0: suspend
> May 18 10:42:57 localhost kernel: ath: phy0: RX failed to go idle in 10 ms
> RXSM=0xdeadbeef
> May 18 10:42:57 localhost kernel: ath: phy0: DMA failed to stop in 10 ms
> AR_CR=0xdeadbeef AR_DIAG_SW=0xdeadbeef DMADBG_7=0xdeadbeef
>
> After rebooting the computer everything worked fine again.
>
> Now i have disabled ASPM on both the root complex and the atheros card so
> i'm still testing to see if the issue happens again. until now (7+ hours
> everything is fine).
> I will let you know if the issue reappears after these changes
>
> Greetings
> Oskar.
>
>
>
>
> On 05/18/2014 08:51 PM, Adrian Chadd wrote:
>>
>> So was it ASPM?
>>
>>
>> -a
>>
>>
>> On 16 May 2014 05:22, Arkh4mKn1ght <arkh4mkn1...@gmail.com> wrote:
>>>
>>> Hi
>>>
>>> That was a nice find. I thought ASPM was disabled because i always boot
>>> my kernel with the
>>> pcie_aspm=off flag. I have now disabled ASPM following the link you
>>> shared with me for my card but is it enough to disable ASPM on the card
>>> or do i have to disable it also for the root complex?
>>>
>>> root complex: (byte 0x50 has value 42 it means L1 is enabled)
>>> [root@localhost kernel]# lspci -s 00:1c.0 -xxx
>>> 00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset
>>> Family PCI Express Root Port 1 (rev c4)
>>> 00: 86 80 10 1e 07 00 10 00 c4 00 04 06 10 00 81 00
>>> 10: 00 00 00 00 00 00 00 00 00 07 07 00 f0 00 00 00
>>> 20: 20 c1 20 c1 51 c1 51 c1 00 00 00 00 00 00 00 00
>>> 30: 00 00 00 00 40 00 00 00 00 00 00 00 0a 01 00 00
>>> 40: 10 80 42 01 00 80 00 00 00 00 10 00 12 3c 12 01
>>> 50: 42 00 11 70 00 b2 04 00 00 00 40 01 00 00 00 00
>>> 60: 00 00 00 00 16 00 00 00 00 00 00 00 00 00 00 00
>>> 70: 02 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00
>>> 80: 05 90 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>> 90: 0d a0 00 00 4d 10 ab 90 00 00 00 00 00 00 00 00
>>> a0: 01 00 02 c8 00 00 00 00 00 00 00 00 00 00 00 00
>>> b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>> c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>>> d0: 00 00 00 01 02 0b 00 00 00 80 11 81 00 00 00 00
>>> e0: 00 3f 00 00 00 00 00 00 01 00 00 00 00 00 00 00
>>> f0: 00 00 00 00 00 00 00 00 87 0f 04 08 00 00 00 00
>>>
>>> [root@localhost kernel]#
>>>
>>> Atheros card with ASPM disabled:
>>> 07:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network
>>> Adapter (rev 01)
>>>       Subsystem: Foxconn International, Inc. Device e044
>>>       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 11
>>>       Region 0: Memory at c1200000 (64-bit, non-prefetchable) [size=512K]
>>>       Expansion ROM at c1500000 [disabled] [size=64K]
>>>       Capabilities: [40] Power Management version 2
>>>           Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA
>>> PME(D0+,D1+,D2+,D3hot+,D3cold+)
>>>           Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
>>>       Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+
>>>           Address: 0000000000000000  Data: 0000
>>>           Masking: 00000000  Pending: 00000000
>>>       Capabilities: [70] Express (v2) Endpoint, MSI 00
>>>           DevCap:    MaxPayload 128 bytes, PhantFunc 0, Latency L0s
>>> unlimited, 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, Exit
>>> Latency L0s <4us, L1 <64us
>>>               ClockPM- Surprise- LLActRep- BwNot-
>>>           LnkCtl:    ASPM Disabled; RCB 64 bytes Disabled- CommClk+
>>>               ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>>>
>>> How do i make the changes permanent when booting the system ?
>>>
>>> Greetings
>>>
>>> Oskar
>>>
>>> On 05/16/2014 06:06 AM, Rajkumar Manoharan wrote:
>>>>
>>>> On Thu, May 15, 2014 at 08:02:20PM -0300, Arkh4mKn1ght wrote:
>>>>>
>>>>> Hi
>>>>>
>>>>> The problem happened again suddenly i had difficulty browsing websites.
>>>>> When i tried to load a site the browser stays in connecting..... for
>>>>> some
>>>>> minutes. After a while it does
>>>>> load the sites but painfully slow. Pings, ssh connections work fine,
>>>>> but a
>>>>> connection to smtp.gmail.com to send you this email also stayed in
>>>>> connecting...(im using thunderbird as email client) though.
>>>>>
>>>>> I disabled ANI after it happened but nothing changed, the problem
>>>>> persisted.
>>>>> One thing i noticed though, as soon as i disabled ANI, the ath9k
>>>>> statements
>>>>> stopped to appear in the kernel log...
>>>>>
>>>>> I'm sending you the kernel log where it shows a lot of calibration
>>>>> statements. the problem started more or less at 19pm.
>>>>> Let me know if you need anything else.
>>>>>
>>>> Thanks for the log. ASPM is enabled for your card. Can you please
>>>> disable ASPM
>>>> and confirm the issue. Meanwhile I am going through the log and will
>>>> update.
>>>>
>>>> Steps to disable ASPM:-
>>>>
>>>>
>>>> http://wireless.kernel.org/en/users/Documentation/ASPM#Force_enable_or_disable_ASPM
>>>>
>>>> After disabling ASPM, please confirm the same in lspci -vvvv output.
>>>>
>>>> -Rajkumar
>>>>
>>> _______________________________________________
>>> ath9k-devel mailing list
>>> ath9k-devel@lists.ath9k.org
>>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
>
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to