Re: WARNING: CPU: 1 PID: 2485 at drivers/net/wireless/intel/iwlwifi/pcie/trans.c:1752 iwl_trans_pcie_grab_nic_access+0x110/0x120 [iwlwifi]

2016-04-16 Thread Grumbach, Emmanuel
On Sat, 2016-04-16 at 17:43 +0200, Borislav Petkov wrote:
> On Fri, Apr 15, 2016 at 04:16:02AM +, Grumbach, Emmanuel wrote:
> > [1] 
> > https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/backport-iwlwi
> > fi.git/
> 
> It is very strange to pull from this repo, git fetch is doing
> something
> for a while now without any forward progress.

This is not surprising at all. This tree is not a kernel tree, but
rather a backport tree. It doesn't contain anything besides the Wifi
stack and the backport code. It has no common commit with the Linux
kernel. I understand that you fetched this tree from a kernel tree but
that's not a good idea. Git will try to find a common ancestor but that
will fail... after a huge number of tentatives. You'd better clone it.

> In any case, 4.5 is bad too, testing 4.4 now.

Here you go.

> I 'm travelling currently
> so the whole bisection deal will take a whole but I'll get to it
> eventually.

I'll be glad to see something coming out of this, but I can't say I am
very optimistic.

> 
> Thanks for taking a look.
> 

Re: WARNING: CPU: 1 PID: 2485 at drivers/net/wireless/intel/iwlwifi/pcie/trans.c:1752 iwl_trans_pcie_grab_nic_access+0x110/0x120 [iwlwifi]

2016-04-16 Thread Borislav Petkov
On Fri, Apr 15, 2016 at 04:16:02AM +, Grumbach, Emmanuel wrote:
> [1] https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/backport-iwlwi
> fi.git/

It is very strange to pull from this repo, git fetch is doing something
for a while now without any forward progress.

In any case, 4.5 is bad too, testing 4.4 now. I'm travelling currently
so the whole bisection deal will take a whole but I'll get to it
eventually.

Thanks for taking a look.

-- 
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply. Srsly.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: WARNING: CPU: 1 PID: 2485 at drivers/net/wireless/intel/iwlwifi/pcie/trans.c:1752 iwl_trans_pcie_grab_nic_access+0x110/0x120 [iwlwifi]

2016-04-14 Thread Grumbach, Emmanuel
On Fri, 2016-04-15 at 02:07 +, Borislav Petkov wrote:
> Hi,
> 
> so I'm seeing this when wlan0 tries to associate. On 4.6-rc2 + tip.
> After that, wifi is dead in the water. Anyone have a clue?
> 
> And 4.5 seems fine, I'm typing from it as we speak.
> ...




> [  661.142657] [ cut here ]----
> [  661.142816] WARNING: CPU: 1 PID: 2485 at
> drivers/net/wireless/intel/iwlwifi/pcie/trans.c:1752
> iwl_trans_pcie_grab_nic_access+0x110/0x120 [iwlwifi]
> [  661.143231] Timeout waiting for hardware access (CSR_GP_CNTRL
> 0x)
> 

This means that we have an electrical issue that prevents us from
accessing the device over the PCI bus. BAR has been garbaged or alike.
Every time I tried to debug that from the driver side it has ...
failed. Because the "good" in the end did exhibit the problem. So,
unless you are ready to embark for a bisection journey (and hope that
this time when you type 'git bisect good' it is really 'good'), I can't
do much.
What I can suggest is to install our latest backport based tree on 4.5.
This will allow you to have an easily bisectable tree. But it might
very well be that 4.5 + latest driver (equivalent to 4.6 as far as
iwlwifi is concerned) will be fine.
The backport tree is here [1]. Unfortunately, that's the only thing I
can suggest for now.

[1] https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/backport-iwlwi
fi.git/
> -- 
> Regards/Gruss,
> Boris.
> 
> ECO tip #101: Trim your mails when you reply. Srsly.

WARNING: CPU: 1 PID: 2485 at drivers/net/wireless/intel/iwlwifi/pcie/trans.c:1752 iwl_trans_pcie_grab_nic_access+0x110/0x120 [iwlwifi]

2016-04-14 Thread Borislav Petkov
Hi,

so I'm seeing this when wlan0 tries to associate. On 4.6-rc2 + tip.
After that, wifi is dead in the water. Anyone have a clue?

And 4.5 seems fine, I'm typing from it as we speak.

...
[2.111418] iwlwifi :02:00.0: loaded firmware version 21.302800.0 
op_mode iwlmvm
...
[2.220954] iwlwifi :02:00.0: Detected Intel(R) Dual Band Wireless AC 
7265, REV=0x210
[2.221460] iwlwifi :02:00.0: L1 Enabled - LTR Disabled
[2.221988] iwlwifi :02:00.0: L1 Enabled - LTR Disabled
...
[  311.776764] iwlwifi :02:00.0: L1 Enabled - LTR Disabled
[  311.777226] iwlwifi :02:00.0: L1 Enabled - LTR Disabled
[  311.837783] iwlwifi :02:00.0: L1 Enabled - LTR Disabled
[  311.838262] iwlwifi :02:00.0: L1 Enabled - LTR Disabled
[  311.853871] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  315.606321] wlan0: authenticate with 00:c0:23:b9:ff:10
[  315.609802] wlan0: send auth to 00:c0:23:b9:ff:10 (try 1/3)
[  315.612246] wlan0: authenticated
[  315.612656] iwlwifi :02:00.0 wlan0: disabling HT as WMM/QoS is not 
supported by the AP
[  315.612946] iwlwifi :02:00.0 wlan0: disabling VHT as WMM/QoS is not 
supported by the AP
[  315.614655] wlan0: associate with 00:c0:23:b9:ff:10 (try 1/3)
[  315.718696] wlan0: associate with 00:c0:23:b9:ff:10 (try 2/3)
[  315.722311] wlan0: deauthenticated from 00:c0:23:b9:ff:10 while associating 
(Reason: 6=CLASS2_FRAME_FROM_NONAUTH_STA)
[  316.159994] wlan0: authenticate with 00:c0:23:ba:5a:70
[  316.162826] wlan0: send auth to 00:c0:23:ba:5a:70 (try 1/3)
[  316.166422] wlan0: authenticated
[  316.166864] iwlwifi :02:00.0 wlan0: disabling HT as WMM/QoS is not 
supported by the AP
[  316.167164] iwlwifi :02:00.0 wlan0: disabling VHT as WMM/QoS is not 
supported by the AP
[  316.170689] wlan0: associate with 00:c0:23:ba:5a:70 (try 1/3)
[  316.173951] wlan0: RX AssocResp from 00:c0:23:ba:5a:70 (capab=0x121 status=0 
aid=4)
[  316.175966] wlan0: associated
[  316.176160] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  653.272205] iwlwifi :02:00.0: Failed to wake NIC for hcmd
[  653.272497] iwlwifi :02:00.0: Error sending STATISTICS_CMD: enqueue_hcmd 
failed: -5
[  653.290868] iwlwifi :02:00.0: Failed to wake NIC for hcmd
[  653.291211] iwlwifi :02:00.0: Error sending STATISTICS_CMD: enqueue_hcmd 
failed: -5
[  661.124556] iwlwifi :02:00.0: Queue 2 stuck for 1 ms.
[  661.124748] iwlwifi :02:00.0: Current SW read_ptr 59 write_ptr 63
[  661.142657] [ cut here ]
[  661.142816] WARNING: CPU: 1 PID: 2485 at 
drivers/net/wireless/intel/iwlwifi/pcie/trans.c:1752 
iwl_trans_pcie_grab_nic_access+0x110/0x120 [iwlwifi]
[  661.143231] Timeout waiting for hardware access (CSR_GP_CNTRL 0x)
[  661.143449] Modules linked in: msr hid_generic arc4 kvm_amd kvm irqbypass 
crct10dif_pclmul crc32_pclmul iwlmvm crc32c_intel mac80211 jitterentropy_rng 
sha256_generic hmac acpi_cpufreq tpm_infineon drbg amdgpu iwlwifi aesni_intel 
snd_hda_codec_conexant aes_x86_64 glue_helper lrw snd_hda_codec_generic 
gf128mul snd_hda_codec_hdmi ablk_helper cryptd psmouse snd_hda_intel evdev 
joydev input_leds cfg80211 snd_hda_codec serio_raw pcspkr snd_hwdep 
snd_hda_core tg3 snd_pcm fam15h_power ptp edac_core pps_core xhci_pci k10temp 
snd_timer ttm xhci_hcd libphy ehci_pci snd ehci_hcd i2c_piix4 sg soundcore 
battery tpm_tis tpm video processor ac button sd_mod thermal
[  661.145657] CPU: 1 PID: 2485 Comm: iceweasel Tainted: GW   
4.6.0-rc2+ #1
[  661.145905] Hardware name: HP HP EliteBook 745 G3/807E, BIOS N73 Ver. 01.08 
01/28/2016
[  661.146159]   812d9e79 88043dc83d78 

[  661.146418]  810588ac 88042474 88043dc83dc8 
880424747adc
[  661.146677]  88043dc83e00 88009b2301e0 88009b2301f0 
8105891f
[  661.146937] Call Trace:
[  661.147020][] ? dump_stack+0x5c/0x83
[  661.147223]  [] ? __warn+0xec/0x110
[  661.147387]  [] ? warn_slowpath_fmt+0x4f/0x60
[  661.147580]  [] ? iwl_poll_bit+0x2f/0x70 [iwlwifi]
[  661.147785]  [] ? 
iwl_trans_pcie_grab_nic_access+0x110/0x120 [iwlwifi]
[  661.148045]  [] ? iwl_trans_pcie_read_mem+0x27/0x90 
[iwlwifi]
[  661.148280]  [] ? iwl_pcie_txq_stuck_timer+0xd0/0x380 
[iwlwifi]
[  661.148521]  [] ? task_tick_fair+0x4b8/0x920
[  661.148712]  [] ? perf_event_task_tick+0x6f/0x230
[  661.148915]  [] ? iwl_pcie_txq_unmap+0x160/0x160 [iwlwifi]
[  661.149142]  [] ? call_timer_fn+0x30/0x150
[  661.149325]  [] ? iwl_pcie_txq_unmap+0x160/0x160 [iwlwifi]
[  661.149552]  [] ? run_timer_softirq+0x223/0x2d0
[  661.149750]  [] ? __do_softirq+0xdd/0x2c4
[  661.149931]  [] ? irq_exit+0x85/0x90
[  661.150098]  [] ? smp_apic_timer_interrupt+0x3e/0x50
[  661.150308]  [] ? apic_timer_interrupt+0x82/0x90
[  661.150507]   
[  661.150573] ---[ end trace 9159ae5cde33d1c4 ]---
[  661.150786] iwl data: : df 11 13 81 ff ff ff ff ae 0f 0c 81 00 00 00 
00  
[  661.168775