From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arkh4mKn1ght Date: Fri, 16 May 2014 09:22:03 -0300 Subject: [ath9k-devel] Weird Atheros 9485 http connecting problems In-Reply-To: <20140516090559.GA5098@qca.qualcomm.com> References: <537373AE.203@gmail.com> <20140515123737.GA11709@qca.qualcomm.com> <5374B9B9.2080006@gmail.com> <20140515160616.GA3571@qca.qualcomm.com> <5375477C.7050503@gmail.com> <20140516090559.GA5098@qca.qualcomm.com> Message-ID: <537602EB.9000602@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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- SERR- 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 >