Comment 18 for bug 1733194

Revision history for this message
Bartosz Kwitniewski (zerg2000) wrote :

Just a note, I have the same problem with Intel® Wireless-AC 3168 (firmware version 29.541020.0 op_mode iwlmvm) on Gentoo linux-4.14.8-gentoo-r1 in AP mode (802.11n).

Sometimes kernel only shows warnings from drivers/net/wireless/intel/iwlwifi/mvm/tx.c:1363:
-----
        case TX_STATUS_FAIL_DEST_PS:
            /* the FW should have stopped the queue and not
             * return this status
             */
            WARN_ON(1);
            info->flags |= IEEE80211_TX_STAT_TX_FILTERED;
            break;
-----
2018-01-03T21:16:51+01:00 [warning] kernel: ------------[ cut here ]------------
2018-01-03T21:16:51+01:00 [warning] kernel: WARNING: CPU: 2 PID: 81 at drivers/net/wireless/intel/iwlwifi/mvm/tx.c:1363 iwl_mvm_rx_tx_cmd+0x361/0x610
2018-01-03T21:16:51+01:00 [warning] kernel: Modules linked in: rtl8812au(O)
2018-01-03T21:16:51+01:00 [warning] kernel: CPU: 2 PID: 81 Comm: irq/123-iwlwifi Tainted: G W O 4.14.8-gentoo-r1 #1
2018-01-03T21:16:51+01:00 [warning] kernel: Hardware name: /NUC6CAYB, BIOS AYAPLCEL.86A.0041.2017.0825.1152 08/25/2017
2018-01-03T21:16:51+01:00 [warning] kernel: task: ffff9ea3f4730000 task.stack: ffffb50340270000
2018-01-03T21:16:51+01:00 [warning] kernel: RIP: 0010:iwl_mvm_rx_tx_cmd+0x361/0x610
2018-01-03T21:16:51+01:00 [warning] kernel: RSP: 0018:ffffb50340273cb8 EFLAGS: 00010246
2018-01-03T21:16:51+01:00 [warning] kernel: RAX: 0000000000000088 RBX: ffff9ea3d6107700 RCX: 0000000000031040
2018-01-03T21:16:51+01:00 [warning] kernel: RDX: 000000000003103f RSI: ffff9ea3ffd20dc0 RDI: ffff9ea3f45ed200
2018-01-03T21:16:51+01:00 [warning] kernel: RBP: ffffb50340273d38 R08: 0000000000020dc0 R09: ffffffffb74e5b5d
2018-01-03T21:16:51+01:00 [warning] kernel: R10: ffff9ea3d6107730 R11: ffffffffb737b110 R12: ffff9ea3f40f9388
2018-01-03T21:16:51+01:00 [warning] kernel: R13: 000000000000d000 R14: ffff9ea3d6107700 R15: ffff9ea3e1e93000
2018-01-03T21:16:51+01:00 [warning] kernel: FS: 0000000000000000(0000) GS:ffff9ea3ffd00000(0000) knlGS:0000000000000000
2018-01-03T21:16:51+01:00 [warning] kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
2018-01-03T21:16:51+01:00 [warning] kernel: CR2: 00007ed717e8eee0 CR3: 000000023fe09000 CR4: 00000000003406e0
2018-01-03T21:16:51+01:00 [warning] kernel: Call Trace:
2018-01-03T21:16:51+01:00 [warning] kernel: iwl_mvm_rx_common+0x181/0x2b0
2018-01-03T21:16:51+01:00 [warning] kernel: iwl_mvm_rx+0x6b/0x80
2018-01-03T21:16:51+01:00 [warning] kernel: iwl_pcie_rx_handle+0x2ee/0x860
2018-01-03T21:16:51+01:00 [warning] kernel: iwl_pcie_irq_handler+0x18d/0x6c0
2018-01-03T21:16:51+01:00 [warning] kernel: ? irq_forced_thread_fn+0x80/0x80
2018-01-03T21:16:51+01:00 [warning] kernel: irq_thread_fn+0x2a/0x60
2018-01-03T21:16:51+01:00 [warning] kernel: irq_thread+0x149/0x1b0
2018-01-03T21:16:51+01:00 [warning] kernel: ? __schedule+0x1c6/0x4f0
2018-01-03T21:16:51+01:00 [warning] kernel: ? wake_threads_waitq+0x40/0x40
2018-01-03T21:16:51+01:00 [warning] kernel: kthread+0x106/0x140
2018-01-03T21:16:51+01:00 [warning] kernel: ? irq_thread_dtor+0xb0/0xb0
2018-01-03T21:16:51+01:00 [warning] kernel: ? kthread_create_on_node+0x70/0x70
2018-01-03T21:16:51+01:00 [warning] kernel: ret_from_fork+0x22/0x30
2018-01-03T21:16:51+01:00 [warning] kernel: Code: 00 49 c7 42 20 00 00 00 00 0f 84 b6 fe ff ff 0f 87 98 fe ff ff 66 83 7d b2 01 77 08 41 81 4e 28 00 02 00 00 31 db e9 9f fe ff ff <0f> ff 31 db 41 81 4e 28 00 01 00 00 e9 8e fe ff ff 49 8b 86 c8
2018-01-03T21:16:51+01:00 [warning] kernel: ---[ end trace 0b4f679a324845ac ]---

And here is the crash itself:
-----
2018-01-04T18:03:16+01:00 [alert] kernel: BUG: unable to handle kernel NULL pointer dereference at 0000000000000070
2018-01-04T18:03:16+01:00 [alert] kernel: IP: iwl_trans_pcie_txq_enable+0x6b/0x410
2018-01-04T18:03:16+01:00 [info] kernel: PGD 0 P4D 0
2018-01-04T18:03:16+01:00 [warning] kernel: Oops: 0002 [#1] SMP
2018-01-04T18:03:16+01:00 [warning] kernel: Modules linked in: rtl8812au(O)
2018-01-04T18:03:16+01:00 [warning] kernel: CPU: 1 PID: 30588 Comm: kworker/1:2 Tainted: G W O 4.14.8-gentoo-r1 #1
2018-01-04T18:03:16+01:00 [warning] kernel: Hardware name: /NUC6CAYB, BIOS AYAPLCEL.86A.0041.2017.0825.1152 08/25/2017
2018-01-04T18:03:16+01:00 [warning] kernel: Workqueue: events iwl_mvm_add_new_dqa_stream_wk
2018-01-04T18:03:16+01:00 [warning] kernel: task: ffff9ea3f5b08000 task.stack: ffffb50340894000
2018-01-04T18:03:16+01:00 [warning] kernel: RIP: 0010:iwl_trans_pcie_txq_enable+0x6b/0x410
2018-01-04T18:03:16+01:00 [warning] kernel: RSP: 0018:ffffb50340897bf8 EFLAGS: 00010246
2018-01-04T18:03:16+01:00 [warning] kernel: RAX: 00000000000003e8 RBX: 000000000000001f RCX: 0000000000000000
2018-01-04T18:03:16+01:00 [warning] kernel: RDX: 0000000000000fa3 RSI: 000000000000001f RDI: 0000000000002710
2018-01-04T18:03:16+01:00 [warning] kernel: RBP: ffffb50340897c60 R08: 0000000000002710 R09: 0000000000000001
2018-01-04T18:03:16+01:00 [warning] kernel: R10: 0000000000000000 R11: ffff9ea3f40f9e30 R12: 0000000000000000
2018-01-04T18:03:16+01:00 [warning] kernel: R13: 0000000000000000 R14: 0000000000000000 R15: ffff9ea3f47b0018
2018-01-04T18:03:16+01:00 [warning] kernel: FS: 0000000000000000(0000) GS:ffff9ea3ffc80000(0000) knlGS:0000000000000000
2018-01-04T18:03:16+01:00 [warning] kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
2018-01-04T18:03:16+01:00 [warning] kernel: CR2: 0000000000000070 CR3: 000000023fe09000 CR4: 00000000003406e0
2018-01-04T18:03:16+01:00 [warning] kernel: Call Trace:
2018-01-04T18:03:16+01:00 [warning] kernel: iwl_mvm_enable_txq+0x1eb/0x350
2018-01-04T18:03:16+01:00 [warning] kernel: iwl_mvm_add_new_dqa_stream_wk+0xa89/0x15d0
2018-01-04T18:03:16+01:00 [warning] kernel: ? iwl_mvm_add_new_dqa_stream_wk+0xa89/0x15d0
2018-01-04T18:03:16+01:00 [warning] kernel: ? pick_next_task_fair+0x1e9/0x5b0
2018-01-04T18:03:16+01:00 [warning] kernel: process_one_work+0x164/0x330
2018-01-04T18:03:16+01:00 [warning] kernel: worker_thread+0x5b/0x3b0
2018-01-04T18:03:16+01:00 [warning] kernel: kthread+0x106/0x140
2018-01-04T18:03:16+01:00 [warning] kernel: ? process_one_work+0x330/0x330
2018-01-04T18:03:16+01:00 [warning] kernel: ? kthread_create_on_node+0x70/0x70
2018-01-04T18:03:16+01:00 [warning] kernel: ret_from_fork+0x22/0x30
2018-01-04T18:03:16+01:00 [warning] kernel: Code: c7 48 7d 00 00 f0 48 0f ab 87 48 8d 00 00 73 0d 80 3d 62 9e 9a 00 00 0f 84 ea 02 00 00 44 89 c7 89 55 b0 e8 f8 1b bd ff 4d 85 ed <49> 89 46 70 8b 55 b0 0f 84 07 03 00 00 41 0f b6 87 2a 8e
 00 00
2018-01-04T18:03:16+01:00 [alert] kernel: RIP: iwl_trans_pcie_txq_enable+0x6b/0x410 RSP: ffffb50340897bf8
2018-01-04T18:03:16+01:00 [warning] kernel: CR2: 0000000000000070
2018-01-04T18:03:16+01:00 [warning] kernel: ---[ end trace 0b4f679a324845ad ]---
-----