* [ath9k-devel] Weird Atheros 9485 http connecting problems
@ 2014-05-14 13:46 Arkh4mKn1ght
2014-05-15 12:37 ` Rajkumar Manoharan
0 siblings, 1 reply; 30+ messages in thread
From: Arkh4mKn1ght @ 2014-05-14 13:46 UTC (permalink / raw)
To: ath9k-devel
Hello
I'm having a problem for some time with an atheros card 9485 using the
ath9k driver. My computer has linux kernel 3.12.13 and i'm using ath9k
driver from backports 3.15.
The problem that i have is that after some hours of using the computer,
the wireless connection starts
to give problems only with HTTP and HTTPS connections. If i try to load
a page it just stays in "connecting..." but after some minutes its does
load the pages albeit slowly. Its weird because pings work fine, SSH
access to external servers is also fine. I thought that it could be a
DNS thing but if i try to load an http address by IP it also stalls in
connecting....(although i can ping or ssh a external machine by domain
without issues)
This problem happens with both GUI browsers and console browsers like
lynx. The only way to
resolve this is to reboot the computer or power it off. I have also
noticed that if i disable the network connection to my wireless router
when the problem appears and connect to my smartphone with hotspot
tethering im able to load web pages fine again, but as soon as i revert
to my wireless router the problem resumes until i reboot or power off
the computer. Also i dont use any kind of firewall.
My wireless router is a TP-LINK WR542G. Other machines connected to it
dont experience any problems.
[root at localhost parameters]# 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:off
Link Quality=61/70 Signal level=-49 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:85 Invalid misc:7145 Missed beacon:0
[root at localhost parameters]#
power management is off:
[root at localhost parameters]# iw dev wlan0 get power_save
Power save: off
[root at localhost parameters]#
[root at localhost parameters]# dmesg | grep -i ather
[ 2.619076] usb 1-1.2: Manufacturer: Atheros Communications
[ 17.326534] ieee80211 phy0: Atheros AR9485 Rev:1
mem=0xffffc90004900000, irq=11
[root at localhost parameters]#
Any ideas of what could be wrong?
Greetings
Oskar
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
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
0 siblings, 1 reply; 30+ messages in thread
From: Rajkumar Manoharan @ 2014-05-15 12:37 UTC (permalink / raw)
To: ath9k-devel
On Wed, May 14, 2014 at 10:46:22AM -0300, Arkh4mKn1ght wrote:
> Hello
>
> I'm having a problem for some time with an atheros card 9485 using the
> ath9k driver. My computer has linux kernel 3.12.13 and i'm using ath9k
> driver from backports 3.15.
>
> The problem that i have is that after some hours of using the computer,
> the wireless connection starts
> to give problems only with HTTP and HTTPS connections. If i try to load
> a page it just stays in "connecting..." but after some minutes its does
> load the pages albeit slowly. Its weird because pings work fine, SSH
> access to external servers is also fine. I thought that it could be a
> DNS thing but if i try to load an http address by IP it also stalls in
> connecting....(although i can ping or ssh a external machine by domain
> without issues)
Oskar,
Can you please share your lspci output. (lspci -vvvv)?
Please send me kernel log with debug logs.
echo 0x649 >/sys/kernel/debug/ieee80211/phy*/ath9k/debug
OR
sudo modprobe -r ath9k
sudo modprobe -v ath9k debug=0x649
> This problem happens with both GUI browsers and console browsers like
> lynx. The only way to
> resolve this is to reboot the computer or power it off. I have also
> noticed that if i disable the network connection to my wireless router
> when the problem appears and connect to my smartphone with hotspot
you mean disconnecting from your AP and connecting to hotspot works fine.
isn't it?
What mode AP is configured with (HT20/HT40)?
-Rajkumar
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
2014-05-15 12:37 ` Rajkumar Manoharan
@ 2014-05-15 12:57 ` Arkh4mKn1ght
2014-05-15 16:06 ` Rajkumar Manoharan
0 siblings, 1 reply; 30+ messages in thread
From: Arkh4mKn1ght @ 2014-05-15 12:57 UTC (permalink / raw)
To: ath9k-devel
Hi
Thanks for your reply. Im attaching the lspci output in this email. ..
yes, disconnecting from my AP after the problem arises and connecting
to smartphone tethering hotspot works fine and i can browse the internet
without problems. If i reconnect to the AP the problem resumes unless i
reboot or power off the computer.
How do i check if my AP is HT20 or HT40?
i got this info with iwlist:
wlan0 Scan completed :
Cell 01 - Address: 00:21:27:E6:34:2E
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=69/70 Signal level=-41 dBm
Encryption key:on
ESSID:"TP-LINK_E6342E"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 36 Mb/s
Bit Rates:9 Mb/s; 18 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=00000000fb5442bc
Extra: Last beacon: 83ms ago
IE: Unknown: 000E54502D4C494E4B5F453633343245
IE: Unknown: 010882848B960C183048
IE: Unknown: 03010B
IE: Unknown: 2A0100
IE: Unknown: 32041224606C
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Preauthentication Supported
IE: Unknown: DD0900037F01010008FF7F
IE: Unknown:
DD1A00037F0301000000002127E6342E022127E6342E64002C010808
As for the kernel and debug logs, do you want me to send them after the
problem arises?
Greetings
Oskar
On 05/15/2014 09:37 AM, Rajkumar Manoharan wrote:
> On Wed, May 14, 2014 at 10:46:22AM -0300, Arkh4mKn1ght wrote:
>> Hello
>>
>> I'm having a problem for some time with an atheros card 9485 using the
>> ath9k driver. My computer has linux kernel 3.12.13 and i'm using ath9k
>> driver from backports 3.15.
>>
>> The problem that i have is that after some hours of using the computer,
>> the wireless connection starts
>> to give problems only with HTTP and HTTPS connections. If i try to load
>> a page it just stays in "connecting..." but after some minutes its does
>> load the pages albeit slowly. Its weird because pings work fine, SSH
>> access to external servers is also fine. I thought that it could be a
>> DNS thing but if i try to load an http address by IP it also stalls in
>> connecting....(although i can ping or ssh a external machine by domain
>> without issues)
> Oskar,
>
> Can you please share your lspci output. (lspci -vvvv)?
>
> Please send me kernel log with debug logs.
>
> echo 0x649 >/sys/kernel/debug/ieee80211/phy*/ath9k/debug
>
> OR
>
> sudo modprobe -r ath9k
> sudo modprobe -v ath9k debug=0x649
>
>> This problem happens with both GUI browsers and console browsers like
>> lynx. The only way to
>> resolve this is to reboot the computer or power it off. I have also
>> noticed that if i disable the network connection to my wireless router
>> when the problem appears and connect to my smartphone with hotspot
> you mean disconnecting from your AP and connecting to hotspot works fine.
> isn't it?
>
> What mode AP is configured with (HT20/HT40)?
>
> -Rajkumar
>
-------------- next part --------------
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
Subsystem: Sony Corporation Device 90ab
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-
Latency: 0
Capabilities: [e0] Vendor Specific Information: Len=0c <?>
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09) (prog-if 00 [Normal decode])
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-
Latency: 0, Cache Line Size: 64 bytes
Bus: primary=00, secondary=01, subordinate=06, sec-latency=0
I/O behind bridge: 00003000-00003fff
Memory behind bridge: c0000000-c0ffffff
Prefetchable memory behind bridge: 00000000b0000000-00000000bfffffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: [88] Subsystem: Sony Corporation Device 90ab
Capabilities: [80] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Address: fee0f00c Data: 4141
Capabilities: [a0] Express (v2) Root Port (Slot+), MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0
ExtTag- RBE+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 256 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #2, Speed 8GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <256ns, L1 <8us
ClockPM- Surprise- LLActRep- BwNot+
LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 5GT/s, Width x16, TrErr- Train+ SlotClk+ DLActive- BWMgmt+ ABWMgmt+
SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
Slot #1, PowerLimit 75.000W; Interlock- NoCompl+
SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
Changed: MRL- PresDet+ LinkState-
RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
RootCap: CRSVisible-
RootSta: PME ReqID 0000, PMEStatus- PMEPending-
DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF Not Supported ARIFwd-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled ARIFwd-
LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
Capabilities: [100 v1] Virtual Channel
Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
Arb: Fixed- WRR32- WRR64- WRR128-
Ctrl: ArbSelect=Fixed
Status: InProgress-
VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb: Fixed+ WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
Status: NegoPending- InProgress-
Capabilities: [140 v1] Root Complex Link
Desc: PortNumber=02 ComponentID=01 EltType=Config
Link0: Desc: TargetPort=00 TargetComponent=01 AssocRCRB- LinkType=MemMapped LinkValid+
Addr: 00000000fed19000
Capabilities: [d94 v1] #19
Kernel driver in use: pcieport
Kernel modules: shpchp
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) (prog-if 30 [XHCI])
Subsystem: Sony Corporation Device 90ab
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: 0
Interrupt: pin A routed to IRQ 43
Region 0: Memory@c1300000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [70] 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: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
Address: 00000000fee0f00c Data: 4171
Kernel driver in use: xhci_hcd
Kernel modules: xhci_hcd
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Sony Corporation Device 90ab
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-
Latency: 0
Interrupt: pin A routed to IRQ 41
Region 0: Memory@c1314000 (64-bit, non-prefetchable) [size=16]
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: 00000000fee0f00c Data: 4151
Kernel driver in use: mei_me
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
Subsystem: Sony Corporation Device 90ab
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: 0
Interrupt: pin A routed to IRQ 11
Region 0: Memory@c1319000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] 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: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
AFCap: TP+ FLR+
AFCtrl: FLR-
AFStatus: TP-
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
Subsystem: Sony Corporation Device 90ab
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-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 45
Region 0: Memory@c1310000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: 00000000fee0f00c Data: 4191
Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0
ExtTag- RBE-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
Capabilities: [100 v1] Virtual Channel
Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
Arb: Fixed- WRR32- WRR64- WRR128-
Ctrl: ArbSelect=Fixed
Status: InProgress-
VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=01
Status: NegoPending- InProgress-
VC1: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl: Enable+ ID=1 ArbSelect=Fixed TC/VC=22
Status: NegoPending- InProgress-
Capabilities: [130 v1] Root Complex Link
Desc: PortNumber=0f ComponentID=00 EltType=Config
Link0: Desc: TargetPort=00 TargetComponent=00 AssocRCRB- LinkType=MemMapped LinkValid+
Addr: 00000000fed1c000
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4) (prog-if 00 [Normal decode])
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-
Latency: 0, Cache Line Size: 64 bytes
Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
I/O behind bridge: 0000f000-00000fff
Memory behind bridge: c1200000-c12fffff
Prefetchable memory behind bridge: 00000000c1500000-00000000c15fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: [40] Express (v2) Root Port (Slot+), MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0
ExtTag- RBE+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
LnkCap: Port #1, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <16us
ClockPM- Surprise- LLActRep+ BwNot-
LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+ BWMgmt+ ABWMgmt-
SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
Slot #0, PowerLimit 10.000W; Interlock- NoCompl+
SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
Changed: MRL- PresDet- LinkState+
RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
RootCap: CRSVisible-
RootSta: PME ReqID 0000, PMEStatus- PMEPending-
DevCap2: Completion Timeout: Range BC, TimeoutDis+, LTR-, OBFF Not Supported ARIFwd-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled ARIFwd-
LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Address: 00000000 Data: 0000
Capabilities: [90] Subsystem: Sony Corporation Device 90ab
Capabilities: [a0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4) (prog-if 00 [Normal decode])
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-
Latency: 0, Cache Line Size: 64 bytes
Bus: primary=00, secondary=08, subordinate=08, sec-latency=0
I/O behind bridge: 0000f000-00000fff
Memory behind bridge: c1100000-c11fffff
Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: [40] Express (v2) Root Port (Slot+), MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0
ExtTag- RBE+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
LnkCap: Port #2, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <16us
ClockPM- Surprise- LLActRep+ BwNot-
LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+ BWMgmt+ ABWMgmt-
SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
Slot #1, PowerLimit 10.000W; Interlock- NoCompl+
SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
Changed: MRL- PresDet- LinkState+
RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
RootCap: CRSVisible-
RootSta: PME ReqID 0000, PMEStatus- PMEPending-
DevCap2: Completion Timeout: Range BC, TimeoutDis+, LTR-, OBFF Not Supported ARIFwd-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled ARIFwd-
LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Address: 00000000 Data: 0000
Capabilities: [90] Subsystem: Sony Corporation Device 90ab
Capabilities: [a0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4) (prog-if 00 [Normal decode])
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-
Latency: 0, Cache Line Size: 64 bytes
Bus: primary=00, secondary=09, subordinate=09, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: fff00000-000fffff
Prefetchable memory behind bridge: 00000000c1000000-00000000c10fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: [40] Express (v2) Root Port (Slot+), MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0
ExtTag- RBE+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
LnkCap: Port #3, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <16us
ClockPM- Surprise- LLActRep+ BwNot-
LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+ BWMgmt+ ABWMgmt-
SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
Slot #2, PowerLimit 10.000W; Interlock- NoCompl+
SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
Changed: MRL- PresDet- LinkState+
RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
RootCap: CRSVisible-
RootSta: PME ReqID 0000, PMEStatus- PMEPending-
DevCap2: Completion Timeout: Range BC, TimeoutDis+, LTR-, OBFF Not Supported ARIFwd-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled ARIFwd-
LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Address: 00000000 Data: 0000
Capabilities: [90] Subsystem: Sony Corporation Device 90ab
Capabilities: [a0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04) (prog-if 20 [EHCI])
Subsystem: Sony Corporation Device 90ab
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: 0
Interrupt: pin A routed to IRQ 10
Region 0: Memory@c1318000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] 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: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
AFCap: TP+ FLR+
AFCtrl: FLR-
AFStatus: TP-
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
Subsystem: Sony Corporation Device 90ab
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: 0
Capabilities: [e0] Vendor Specific Information: Len=0c <?>
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
Subsystem: Sony Corporation Device 90ab
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: 0
Interrupt: pin B routed to IRQ 42
Region 0: I/O ports at 4048 [size=8]
Region 1: I/O ports at 4054 [size=4]
Region 2: I/O ports at 4040 [size=8]
Region 3: I/O ports at 4050 [size=4]
Region 4: I/O ports at 4020 [size=32]
Region 5: Memory@c1317000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Address: fee0f00c Data: 4161
Capabilities: [70] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [a8] SATA HBA v1.0 BAR4 Offset=00000004
Capabilities: [b0] PCI Advanced Features
AFCap: TP+ FLR+
AFCtrl: FLR-
AFStatus: TP-
Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
Subsystem: Sony Corporation Device 90ab
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-
Interrupt: pin C routed to IRQ 10
Region 0: Memory at c1315000 (64-bit, non-prefetchable) [size=256]
Region 4: I/O ports@4000 [size=32]
Kernel modules: i2c_i801
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7550M/7570M/7650M] (prog-if 00 [VGA controller])
Subsystem: Sony Corporation Device 90ab
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-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 47
Region 0: Memory at b0000000 (64-bit, prefetchable) [size=256M]
Region 2: Memory at c0000000 (64-bit, non-prefetchable) [size=128K]
Region 4: I/O ports at 3000 [size=256]
Expansion ROM@c0040000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 256 bytes, MaxReadReq 512 bytes
DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
LnkCap: Port #0, Speed 5GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <64ns, L1 <1us
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: 00000000fee0f00c Data: 41b1
Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [150 v1] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap+ ChkEn-
Kernel driver in use: radeon
Kernel modules: radeon
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Turks/Whistler HDMI Audio [Radeon HD 6000 Series]
Subsystem: Sony Corporation Device 90ab
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-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 46
Region 0: Memory@c0020000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 256 bytes, MaxReadReq 512 bytes
DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
LnkCap: Port #0, Speed 5GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <64ns, L1 <1us
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: 00000000fee0f00c Data: 41a1
Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [150 v1] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap+ ChkEn-
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
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-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at c1200000 (64-bit, non-prefetchable) [size=512K]
Expansion ROM@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 L1 Enabled; RCB 64 bytes Disabled- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Not Supported, TimeoutDis+, LTR-, OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
Capabilities: [100 v1] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
Capabilities: [140 v1] Virtual Channel
Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
Arb: Fixed- WRR32- WRR64- WRR128-
Ctrl: ArbSelect=Fixed
Status: InProgress-
VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
Status: NegoPending- InProgress-
Capabilities: [160 v1] Device Serial Number 00-00-00-00-00-00-00-00
Kernel driver in use: ath9k
Kernel modules: ath9k
08:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
Subsystem: Sony Corporation Device 90ab
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-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 10
Region 0: Memory@c1100000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 3
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/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [70] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <1us, L1 <8us
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 unlimited, L1 <64us
ClockPM+ Surprise- LLActRep- BwNot-
LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- CommClk+
ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Not Supported, TimeoutDis+, LTR-, OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
Capabilities: [100 v1] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
Capabilities: [140 v1] Device Serial Number 00-00-00-01-00-4c-e0-00
Kernel modules: rtsx_pci
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)
Subsystem: Sony Corporation Device 90ab
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-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 44
Region 0: I/O ports at 2000 [size=256]
Region 2: Memory at c1004000 (64-bit, prefetchable) [size=4K]
Region 4: Memory@c1000000 (64-bit, prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
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/1 Maskable- 64bit+
Address: 00000000fee0f00c Data: 4181
Capabilities: [70] Express (v2) Endpoint, MSI 01
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 4096 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s unlimited, L1 <64us
ClockPM+ Surprise- LLActRep- BwNot-
LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, LTR-, OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
Vector table: BAR=4 offset=00000000
PBA: BAR=4 offset=00000800
Capabilities: [d0] Vital Product Data
No end tag found
Capabilities: [100 v1] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
Capabilities: [140 v1] Virtual Channel
Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
Arb: Fixed- WRR32- WRR64- WRR128-
Ctrl: ArbSelect=Fixed
Status: InProgress-
VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
Status: NegoPending- InProgress-
Capabilities: [160 v1] Device Serial Number 01-00-00-00-68-4c-e0-00
Kernel driver in use: r8169
Kernel modules: r8169
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
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
0 siblings, 2 replies; 30+ messages in thread
From: Rajkumar Manoharan @ 2014-05-15 16:06 UTC (permalink / raw)
To: ath9k-devel
On Thu, May 15, 2014 at 09:57:29AM -0300, Arkh4mKn1ght wrote:
> Hi
>
> Thanks for your reply. Im attaching the lspci output in this email. ..
> yes, disconnecting from my AP after the problem arises and connecting to
> smartphone tethering hotspot works fine and i can browse the internet
> without problems. If i reconnect to the AP the problem resumes unless i
> reboot or power off the computer.
>
Thanks for the quick response. please share output of lspci -nn.
> How do i check if my AP is HT20 or HT40?
iw wlan0 info
>
> As for the kernel and debug logs, do you want me to send them after the
> problem arises?
>
Nope. Set the debug mask at the beginning. And also please confirm if the
problem can be reproducible in open authentication.
Please check whether disabling ANI is improving the situation or not.
echo 0 >/sys/kernel/debug/ieee80211/phy*/ath9k/ani
-Rajkumar
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
2014-05-15 16:06 ` Rajkumar Manoharan
@ 2014-05-15 17:44 ` Arkh4mKn1ght
2014-05-15 23:02 ` Arkh4mKn1ght
1 sibling, 0 replies; 30+ messages in thread
From: Arkh4mKn1ght @ 2014-05-15 17:44 UTC (permalink / raw)
To: ath9k-devel
I have attached the output of lspci -nn.
Output of iw wlan0 info:
[root at localhost ~]# iw wlan0 info
Interface wlan0
ifindex 3
wdev 0x1
addr 08:3e:8e:dd:c6:13
ssid TP-LINK_E6342E
type managed
wiphy 0
channel 11 (2462 MHz), width: 20 MHz (no HT), center1: 2462 MHz
[root at localhost ~]#
I have enabled the debug options, so i will wait until the problem arises
As soon as it happens i will let you know
Greetings
Oskar
On 05/15/2014 01:06 PM, Rajkumar Manoharan wrote:
> On Thu, May 15, 2014 at 09:57:29AM -0300, Arkh4mKn1ght wrote:
>> Hi
>>
>> Thanks for your reply. Im attaching the lspci output in this email. ..
>> yes, disconnecting from my AP after the problem arises and connecting to
>> smartphone tethering hotspot works fine and i can browse the internet
>> without problems. If i reconnect to the AP the problem resumes unless i
>> reboot or power off the computer.
>>
> Thanks for the quick response. please share output of lspci -nn.
>
>> How do i check if my AP is HT20 or HT40?
> iw wlan0 info
>> As for the kernel and debug logs, do you want me to send them after the
>> problem arises?
>>
> Nope. Set the debug mask at the beginning. And also please confirm if the
> problem can be reproducible in open authentication.
>
>
> Please check whether disabling ANI is improving the situation or not.
>
> echo 0 >/sys/kernel/debug/ieee80211/phy*/ath9k/ani
>
> -Rajkumar
>
-------------- next part --------------
00:00.0 Host bridge [0600]: Intel Corporation 3rd Gen Core processor DRAM Controller [8086:0154] (rev 09)
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09)
00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4)
00:1c.1 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 [8086:1e12] (rev c4)
00:1c.2 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 [8086:1e14] (rev c4)
00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation HM76 Express Chipset LPC Controller [8086:1e59] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e03] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04)
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7550M/7570M/7650M] [1002:6841]
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Turks/Whistler HDMI Audio [Radeon HD 6000 Series] [1002:aa90]
07:00.0 Network controller [0280]: Qualcomm Atheros AR9485 Wireless Network Adapter [168c:0032] (rev 01)
08:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader [10ec:5209] (rev 01)
09:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 07)
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
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
1 sibling, 1 reply; 30+ messages in thread
From: Arkh4mKn1ght @ 2014-05-15 23:02 UTC (permalink / raw)
To: ath9k-devel
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...
ath9k is still loaded:
[root at localhost kernel]# lsmod | grep ath9k
ath9k 144721 0
ath9k_common 15983 1 ath9k
ath9k_hw 469688 2 ath9k_common,ath9k
ath 29249 3 ath9k_common,ath9k,ath9k_hw
mac80211 638983 1 ath9k
cfg80211 494533 4 ath,ath9k_common,ath9k,mac80211
compat 15105 4 cfg80211,ath9k_common,ath9k,mac80211
[root at localhost kernel]#
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.
Greetings
Oskar
On 05/15/2014 01:06 PM, Rajkumar Manoharan wrote:
> On Thu, May 15, 2014 at 09:57:29AM -0300, Arkh4mKn1ght wrote:
>> Hi
>>
>> Thanks for your reply. Im attaching the lspci output in this email. ..
>> yes, disconnecting from my AP after the problem arises and connecting to
>> smartphone tethering hotspot works fine and i can browse the internet
>> without problems. If i reconnect to the AP the problem resumes unless i
>> reboot or power off the computer.
>>
> Thanks for the quick response. please share output of lspci -nn.
>
>> How do i check if my AP is HT20 or HT40?
> iw wlan0 info
>> As for the kernel and debug logs, do you want me to send them after the
>> problem arises?
>>
> Nope. Set the debug mask at the beginning. And also please confirm if the
> problem can be reproducible in open authentication.
>
>
> Please check whether disabling ANI is improving the situation or not.
>
> echo 0 >/sys/kernel/debug/ieee80211/phy*/ath9k/ani
>
> -Rajkumar
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: info.log.gz
Type: application/gzip
Size: 1025931 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140515/7d1d4c65/attachment-0001.bin
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
2014-05-15 23:02 ` Arkh4mKn1ght
@ 2014-05-16 9:06 ` Rajkumar Manoharan
2014-05-16 12:22 ` Arkh4mKn1ght
0 siblings, 1 reply; 30+ messages in thread
From: Rajkumar Manoharan @ 2014-05-16 9:06 UTC (permalink / raw)
To: ath9k-devel
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
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
2014-05-16 9:06 ` Rajkumar Manoharan
@ 2014-05-16 12:22 ` Arkh4mKn1ght
2014-05-18 23:51 ` Adrian Chadd
0 siblings, 1 reply; 30+ messages in thread
From: Arkh4mKn1ght @ 2014-05-16 12:22 UTC (permalink / raw)
To: ath9k-devel
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@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
>
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
2014-05-16 12:22 ` Arkh4mKn1ght
@ 2014-05-18 23:51 ` Adrian Chadd
2014-05-19 0:29 ` Arkh4mKn1ght
0 siblings, 1 reply; 30+ messages in thread
From: Adrian Chadd @ 2014-05-18 23:51 UTC (permalink / raw)
To: ath9k-devel
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
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
2014-05-18 23:51 ` Adrian Chadd
@ 2014-05-19 0:29 ` Arkh4mKn1ght
2014-05-19 6:10 ` Adrian Chadd
2014-05-19 6:29 ` Rajkumar Manoharan
0 siblings, 2 replies; 30+ messages in thread
From: Arkh4mKn1ght @ 2014-05-19 0:29 UTC (permalink / raw)
To: ath9k-devel
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
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
2014-05-19 0:29 ` Arkh4mKn1ght
@ 2014-05-19 6:10 ` Adrian Chadd
2014-05-19 13:12 ` Arkh4mKn1ght
2014-05-19 6:29 ` Rajkumar Manoharan
1 sibling, 1 reply; 30+ messages in thread
From: Adrian Chadd @ 2014-05-19 6:10 UTC (permalink / raw)
To: ath9k-devel
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
>
>
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
2014-05-19 0:29 ` Arkh4mKn1ght
2014-05-19 6:10 ` Adrian Chadd
@ 2014-05-19 6:29 ` Rajkumar Manoharan
2014-05-19 13:12 ` Arkh4mKn1ght
1 sibling, 1 reply; 30+ messages in thread
From: Rajkumar Manoharan @ 2014-05-19 6:29 UTC (permalink / raw)
To: ath9k-devel
On Sun, May 18, 2014 at 09:29:08PM -0300, Arkh4mKn1ght 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
>
Oskar,
Generally the boot argument pcie_aspm=off disables ASPM in both root
complex and device. Im not sure why it is not working in your m/c. I
think there could be some option in BIOS to disable PCI powersave.
Please check that.
Can you please test with attached patch?
-Rajkumar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pll.patch
Type: text/x-diff
Size: 609 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140519/14e45c1a/attachment.patch
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
2014-05-19 6:10 ` Adrian Chadd
@ 2014-05-19 13:12 ` Arkh4mKn1ght
0 siblings, 0 replies; 30+ messages in thread
From: Arkh4mKn1ght @ 2014-05-19 13:12 UTC (permalink / raw)
To: ath9k-devel
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
>>
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
2014-05-19 6:29 ` Rajkumar Manoharan
@ 2014-05-19 13:12 ` Arkh4mKn1ght
2014-05-19 14:42 ` Rajkumar Manoharan
0 siblings, 1 reply; 30+ messages in thread
From: Arkh4mKn1ght @ 2014-05-19 13:12 UTC (permalink / raw)
To: ath9k-devel
On 05/19/2014 03:29 AM, Rajkumar Manoharan wrote:
> On Sun, May 18, 2014 at 09:29:08PM -0300, Arkh4mKn1ght 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
>>
> Oskar,
>
> Generally the boot argument pcie_aspm=off disables ASPM in both root
> complex and device. Im not sure why it is not working in your m/c. I
> think there could be some option in BIOS to disable PCI powersave.
> Please check that.
>
> Can you please test with attached patch?
>
> -Rajkumar
Rajkumar, yeah i also thought using pcie_aspm=off would disable ASPM
completely, so i dont know what is going on. My laptop is a sony vaio
SVE model, and it has a crappy BIOS designed specialy
for windows 8 and all that UEFI crap. Las time i checked the BIOS it was
really a simple one, not many options to deal with, but i will check
again if the issue reappears and try the patch. Until now everything is
fine with ASPM disabled on both the root complex and wifi card.(ath9k is
loaded with ps_enable=1)
Btw as i said in a previous email, if ASPM is disabled completely,
leaving powersave mode on for the ath9k module meaningless? in other
words would powersave work with ASPM disabled but ath9k module loaded
with ps_enable=1 ?
Greetings
Oskar
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
2014-05-19 13:12 ` Arkh4mKn1ght
@ 2014-05-19 14:42 ` Rajkumar Manoharan
2014-05-20 0:32 ` Adrian Chadd
0 siblings, 1 reply; 30+ messages in thread
From: Rajkumar Manoharan @ 2014-05-19 14:42 UTC (permalink / raw)
To: ath9k-devel
On Mon, May 19, 2014 at 10:12:38AM -0300, Arkh4mKn1ght wrote:
> On 05/19/2014 03:29 AM, Rajkumar Manoharan wrote:
> >On Sun, May 18, 2014 at 09:29:08PM -0300, Arkh4mKn1ght 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
> >>
> >Oskar,
> >
> >Generally the boot argument pcie_aspm=off disables ASPM in both root
> >complex and device. Im not sure why it is not working in your m/c. I
> >think there could be some option in BIOS to disable PCI powersave.
> >Please check that.
> >
> >Can you please test with attached patch?
> >
> >-Rajkumar
>
> Rajkumar, yeah i also thought using pcie_aspm=off would disable ASPM
> completely, so i dont know what is going on. My laptop is a sony vaio SVE
> model, and it has a crappy BIOS designed specialy
> for windows 8 and all that UEFI crap. Las time i checked the BIOS it was
> really a simple one, not many options to deal with, but i will check again
> if the issue reappears and try the patch. Until now everything is fine with
> ASPM disabled on both the root complex and wifi card.(ath9k is loaded with
> ps_enable=1)
>
> Btw as i said in a previous email, if ASPM is disabled completely, leaving
> powersave mode on for the ath9k module meaningless? in other words would
> powersave work with ASPM disabled but ath9k module loaded with ps_enable=1 ?
powersave is nothing but 802.11 protocol implementation to put the
station into network sleep when it is idle and wake it up whenever it is
active. IIRC it is not related to ASPM. So yes powersave would work event
without ASPM.
Since the issue is happending only when ASPM is enabled, please test the
patch with ASPM.
-Rajkumar
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
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
0 siblings, 2 replies; 30+ messages in thread
From: Adrian Chadd @ 2014-05-20 0:32 UTC (permalink / raw)
To: ath9k-devel
Right;
> powersave is nothing but 802.11 protocol implementation to put the
> station into network sleep when it is idle and wake it up whenever it is
> active. IIRC it is not related to ASPM. So yes powersave would work event
> without ASPM.
>
> Since the issue is happending only when ASPM is enabled, please test the
> patch with ASPM.
Just to be clear - the powersave support when loading ath9k also puts
the MAC/PHY to sleep and wakes it up as appropriate.
You're seeing 0xdeadc0de which the internal AHB glue reports if
there's a transaction timeout (ie, the MAC/PHY is asleep or powered
down when you went to access it.)
ASPM has to do with the PHYs at both ends being awake (or not.) I
think you'd either trigger some pcie error or read 0xffffffff if
things were screwed up there.
So I'd try with ASPM enabled/disabled as well as ps_enable on or off.
It could be an interplay between the two as well.
-a
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
2014-05-20 0:32 ` Adrian Chadd
@ 2014-05-20 14:34 ` Arkh4mKn1ght
2014-05-21 14:37 ` Arkh4mKn1ght
1 sibling, 0 replies; 30+ messages in thread
From: Arkh4mKn1ght @ 2014-05-20 14:34 UTC (permalink / raw)
To: ath9k-devel
Ok bad news, the issue happened again both with ASPM disabled on the
root complex and atheros card and with powersave on and off. I will test
the patch that rajkumar sent me and i will be back to you guys.
Greetings
Oskar
On 05/19/2014 09:32 PM, Adrian Chadd wrote:
> Right;
>
>> powersave is nothing but 802.11 protocol implementation to put the
>> station into network sleep when it is idle and wake it up whenever it is
>> active. IIRC it is not related to ASPM. So yes powersave would work event
>> without ASPM.
>>
>> Since the issue is happending only when ASPM is enabled, please test the
>> patch with ASPM.
> Just to be clear - the powersave support when loading ath9k also puts
> the MAC/PHY to sleep and wakes it up as appropriate.
>
> You're seeing 0xdeadc0de which the internal AHB glue reports if
> there's a transaction timeout (ie, the MAC/PHY is asleep or powered
> down when you went to access it.)
>
> ASPM has to do with the PHYs at both ends being awake (or not.) I
> think you'd either trigger some pcie error or read 0xffffffff if
> things were screwed up there.
>
> So I'd try with ASPM enabled/disabled as well as ps_enable on or off.
> It could be an interplay between the two as well.
>
>
> -a
>
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
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
1 sibling, 1 reply; 30+ messages in thread
From: Arkh4mKn1ght @ 2014-05-21 14:37 UTC (permalink / raw)
To: ath9k-devel
Ok i tried the patch but the issue happened again :(
After resuming my laptop from hibernation i saw in
/var/log/kernel/errors.log these messages again:
May 21 09:20:10 localhost kernel: mei_me 0000:00:16.0: suspend
May 21 09:20:10 localhost kernel: ath: phy1: RX failed to go idle in 10
ms RXSM=0xdeadbeef
May 21 09:20:10 localhost kernel: ath: phy1: DMA failed to stop in 10 ms
AR_CR=0xdeadbeef AR_DIAG_SW=0xdeadbeef DMADBG_7=0xdeadbeef
May 21 09:20:11 localhost kernel: dpm_run_callback():
usb_dev_restore+0x0/0x20 [usbcore] returns -107
May 21 09:20:11 localhost kernel: PM: Device 1-1 failed to restore
async: error -107
ASPM was disabled on root complex and atheros card.powersave was off.
After 1 hour and 10 minutes of those messages that problem arise. I have
noticed that the problem arises always after some time of resuming the
laptop from hibernation.
Its really odd, because when it does happen, browsing the web is
painfully slow with the "connecting to domain.com..." message in the
browser status bar... it does load the website but after some minutes..
Meanwhile at the same time if i try to download a torrent using a
bittorrent client i can do it without problems at full speed. If i pause
the torrent, browsing websites still behaves slowly until i reboot the
laptop.
At first i thought that i have a defective atheros card, but why i can
download torrents at full speed when this problem arises?
What options do i have now? i have tested all combinations of ASPM
enabled/disabled and powersave on/off.
I have seen that there is a BIOS update for my laptop, but im unsure it
could help for this at all (besides that i would have to install windows
8 to install the friggin bios update)
Greetings
Oskar
On 05/19/2014 09:32 PM, Adrian Chadd wrote:
> Right;
>
>> powersave is nothing but 802.11 protocol implementation to put the
>> station into network sleep when it is idle and wake it up whenever it is
>> active. IIRC it is not related to ASPM. So yes powersave would work event
>> without ASPM.
>>
>> Since the issue is happending only when ASPM is enabled, please test the
>> patch with ASPM.
> Just to be clear - the powersave support when loading ath9k also puts
> the MAC/PHY to sleep and wakes it up as appropriate.
>
> You're seeing 0xdeadc0de which the internal AHB glue reports if
> there's a transaction timeout (ie, the MAC/PHY is asleep or powered
> down when you went to access it.)
>
> ASPM has to do with the PHYs at both ends being awake (or not.) I
> think you'd either trigger some pcie error or read 0xffffffff if
> things were screwed up there.
>
> So I'd try with ASPM enabled/disabled as well as ps_enable on or off.
> It could be an interplay between the two as well.
>
>
> -a
>
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
2014-05-21 14:37 ` Arkh4mKn1ght
@ 2014-05-21 14:59 ` Rajkumar Manoharan
2014-05-21 15:10 ` Arkh4mKn1ght
2014-05-21 15:39 ` [ath9k-devel] Weird Atheros 9485 http connecting problems - Sniffer Capture Arkh4mKn1ght
0 siblings, 2 replies; 30+ messages in thread
From: Rajkumar Manoharan @ 2014-05-21 14:59 UTC (permalink / raw)
To: ath9k-devel
On Wed, May 21, 2014 at 11:37:36AM -0300, Arkh4mKn1ght wrote:
> Ok i tried the patch but the issue happened again :(
>
> After resuming my laptop from hibernation i saw in
> /var/log/kernel/errors.log these messages again:
>
> May 21 09:20:10 localhost kernel: mei_me 0000:00:16.0: suspend
> May 21 09:20:10 localhost kernel: ath: phy1: RX failed to go idle in 10 ms
> RXSM=0xdeadbeef
> May 21 09:20:10 localhost kernel: ath: phy1: DMA failed to stop in 10 ms
> AR_CR=0xdeadbeef AR_DIAG_SW=0xdeadbeef DMADBG_7=0xdeadbeef
> May 21 09:20:11 localhost kernel: dpm_run_callback():
> usb_dev_restore+0x0/0x20 [usbcore] returns -107
> May 21 09:20:11 localhost kernel: PM: Device 1-1 failed to restore async:
> error -107
>
> ASPM was disabled on root complex and atheros card.powersave was off.
> After 1 hour and 10 minutes of those messages that problem arise. I have
> noticed that the problem arises always after some time of resuming the
> laptop from hibernation.
>
> Its really odd, because when it does happen, browsing the web is painfully
> slow with the "connecting to domain.com..." message in the browser status
> bar... it does load the website but after some minutes..
> Meanwhile at the same time if i try to download a torrent using a bittorrent
> client i can do it without problems at full speed. If i pause the torrent,
> browsing websites still behaves slowly until i reboot the laptop.
>
> At first i thought that i have a defective atheros card, but why i can
> download torrents at full speed when this problem arises?
> What options do i have now? i have tested all combinations of ASPM
> enabled/disabled and powersave on/off.
>
> I have seen that there is a BIOS update for my laptop, but im unsure it
> could help for this at all (besides that i would have to install windows 8
> to install the friggin bios update)
>
Oskar,
I am quite confused. Does the issue happen only after resume from hibernate?
Initially you havn't mentioned hibernate/resume. Are you able to
reproduce the issue without hibernating? Please flush ip table entries
and test.
sudo iptables -F
Can you please take a sniffer capture at the problematic time? Are you seeing huge
latency for ping (icmp)?
-Rajkumar
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
2014-05-21 14:59 ` Rajkumar Manoharan
@ 2014-05-21 15:10 ` Arkh4mKn1ght
2014-05-21 19:04 ` Kyle Bassett
2014-05-21 20:10 ` Adrian Chadd
2014-05-21 15:39 ` [ath9k-devel] Weird Atheros 9485 http connecting problems - Sniffer Capture Arkh4mKn1ght
1 sibling, 2 replies; 30+ messages in thread
From: Arkh4mKn1ght @ 2014-05-21 15:10 UTC (permalink / raw)
To: ath9k-devel
Hi rajkumar
I dont know if this only happens when resuming from hibernate, it was
just a thought that ocurred to me today. I will test again without
hibernating to see if this happens again.
I dont use any firewall on the laptop, so iptables -F is pointless.
Ping latency times are good when the problem is ongoing.
I will take a sniffer capture and send it back to you.
Thanks for your help
Oskar
On 05/21/2014 11:59 AM, Rajkumar Manoharan wrote:
> On Wed, May 21, 2014 at 11:37:36AM -0300, Arkh4mKn1ght wrote:
>> Ok i tried the patch but the issue happened again :(
>>
>> After resuming my laptop from hibernation i saw in
>> /var/log/kernel/errors.log these messages again:
>>
>> May 21 09:20:10 localhost kernel: mei_me 0000:00:16.0: suspend
>> May 21 09:20:10 localhost kernel: ath: phy1: RX failed to go idle in 10 ms
>> RXSM=0xdeadbeef
>> May 21 09:20:10 localhost kernel: ath: phy1: DMA failed to stop in 10 ms
>> AR_CR=0xdeadbeef AR_DIAG_SW=0xdeadbeef DMADBG_7=0xdeadbeef
>> May 21 09:20:11 localhost kernel: dpm_run_callback():
>> usb_dev_restore+0x0/0x20 [usbcore] returns -107
>> May 21 09:20:11 localhost kernel: PM: Device 1-1 failed to restore async:
>> error -107
>>
>> ASPM was disabled on root complex and atheros card.powersave was off.
>> After 1 hour and 10 minutes of those messages that problem arise. I have
>> noticed that the problem arises always after some time of resuming the
>> laptop from hibernation.
>>
>> Its really odd, because when it does happen, browsing the web is painfully
>> slow with the "connecting to domain.com..." message in the browser status
>> bar... it does load the website but after some minutes..
>> Meanwhile at the same time if i try to download a torrent using a bittorrent
>> client i can do it without problems at full speed. If i pause the torrent,
>> browsing websites still behaves slowly until i reboot the laptop.
>>
>> At first i thought that i have a defective atheros card, but why i can
>> download torrents at full speed when this problem arises?
>> What options do i have now? i have tested all combinations of ASPM
>> enabled/disabled and powersave on/off.
>>
>> I have seen that there is a BIOS update for my laptop, but im unsure it
>> could help for this at all (besides that i would have to install windows 8
>> to install the friggin bios update)
>>
> Oskar,
>
> I am quite confused. Does the issue happen only after resume from hibernate?
> Initially you havn't mentioned hibernate/resume. Are you able to
> reproduce the issue without hibernating? Please flush ip table entries
> and test.
>
> sudo iptables -F
>
> Can you please take a sniffer capture at the problematic time? Are you seeing huge
> latency for ping (icmp)?
>
> -Rajkumar
>
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems - Sniffer Capture
2014-05-21 14:59 ` Rajkumar Manoharan
2014-05-21 15:10 ` Arkh4mKn1ght
@ 2014-05-21 15:39 ` Arkh4mKn1ght
1 sibling, 0 replies; 30+ messages in thread
From: Arkh4mKn1ght @ 2014-05-21 15:39 UTC (permalink / raw)
To: ath9k-devel
Here is the sniffer capture with wireshark while the problem was
ongoing. I closed all programs and opened firefox with only one tab to
load www.latimes.com. It took several minutes to load the front page.
the capture covers since trying to load the site until it was fully loaded.
My laptop IP is 192.168.0.102 was AP ip is 192.168.0.1
Greetings
Oskar
On 05/21/2014 11:59 AM, Rajkumar Manoharan wrote:
> On Wed, May 21, 2014 at 11:37:36AM -0300, Arkh4mKn1ght wrote:
>> Ok i tried the patch but the issue happened again :(
>>
>> After resuming my laptop from hibernation i saw in
>> /var/log/kernel/errors.log these messages again:
>>
>> May 21 09:20:10 localhost kernel: mei_me 0000:00:16.0: suspend
>> May 21 09:20:10 localhost kernel: ath: phy1: RX failed to go idle in 10 ms
>> RXSM=0xdeadbeef
>> May 21 09:20:10 localhost kernel: ath: phy1: DMA failed to stop in 10 ms
>> AR_CR=0xdeadbeef AR_DIAG_SW=0xdeadbeef DMADBG_7=0xdeadbeef
>> May 21 09:20:11 localhost kernel: dpm_run_callback():
>> usb_dev_restore+0x0/0x20 [usbcore] returns -107
>> May 21 09:20:11 localhost kernel: PM: Device 1-1 failed to restore async:
>> error -107
>>
>> ASPM was disabled on root complex and atheros card.powersave was off.
>> After 1 hour and 10 minutes of those messages that problem arise. I have
>> noticed that the problem arises always after some time of resuming the
>> laptop from hibernation.
>>
>> Its really odd, because when it does happen, browsing the web is painfully
>> slow with the "connecting to domain.com..." message in the browser status
>> bar... it does load the website but after some minutes..
>> Meanwhile at the same time if i try to download a torrent using a bittorrent
>> client i can do it without problems at full speed. If i pause the torrent,
>> browsing websites still behaves slowly until i reboot the laptop.
>>
>> At first i thought that i have a defective atheros card, but why i can
>> download torrents at full speed when this problem arises?
>> What options do i have now? i have tested all combinations of ASPM
>> enabled/disabled and powersave on/off.
>>
>> I have seen that there is a BIOS update for my laptop, but im unsure it
>> could help for this at all (besides that i would have to install windows 8
>> to install the friggin bios update)
>>
> Oskar,
>
> I am quite confused. Does the issue happen only after resume from hibernate?
> Initially you havn't mentioned hibernate/resume. Are you able to
> reproduce the issue without hibernating? Please flush ip table entries
> and test.
>
> sudo iptables -F
>
> Can you please take a sniffer capture at the problematic time? Are you seeing huge
> latency for ping (icmp)?
>
> -Rajkumar
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sonyvaio.pcapng.gz
Type: application/gzip
Size: 2718646 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140521/38f040be/attachment-0001.bin
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
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
1 sibling, 1 reply; 30+ messages in thread
From: Kyle Bassett @ 2014-05-21 19:04 UTC (permalink / raw)
To: ath9k-devel
Hi Oskar,
Do you have a wired ethernet connection or a separate usb wireless
adapter? I am curious to know if your problem still occurs while using a
different interface. It would help isolate where this problem is occuring.
On Wed, May 21, 2014 at 11:10 AM, Arkh4mKn1ght <arkh4mkn1ght@gmail.com>wrote:
> Hi rajkumar
>
> I dont know if this only happens when resuming from hibernate, it was
> just a thought that ocurred to me today. I will test again without
> hibernating to see if this happens again.
> I dont use any firewall on the laptop, so iptables -F is pointless.
> Ping latency times are good when the problem is ongoing.
> I will take a sniffer capture and send it back to you.
>
> Thanks for your help
>
> Oskar
>
> On 05/21/2014 11:59 AM, Rajkumar Manoharan wrote:
> > On Wed, May 21, 2014 at 11:37:36AM -0300, Arkh4mKn1ght wrote:
> >> Ok i tried the patch but the issue happened again :(
> >>
> >> After resuming my laptop from hibernation i saw in
> >> /var/log/kernel/errors.log these messages again:
> >>
> >> May 21 09:20:10 localhost kernel: mei_me 0000:00:16.0: suspend
> >> May 21 09:20:10 localhost kernel: ath: phy1: RX failed to go idle in 10
> ms
> >> RXSM=0xdeadbeef
> >> May 21 09:20:10 localhost kernel: ath: phy1: DMA failed to stop in 10 ms
> >> AR_CR=0xdeadbeef AR_DIAG_SW=0xdeadbeef DMADBG_7=0xdeadbeef
> >> May 21 09:20:11 localhost kernel: dpm_run_callback():
> >> usb_dev_restore+0x0/0x20 [usbcore] returns -107
> >> May 21 09:20:11 localhost kernel: PM: Device 1-1 failed to restore
> async:
> >> error -107
> >>
> >> ASPM was disabled on root complex and atheros card.powersave was off.
> >> After 1 hour and 10 minutes of those messages that problem arise. I have
> >> noticed that the problem arises always after some time of resuming the
> >> laptop from hibernation.
> >>
> >> Its really odd, because when it does happen, browsing the web is
> painfully
> >> slow with the "connecting to domain.com..." message in the browser
> status
> >> bar... it does load the website but after some minutes..
> >> Meanwhile at the same time if i try to download a torrent using a
> bittorrent
> >> client i can do it without problems at full speed. If i pause the
> torrent,
> >> browsing websites still behaves slowly until i reboot the laptop.
> >>
> >> At first i thought that i have a defective atheros card, but why i can
> >> download torrents at full speed when this problem arises?
> >> What options do i have now? i have tested all combinations of ASPM
> >> enabled/disabled and powersave on/off.
> >>
> >> I have seen that there is a BIOS update for my laptop, but im unsure it
> >> could help for this at all (besides that i would have to install
> windows 8
> >> to install the friggin bios update)
> >>
> > Oskar,
> >
> > I am quite confused. Does the issue happen only after resume from
> hibernate?
> > Initially you havn't mentioned hibernate/resume. Are you able to
> > reproduce the issue without hibernating? Please flush ip table entries
> > and test.
> >
> > sudo iptables -F
> >
> > Can you please take a sniffer capture at the problematic time? Are you
> seeing huge
> > latency for ping (icmp)?
> >
> > -Rajkumar
> >
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140521/c35fd63b/attachment.htm
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
2014-05-21 15:10 ` Arkh4mKn1ght
2014-05-21 19:04 ` Kyle Bassett
@ 2014-05-21 20:10 ` Adrian Chadd
2014-05-21 20:52 ` Arkh4mKn1ght
` (2 more replies)
1 sibling, 3 replies; 30+ messages in thread
From: Adrian Chadd @ 2014-05-21 20:10 UTC (permalink / raw)
To: ath9k-devel
hi,
Hm. You're hibernating? That may explain why the thing is return
0xdeadc0de during register reads. Maybe the MAC isn't fully waking up
after a resume?
-a
On 21 May 2014 08:10, Arkh4mKn1ght <arkh4mkn1ght@gmail.com> wrote:
> Hi rajkumar
>
> I dont know if this only happens when resuming from hibernate, it was just a
> thought that ocurred to me today. I will test again without hibernating to
> see if this happens again.
> I dont use any firewall on the laptop, so iptables -F is pointless.
> Ping latency times are good when the problem is ongoing.
> I will take a sniffer capture and send it back to you.
>
> Thanks for your help
>
> Oskar
>
>
> On 05/21/2014 11:59 AM, Rajkumar Manoharan wrote:
>>
>> On Wed, May 21, 2014 at 11:37:36AM -0300, Arkh4mKn1ght wrote:
>>>
>>> Ok i tried the patch but the issue happened again :(
>>>
>>> After resuming my laptop from hibernation i saw in
>>> /var/log/kernel/errors.log these messages again:
>>>
>>> May 21 09:20:10 localhost kernel: mei_me 0000:00:16.0: suspend
>>> May 21 09:20:10 localhost kernel: ath: phy1: RX failed to go idle in 10
>>> ms
>>> RXSM=0xdeadbeef
>>> May 21 09:20:10 localhost kernel: ath: phy1: DMA failed to stop in 10 ms
>>> AR_CR=0xdeadbeef AR_DIAG_SW=0xdeadbeef DMADBG_7=0xdeadbeef
>>> May 21 09:20:11 localhost kernel: dpm_run_callback():
>>> usb_dev_restore+0x0/0x20 [usbcore] returns -107
>>> May 21 09:20:11 localhost kernel: PM: Device 1-1 failed to restore async:
>>> error -107
>>>
>>> ASPM was disabled on root complex and atheros card.powersave was off.
>>> After 1 hour and 10 minutes of those messages that problem arise. I have
>>> noticed that the problem arises always after some time of resuming the
>>> laptop from hibernation.
>>>
>>> Its really odd, because when it does happen, browsing the web is
>>> painfully
>>> slow with the "connecting to domain.com..." message in the browser status
>>> bar... it does load the website but after some minutes..
>>> Meanwhile at the same time if i try to download a torrent using a
>>> bittorrent
>>> client i can do it without problems at full speed. If i pause the
>>> torrent,
>>> browsing websites still behaves slowly until i reboot the laptop.
>>>
>>> At first i thought that i have a defective atheros card, but why i can
>>> download torrents at full speed when this problem arises?
>>> What options do i have now? i have tested all combinations of ASPM
>>> enabled/disabled and powersave on/off.
>>>
>>> I have seen that there is a BIOS update for my laptop, but im unsure it
>>> could help for this at all (besides that i would have to install windows
>>> 8
>>> to install the friggin bios update)
>>>
>> Oskar,
>>
>> I am quite confused. Does the issue happen only after resume from
>> hibernate?
>> Initially you havn't mentioned hibernate/resume. Are you able to
>> reproduce the issue without hibernating? Please flush ip table entries
>> and test.
>>
>> sudo iptables -F
>>
>> Can you please take a sniffer capture at the problematic time? Are you
>> seeing huge
>> latency for ping (icmp)?
>>
>> -Rajkumar
>>
>
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
2014-05-21 19:04 ` Kyle Bassett
@ 2014-05-21 20:51 ` Arkh4mKn1ght
0 siblings, 0 replies; 30+ messages in thread
From: Arkh4mKn1ght @ 2014-05-21 20:51 UTC (permalink / raw)
To: ath9k-devel
Yeah i do have one but i will test it after i discard that this problem
is related somehow to hibernating the laptop
Greetings
Oskar
On 05/21/2014 04:04 PM, Kyle Bassett wrote:
> Hi Oskar,
>
> Do you have a wired ethernet connection or a separate usb wireless
> adapter? I am curious to know if your problem still occurs while
> using a different interface. It would help isolate where this problem
> is occuring.
>
>
> On Wed, May 21, 2014 at 11:10 AM, Arkh4mKn1ght <arkh4mkn1ght@gmail.com
> <mailto:arkh4mkn1ght@gmail.com>> wrote:
>
> Hi rajkumar
>
> I dont know if this only happens when resuming from hibernate, it was
> just a thought that ocurred to me today. I will test again without
> hibernating to see if this happens again.
> I dont use any firewall on the laptop, so iptables -F is pointless.
> Ping latency times are good when the problem is ongoing.
> I will take a sniffer capture and send it back to you.
>
> Thanks for your help
>
> Oskar
>
> On 05/21/2014 11:59 AM, Rajkumar Manoharan wrote:
> > On Wed, May 21, 2014 at 11:37:36AM -0300, Arkh4mKn1ght wrote:
> >> Ok i tried the patch but the issue happened again :(
> >>
> >> After resuming my laptop from hibernation i saw in
> >> /var/log/kernel/errors.log these messages again:
> >>
> >> May 21 09:20:10 localhost kernel: mei_me 0000:00:16.0: suspend
> >> May 21 09:20:10 localhost kernel: ath: phy1: RX failed to go
> idle in 10 ms
> >> RXSM=0xdeadbeef
> >> May 21 09:20:10 localhost kernel: ath: phy1: DMA failed to stop
> in 10 ms
> >> AR_CR=0xdeadbeef AR_DIAG_SW=0xdeadbeef DMADBG_7=0xdeadbeef
> >> May 21 09:20:11 localhost kernel: dpm_run_callback():
> >> usb_dev_restore+0x0/0x20 [usbcore] returns -107
> >> May 21 09:20:11 localhost kernel: PM: Device 1-1 failed to
> restore async:
> >> error -107
> >>
> >> ASPM was disabled on root complex and atheros card.powersave
> was off.
> >> After 1 hour and 10 minutes of those messages that problem
> arise. I have
> >> noticed that the problem arises always after some time of
> resuming the
> >> laptop from hibernation.
> >>
> >> Its really odd, because when it does happen, browsing the web
> is painfully
> >> slow with the "connecting to domain.com..." message in the
> browser status
> >> bar... it does load the website but after some minutes..
> >> Meanwhile at the same time if i try to download a torrent using
> a bittorrent
> >> client i can do it without problems at full speed. If i pause
> the torrent,
> >> browsing websites still behaves slowly until i reboot the laptop.
> >>
> >> At first i thought that i have a defective atheros card, but
> why i can
> >> download torrents at full speed when this problem arises?
> >> What options do i have now? i have tested all combinations of ASPM
> >> enabled/disabled and powersave on/off.
> >>
> >> I have seen that there is a BIOS update for my laptop, but im
> unsure it
> >> could help for this at all (besides that i would have to
> install windows 8
> >> to install the friggin bios update)
> >>
> > Oskar,
> >
> > I am quite confused. Does the issue happen only after resume
> from hibernate?
> > Initially you havn't mentioned hibernate/resume. Are you able to
> > reproduce the issue without hibernating? Please flush ip table
> entries
> > and test.
> >
> > sudo iptables -F
> >
> > Can you please take a sniffer capture at the problematic time?
> Are you seeing huge
> > latency for ping (icmp)?
> >
> > -Rajkumar
> >
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org <mailto:ath9k-devel@lists.ath9k.org>
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140521/a3fb3da7/attachment-0001.htm
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
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
2 siblings, 1 reply; 30+ messages in thread
From: Arkh4mKn1ght @ 2014-05-21 20:52 UTC (permalink / raw)
To: ath9k-devel
Yes i'm hibernating the machine. How do i check if the MAC isnt fully
waking up after resuming the laptop?
Greetings
Oskar
On 05/21/2014 05:10 PM, Adrian Chadd wrote:
> hi,
>
> Hm. You're hibernating? That may explain why the thing is return
> 0xdeadc0de during register reads. Maybe the MAC isn't fully waking up
> after a resume?
>
>
> -a
>
>
> On 21 May 2014 08:10, Arkh4mKn1ght <arkh4mkn1ght@gmail.com> wrote:
>> Hi rajkumar
>>
>> I dont know if this only happens when resuming from hibernate, it was just a
>> thought that ocurred to me today. I will test again without hibernating to
>> see if this happens again.
>> I dont use any firewall on the laptop, so iptables -F is pointless.
>> Ping latency times are good when the problem is ongoing.
>> I will take a sniffer capture and send it back to you.
>>
>> Thanks for your help
>>
>> Oskar
>>
>>
>> On 05/21/2014 11:59 AM, Rajkumar Manoharan wrote:
>>> On Wed, May 21, 2014 at 11:37:36AM -0300, Arkh4mKn1ght wrote:
>>>> Ok i tried the patch but the issue happened again :(
>>>>
>>>> After resuming my laptop from hibernation i saw in
>>>> /var/log/kernel/errors.log these messages again:
>>>>
>>>> May 21 09:20:10 localhost kernel: mei_me 0000:00:16.0: suspend
>>>> May 21 09:20:10 localhost kernel: ath: phy1: RX failed to go idle in 10
>>>> ms
>>>> RXSM=0xdeadbeef
>>>> May 21 09:20:10 localhost kernel: ath: phy1: DMA failed to stop in 10 ms
>>>> AR_CR=0xdeadbeef AR_DIAG_SW=0xdeadbeef DMADBG_7=0xdeadbeef
>>>> May 21 09:20:11 localhost kernel: dpm_run_callback():
>>>> usb_dev_restore+0x0/0x20 [usbcore] returns -107
>>>> May 21 09:20:11 localhost kernel: PM: Device 1-1 failed to restore async:
>>>> error -107
>>>>
>>>> ASPM was disabled on root complex and atheros card.powersave was off.
>>>> After 1 hour and 10 minutes of those messages that problem arise. I have
>>>> noticed that the problem arises always after some time of resuming the
>>>> laptop from hibernation.
>>>>
>>>> Its really odd, because when it does happen, browsing the web is
>>>> painfully
>>>> slow with the "connecting to domain.com..." message in the browser status
>>>> bar... it does load the website but after some minutes..
>>>> Meanwhile at the same time if i try to download a torrent using a
>>>> bittorrent
>>>> client i can do it without problems at full speed. If i pause the
>>>> torrent,
>>>> browsing websites still behaves slowly until i reboot the laptop.
>>>>
>>>> At first i thought that i have a defective atheros card, but why i can
>>>> download torrents at full speed when this problem arises?
>>>> What options do i have now? i have tested all combinations of ASPM
>>>> enabled/disabled and powersave on/off.
>>>>
>>>> I have seen that there is a BIOS update for my laptop, but im unsure it
>>>> could help for this at all (besides that i would have to install windows
>>>> 8
>>>> to install the friggin bios update)
>>>>
>>> Oskar,
>>>
>>> I am quite confused. Does the issue happen only after resume from
>>> hibernate?
>>> Initially you havn't mentioned hibernate/resume. Are you able to
>>> reproduce the issue without hibernating? Please flush ip table entries
>>> and test.
>>>
>>> sudo iptables -F
>>>
>>> Can you please take a sniffer capture at the problematic time? Are you
>>> seeing huge
>>> latency for ping (icmp)?
>>>
>>> -Rajkumar
>>>
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
2014-05-21 20:52 ` Arkh4mKn1ght
@ 2014-05-21 22:05 ` Adrian Chadd
0 siblings, 0 replies; 30+ messages in thread
From: Adrian Chadd @ 2014-05-21 22:05 UTC (permalink / raw)
To: ath9k-devel
You'd have eto read the RTC registers to check the MAC status.
Sorry, I can't help out more than that right now, I'm at work (which
isn't at all wifi.)
Look at AR_RTC_* in the header files.
-a
On 21 May 2014 13:52, Arkh4mKn1ght <arkh4mkn1ght@gmail.com> wrote:
> Yes i'm hibernating the machine. How do i check if the MAC isnt fully waking
> up after resuming the laptop?
>
> Greetings
> Oskar
>
>
> On 05/21/2014 05:10 PM, Adrian Chadd wrote:
>>
>> hi,
>>
>> Hm. You're hibernating? That may explain why the thing is return
>> 0xdeadc0de during register reads. Maybe the MAC isn't fully waking up
>> after a resume?
>>
>>
>> -a
>>
>>
>> On 21 May 2014 08:10, Arkh4mKn1ght <arkh4mkn1ght@gmail.com> wrote:
>>>
>>> Hi rajkumar
>>>
>>> I dont know if this only happens when resuming from hibernate, it was
>>> just a
>>> thought that ocurred to me today. I will test again without hibernating
>>> to
>>> see if this happens again.
>>> I dont use any firewall on the laptop, so iptables -F is pointless.
>>> Ping latency times are good when the problem is ongoing.
>>> I will take a sniffer capture and send it back to you.
>>>
>>> Thanks for your help
>>>
>>> Oskar
>>>
>>>
>>> On 05/21/2014 11:59 AM, Rajkumar Manoharan wrote:
>>>>
>>>> On Wed, May 21, 2014 at 11:37:36AM -0300, Arkh4mKn1ght wrote:
>>>>>
>>>>> Ok i tried the patch but the issue happened again :(
>>>>>
>>>>> After resuming my laptop from hibernation i saw in
>>>>> /var/log/kernel/errors.log these messages again:
>>>>>
>>>>> May 21 09:20:10 localhost kernel: mei_me 0000:00:16.0: suspend
>>>>> May 21 09:20:10 localhost kernel: ath: phy1: RX failed to go idle in 10
>>>>> ms
>>>>> RXSM=0xdeadbeef
>>>>> May 21 09:20:10 localhost kernel: ath: phy1: DMA failed to stop in 10
>>>>> ms
>>>>> AR_CR=0xdeadbeef AR_DIAG_SW=0xdeadbeef DMADBG_7=0xdeadbeef
>>>>> May 21 09:20:11 localhost kernel: dpm_run_callback():
>>>>> usb_dev_restore+0x0/0x20 [usbcore] returns -107
>>>>> May 21 09:20:11 localhost kernel: PM: Device 1-1 failed to restore
>>>>> async:
>>>>> error -107
>>>>>
>>>>> ASPM was disabled on root complex and atheros card.powersave was off.
>>>>> After 1 hour and 10 minutes of those messages that problem arise. I
>>>>> have
>>>>> noticed that the problem arises always after some time of resuming the
>>>>> laptop from hibernation.
>>>>>
>>>>> Its really odd, because when it does happen, browsing the web is
>>>>> painfully
>>>>> slow with the "connecting to domain.com..." message in the browser
>>>>> status
>>>>> bar... it does load the website but after some minutes..
>>>>> Meanwhile at the same time if i try to download a torrent using a
>>>>> bittorrent
>>>>> client i can do it without problems at full speed. If i pause the
>>>>> torrent,
>>>>> browsing websites still behaves slowly until i reboot the laptop.
>>>>>
>>>>> At first i thought that i have a defective atheros card, but why i can
>>>>> download torrents at full speed when this problem arises?
>>>>> What options do i have now? i have tested all combinations of ASPM
>>>>> enabled/disabled and powersave on/off.
>>>>>
>>>>> I have seen that there is a BIOS update for my laptop, but im unsure it
>>>>> could help for this at all (besides that i would have to install
>>>>> windows
>>>>> 8
>>>>> to install the friggin bios update)
>>>>>
>>>> Oskar,
>>>>
>>>> I am quite confused. Does the issue happen only after resume from
>>>> hibernate?
>>>> Initially you havn't mentioned hibernate/resume. Are you able to
>>>> reproduce the issue without hibernating? Please flush ip table entries
>>>> and test.
>>>>
>>>> sudo iptables -F
>>>>
>>>> Can you please take a sniffer capture at the problematic time? Are you
>>>> seeing huge
>>>> latency for ping (icmp)?
>>>>
>>>> -Rajkumar
>>>>
>
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
2014-05-21 20:10 ` Adrian Chadd
2014-05-21 20:52 ` Arkh4mKn1ght
@ 2014-05-23 0:50 ` Arkh4mKn1ght
2014-05-26 18:06 ` Oskar Kossuth
2 siblings, 0 replies; 30+ messages in thread
From: Arkh4mKn1ght @ 2014-05-23 0:50 UTC (permalink / raw)
To: ath9k-devel
Ok new update.
I tested the laptop without using hibernation and the problem happened
again after 9 hours of having powered on the machine.
Again ASPM disabled on both the root complex and atheros card +
powersave mode off.
This time i decided to use a script to reload the ath9k modules and
restart the connection after the problem happened, which it didnt work,
but i got a nasty module call trace in /var/log/messages when i executed it.
the script is this:
#!/bin/bash
modprobe -r ath9k
ps -ef | grep wpa_supplicant | awk '{print $2}' | xargs kill -9
ps -ef | grep ifplugd | grep wlan | awk '{print $2}' | xargs kill -9
service network stop
sleep 5
service network start
the module call trace is this:
May 22 21:24:42 localhost kernel: Loading modules backported from Linux
version v3.15-rc1-0-gc9eaa44
May 22 21:24:42 localhost kernel: Backport generated by backports.git
v3.15-rc1-1-0-g2a25483
May 22 21:24:42 localhost kernel: cfg80211: Calling CRDA to update world
regulatory domain
May 22 21:24:42 localhost kernel: cfg80211: World regulatory domain updated:
May 22 21:24:42 localhost kernel: cfg80211: DFS Master region: unset
May 22 21:24:42 localhost kernel: cfg80211: (start_freq - end_freq @
bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
May 22 21:24:42 localhost kernel: cfg80211: (2402000 KHz - 2472000 KHz
@ 40000 KHz), (N/A, 2000 mBm), (N/A)
May 22 21:24:42 localhost kernel: cfg80211: (2457000 KHz - 2482000 KHz
@ 40000 KHz), (N/A, 2000 mBm), (N/A)
May 22 21:24:42 localhost kernel: cfg80211: (2474000 KHz - 2494000 KHz
@ 20000 KHz), (N/A, 2000 mBm), (N/A)
May 22 21:24:42 localhost kernel: cfg80211: (5170000 KHz - 5250000 KHz
@ 80000 KHz), (N/A, 2000 mBm), (N/A)
May 22 21:24:42 localhost kernel: cfg80211: (5735000 KHz - 5835000 KHz
@ 80000 KHz), (N/A, 2000 mBm), (N/A)
May 22 21:24:42 localhost kernel: cfg80211: (57240000 KHz - 63720000
KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
May 22 21:24:42 localhost kernel: cfg80211: Calling CRDA for country: UY
May 22 21:24:42 localhost kernel: cfg80211: Regulatory domain changed to
country: UY
May 22 21:24:42 localhost kernel: cfg80211: DFS Master region: unset
May 22 21:24:42 localhost kernel: cfg80211: (start_freq - end_freq @
bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
May 22 21:24:42 localhost kernel: cfg80211: (2402000 KHz - 2482000 KHz
@ 40000 KHz), (N/A, 2000 mBm), (N/A)
May 22 21:24:42 localhost kernel: cfg80211: (5170000 KHz - 5250000 KHz
@ 80000 KHz), (N/A, 1700 mBm), (N/A)
May 22 21:24:42 localhost kernel: cfg80211: (5250000 KHz - 5330000 KHz
@ 80000 KHz), (N/A, 2400 mBm), (0 s)
May 22 21:24:42 localhost kernel: cfg80211: (5490000 KHz - 5730000 KHz
@ 80000 KHz), (N/A, 2400 mBm), (0 s)
May 22 21:24:42 localhost kernel: cfg80211: (5735000 KHz - 5835000 KHz
@ 80000 KHz), (N/A, 3000 mBm), (N/A)
May 22 21:24:42 localhost kernel: ath: phy0: Disable PLL PowerSave
May 22 21:24:42 localhost kernel: modprobe: page allocation failure:
order:4, mode:0x1040d0
May 22 21:24:42 localhost kernel: CPU: 3 PID: 30011 Comm: modprobe
Tainted: G O 3.12.18-desktop-1.mga4 #1
May 22 21:24:42 localhost kernel: Hardware name: Sony Corporation
SVE14125CLB/VAIO, BIOS R0150D5 08/30/2012
May 22 21:24:42 localhost kernel: 0000000000000000 ffff88006af35738
ffffffff816116b9 00000000001040d0
May 22 21:24:42 localhost kernel: ffff88006af357c0 ffffffff81132430
000000000000000e ffff88006af35760
May 22 21:24:42 localhost kernel: ffffffff81134ed6 ffff88006af35790
0000000000000286 0000000000000003
May 22 21:24:42 localhost kernel: Call Trace:
May 22 21:24:42 localhost kernel: [<ffffffff816116b9>] dump_stack+0x45/0x56
May 22 21:24:42 localhost kernel: [<ffffffff81132430>]
warn_alloc_failed+0xf0/0x140
May 22 21:24:42 localhost kernel: [<ffffffff81134ed6>] ?
drain_local_pages+0x16/0x20
May 22 21:24:42 localhost kernel: [<ffffffff81136a62>]
__alloc_pages_nodemask+0x862/0xa20
May 22 21:24:42 localhost kernel: [<ffffffff81173259>]
alloc_pages_current+0xa9/0x160
May 22 21:24:42 localhost kernel: [<ffffffff8113151e>]
__get_free_pages+0xe/0x50
May 22 21:24:42 localhost kernel: [<ffffffff8114d37e>]
kmalloc_order_trace+0x2e/0xa0
May 22 21:24:42 localhost kernel: [<ffffffff8117f8e1>]
__kmalloc_track_caller+0x171/0x180
May 22 21:24:42 localhost kernel: [<ffffffffa05545c3>] ?
ath_descdma_setup+0x113/0x390 [ath9k]
May 22 21:24:42 localhost kernel: [<ffffffff8146e705>]
devm_kzalloc+0x25/0x70
May 22 21:24:42 localhost kernel: [<ffffffffa05545c3>]
ath_descdma_setup+0x113/0x390 [ath9k]
May 22 21:24:42 localhost kernel: [<ffffffffa055f1b5>]
ath_tx_init+0x55/0x1f0 [ath9k]
May 22 21:24:42 localhost kernel: [<ffffffffa05553be>]
ath9k_init_device+0xb7e/0xd00 [ath9k]
May 22 21:24:42 localhost kernel: [<ffffffff810b4f12>] ?
request_threaded_irq+0x82/0x170
May 22 21:24:42 localhost kernel: [<ffffffffa05573f0>] ?
ath9k_start+0x220/0x220 [ath9k]
May 22 21:24:42 localhost kernel: [<ffffffff810b4f5c>] ?
request_threaded_irq+0xcc/0x170
May 22 21:24:42 localhost kernel: [<ffffffffa0562db5>]
ath_pci_probe+0x235/0x330 [ath9k]
May 22 21:24:42 localhost kernel: [<ffffffff812038d3>] ?
sysfs_addrm_finish+0x33/0xc0
May 22 21:24:42 localhost kernel: [<ffffffff813a322e>]
local_pci_probe+0x3e/0x70
May 22 21:24:42 localhost kernel: [<ffffffff813a4601>]
pci_device_probe+0x111/0x120
May 22 21:24:42 localhost kernel: [<ffffffff8146ab15>]
driver_probe_device+0x125/0x3b0
May 22 21:24:42 localhost kernel: [<ffffffff8146ae73>]
__driver_attach+0x93/0xa0
May 22 21:24:42 localhost kernel: [<ffffffff8146ade0>] ?
__device_attach+0x40/0x40
May 22 21:24:42 localhost kernel: [<ffffffff81468913>]
bus_for_each_dev+0x63/0xa0
May 22 21:24:42 localhost kernel: [<ffffffff8146a4ce>]
driver_attach+0x1e/0x20
May 22 21:24:42 localhost kernel: [<ffffffff8146a040>]
bus_add_driver+0x200/0x2d0
May 22 21:24:42 localhost kernel: [<ffffffffa078a000>] ? 0xffffffffa0789fff
May 22 21:24:42 localhost kernel: [<ffffffff8146b4e4>]
driver_register+0x64/0xf0
May 22 21:24:42 localhost kernel: [<ffffffffa078a000>] ? 0xffffffffa0789fff
May 22 21:24:42 localhost kernel: [<ffffffff813a309b>]
__pci_register_driver+0x4b/0x50
May 22 21:24:42 localhost kernel: [<ffffffffa0562fe3>]
ath_pci_init+0x23/0x30 [ath9k]
May 22 21:24:42 localhost kernel: [<ffffffffa078a00e>]
__init_backport+0xe/0x1000 [ath9k]
May 22 21:24:42 localhost kernel: [<ffffffff810020fa>]
do_one_initcall+0xfa/0x1b0
May 22 21:24:42 localhost kernel: [<ffffffff81053733>] ?
set_memory_nx+0x43/0x50
May 22 21:24:42 localhost kernel: [<ffffffff810cfeb8>]
load_module+0x2028/0x2680
May 22 21:24:42 localhost kernel: [<ffffffff810cb990>] ?
store_uevent+0x40/0x40
May 22 21:24:42 localhost kernel: [<ffffffff810d0686>]
SyS_finit_module+0x86/0xb0
May 22 21:24:42 localhost kernel: [<ffffffff816208bd>]
system_call_fastpath+0x1a/0x1f
May 22 21:24:42 localhost kernel: Mem-Info:
May 22 21:24:42 localhost kernel: Node 0 DMA per-cpu:
May 22 21:24:42 localhost kernel: CPU 0: hi: 0, btch: 1 usd: 0
May 22 21:24:42 localhost kernel: CPU 1: hi: 0, btch: 1 usd: 0
May 22 21:24:42 localhost kernel: CPU 2: hi: 0, btch: 1 usd: 0
May 22 21:24:42 localhost kernel: CPU 3: hi: 0, btch: 1 usd: 0
May 22 21:24:42 localhost kernel: Node 0 DMA32 per-cpu:
May 22 21:24:42 localhost kernel: CPU 0: hi: 186, btch: 31 usd: 0
May 22 21:24:42 localhost kernel: CPU 1: hi: 186, btch: 31 usd: 0
May 22 21:24:42 localhost kernel: CPU 2: hi: 186, btch: 31 usd: 0
May 22 21:24:42 localhost kernel: CPU 3: hi: 186, btch: 31 usd: 0
May 22 21:24:42 localhost kernel: Node 0 Normal per-cpu:
May 22 21:24:42 localhost kernel: CPU 0: hi: 186, btch: 31 usd: 0
May 22 21:24:42 localhost kernel: CPU 1: hi: 186, btch: 31 usd: 0
May 22 21:24:42 localhost kernel: CPU 2: hi: 186, btch: 31 usd: 0
May 22 21:24:42 localhost kernel: CPU 3: hi: 186, btch: 31 usd: 0
May 22 21:24:42 localhost kernel: active_anon:408612 inactive_anon:12325
isolated_anon:0
May 22 21:24:42 localhost kernel: active_file:146977
inactive_file:146933 isolated_file:32
May 22 21:24:42 localhost kernel: unevictable:0 dirty:89 writeback:0
unstable:0
May 22 21:24:42 localhost kernel: free:74668 slab_reclaimable:13917
slab_unreclaimable:8897
May 22 21:24:42 localhost kernel: mapped:285033 shmem:13469
pagetables:7573 bounce:0
May 22 21:24:42 localhost kernel: free_cma:0
May 22 21:24:42 localhost kernel: Node 0 DMA free:15780kB min:268kB
low:332kB high:400kB active_anon:0kB inactive_anon:0kB active_file:0kB
inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB
present:15984kB managed:15900kB mlocked:0kB dirty:0kB writeback:0kB
mapped:0kB shmem:0kB slab_reclaimable:16kB slab_unreclaimable:16kB
kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB free_cma:0kB
writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
May 22 21:24:42 localhost kernel: lowmem_reserve[]: 0 2687 3886 3886
May 22 21:24:42 localhost kernel: Node 0 DMA32 free:243096kB min:46556kB
low:58192kB high:69832kB active_anon:1083608kB inactive_anon:31688kB
active_file:432220kB inactive_file:445304kB unevictable:0kB
isolated(anon):0kB isolated(file):0kB present:2833152kB
managed:2756436kB mlocked:0kB dirty:236kB writeback:0kB mapped:745224kB
shmem:34992kB slab_reclaimable:39528kB slab_unreclaimable:20516kB
kernel_stack:2408kB pagetables:19812kB unstable:0kB bounce:0kB
free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
May 22 21:24:42 localhost kernel: lowmem_reserve[]: 0 0 1198 1198
May 22 21:24:42 localhost kernel: Node 0 Normal free:39796kB min:20756kB
low:25944kB high:31132kB active_anon:550840kB inactive_anon:17612kB
active_file:155688kB inactive_file:142428kB unevictable:0kB
isolated(anon):0kB isolated(file):128kB present:1294336kB
managed:1227128kB mlocked:0kB dirty:120kB writeback:0kB mapped:394908kB
shmem:18884kB slab_reclaimable:16124kB slab_unreclaimable:15056kB
kernel_stack:1448kB pagetables:10480kB unstable:0kB bounce:0kB
free_cma:0kB writeback_tmp:0kB pages_scanned:83 all_unreclaimable? no
May 22 21:24:42 localhost kernel: lowmem_reserve[]: 0 0 0 0
May 22 21:24:42 localhost kernel: Node 0 DMA: 1*4kB (U) 0*8kB 2*16kB
(UE) 2*32kB (UE) 3*64kB (UE) 1*128kB (E) 2*256kB (UE) 1*512kB (E)
2*1024kB (UE) 2*2048kB (ER) 2*4096kB (M) = 15780kB
May 22 21:24:42 localhost kernel: Node 0 DMA32: 1000*4kB (UEM) 21105*8kB
(UEM) 3819*16kB (UEM) 241*32kB (UEM) 15*64kB (UEM) 6*128kB (U) 0*256kB
0*512kB 0*1024kB 0*2048kB 0*4096kB = 243384kB
May 22 21:24:42 localhost kernel: Node 0 Normal: 7576*4kB (UEM) 782*8kB
(UEM) 68*16kB (UEM) 18*32kB (UEM) 16*64kB (UEM) 1*128kB (E) 1*256kB (U)
1*512kB (M) 0*1024kB 0*2048kB 0*4096kB = 40144kB
May 22 21:24:42 localhost kernel: Node 0 hugepages_total=0
hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
May 22 21:24:42 localhost kernel: 307383 total pagecache pages
May 22 21:24:42 localhost kernel: 0 pages in swap cache
May 22 21:24:42 localhost kernel: Swap cache stats: add 0, delete 0,
find 0/0
May 22 21:24:42 localhost kernel: Free swap = 0kB
May 22 21:24:42 localhost kernel: Total swap = 0kB
May 22 21:24:42 localhost kernel: 1035868 pages RAM
May 22 21:24:42 localhost kernel: 0 pages HighMem/MovableOnly
May 22 21:24:42 localhost kernel: 16802 pages reserved
May 22 21:24:42 localhost kernel: ath: phy0: Failed to allocate tx
descriptors: -12
May 22 21:24:42 localhost kernel: ath9k 0000:07:00.0: Failed to
initialize device
May 22 21:24:42 localhost kernel: ath9k: probe of 0000:07:00.0 failed
with error -12
In order to make the connection work again i had to reboot the machine...
So this log seems to imply three options,
a) there is a bug somewhere in the ath9k driver,
b) my atheros card is a piece of shit
or c) the BIOS of the laptop is a piece of shit....
I dont have any more tests to do besides installing the BIOS update(
after installing windows 8 somehow ughhhh..)
What do you guys think?
Greetings
Oskar
On 05/21/2014 05:10 PM, Adrian Chadd wrote:
> hi,
>
> Hm. You're hibernating? That may explain why the thing is return
> 0xdeadc0de during register reads. Maybe the MAC isn't fully waking up
> after a resume?
>
>
> -a
>
>
> On 21 May 2014 08:10, Arkh4mKn1ght <arkh4mkn1ght@gmail.com> wrote:
>> Hi rajkumar
>>
>> I dont know if this only happens when resuming from hibernate, it was just a
>> thought that ocurred to me today. I will test again without hibernating to
>> see if this happens again.
>> I dont use any firewall on the laptop, so iptables -F is pointless.
>> Ping latency times are good when the problem is ongoing.
>> I will take a sniffer capture and send it back to you.
>>
>> Thanks for your help
>>
>> Oskar
>>
>>
>> On 05/21/2014 11:59 AM, Rajkumar Manoharan wrote:
>>> On Wed, May 21, 2014 at 11:37:36AM -0300, Arkh4mKn1ght wrote:
>>>> Ok i tried the patch but the issue happened again :(
>>>>
>>>> After resuming my laptop from hibernation i saw in
>>>> /var/log/kernel/errors.log these messages again:
>>>>
>>>> May 21 09:20:10 localhost kernel: mei_me 0000:00:16.0: suspend
>>>> May 21 09:20:10 localhost kernel: ath: phy1: RX failed to go idle in 10
>>>> ms
>>>> RXSM=0xdeadbeef
>>>> May 21 09:20:10 localhost kernel: ath: phy1: DMA failed to stop in 10 ms
>>>> AR_CR=0xdeadbeef AR_DIAG_SW=0xdeadbeef DMADBG_7=0xdeadbeef
>>>> May 21 09:20:11 localhost kernel: dpm_run_callback():
>>>> usb_dev_restore+0x0/0x20 [usbcore] returns -107
>>>> May 21 09:20:11 localhost kernel: PM: Device 1-1 failed to restore async:
>>>> error -107
>>>>
>>>> ASPM was disabled on root complex and atheros card.powersave was off.
>>>> After 1 hour and 10 minutes of those messages that problem arise. I have
>>>> noticed that the problem arises always after some time of resuming the
>>>> laptop from hibernation.
>>>>
>>>> Its really odd, because when it does happen, browsing the web is
>>>> painfully
>>>> slow with the "connecting to domain.com..." message in the browser status
>>>> bar... it does load the website but after some minutes..
>>>> Meanwhile at the same time if i try to download a torrent using a
>>>> bittorrent
>>>> client i can do it without problems at full speed. If i pause the
>>>> torrent,
>>>> browsing websites still behaves slowly until i reboot the laptop.
>>>>
>>>> At first i thought that i have a defective atheros card, but why i can
>>>> download torrents at full speed when this problem arises?
>>>> What options do i have now? i have tested all combinations of ASPM
>>>> enabled/disabled and powersave on/off.
>>>>
>>>> I have seen that there is a BIOS update for my laptop, but im unsure it
>>>> could help for this at all (besides that i would have to install windows
>>>> 8
>>>> to install the friggin bios update)
>>>>
>>> Oskar,
>>>
>>> I am quite confused. Does the issue happen only after resume from
>>> hibernate?
>>> Initially you havn't mentioned hibernate/resume. Are you able to
>>> reproduce the issue without hibernating? Please flush ip table entries
>>> and test.
>>>
>>> sudo iptables -F
>>>
>>> Can you please take a sniffer capture at the problematic time? Are you
>>> seeing huge
>>> latency for ping (icmp)?
>>>
>>> -Rajkumar
>>>
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
2014-05-21 20:10 ` Adrian Chadd
2014-05-21 20:52 ` Arkh4mKn1ght
2014-05-23 0:50 ` Arkh4mKn1ght
@ 2014-05-26 18:06 ` Oskar Kossuth
2014-05-27 11:43 ` Rajkumar Manoharan
2 siblings, 1 reply; 30+ messages in thread
From: Oskar Kossuth @ 2014-05-26 18:06 UTC (permalink / raw)
To: ath9k-devel
Update:
I did some investigation after the problem with the atheros wifi card
happened again and i found something odd.
The firefox process was consuming a lot of CPU, while the problem was
ongoing, and the CPU usage decreased to normal levels after i stopped
trying to load a website, and increased a lot after i tried to load the
website again.
I did an strace of the firefox process and i found lots and lots of
errors like these:
recvfrom(4, 0x7f9fd6cd8074, 4096, 0, 0, 0) = -1 EAGAIN (Resource
temporarily unavailable)
recvfrom(4, 0x7f9fd6cd8074, 4096, 0, 0, 0) = -1 EAGAIN (Resource
temporarily unavailable)
recvfrom(4, 0x7f9fd6cd8074, 4096, 0, 0, 0) = -1 EAGAIN (Resource
temporarily unavailable)
recvfrom(4, 0x7f9fd6cd8074, 4096, 0, 0, 0) = -1 EAGAIN (Resource
temporarily unavailable)
I checked the file descriptor 4 for the firefox process 7265:
[root at localhost incsub]# cd /proc/7265/fd
[root at localhost fd]# ls -l 4
lrwx------ 1 oskar oskar 64 May 26 12:28 4 -> socket:[1868342]
[root at localhost fd]# netstat -an | grep 1868342
unix 3 [ ] STREAM CONNECTED 1868342
[root at localhost fd]#
So maybe there is some kind of issue with a limit, a sysctl kernel
parameter or something like that?
Any ideas?
Thanks
PS: I tested using the eth0 realtek adapter of my laptop and disabled
wireless. The problem appeared also in this case.
On 05/21/2014 05:10 PM, Adrian Chadd wrote:
> hi,
>
> Hm. You're hibernating? That may explain why the thing is return
> 0xdeadc0de during register reads. Maybe the MAC isn't fully waking up
> after a resume?
>
>
> -a
>
>
> On 21 May 2014 08:10, Arkh4mKn1ght <arkh4mkn1ght@gmail.com> wrote:
>> Hi rajkumar
>>
>> I dont know if this only happens when resuming from hibernate, it was just a
>> thought that ocurred to me today. I will test again without hibernating to
>> see if this happens again.
>> I dont use any firewall on the laptop, so iptables -F is pointless.
>> Ping latency times are good when the problem is ongoing.
>> I will take a sniffer capture and send it back to you.
>>
>> Thanks for your help
>>
>> Oskar
>>
>>
>> On 05/21/2014 11:59 AM, Rajkumar Manoharan wrote:
>>> On Wed, May 21, 2014 at 11:37:36AM -0300, Arkh4mKn1ght wrote:
>>>> Ok i tried the patch but the issue happened again :(
>>>>
>>>> After resuming my laptop from hibernation i saw in
>>>> /var/log/kernel/errors.log these messages again:
>>>>
>>>> May 21 09:20:10 localhost kernel: mei_me 0000:00:16.0: suspend
>>>> May 21 09:20:10 localhost kernel: ath: phy1: RX failed to go idle in 10
>>>> ms
>>>> RXSM=0xdeadbeef
>>>> May 21 09:20:10 localhost kernel: ath: phy1: DMA failed to stop in 10 ms
>>>> AR_CR=0xdeadbeef AR_DIAG_SW=0xdeadbeef DMADBG_7=0xdeadbeef
>>>> May 21 09:20:11 localhost kernel: dpm_run_callback():
>>>> usb_dev_restore+0x0/0x20 [usbcore] returns -107
>>>> May 21 09:20:11 localhost kernel: PM: Device 1-1 failed to restore async:
>>>> error -107
>>>>
>>>> ASPM was disabled on root complex and atheros card.powersave was off.
>>>> After 1 hour and 10 minutes of those messages that problem arise. I have
>>>> noticed that the problem arises always after some time of resuming the
>>>> laptop from hibernation.
>>>>
>>>> Its really odd, because when it does happen, browsing the web is
>>>> painfully
>>>> slow with the "connecting to domain.com..." message in the browser status
>>>> bar... it does load the website but after some minutes..
>>>> Meanwhile at the same time if i try to download a torrent using a
>>>> bittorrent
>>>> client i can do it without problems at full speed. If i pause the
>>>> torrent,
>>>> browsing websites still behaves slowly until i reboot the laptop.
>>>>
>>>> At first i thought that i have a defective atheros card, but why i can
>>>> download torrents at full speed when this problem arises?
>>>> What options do i have now? i have tested all combinations of ASPM
>>>> enabled/disabled and powersave on/off.
>>>>
>>>> I have seen that there is a BIOS update for my laptop, but im unsure it
>>>> could help for this at all (besides that i would have to install windows
>>>> 8
>>>> to install the friggin bios update)
>>>>
>>> Oskar,
>>>
>>> I am quite confused. Does the issue happen only after resume from
>>> hibernate?
>>> Initially you havn't mentioned hibernate/resume. Are you able to
>>> reproduce the issue without hibernating? Please flush ip table entries
>>> and test.
>>>
>>> sudo iptables -F
>>>
>>> Can you please take a sniffer capture at the problematic time? Are you
>>> seeing huge
>>> latency for ping (icmp)?
>>>
>>> -Rajkumar
>>>
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
2014-05-26 18:06 ` Oskar Kossuth
@ 2014-05-27 11:43 ` Rajkumar Manoharan
2014-05-27 13:52 ` Arkh4mKn1ght
0 siblings, 1 reply; 30+ messages in thread
From: Rajkumar Manoharan @ 2014-05-27 11:43 UTC (permalink / raw)
To: ath9k-devel
On Mon, May 26, 2014 at 03:06:57PM -0300, Oskar Kossuth wrote:
> Update:
>
> I did some investigation after the problem with the atheros wifi card
> happened again and i found something odd.
> The firefox process was consuming a lot of CPU, while the problem was
> ongoing, and the CPU usage decreased to normal levels after i stopped trying
> to load a website, and increased a lot after i tried to load the website
> again.
>
Oskar,
your issue is not related to firefox as earlier you had mentioned that
with lynx also the problem occurs. isn't it?
>
> PS: I tested using the eth0 realtek adapter of my laptop and disabled
> wireless. The problem appeared also in this case.
>
So it is not wireless or ethernet issue. From you earlier sniffer
capture, I do see lot of TCP connection resets with window size 0.
Even TCP 3-way handshake also terminated in most of the cases. Can you
tune TCP receive buffer size.
http://www.cyberciti.biz/faq/linux-tcp-tuning/
-Rajkumar
^ permalink raw reply [flat|nested] 30+ messages in thread
* [ath9k-devel] Weird Atheros 9485 http connecting problems
2014-05-27 11:43 ` Rajkumar Manoharan
@ 2014-05-27 13:52 ` Arkh4mKn1ght
0 siblings, 0 replies; 30+ messages in thread
From: Arkh4mKn1ght @ 2014-05-27 13:52 UTC (permalink / raw)
To: ath9k-devel
Yeah i didnt try to say that the culprit was firefox, it was just an
observation i made so i thought maybe the problem
was related somehow to a limit or kernel parameter. Thanks for the tip
about the TCP receiver buffer size, but first
i have tweaked these 2 parameters that were in default low:
net.core.somaxconn = 128
net.ipv4.tcp_max_syn_backlog = 128
I have both raised them to 2048.
I did this because monitoring my laptop with netstat i found that the
number of connections including
TCP, UDP, and unix domain sockets DGRAM and STREAM were about 700 at a
given time.
I will see if this solves the issue. if not i will try your suggestion
Greetings
Oskar
On 05/27/2014 08:43 AM, Rajkumar Manoharan wrote:
> On Mon, May 26, 2014 at 03:06:57PM -0300, Oskar Kossuth wrote:
>> Update:
>>
>> I did some investigation after the problem with the atheros wifi card
>> happened again and i found something odd.
>> The firefox process was consuming a lot of CPU, while the problem was
>> ongoing, and the CPU usage decreased to normal levels after i stopped trying
>> to load a website, and increased a lot after i tried to load the website
>> again.
>>
> Oskar,
>
> your issue is not related to firefox as earlier you had mentioned that
> with lynx also the problem occurs. isn't it?
>> PS: I tested using the eth0 realtek adapter of my laptop and disabled
>> wireless. The problem appeared also in this case.
>>
> So it is not wireless or ethernet issue. From you earlier sniffer
> capture, I do see lot of TCP connection resets with window size 0.
> Even TCP 3-way handshake also terminated in most of the cases. Can you
> tune TCP receive buffer size.
>
> http://www.cyberciti.biz/faq/linux-tcp-tuning/
>
> -Rajkumar
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
> .
>
^ permalink raw reply [flat|nested] 30+ messages in thread
end of thread, other threads:[~2014-05-27 13:52 UTC | newest]
Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
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.