5 Replies Latest reply on Jun 26, 2018 11:36 PM by phillipmoose

    Wireless driver keeps crashing

    phillipmoose

      Hi,

       

      My wireless driver keeps crashing on Ubuntu?  How do I fix this problem?  I'm using the Intel NUC as a router and it's not much good if the wifi has a problem like this.

       

      59682.274087] WARNING: CPU: 3 PID: 421 at /build/linux-hwe-0bNakQ/linux-hwe-4.13.0/drivers/net/wireless/intel/iwlwifi/mvm/tx.c:1393 iwl_mvm_rx_tx_cmd+0x5ad/0x880 [iwlmvm]

      [59682.274088] Modules linked in: rfcomm nls_utf8 cifs fscache ccm ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_nat_h323 nf_conntrack_h323 nf_nat_pptp nf_nat_proto_gre nf_conntrack_pptp nf_conntrack_proto_gre nf_nat_tftp nf_conntrack_tftp nf_nat_sip nf_conntrack_sip nf_nat_irc nf_conntrack_irc iptable_nat nf_nat_ipv4 bnep snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic nls_iso8859_1 snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_sst_match arc4 snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep intel_rapl x86_pkg_temp_thermal snd_pcm intel_powerclamp coretemp kvm_intel kvm irqbypass snd_seq_midi crct10dif_pclmul snd_seq_midi_event crc32_pclmul ghash_clmulni_intel snd_rawmidi pcbc snd_seq snd_seq_device

      [59682.274153]  snd_timer aesni_intel aes_x86_64 crypto_simd glue_helper cryptd iwlmvm intel_cstate intel_rapl_perf mac80211 snd wmi_bmof iwlwifi ucsi_acpi typec_ucsi soundcore rtsx_pci_ms btusb cfg80211 memstick btrtl typec ir_rc6_decoder intel_pch_thermal mei_me mei shpchp hci_uart btbcm rc_rc6_mce serdev btqca btintel ir_lirc_codec lirc_dev bluetooth ite_cir rc_core ecdh_generic intel_lpss_acpi intel_lpss tpm_crb acpi_pad mac_hid acpi_als kfifo_buf industrialio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack

      [59682.274233]  libcrc32c iptable_filter parport_pc ip_tables ppdev x_tables lp parport autofs4 rtsx_pci_sdmmc i915 i2c_algo_bit drm_kms_helper e1000e syscopyarea ahci sysfillrect sysimgblt nvme fb_sys_fops ptp pps_core nvme_core rtsx_pci drm libahci wmi video pinctrl_sunrisepoint i2c_hid pinctrl_intel hid

      [59682.274274] CPU: 3 PID: 421 Comm: irq/132-iwlwifi Tainted: G        W       4.13.0-45-generic #50~16.04.1-Ubuntu

      [59682.274277] Hardware name:                  /NUC7i5BNB, BIOS BNKBL357.86A.0065.2018.0606.1639 06/06/2018

      [59682.274279] task: ffff95c121d92f80 task.stack: ffffa75842118000

      [59682.274298] RIP: 0010:iwl_mvm_rx_tx_cmd+0x5ad/0x880 [iwlmvm]

      [59682.274301] RSP: 0018:ffffa7584211bc90 EFLAGS: 00010202

      [59682.274305] RAX: 000002069ddf377f RBX: ffff95c12b249568 RCX: 000000000037876e

      [59682.274307] RDX: 000000000037876d RSI: ffff95c13eda6cc0 RDI: ffff95c12e21d500

      [59682.274310] RBP: ffffa7584211bd20 R08: ffff95c121d33930 R09: ffffffffc0a06ec5

      [59682.274312] R10: ffffc89690927000 R11: ffffffff8168de80 R12: 0000000000000088

      [59682.274314] R13: ffff95c121d33900 R14: 00000000000001d0 R15: ffff95c0ca756000

      [59682.274318] FS:  0000000000000000(0000) GS:ffff95c13ed80000(0000) knlGS:0000000000000000

      [59682.274320] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033

      [59682.274323] CR2: 00007f8dcb649000 CR3: 000000039360a004 CR4: 00000000003606e0

      [59682.274325] Call Trace:

      [59682.274345]  iwl_mvm_rx_common+0x17c/0x260 [iwlmvm]

      [59682.274360]  iwl_mvm_rx+0x5d/0x70 [iwlmvm]

      [59682.274375]  iwl_pcie_rx_handle+0x348/0x9a0 [iwlwifi]

      [59682.274390]  iwl_pcie_irq_handler+0x475/0x9e0 [iwlwifi]

      [59682.274396]  ? irq_finalize_oneshot.part.38+0xf0/0xf0

      [59682.274400]  irq_thread_fn+0x26/0x60

      [59682.274404]  irq_thread+0x13e/0x1a0

      [59682.274409]  ? irq_forced_thread_fn+0x70/0x70

      [59682.274414]  kthread+0x10c/0x140

      [59682.274418]  ? free_irq+0x70/0x70

      [59682.274422]  ? kthread_create_on_node+0x70/0x70

      [59682.274427]  ret_from_fork+0x35/0x40

       

      # SSU Scan Information

      Scan Info:

           Version:"1.0.0.0"

           Scan Date:"2018/06/23"

           Scan Time:"08:56:32"

       

      ## Scanned Hardware

      Computer:

                - Networking

                     - "Intel Corporation Ethernet Connection (4) I219-V (rev 21)"

                          Supports auto-negotiation:"Yes"

                          Advertised auto-negotiation:"Yes"

                          Auto-negotiation:"on"

                          Availability:"UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1"

                          Capabilities:"[c8] Power Management version 3"

                          Capabilities:"[d0] MSI: Enable+ Count=1/1 Maskable- 64bit+"

                          Capabilities:"[e0] PCI Advanced Features"

                          Caption:"Not Available"

                          Default IP Gateway:"192.168.1.1"

                          DHCP Enabled:"Yes"

                          DHCP Lease Expires:"22:16:52"

                          DHCP Lease Obtained:"Jun 22 23:16"

                          DHCP Server:"192.168.1.1"

                          Driver:"e1000e"

                          Driver Path:"/lib/modules/4.13.0-45-generic/kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko"

                          Driver Provider:"Intel Corporation, <linux.nics@intel.com>"

                          Driver Version:""

                          Duplex:"Full"

                          Firmware Version:"0.1-4"

                          Interface:"eno1"

                          I/O Ports:"Not Available"

                          IP Address:"192.168.1.108"

                          IP Subnet:"255.255.255.0"

                          MAC Address:"f4:4d:30:6d:65:21"

                          Location:"00:1f.6"

                          Manufacturer:"Intel Corporation"

                          Net Connection ID:"Ethernet"

                          Port:"Twisted Pair"

                          Power Management:"Supports Wake-on: pumbg"

                          Power Management:"Wake-on: g"

                          Speed:"1000Mb/s"

                          Supported link modes:"10baseT/Half 10baseT/Full, 100baseT/Half 100baseT/Full, 1000baseT/Full"

                          Advertised link modes:"10baseT/Half 10baseT/Full, 100baseT/Half 100baseT/Full, 1000baseT/Full"

                          Partner advertised link modes:"Not Available"

                     - "Intel Corporation Device 24fd (rev 78)"

                          Auto-Negotiation:"Not Available"

                          Availability:"UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1"

                          Capabilities:"[c8] Power Management version 3"

                          Capabilities:"[d0] MSI: Enable+ Count=1/1 Maskable- 64bit+"

                          Capabilities:"[40] Express Endpoint, MSI 00"

                          Capabilities:"[100] Advanced Error Reporting"

                          Capabilities:"[140] Device Serial Number f8-63-3f-ff-ff-26-f2-05"

                          Capabilities:"[14c] Latency Tolerance Reporting"

                          Capabilities:"[154] L1 PM Substates"

                          Caption:"Not Available"

                          Default IP Gateway:"Not Available"

                          DHCP Enabled:"Yes"

                          DHCP Lease Expires:"Not Available"

                          DHCP Lease Obtained:"Not Available"

                          DHCP Server:"Not Available"

                          Driver:"iwlwifi"

                          Driver Path:"/lib/modules/4.13.0-45-generic/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko"

                          Driver Provider:"Copyright(c) 2003- 2015 Intel Corporation <linuxwifi@intel.com>"

                          Driver Version:""

                          Duplex:"Not Available"

                          Firmware Version:"31.560484.0"

                          Interface:"wlp58s0"

                          I/O Ports:"Not Available"

                          IP Address:"10.42.0.1"

                          IP Subnet:"255.255.255.0"

                          MAC Address:"f8:63:3f:26:f2:05"

                          Location:"3a:00.0"

                          Manufacturer:"Intel Corporation"

                          Net Connection ID:"Ethernet"

                          Port:"Not Available"

                          Power Management:"Not Available"

                          Speed:"Not Available"

                          Supported Link Modes:"Not Available"

                          Advertised link modes:"Not Available"

                          Partner advertised link modes:"Not Available"

        • 1. Re: Wireless driver keeps crashing
          Intel Corporation
          This message was posted on behalf of Intel Corporation

          Hi phillipmoose, 

          We understand that you're having issues with the Intel iwlmvm driver crashing in Ubuntu* on your NUC7i5BNB, we'll be glad to assist you. 

          Based on our Intel Linux* wireless driver page, make sure that your distribution is running on kernel 4.6 or newer, as the Intel® Dual Band Wireless-AC 8265 has drivers beginning on this version of the kernel. If so, you can load the firmware hosted on the site to load it on the /lib/firmware directory and load the driver again.

          Let us know if you're able to load the driver with the firmware file hosted on the site.


          Regards,
          Leonardo L

          • 2. Re: Wireless driver keeps crashing
            phillipmoose

            The command, uname -r, responds with 4.13.0-45-generic

             

            I have updated the firmware with the file on the server,

             

            -rw-r--r-- 1 root root 1811984 Jun 25 22:10 /lib/firmware/iwlwifi-8265-22.ucode

             

            and rebooted the system.

             

            I still see errors using dmesg,

             

            [31002.889991] WARNING: CPU: 3 PID: 412 at /build/linux-hwe-0bNakQ/linux-hwe-4.13.0/drivers/net/wireless/intel/iwlwifi/mvm/tx.c:1393 iwl_mvm_rx_tx_cmd+0x5ad/0x880 [iwlmvm]

            [31002.889993] Modules linked in: rfcomm nls_utf8 cifs ccm fscache ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_nat_h323 nf_conntrack_h323 nf_nat_pptp nf_nat_proto_gre nf_conntrack_pptp nf_conntrack_proto_gre nf_nat_tftp nf_conntrack_tftp nf_nat_sip nf_conntrack_sip nf_nat_irc nf_conntrack_irc iptable_nat nf_nat_ipv4 bnep snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_soc_skl snd_soc_skl_ipc arc4 snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core nls_iso8859_1 snd_soc_sst_match snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_hda_intel snd_hda_codec intel_rapl snd_hda_core snd_hwdep x86_pkg_temp_thermal intel_powerclamp coretemp snd_pcm kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq aesni_intel

            [31002.890062] aes_x86_64 crypto_simd glue_helper cryptd iwlmvm snd_seq_device intel_cstate intel_rapl_perf mac80211 wmi_bmof iwlwifi snd_timer rtsx_pci_ms ucsi_acpi snd cfg80211 soundcore memstick ir_rc6_decoder btusb typec_ucsi mei_me mei btrtl shpchp typec intel_pch_thermal hci_uart rc_rc6_mce btbcm serdev ir_lirc_codec btqca lirc_dev btintel ite_cir rc_core bluetooth ecdh_generic intel_lpss_acpi intel_lpss tpm_crb acpi_pad mac_hid acpi_als kfifo_buf industrialio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack

            [31002.890148] libcrc32c iptable_filter parport_pc ip_tables ppdev x_tables lp parport autofs4 i915 rtsx_pci_sdmmc i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt nvme fb_sys_fops e1000e ptp pps_core drm nvme_core rtsx_pci ahci libahci wmi video pinctrl_sunrisepoint pinctrl_intel i2c_hid hid

            [31002.890191] CPU: 3 PID: 412 Comm: irq/132-iwlwifi Tainted: G        W       4.13.0-45-generic #50~16.04.1-Ubuntu

            [31002.890194] Hardware name:                  /NUC7i5BNB, BIOS BNKBL357.86A.0065.2018.0606.1639 06/06/2018

            [31002.890196] task: ffff9b49a2645f00 task.stack: ffffb686820ac000

            [31002.890215] RIP: 0010:iwl_mvm_rx_tx_cmd+0x5ad/0x880 [iwlmvm]

            [31002.890218] RSP: 0018:ffffb686820afc90 EFLAGS: 00010202

            [31002.890222] RAX: 000002069ddf377f RBX: ffff9b49ab19d568 RCX: 0000000000012e73

            [31002.890224] RDX: 0000000000012e72 RSI: ffff9b49beda6cc0 RDI: ffff9b49ae21ca80

            [31002.890226] RBP: ffffb686820afd20 R08: ffff9b49a1f12130 R09: ffffffffc0c00ec5

            [31002.890228] R10: fffffb68519b9300 R11: ffffffffa3a8de80 R12: 0000000000000088

            [31002.890231] R13: ffff9b49a1f12100 R14: 000000000000f670 R15: ffff9b4974051000

            [31002.890234] FS:  0000000000000000(0000) GS:ffff9b49bed80000(0000) knlGS:0000000000000000

            [31002.890237] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033

            [31002.890239] CR2: 00007f34be81f180 CR3: 000000010260a005 CR4: 00000000003606e0

            [31002.890242] Call Trace:

            [31002.890263] iwl_mvm_rx_common+0x17c/0x260 [iwlmvm]

            [31002.890277] iwl_mvm_rx+0x5d/0x70 [iwlmvm]

            [31002.890293] iwl_pcie_rx_handle+0x348/0x9a0 [iwlwifi]

            [31002.890308] iwl_pcie_irq_handler+0x475/0x9e0 [iwlwifi]

            [31002.890316] ? irq_finalize_oneshot.part.38+0xf0/0xf0

            [31002.890320] irq_thread_fn+0x26/0x60

            [31002.890323] irq_thread+0x13e/0x1a0

            [31002.890328] ? irq_forced_thread_fn+0x70/0x70

            [31002.890334] kthread+0x10c/0x140

            [31002.890338] ? free_irq+0x70/0x70

            [31002.890342] ? kthread_create_on_node+0x70/0x70

            [31002.890348] ret_from_fork+0x35/0x40

            [31002.890351] Code: 1e 00 00 39 45 a8 0f 8d 6d fb ff ff 80 7d af 01 0f 87 10 02 00 00 44 0f b6 6d af f0 45 29 ac 9f 08 17 00 00 74 65 e9 4e fb ff ff <0f> ff e9 6a fc ff ff 0f b7 43 2c 89 45 a8 e9 e8 fb ff ff 0f b7

             

            • 3. Re: Wireless driver keeps crashing
              Intel Corporation
              This message was posted on behalf of Intel Corporation

              Hi phillipmoose, 

              Thanks for the log provided, in the case that the driver still doesn't load, we would recommend contacting our Linux* WiFi driver support team below as support for Linux* for our wireless adapters is limited to the firmware files themselves.

              Email: linuxwifi@intel.com

              Additionally you may also try contacting the Ubuntu* community for further information on getting the drivers to work. 

              Regards,
              Leonardo L.

              • 4. Re: Wireless driver keeps crashing
                phillipmoose

                The firmware does load and it is still crashing even though the correct firmware driver is being loaded and executed.  I spent a lot of money on this computer and wifi should just work.  This is Intel after all. 

                 

                phillipmoose@phillip-intelnuc:~$ journalctl | grep iwlwifi*

                Jun 26 23:08:01 phillip-intelnuc kernel: iwlwifi 0000:3a:00.0: enabling device (0000 -> 0002)

                Jun 26 23:08:01 phillip-intelnuc kernel: iwlwifi 0000:3a:00.0: Direct firmware load for iwlwifi-8265-33.ucode failed with error -2

                Jun 26 23:08:01 phillip-intelnuc kernel: iwlwifi 0000:3a:00.0: Direct firmware load for iwlwifi-8265-32.ucode failed with error -2

                Jun 26 23:08:01 phillip-intelnuc kernel: iwlwifi 0000:3a:00.0: Direct firmware load for iwlwifi-8265-31.ucode failed with error -2

                Jun 26 23:08:01 phillip-intelnuc kernel: iwlwifi 0000:3a:00.0: Direct firmware load for iwlwifi-8265-30.ucode failed with error -2

                Jun 26 23:08:01 phillip-intelnuc kernel: iwlwifi 0000:3a:00.0: Direct firmware load for iwlwifi-8265-29.ucode failed with error -2

                Jun 26 23:08:01 phillip-intelnuc kernel: iwlwifi 0000:3a:00.0: Direct firmware load for iwlwifi-8265-28.ucode failed with error -2

                Jun 26 23:08:01 phillip-intelnuc kernel: iwlwifi 0000:3a:00.0: Direct firmware load for iwlwifi-8265-27.ucode failed with error -2

                Jun 26 23:08:01 phillip-intelnuc kernel: iwlwifi 0000:3a:00.0: Direct firmware load for iwlwifi-8265-26.ucode failed with error -2

                Jun 26 23:08:01 phillip-intelnuc kernel: iwlwifi 0000:3a:00.0: Direct firmware load for iwlwifi-8265-25.ucode failed with error -2

                Jun 26 23:08:01 phillip-intelnuc kernel: iwlwifi 0000:3a:00.0: Direct firmware load for iwlwifi-8265-24.ucode failed with error -2

                Jun 26 23:08:01 phillip-intelnuc kernel: iwlwifi 0000:3a:00.0: Direct firmware load for iwlwifi-8265-23.ucode failed with error -2

                Jun 26 23:08:01 phillip-intelnuc kernel: iwlwifi 0000:3a:00.0: loaded firmware version 22.361476.0 op_mode iwlmvm

                Jun 26 23:08:01 phillip-intelnuc kernel: iwlwifi 0000:3a:00.0: Detected Intel(R) Dual Band Wireless AC 8265, REV=0x230

                Jun 26 23:08:01 phillip-intelnuc kernel: iwlwifi 0000:3a:00.0: base HW address: f8:63:3f:26:f2:05

                Jun 26 23:08:01 phillip-intelnuc kernel: iwlwifi 0000:3a:00.0 wlp58s0: renamed from wlan0

                Jun 26 23:08:01 phillip-intelnuc NetworkManager[826]: <info>  [1530050881.4498] rfkill1: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1c.5/0000:3a:00.0/ieee80211/phy0/rfkill1) (driver iwlwifi)

                Jun 26 23:18:26 phillip-intelnuc kernel: WARNING: CPU: 3 PID: 488 at /build/linux-hwe-0bNakQ/linux-hwe-4.13.0/drivers/net/wireless/intel/iwlwifi/mvm/tx.c:1393 iwl_mvm_rx_tx_cmd+0x5ad/0x880 [iwlmvm]

                Jun 26 23:18:26 phillip-intelnuc kernel:  snd_timer pcbc iwlwifi snd cfg80211 aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf rtsx_pci_ms soundcore memstick wmi_bmof shpchp ir_rc6_decoder btusb btrtl hci_uart btbcm serdev ucsi_acpi mei_me typec_ucsi intel_pch_thermal mei typec btqca btintel bluetooth rc_rc6_mce ir_lirc_codec lirc_dev ite_cir rc_core ecdh_generic intel_lpss_acpi intel_lpss tpm_crb acpi_pad mac_hid acpi_als kfifo_buf industrialio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack libcrc32c

                Jun 26 23:18:26 phillip-intelnuc kernel: CPU: 3 PID: 488 Comm: irq/132-iwlwifi Not tainted 4.13.0-45-generic #50~16.04.1-Ubuntu

                Jun 26 23:18:26 phillip-intelnuc kernel:  iwl_pcie_rx_handle+0x348/0x9a0 [iwlwifi]

                Jun 26 23:18:26 phillip-intelnuc kernel:  iwl_pcie_irq_handler+0x475/0x9e0 [iwlwifi]

                Jun 26 23:18:26 phillip-intelnuc kernel: WARNING: CPU: 3 PID: 488 at /build/linux-hwe-0bNakQ/linux-hwe-4.13.0/drivers/net/wireless/intel/iwlwifi/mvm/tx.c:1393 iwl_mvm_rx_tx_cmd+0x5ad/0x880 [iwlmvm]

                • 5. Re: Wireless driver keeps crashing
                  phillipmoose

                  Oh.... ok.  I get it.  Now my problem is being sent away from the message boards.  Ok.  Fine.  I'll provide an update here when my problem is resolved, or not.