From: Arkh4mKn1ght <arkh4mkn1ght@gmail.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Weird Atheros 9485 http connecting problems
Date: Sun, 18 May 2014 21:29:08 -0300 [thread overview]
Message-ID: <53795054.4050701@gmail.com> (raw)
In-Reply-To: <CAJ-Vmo=KYo+5iROtJRqAj_omccoBpgWFmV0KdLH-J=y1CKUXmQ@mail.gmail.com>
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 <arkh4mkn1ght@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 at 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 at 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 at lists.ath9k.org
>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
next prev parent reply other threads:[~2014-05-19 0:29 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-14 13:46 [ath9k-devel] Weird Atheros 9485 http connecting problems Arkh4mKn1ght
2014-05-15 12:37 ` Rajkumar Manoharan
2014-05-15 12:57 ` Arkh4mKn1ght
2014-05-15 16:06 ` Rajkumar Manoharan
2014-05-15 17:44 ` Arkh4mKn1ght
2014-05-15 23:02 ` Arkh4mKn1ght
2014-05-16 9:06 ` Rajkumar Manoharan
2014-05-16 12:22 ` Arkh4mKn1ght
2014-05-18 23:51 ` Adrian Chadd
2014-05-19 0:29 ` Arkh4mKn1ght [this message]
2014-05-19 6:10 ` Adrian Chadd
2014-05-19 13:12 ` Arkh4mKn1ght
2014-05-19 6:29 ` Rajkumar Manoharan
2014-05-19 13:12 ` Arkh4mKn1ght
2014-05-19 14:42 ` Rajkumar Manoharan
2014-05-20 0:32 ` Adrian Chadd
2014-05-20 14:34 ` Arkh4mKn1ght
2014-05-21 14:37 ` Arkh4mKn1ght
2014-05-21 14:59 ` Rajkumar Manoharan
2014-05-21 15:10 ` Arkh4mKn1ght
2014-05-21 19:04 ` Kyle Bassett
2014-05-21 20:51 ` Arkh4mKn1ght
2014-05-21 20:10 ` Adrian Chadd
2014-05-21 20:52 ` Arkh4mKn1ght
2014-05-21 22:05 ` Adrian Chadd
2014-05-23 0:50 ` Arkh4mKn1ght
2014-05-26 18:06 ` Oskar Kossuth
2014-05-27 11:43 ` Rajkumar Manoharan
2014-05-27 13:52 ` Arkh4mKn1ght
2014-05-21 15:39 ` [ath9k-devel] Weird Atheros 9485 http connecting problems - Sniffer Capture Arkh4mKn1ght
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53795054.4050701@gmail.com \
--to=arkh4mkn1ght@gmail.com \
--cc=ath9k-devel@lists.ath9k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.