kernel panic on iwlwifi 7260

Bug #1830210 reported by Jos Dehaes
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Every now and then, the wifi drops, and following trace in the kernel log:

May 23 14:41:06 vaio kernel: [ 83.481767] ------------[ cut here ]------------
May 23 14:41:06 vaio kernel: [ 83.481771] Timeout waiting for hardware access (CSR_GP_CNTRL 0xffffffff)
May 23 14:41:06 vaio kernel: [ 83.481819] WARNING: CPU: 1 PID: 0 at drivers/net/wireless/intel/iwlwifi/pcie/trans.c:2030 iwl_trans_pcie_grab_nic_access+0x1ee/0x220 [iwlwifi]
May 23 14:41:06 vaio kernel: [ 83.481820] Modules linked in: rfcomm ccm cmac bnep nls_iso8859_1 pn544_mei mei_phy pn544 hci nfc arc4 snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_
codec_hdmi snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_seq_midi iwlmvm snd_seq_midi_event mac80211 videobuf2_common videode
v snd_rawmidi media iwlwifi intel_rapl snd_seq x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel cfg80211 intel_cstate intel_rapl_perf btusb btrtl snd_seq_device btbcm snd_timer input_leds joyde
v btintel serio_raw bluetooth snd ecdh_generic mei_me soundcore mei sony_laptop mac_hid intel_smartconnect sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 crypto_simd glue_helper ae
s_x86_64 algif_skcipher af_alg dm_crypt i915 kvmgt vfio_mdev mdev vfio_iommu_type1 vfio kvm irqbypass i2c_algo_bit crct10dif_pclmul crc32_pclmul drm_kms_helper syscopyarea sysfillrect sysimgblt ghash_c
lmulni_intel cryptd psmouse
May 23 14:41:06 vaio kernel: [ 83.481866] fb_sys_fops lpc_ich i2c_i801 ahci drm libahci video
May 23 14:41:06 vaio kernel: [ 83.481874] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.0.0-15-generic #16-Ubuntu
May 23 14:41:06 vaio kernel: [ 83.481875] Hardware name: Sony Corporation SVP1121D4E/VAIO, BIOS R1041V7 11/05/2013
May 23 14:41:06 vaio kernel: [ 83.481889] RIP: 0010:iwl_trans_pcie_grab_nic_access+0x1ee/0x220 [iwlwifi]
May 23 14:41:06 vaio kernel: [ 83.481892] Code: 1c d6 49 8d 57 08 bf 00 20 00 00 e8 fc 77 a4 d4 e9 36 ff ff ff 89 c6 48 c7 c7 a8 12 89 c0 c6 05 73 a9 02 00 01 e8 54 93 a2 d4 <0f> 0b e9 f1 fe ff ff 48
 8b 7b 30 48 c7 c1 10 13 89 c0 31 d2 31 f6
May 23 14:41:06 vaio kernel: [ 83.481893] RSP: 0018:ffff95019b903dc0 EFLAGS: 00010082
May 23 14:41:06 vaio kernel: [ 83.481896] RAX: 0000000000000000 RBX: ffff9501883a0018 RCX: 0000000000000006
May 23 14:41:06 vaio kernel: [ 83.481897] RDX: 0000000000000007 RSI: 0000000000000086 RDI: ffff95019b916440
May 23 14:41:06 vaio kernel: [ 83.481899] RBP: ffff95019b903de8 R08: 0000000000000001 R09: 0000000000000332
May 23 14:41:06 vaio kernel: [ 83.481900] R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000000
May 23 14:41:06 vaio kernel: [ 83.481901] R13: ffff9501883aa434 R14: ffff95019b903df8 R15: 00000000ffffffff
May 23 14:41:06 vaio kernel: [ 83.481903] FS: 0000000000000000(0000) GS:ffff95019b900000(0000) knlGS:0000000000000000
May 23 14:41:06 vaio kernel: [ 83.481905] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 23 14:41:06 vaio kernel: [ 83.481906] CR2: 00007f0d252fd000 CR3: 00000000b18b0003 CR4: 00000000000606e0
May 23 14:41:06 vaio kernel: [ 83.481908] Call Trace:
May 23 14:41:06 vaio kernel: [ 83.481910] <IRQ>
May 23 14:41:06 vaio kernel: [ 83.481922] iwl_read_prph+0x38/0x90 [iwlwifi]
May 23 14:41:06 vaio kernel: [ 83.481936] iwl_trans_pcie_log_scd_error+0x13b/0x210 [iwlwifi]
May 23 14:41:06 vaio kernel: [ 83.481942] ? trigger_load_balance+0x3b/0x1a0
May 23 14:41:06 vaio kernel: [ 83.481953] iwl_pcie_txq_stuck_timer+0x4b/0x70 [iwlwifi]
May 23 14:41:06 vaio kernel: [ 83.481964] ? iwl_pcie_tfd_unmap.isra.35+0x1e0/0x1e0 [iwlwifi]
May 23 14:41:06 vaio kernel: [ 83.481968] call_timer_fn+0x30/0x130
May 23 14:41:06 vaio kernel: [ 83.481970] run_timer_softirq+0x3ea/0x420
May 23 14:41:06 vaio kernel: [ 83.481973] ? ktime_get+0x3c/0xa0
May 23 14:41:06 vaio kernel: [ 83.481978] ? lapic_next_deadline+0x26/0x30
May 23 14:41:06 vaio kernel: [ 83.481981] ? clockevents_program_event+0x93/0xf0
May 23 14:41:06 vaio kernel: [ 83.481986] __do_softirq+0xdc/0x2f3
May 23 14:41:06 vaio kernel: [ 83.481991] irq_exit+0xc0/0xd0
May 23 14:41:06 vaio kernel: [ 83.481994] smp_apic_timer_interrupt+0x79/0x140
May 23 14:41:06 vaio kernel: [ 83.481997] apic_timer_interrupt+0xf/0x20
May 23 14:41:06 vaio kernel: [ 83.481998] </IRQ>
May 23 14:41:06 vaio kernel: [ 83.482004] RIP: 0010:cpuidle_enter_state+0xbd/0x450
May 23 14:41:06 vaio kernel: [ 83.482006] Code: ff e8 07 40 87 ff 80 7d c7 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 63 03 00 00 31 ff e8 fa 6e 8d ff fb 66 0f 1f 44 00 00 <45> 85 ed 0f 88 8d 02 00 00 49 63 cd 48 8b 75 d0 48 2b 75 c8 48 8d
May 23 14:41:06 vaio kernel: [ 83.482007] RSP: 0018:ffffb583c06b7e60 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
May 23 14:41:06 vaio kernel: [ 83.482009] RAX: ffff95019b922d80 RBX: ffffffff96953c80 RCX: 000000000000001f
May 23 14:41:06 vaio kernel: [ 83.482011] RDX: 000000136ed9dbac RSI: 000000004b77f228 RDI: 0000000000000000
May 23 14:41:06 vaio kernel: [ 83.482012] RBP: ffffb583c06b7ea0 R08: 0000000000000004 R09: 0000000000022640
May 23 14:41:06 vaio kernel: [ 83.482013] R10: 000000251f094f9f R11: ffff95019b921c04 R12: ffff95019b92cd00
May 23 14:41:06 vaio kernel: [ 83.482014] R13: 0000000000000002 R14: ffffffff96953d58 R15: ffffffff96953d40
May 23 14:41:06 vaio kernel: [ 83.482020] cpuidle_enter+0x17/0x20
May 23 14:41:06 vaio kernel: [ 83.482025] call_cpuidle+0x23/0x40
May 23 14:41:06 vaio kernel: [ 83.482028] do_idle+0x23a/0x280
May 23 14:41:06 vaio kernel: [ 83.482032] cpu_startup_entry+0x1d/0x20
May 23 14:41:06 vaio kernel: [ 83.482036] start_secondary+0x1ab/0x200
May 23 14:41:06 vaio kernel: [ 83.482039] secondary_startup_64+0xa4/0xb0
May 23 14:41:06 vaio kernel: [ 83.482043] ---[ end trace e5b14a88037046bd ]---
May 23 14:41:06 vaio kernel: [ 83.482048] iwlwifi 0000:01:00.0: iwlwifi transaction failed, dumping registers
May 23 14:41:06 vaio kernel: [ 83.482053] iwlwifi 0000:01:00.0: iwlwifi device config registers:
May 23 14:41:06 vaio kernel: [ 83.482098] iwlwifi 0000:01:00.0: 00000000: 08b18086 00100000 0280006b 00000000 00000004 00000000 00000000 00000000
May 23 14:41:06 vaio kernel: [ 83.482103] iwlwifi 0000:01:00.0: 00000020: 00000000 00000000 00000000 c0608086 00000000 000000c8 00000000 00000100
May 23 14:41:06 vaio kernel: [ 83.482105] iwlwifi 0000:01:00.0: iwlwifi device memory mapped registers:
May 23 14:41:06 vaio kernel: [ 83.482135] iwlwifi 0000:01:00.0: 00000000: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
May 23 14:41:06 vaio kernel: [ 83.482138] iwlwifi 0000:01:00.0: 00000020: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
May 23 14:41:06 vaio kernel: [ 83.482144] iwlwifi 0000:01:00.0: iwlwifi device AER capability structure:
May 23 14:41:06 vaio kernel: [ 83.482169] iwlwifi 0000:01:00.0: 00000000: 14010001 00100000 00000000 00462031 00002000 00002000 00000014 40000001
May 23 14:41:06 vaio kernel: [ 83.482172] iwlwifi 0000:01:00.0: 00000020: 0000000f f7e00460 00000000
May 23 14:41:06 vaio kernel: [ 83.482174] iwlwifi 0000:01:00.0: iwlwifi parent port (0000:00:1c.0) config registers:
May 23 14:41:06 vaio kernel: [ 83.482195] iwlwifi 0000:00:1c.0: 00000000: 9c148086 00100007 060400e4 00810010 00000000 00000000 00010100 20003030
May 23 14:41:06 vaio kernel: [ 83.482198] iwlwifi 0000:00:1c.0: 00000020: f7e0f7e0 df31df21 00000000 00000000 00000000 00000040 00000000 001003ff
May 23 14:41:06 vaio kernel: [ 83.534720] iwlwifi 0000:01:00.0: Queue 10 is active on fifo 2 and stuck for 10000 ms. SW [10, 27] HW [90, 90] FH TRB=0x05a5a5a5a
May 23 14:41:10 vaio kernel: [ 87.708933] iwlwifi 0000:01:00.0: Failed to wake NIC for hcmd
May 23 14:41:10 vaio kernel: [ 87.709009] iwlwifi 0000:01:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
May 23 14:41:10 vaio kernel: [ 87.727632] iwlwifi 0000:01:00.0: Failed to wake NIC for hcmd
May 23 14:41:10 vaio kernel: [ 87.727676] iwlwifi 0000:01:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
May 23 14:41:16 vaio kernel: [ 93.708148] iwlwifi 0000:01:00.0: Failed to wake NIC for hcmd
May 23 14:41:16 vaio kernel: [ 93.708227] iwlwifi 0000:01:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
May 23 14:41:16 vaio kernel: [ 93.726583] iwlwifi 0000:01:00.0: Failed to wake NIC for hcmd
May 23 14:41:16 vaio kernel: [ 93.726760] iwlwifi 0000:01:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
May 23 14:41:22 vaio kernel: [ 99.707798] iwlwifi 0000:01:00.0: Failed to wake NIC for hcmd

The wifi does not recover even when unloading/reloading the iwlwifi & iwlmwm modules. Only a reboot solves it.

Tags: disco
Revision history for this message
Jos Dehaes (jos-dehaes) wrote :
Revision history for this message
Jos Dehaes (jos-dehaes) wrote :
Revision history for this message
Jos Dehaes (jos-dehaes) wrote :
Revision history for this message
Jos Dehaes (jos-dehaes) wrote :
Revision history for this message
Jos Dehaes (jos-dehaes) wrote :

Note this started since 19.04. Before this didn't happen. Altough the intel 7260 has never really worked well in linux. There are thousands of complaints about this on launchpad and elsewhere.

affects: linux-meta (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
tags: added: disco
Revision history for this message
Jos Dehaes (jos-dehaes) wrote :

Running mainline kernel from mainline archive, and no issue so far. So a problem in the ubuntu kernel. Current version:
jos@vaio:~$ uname -a
Linux vaio 5.1.4-050104-generic #201905220633 SMP Wed May 22 06:36:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.