2015-01-14 08:31:27

by Igor Gnatenko

[permalink] [raw]
Subject: [REGRESSION] iwlfiwi with Intel Centrino N1000 won't work with power_save

Hi,

I got report from people that on Intel Centrino N1000 wifi won't work
after
updating to 3.17.8. I see in that release Fedora maints enabled
POWERCAP and
INTEL RAPL. We got working wifi only after disabling powersave via `iw
dev wlp2s0 set power_save off`.

How we can debug this?

lspci above.

02:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-
N 1000 [Condor Peak] [8086:0084]
Subsystem: Intel Corporation Centrino Wireless-N 1000 BGN
[8086:1315]
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 28
Region 0: Memory at d1500000 (64-bit, non-prefetchable)
[size=8K]
Capabilities: [c8] 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: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: 00000000fee0800c Data: 4122
Capabilities: [e0] Express (v1) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s
<512ns, L1 unlimited
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq-
AuxPwr+ TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1,
Exit Latency L0s <128ns, L1 <32us
ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+
ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train-
SlotClk+ DLActive- BWMgmt- ABWMgmt-
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 74-e5-0b-ff-ff-cc-
82-24
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
--
-Igor Gnatenko


Attachments:
signature.asc (473.00 B)
This is a digitally signed message part

2015-01-14 08:40:24

by Igor Gnatenko

[permalink] [raw]
Subject: Re: [REGRESSION] iwlfiwi with Intel Centrino N1000 won't work with power_save

On Wed, 2015-01-14 at 11:31 +0300, Igor Gnatenko wrote:
> Hi,
>
> I got report from people that on Intel Centrino N1000 wifi won't
> work after
> updating to 3.17.8. I see in that release Fedora maints enabled
> POWERCAP and
> INTEL RAPL. We got working wifi only after disabling powersave via
> `iw dev wlp2s0 set power_save off`.
>
> How we can debug this?
>
> lspci above.
>
> 02:00.0 Network controller [0280]: Intel Corporation Centrino
> Wireless- N 1000 [Condor Peak] [8086:0084]
> Subsystem: Intel Corporation Centrino Wireless-N 1000 BGN
> [8086:1315]
> 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 28
> Region 0: Memory at d1500000 (64-bit, non-prefetchable)
> [size=8K]
> Capabilities: [c8] 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: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
> Address: 00000000fee0800c Data: 4122
> Capabilities: [e0] Express (v1) Endpoint, MSI 00
> DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency
> L0s
> <512ns, L1 unlimited
> ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
> DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
> Unsupported-
> RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
> MaxPayload 128 bytes, MaxReadReq 128 bytes
> DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq-
> AuxPwr+ TransPend-
> LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s
> L1,
> Exit Latency L0s <128ns, L1 <32us
> ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
> LnkCtl: ASPM Disabled; RCB 64 bytes Disabled-
> CommClk+
> ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
> LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train-
> SlotClk+ DLActive- BWMgmt- ABWMgmt-
> 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 74-e5-0b-ff-ff-
> cc-
> 82-24
> Kernel driver in use: iwlwifi
> Kernel modules: iwlwifi
> --
> -Igor Gnatenko
CC linux-pm@
--
-Igor Gnatenko


Attachments:
signature.asc (473.00 B)
This is a digitally signed message part

2015-01-14 10:14:47

by Igor Gnatenko

[permalink] [raw]
Subject: Re: [REGRESSION] iwlfiwi with Intel Centrino N1000 won't work with power_save

On Wed, Jan 14, 2015 at 12:53 PM, Emmanuel Grumbach <[email protected]> wrote:
> On Wed, Jan 14, 2015 at 10:40 AM, Igor Gnatenko
> <[email protected]> wrote:
>> On Wed, 2015-01-14 at 11:31 +0300, Igor Gnatenko wrote:
>>> Hi,
>>>
>>> I got report from people that on Intel Centrino N1000 wifi won't
>>> work after
>>> updating to 3.17.8. I see in that release Fedora maints enabled
>>> POWERCAP and
>>> INTEL RAPL. We got working wifi only after disabling powersave via
>>> `iw dev wlp2s0 set power_save off`.
>
> What kernel version did you have before?
> BTW - for this device, power save is supposed to be disabled by
> default, but I need to check
3.17.4
>>>
>>> How we can debug this?
>>>
>>> lspci above.
>>>
>>> 02:00.0 Network controller [0280]: Intel Corporation Centrino
>>> Wireless- N 1000 [Condor Peak] [8086:0084]
>>> Subsystem: Intel Corporation Centrino Wireless-N 1000 BGN
>>> [8086:1315]
>>> 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 28
>>> Region 0: Memory at d1500000 (64-bit, non-prefetchable)
>>> [size=8K]
>>> Capabilities: [c8] 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: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
>>> Address: 00000000fee0800c Data: 4122
>>> Capabilities: [e0] Express (v1) Endpoint, MSI 00
>>> DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency
>>> L0s
>>> <512ns, L1 unlimited
>>> ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
>>> DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
>>> Unsupported-
>>> RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
>>> MaxPayload 128 bytes, MaxReadReq 128 bytes
>>> DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq-
>>> AuxPwr+ TransPend-
>>> LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s
>>> L1,
>>> Exit Latency L0s <128ns, L1 <32us
>>> ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
>>> LnkCtl: ASPM Disabled; RCB 64 bytes Disabled-
>>> CommClk+
>>> ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
>>> LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train-
>>> SlotClk+ DLActive- BWMgmt- ABWMgmt-
>>> 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 74-e5-0b-ff-ff-
>>> cc-
>>> 82-24
>>> Kernel driver in use: iwlwifi
>>> Kernel modules: iwlwifi
>>> --
>>> -Igor Gnatenko
>> CC linux-pm@
>> --
>> -Igor Gnatenko



--
-Igor Gnatenko

2015-01-14 10:36:33

by Emmanuel Grumbach

[permalink] [raw]
Subject: Re: [REGRESSION] iwlfiwi with Intel Centrino N1000 won't work with power_save

>>>> Hi,
>>>>
>>>> I got report from people that on Intel Centrino N1000 wifi won't
>>>> work after
>>>> updating to 3.17.8. I see in that release Fedora maints enabled
>>>> POWERCAP and
>>>> INTEL RAPL. We got working wifi only after disabling powersave via
>>>> `iw dev wlp2s0 set power_save off`.
>>
>> What kernel version did you have before?
>> BTW - for this device, power save is supposed to be disabled by
>> default, but I need to check
> 3.17.4

$ git log --oneline v3.17.4..v3.17.8 -- drivers/net/wireless/iwlwifi/
fb14996 iwlwifi: mvm: check TLV flag before trying to use hotspot
firmware commands
4e709ff iwlwifi: mvm: ROC - bug fixes around time events and locking
85ebf94 iwlwifi: pcie: fix prph dump length

none of these are related to the device your are reporting about.

>>>>
>>>> How we can debug this?
>>>>
>>>> lspci above.
>>>>
>>>> 02:00.0 Network controller [0280]: Intel Corporation Centrino
>>>> Wireless- N 1000 [Condor Peak] [8086:0084]
>>>> Subsystem: Intel Corporation Centrino Wireless-N 1000 BGN
>>>> [8086:1315]
>>>> 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 28
>>>> Region 0: Memory at d1500000 (64-bit, non-prefetchable)
>>>> [size=8K]
>>>> Capabilities: [c8] 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: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
>>>> Address: 00000000fee0800c Data: 4122
>>>> Capabilities: [e0] Express (v1) Endpoint, MSI 00
>>>> DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency
>>>> L0s
>>>> <512ns, L1 unlimited
>>>> ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
>>>> DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
>>>> Unsupported-
>>>> RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
>>>> MaxPayload 128 bytes, MaxReadReq 128 bytes
>>>> DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq-
>>>> AuxPwr+ TransPend-
>>>> LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s
>>>> L1,
>>>> Exit Latency L0s <128ns, L1 <32us
>>>> ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
>>>> LnkCtl: ASPM Disabled; RCB 64 bytes Disabled-
>>>> CommClk+
>>>> ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
>>>> LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train-
>>>> SlotClk+ DLActive- BWMgmt- ABWMgmt-
>>>> 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 74-e5-0b-ff-ff-
>>>> cc-
>>>> 82-24
>>>> Kernel driver in use: iwlwifi
>>>> Kernel modules: iwlwifi
>>>> --
>>>> -Igor Gnatenko
>>> CC linux-pm@
>>> --
>>> -Igor Gnatenko
>
>
>
> --
> -Igor Gnatenko

2015-01-14 09:53:10

by Emmanuel Grumbach

[permalink] [raw]
Subject: Re: [REGRESSION] iwlfiwi with Intel Centrino N1000 won't work with power_save

On Wed, Jan 14, 2015 at 10:40 AM, Igor Gnatenko
<[email protected]> wrote:
> On Wed, 2015-01-14 at 11:31 +0300, Igor Gnatenko wrote:
>> Hi,
>>
>> I got report from people that on Intel Centrino N1000 wifi won't
>> work after
>> updating to 3.17.8. I see in that release Fedora maints enabled
>> POWERCAP and
>> INTEL RAPL. We got working wifi only after disabling powersave via
>> `iw dev wlp2s0 set power_save off`.

What kernel version did you have before?
BTW - for this device, power save is supposed to be disabled by
default, but I need to check

>>
>> How we can debug this?
>>
>> lspci above.
>>
>> 02:00.0 Network controller [0280]: Intel Corporation Centrino
>> Wireless- N 1000 [Condor Peak] [8086:0084]
>> Subsystem: Intel Corporation Centrino Wireless-N 1000 BGN
>> [8086:1315]
>> 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 28
>> Region 0: Memory at d1500000 (64-bit, non-prefetchable)
>> [size=8K]
>> Capabilities: [c8] 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: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
>> Address: 00000000fee0800c Data: 4122
>> Capabilities: [e0] Express (v1) Endpoint, MSI 00
>> DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency
>> L0s
>> <512ns, L1 unlimited
>> ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
>> DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
>> Unsupported-
>> RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
>> MaxPayload 128 bytes, MaxReadReq 128 bytes
>> DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq-
>> AuxPwr+ TransPend-
>> LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s
>> L1,
>> Exit Latency L0s <128ns, L1 <32us
>> ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
>> LnkCtl: ASPM Disabled; RCB 64 bytes Disabled-
>> CommClk+
>> ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
>> LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train-
>> SlotClk+ DLActive- BWMgmt- ABWMgmt-
>> 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 74-e5-0b-ff-ff-
>> cc-
>> 82-24
>> Kernel driver in use: iwlwifi
>> Kernel modules: iwlwifi
>> --
>> -Igor Gnatenko
> CC linux-pm@
> --
> -Igor Gnatenko