From: Arkh4mKn1ght <arkh4mkn1ght@gmail.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Weird Atheros 9485 http connecting problems
Date: Mon, 19 May 2014 10:12:30 -0300 [thread overview]
Message-ID: <537A033E.6060107@gmail.com> (raw)
In-Reply-To: <CAJ-VmoniEpkdB1jQADAQSgOE5k941563itccfrv5JcPCYeCitg@mail.gmail.com>
No. i decided to leave powersave on. My idea was to start discarding
what could be creating the problem, so i just disabled ASPM on the card
but i left powersave on. The problem was that ASPM was enabled on the
root complex so im not sure if that was the culprit of the last
appearance of the issue.
But now i'm thinking, if ASPM is disabled on both the root complex and
the atheros card, is leaving powersave mode on meaningless? because
right now ASPM is both disabled on the root complex + atheros card, and
the ath9k module is loaded with ps_enable=1.
[root at localhost oskar]# iwconfig wlan0
wlan0 IEEE 802.11bgn ESSID:"TP-LINK_E6342E"
Mode:Managed Frequency:2.462 GHz Access Point:
00:21:27:E6:34:2E
Bit Rate=48 Mb/s Tx-Power=16 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
Link Quality=68/70 Signal level=-42 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:6 Invalid misc:26 Missed beacon:0
Still the issue has not re appeared yet
I will keep you updated
Thanks for the help
Greetings
Oskar
On 05/19/2014 03:10 AM, Adrian Chadd wrote:
> Hi,
>
> 0xdeadbeef says the registers are unavailable. Did you disable Station
> mode powersave?
>
>
> -a
>
>
> On 18 May 2014 17:29, Arkh4mKn1ght <arkh4mkn1ght@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 <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 13:12 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
2014-05-19 6:10 ` Adrian Chadd
2014-05-19 13:12 ` Arkh4mKn1ght [this message]
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=537A033E.6060107@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.