Comprei recentemente o notebook HP Pavilion AU series. Eu instalei o Ubuntu 16.10 como ele vem com o Kernel 4.8, que tem o driver para minha placa wifi.
O problema é quando eu suspendo meu sistema depois de retomar o wi-fi não está se conectando, mesmo não mostrando a lista de redes wi-fi disponíveis.
Além disso, depois de conectar ou desconectar a energia do laptop, o Wifi tende a parar de funcionar.
Abaixo estão alguns registros que podem ajudar.
$ sudo service network-manager restart
$ dmesg
[ 3268.062922] iwlwifi 0000:05:00.0: Failed to wake NIC for hcmd
[ 3268.063025] iwlwifi 0000:05:00.0: Error sending REMOVE_STA: enqueue_hcmd failed: -5
[ 3268.063029] iwlwifi 0000:05:00.0: Failed to remove station. Id=0
[ 3268.063030] iwlwifi 0000:05:00.0: failed to remove AP station
[ 3268.080574] iwlwifi 0000:05:00.0: Failed to wake NIC for hcmd
[ 3268.080706] iwlwifi 0000:05:00.0: Error sending TIME_QUOTA_CMD: enqueue_hcmd failed: -5
[ 3268.080709] iwlwifi 0000:05:00.0: Failed to send quota: -5
[ 3268.080713] iwlwifi 0000:05:00.0: failed to update quotas
[ 3268.098260] iwlwifi 0000:05:00.0: Failed to wake NIC for hcmd
[ 3268.098408] iwlwifi 0000:05:00.0: Error sending MAC_CONTEXT_CMD: enqueue_hcmd failed: -5
[ 3268.098411] iwlwifi 0000:05:00.0: Failed to send MAC context (action:2): -5
[ 3268.098413] iwlwifi 0000:05:00.0: failed to update MAC 30:e3:7a:a5:42:e0 (clear after unassoc)
[ 3268.116001] iwlwifi 0000:05:00.0: Failed to wake NIC for hcmd
[ 3268.116114] iwlwifi 0000:05:00.0: Error sending MAC_PM_POWER_TABLE: enqueue_hcmd failed: -5
[ 3268.116117] iwlwifi 0000:05:00.0: failed to update power mode
[ 3268.133820] iwlwifi 0000:05:00.0: Failed to wake NIC for hcmd
[ 3268.133850] iwlwifi 0000:05:00.0: Error sending TIME_QUOTA_CMD: enqueue_hcmd failed: -5
[ 3268.133853] iwlwifi 0000:05:00.0: Failed to send quota: -5
[ 3268.151471] iwlwifi 0000:05:00.0: Failed to wake NIC for hcmd
[ 3268.151485] iwlwifi 0000:05:00.0: Error sending BINDING_CONTEXT_CMD: enqueue_hcmd failed: -5
[ 3268.151487] iwlwifi 0000:05:00.0: Failed to send binding (action:3): -5
[ 3268.169088] iwlwifi 0000:05:00.0: Failed to wake NIC for hcmd
[ 3268.169173] iwlwifi 0000:05:00.0: Error sending MAC_PM_POWER_TABLE: enqueue_hcmd failed: -5
[ 3268.187253] iwlwifi 0000:05:00.0: Failed to wake NIC for hcmd
[ 3268.187271] iwlwifi 0000:05:00.0: Error sending MAC_CONTEXT_CMD: enqueue_hcmd failed: -5
[ 3268.187273] iwlwifi 0000:05:00.0: Failed to send MAC context (action:2): -5
[ 3268.187275] iwlwifi 0000:05:00.0: failed to update MAC 30:e3:7a:a5:42:e0
[ 3268.204998] iwlwifi 0000:05:00.0: Failed to wake NIC for hcmd
[ 3268.205018] iwlwifi 0000:05:00.0: Error sending TXPATH_FLUSH: enqueue_hcmd failed: -5
[ 3268.205020] iwlwifi 0000:05:00.0: Failed to send flush command (-5)
[ 3270.219556] iwlwifi 0000:05:00.0: fail to flush all tx fifo queues Q 0
[ 3270.219567] iwlwifi 0000:05:00.0: Current SW read_ptr 41 write_ptr 57
[ 3270.237482] iwl data: 00000000: 39 00 00 00 00 00 00 00 00 00 06 63 f3 8b ff ff 9..........c....
[ 3270.255333] iwlwifi 0000:05:00.0: FH TRBs(0) = 0x5a5a5a5a
[ 3270.273074] iwlwifi 0000:05:00.0: FH TRBs(1) = 0x5a5a5a5a
[ 3270.290665] iwlwifi 0000:05:00.0: FH TRBs(2) = 0x5a5a5a5a
[ 3270.308357] iwlwifi 0000:05:00.0: FH TRBs(3) = 0x5a5a5a5a
[ 3270.325945] iwlwifi 0000:05:00.0: FH TRBs(4) = 0x5a5a5a5a
[ 3270.343642] iwlwifi 0000:05:00.0: FH TRBs(5) = 0x5a5a5a5a
[ 3270.361234] iwlwifi 0000:05:00.0: FH TRBs(6) = 0x5a5a5a5a
[ 3270.378840] iwlwifi 0000:05:00.0: FH TRBs(7) = 0x5a5a5a5a
[ 3270.414091] ------------[ cut here ]------------
[ 3270.414099] WARNING: CPU: 3 PID: 935 at /build/linux-ItCWVk/linux-4.8.0/drivers/net/wireless/intel/iwlwifi/iwl-trans.h:1186 iwl_trans_pcie_log_scd_error+0x242/0x2f0 [iwlwifi]
[ 3270.414099] Modules linked in: pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) ccm rfcomm cmac bnep nls_iso8859_1 arc4 intel_rapl x86_pkg_temp_thermal hp_wmi intel_powerclamp sparse_keymap coretemp iwlmvm kvm_intel mac80211 snd_hda_codec_hdmi snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp kvm snd_hda_ext_core snd_hda_codec_realtek snd_soc_sst_match snd_hda_codec_generic snd_soc_core uvcvideo iwlwifi irqbypass crct10dif_pclmul snd_compress videobuf2_vmalloc ac97_bus videobuf2_memops crc32_pclmul videobuf2_v4l2 videobuf2_core ghash_clmulni_intel videodev snd_pcm_dmaengine aesni_intel cfg80211 rtsx_pci_ms media aes_x86_64 lrw glue_helper ablk_helper snd_hda_intel cryptd snd_hda_codec memstick snd_hda_core btusb snd_hwdep snd_pcm btrtl btbcm btintel joydev input_leds bluetooth
[ 3270.414123] snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq shpchp snd_seq_device snd_timer serio_raw snd soundcore mei_me processor_thermal_device mei int340x_thermal_zone ucsi hp_accel lis3lv02d intel_pch_thermal intel_soc_dts_iosf tpm_crb hp_wireless intel_lpss_acpi input_polldev int3400_thermal intel_lpss acpi_pad acpi_thermal_rel mac_hid parport_pc ppdev lp parport ip_tables x_tables autofs4 rtsx_pci_sdmmc nouveau i915 mxm_wmi ttm i2c_algo_bit psmouse drm_kms_helper r8169 mii syscopyarea sysfillrect sysimgblt rtsx_pci fb_sys_fops drm ahci libahci wmi i2c_hid video pinctrl_sunrisepoint hid pinctrl_intel fjes
[ 3270.414145] CPU: 3 PID: 935 Comm: NetworkManager Tainted: G W OE 4.8.0-39-generic #42-Ubuntu
[ 3270.414145] Hardware name: HP HP Pavilion Notebook/8216, BIOS F.25 12/12/2016
[ 3270.414147] 0000000000000286 0000000055b563f5 ffff8bf36312bb30 ffffffffbae30e92
[ 3270.414148] 0000000000000000 0000000000000000 ffff8bf36312bb70 ffffffffbaa8319b
[ 3270.414150] 000004a26312bb80 ffff8bf363060000 0000000000000000 00000000a5a5a5a5
[ 3270.414151] Call Trace:
[ 3270.414154] [<ffffffffbae30e92>] dump_stack+0x63/0x81
[ 3270.414156] [<ffffffffbaa8319b>] __warn+0xcb/0xf0
[ 3270.414158] [<ffffffffbaa832cd>] warn_slowpath_null+0x1d/0x20
[ 3270.414161] [<ffffffffc0b39282>] iwl_trans_pcie_log_scd_error+0x242/0x2f0 [iwlwifi]
[ 3270.414165] [<ffffffffc0b394c6>] iwl_trans_pcie_wait_txq_empty+0x196/0x1e0 [iwlwifi]
[ 3270.414170] [<ffffffffc0e87cbc>] iwl_mvm_prepare_mac_removal+0x7c/0xe0 [iwlmvm]
[ 3270.414173] [<ffffffffc0e87d5c>] iwl_mvm_mac_remove_interface+0x3c/0x130 [iwlmvm]
[ 3270.414184] [<ffffffffc0cc7b95>] drv_remove_interface+0x45/0x110 [mac80211]
[ 3270.414192] [<ffffffffc0cdd269>] ieee80211_do_stop+0x519/0x7f0 [mac80211]
[ 3270.414194] [<ffffffffbb2a018e>] ? _raw_spin_unlock_bh+0x1e/0x20
[ 3270.414196] [<ffffffffbb1afd8a>] ? dev_deactivate_many+0x20a/0x240
[ 3270.414203] [<ffffffffc0cdd55a>] ieee80211_stop+0x1a/0x20 [mac80211]
[ 3270.414205] [<ffffffffbb17dbb9>] __dev_close_many+0x99/0x100
[ 3270.414207] [<ffffffffbb17dcac>] dev_close_many+0x8c/0x130
[ 3270.414208] [<ffffffffbb17ff7a>] dev_close.part.82+0x4a/0x70
[ 3270.414208] [<ffffffffbb17ffba>] dev_close+0x1a/0x20
[ 3270.414218] [<ffffffffc09ccd45>] cfg80211_shutdown_all_interfaces+0x45/0xb0 [cfg80211]
[ 3270.414224] [<ffffffffc09cce16>] cfg80211_rfkill_set_block+0x26/0x30 [cfg80211]
[ 3270.414225] [<ffffffffbb285c89>] rfkill_set_block+0x89/0x130
[ 3270.414226] [<ffffffffbb285f37>] rfkill_fop_write+0x117/0x1c0
[ 3270.414228] [<ffffffffbac33378>] __vfs_write+0x18/0x40
[ 3270.414229] [<ffffffffbac33ab5>] vfs_write+0xb5/0x1a0
[ 3270.414230] [<ffffffffbac34f05>] SyS_write+0x55/0xc0
[ 3270.414232] [<ffffffffbb2a04f6>] entry_SYSCALL_64_fastpath+0x1e/0xa8
[ 3270.414233] ---[ end trace aa5611fe8ab86a41 ]---
[ 3270.449437] iwlwifi 0000:05:00.0: Q 0 is active and mapped to fifo 2 ra_tid 0xa5a5 [90,1515870810]
[ 3270.484634] ------------[ cut here ]------------
[ 3270.484645] WARNING: CPU: 3 PID: 935 at /build/linux-ItCWVk/linux-4.8.0/drivers/net/wireless/intel/iwlwifi/iwl-trans.h:1186 iwl_trans_pcie_log_scd_error+0x242/0x2f0 [iwlwifi]