You are not logged in.

#1 2018-10-23 20:27:52

Moxon
Member
Registered: 2017-01-30
Posts: 2

Intel 8260 card gets dropped from system 'randomly'

Ok, so I have this 'new' Gigabyte Aero 14k laptop and I like it a lot.  Somewhere around kernel 4.14 my Intel 8260 WLAN card started to become disconnected from the PCI bus every once in a while, most notably when  the laptop decides to save some power and puts devices to sleep. Using either laptop-mode or tlp shows the same effect.  The effect is worse when the battery is below 15%, at this time WLAN becomes unusable and I can only resurrect it by invoking:

# remove pci device, you might have to change the 03:00.0 part to yours
sudo echo "1" > /sys/bus/pci/devices/0000:03:00.0/remove
sleep 2
# rescan for devices
sudo echo "1" > /sys/bus/pci/rescan

journalctl always shows entries like this (Full log after resuming from suspend: http://ix.io/1pSl, lspci -v output: http://ix.io/1pSm, /etc/default/tlp: http://ix.io/1pSo):

Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: Error sending STATISTICS_CMD: time out after 2000ms.
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: Current CMD queue read_ptr 195 write_ptr 196
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: iwlwifi transaction failed, dumping registers
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: iwlwifi device config registers:
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 00000000: 24f38086 00100000 0280003a 00000000 00000004 00000000 00000000 00000000
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 00000020: 00000000 00000000 00000000 10108086 00000000 000000c8 00000000 00000100
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: iwlwifi device memory mapped registers:
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 00000000: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 00000020: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: iwlwifi device AER capability structure:
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 00000000: 14010001 00100000 00000000 00462031 00002000 00002000 00000014 40000001
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 00000020: 0000000f dd300460 00000000
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: iwlwifi parent port (0000:00:1c.2) config registers:
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:00:1c.2: 00000000: a1128086 00100407 060400f1 00810010 00000000 00000000 00030300 200000f0
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:00:1c.2: 00000020: dd30dd30 0001fff1 00000000 00000000 00000000 00000040 00000000 0010030b
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: iwlwifi root port (0000:00:1c.2) AER cap structure:
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:00:1c.2: 00000000: 14010001 00100000 00010000 00060011 00000001 00002000 00000014 34000000
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:00:1c.2: 00000020: 03001f10 00000000 8c548c54 00000000 0000002f 00e200e2
Oct 22 13:04:55 slaero kernel: WARNING: CPU: 7 PID: 857 at drivers/net/wireless/intel/iwlwifi/mvm/../iwl-trans.h:1109 iwl_mvm_dump_lmac_error_log+0x572/0x680 [iwlmvm]
Oct 22 13:04:55 slaero kernel: Modules linked in: ccm rfcomm nvidia(POE) ipmi_devintf ipmi_msghandler bnep nls_iso8859_1 nls_cp437 vfat fat snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic uvcvideo btusb btrtl videobuf2_vmalloc btbcm videobuf2_memops videobuf2_v4l2 btintel videobuf2_common bluetooth videodev media ecdh_generic joydev mousedev arc4 intel_rapl iwlmvm i915 x86_pkg_temp_thermal intel_powerclamp kvm_intel mac80211 kvm i2c_algo_bit iwlwifi snd_hda_intel drm_kms_helper iTCO_wdt iTCO_vendor_support intel_wmi_thunderbolt irqbypass snd_hda_codec sparse_keymap input_polldev mxm_wmi intel_cstate drm cfg80211 psmouse snd_hda_core intel_uncore snd_hwdep intel_gtt snd_pcm intel_rapl_perf input_leds led_class agpgart snd_timer tpm_crb pcspkr acpi_als kfifo_buf rtsx_pci_ms syscopyarea snd sysfillrect
Oct 22 13:04:55 slaero kernel:  mei_me tpm_tis tpm_tis_core sysimgblt rfkill soundcore mei i2c_i801 fb_sys_fops memstick intel_pch_thermal tpm industrialio battery ac wmi rng_core evdev mac_hid pcc_cpufreq ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 xt_comment nf_log_ipv4 nf_log_common xt_LOG xt_multiport 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 iptable_filter vboxnetflt(OE) vboxnetadp(OE) vboxpci(OE) vboxdrv(OE) usbip_host usbip_core coretemp msr sg scsi_mod crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 fscrypto algif_skcipher af_alg dm_crypt dm_mod rtsx_pci_sdmmc
Oct 22 13:04:55 slaero kernel:  mmc_core crct10dif_pclmul serio_raw atkbd crc32_pclmul libps2 crc32c_intel ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd cryptd glue_helper rtsx_pci i8042 serio
Oct 22 13:04:55 slaero kernel: CPU: 7 PID: 857 Comm: NetworkManager Tainted: P        W  OE     4.18.14-arch1-1-ARCH #1
Oct 22 13:04:55 slaero kernel: Hardware name: GIGABYTE P64KV7/P64KV7, BIOS FB05 02/27/2018
Oct 22 13:04:55 slaero kernel: RIP: 0010:iwl_mvm_dump_lmac_error_log+0x572/0x680 [iwlmvm]
Oct 22 13:04:55 slaero kernel: Code: c0 e8 b2 9a a7 ff 48 8b 7d 30 44 8b 0c 24 31 d2 4c 8b 83 b0 00 00 00 48 c7 c1 3e 36 e0 c0 31 f6 e8 93 9a a7 ff e9 64 fb ff ff <0f> 0b 48 8b 7d 30 31 d2 48 c7 c1 d0 7c e0 c0 31 f6 e8 78 9a a7 ff 
Oct 22 13:04:55 slaero kernel: RSP: 0018:ffffb40c43b77708 EFLAGS: 00010286
Oct 22 13:04:55 slaero kernel: RAX: 00000000fffffff0 RBX: ffff9b72af09d528 RCX: 0000000000000000
Oct 22 13:04:55 slaero kernel: RDX: 00000000fffffff0 RSI: 0000000000000246 RDI: 00000000ffffffff
Oct 22 13:04:55 slaero kernel: RBP: ffff9b73a47e0018 R08: 0000000000003a98 R09: ffffffffc0856d9c
Oct 22 13:04:55 slaero kernel: R10: fffff25f1eba99c0 R11: ffffffffb7a6af2d R12: 0000000000811acc
Oct 22 13:04:55 slaero kernel: R13: 0000000000000003 R14: ffff9b73a47e8ec0 R15: 0000000000000000
Oct 22 13:04:55 slaero kernel: FS:  00007f0cc8295d80(0000) GS:ffff9b74cedc0000(0000) knlGS:0000000000000000
Oct 22 13:04:55 slaero kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 22 13:04:55 slaero kernel: CR2: 00002e3c44d41000 CR3: 0000000867dd6003 CR4: 00000000003606e0
Oct 22 13:04:55 slaero kernel: Call Trace:
Oct 22 13:04:55 slaero kernel:  ? apic_timer_interrupt+0xa/0x20
Oct 22 13:04:55 slaero kernel:  ? iwl_trans_pcie_grab_nic_access+0xdc/0x220 [iwlwifi]
Oct 22 13:04:55 slaero kernel:  ? iwl_trans_pcie_write8+0x20/0x20 [iwlwifi]
Oct 22 13:04:55 slaero kernel:  iwl_mvm_dump_nic_error_log+0x39/0x2c0 [iwlmvm]
Oct 22 13:04:55 slaero kernel:  ? _raw_spin_unlock_irqrestore+0x20/0x40
Oct 22 13:04:55 slaero kernel:  ? iwl_trans_pcie_grab_nic_access+0x109/0x220 [iwlwifi]
Oct 22 13:04:55 slaero kernel:  ? iwl_write_prph+0x37/0x80 [iwlwifi]
Oct 22 13:04:55 slaero kernel:  iwl_mvm_nic_error+0x12/0x20 [iwlmvm]
Oct 22 13:04:55 slaero kernel:  iwl_trans_pcie_send_hcmd+0x3af/0x520 [iwlwifi]
Oct 22 13:04:55 slaero kernel:  ? wait_woken+0x80/0x80
Oct 22 13:04:55 slaero kernel:  iwl_trans_send_cmd+0x61/0xd0 [iwlwifi]
Oct 22 13:04:55 slaero kernel:  iwl_mvm_send_cmd+0x2c/0x90 [iwlmvm]
Oct 22 13:04:55 slaero kernel:  ? __switch_to_asm+0x40/0x70
Oct 22 13:04:55 slaero kernel:  iwl_mvm_request_statistics+0x71/0xd0 [iwlmvm]
Oct 22 13:04:55 slaero kernel:  ? __switch_to_asm+0x40/0x70
Oct 22 13:04:55 slaero kernel:  iwl_mvm_mac_sta_statistics+0xa4/0xf0 [iwlmvm]
Oct 22 13:04:55 slaero kernel:  sta_set_sinfo+0xc0/0x900 [mac80211]
Oct 22 13:04:55 slaero kernel:  ieee80211_get_station+0x50/0x70 [mac80211]
Oct 22 13:04:55 slaero kernel:  nl80211_get_station+0x97/0x270 [cfg80211]
Oct 22 13:04:55 slaero kernel:  genl_family_rcv_msg+0x1c4/0x3a0
Oct 22 13:04:55 slaero kernel:  genl_rcv_msg+0x47/0x90
Oct 22 13:04:55 slaero kernel:  ? __kmalloc_node_track_caller+0x210/0x2b0
Oct 22 13:04:55 slaero kernel:  ? genl_family_rcv_msg+0x3a0/0x3a0
Oct 22 13:04:55 slaero kernel:  netlink_rcv_skb+0x4c/0x120
Oct 22 13:04:55 slaero kernel:  genl_rcv+0x24/0x40
Oct 22 13:04:55 slaero kernel:  netlink_unicast+0x196/0x240
Oct 22 13:04:55 slaero kernel:  netlink_sendmsg+0x1fd/0x3c0
Oct 22 13:04:55 slaero kernel:  sock_sendmsg+0x33/0x40
Oct 22 13:04:55 slaero kernel:  ___sys_sendmsg+0x295/0x2f0
Oct 22 13:04:55 slaero kernel:  ? ___sys_recvmsg+0x15e/0x1e0
Oct 22 13:04:55 slaero kernel:  ? compat_poll_select_copy_remaining+0x150/0x150
Oct 22 13:04:55 slaero kernel:  ? compat_poll_select_copy_remaining+0x150/0x150
Oct 22 13:04:55 slaero kernel:  ? __audit_syscall_exit+0x22a/0x290
Oct 22 13:04:55 slaero kernel:  ? __fget+0x6e/0xa0
Oct 22 13:04:55 slaero kernel:  __sys_sendmsg+0x57/0xa0
Oct 22 13:04:55 slaero kernel:  do_syscall_64+0x5b/0x170
Oct 22 13:04:55 slaero kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Oct 22 13:04:55 slaero kernel: RIP: 0033:0x7f0ccae770f7
Oct 22 13:04:55 slaero kernel: Code: c3 66 90 41 54 41 89 d4 55 48 89 f5 53 89 fb 48 83 ec 10 e8 eb ec ff ff 44 89 e2 48 89 ee 89 df 41 89 c0 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 48 89 44 24 08 e8 24 ed ff ff 48 
Oct 22 13:04:55 slaero kernel: RSP: 002b:00007ffee6346910 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
Oct 22 13:04:55 slaero kernel: RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 00007f0ccae770f7
Oct 22 13:04:55 slaero kernel: RDX: 0000000000000000 RSI: 00007ffee6346960 RDI: 0000000000000007
Oct 22 13:04:55 slaero kernel: RBP: 00007ffee6346960 R08: 0000000000000000 R09: 000056290b4b8f90
Oct 22 13:04:55 slaero kernel: R10: 000056290b2d7010 R11: 0000000000000293 R12: 0000000000000000
Oct 22 13:04:55 slaero kernel: R13: 000056290b3c6f00 R14: 000056290b308ca0 R15: 00007f0ccb26cb50
Oct 22 13:04:55 slaero kernel: ---[ end trace cbd020f4024a55e1 ]---
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: HW error, resetting before reading
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: Start IWL Error Log Dump:
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: Status: 0x00000100, count: 808460390
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: Loaded firmware version: 36.e91976c0.0
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x30303265 | ADVANCED_SYSASSERT          
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x30003265 | trm_hw_status0
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x30303030 | trm_hw_status1
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x20343130 | branchlink2
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x30303433 | interruptlink1
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x30303030 | interruptlink2
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xFFFFB400 | data1
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xEEA67A80 | data2
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xFFFF9B73 | data3
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xB6C019BA | beacon time
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xFFFFFFFF | tsf low
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x00000000 | tsf hi
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x00000000 | time gp1
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xA47E8EC0 | time gp2
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xFFFF9B73 | uCode revision type
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xFFFFFFFF | uCode version major
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x00000000 | uCode version minor
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x43B77818 | hw version
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xFFFFB40C | board version
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xFFFF9B73 | hcmd
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xB7A6AF2D | isr0
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xFFFFFFFF | isr1
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x1EBA99C0 | isr2
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xFFFFF25F | isr3
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xC0856D9C | isr4
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xFFFFFFFF | last cmd Id
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x000270C0 | wait_event
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x00000000 | l2p_control
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xC0854E20 | l2p_duration
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xFFFFFFFF | l2p_mhvalid
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x18B73A07 | l2p_addr_match
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x00000000 | lmpm_pmg_sel
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x00000002 | timestamp
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x00000000 | flow_handler
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xB6A1D840 | ADVANCED_SYSASSERT
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xFFFFFFFF | umac branchlink1
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xC0856DC9 | umac branchlink2
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xFFFFFFFF | umac interruptlink1
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xA47E0018 | umac interruptlink2
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xFFFF9B73 | umac data1
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x00A01C30 | umac data2
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x00000000 | umac data3
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x00000080 | umac major
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x00000000 | umac minor
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x00000003 | frame pointer
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0x00000000 | stack pointer
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xC0845697 | last host cmd
Oct 22 13:04:55 slaero kernel: iwlwifi 0000:03:00.0: 0xFFFFFFFF | isr status reg
Oct 22 13:04:55 slaero kernel: ieee80211 phy10: Hardware restart was requested

After searching the BBS, the Internet, the kernel bug database I have not found any solution yet.  I am grateful for any pointers to more information, maybe proper configurations of tlp (which I actually use) or kernel boot parameters.  And yes, I could replace the card, but when I dual boot into windows it works just fine ...

Offline

#2 2018-11-06 15:39:32

Martina Neumayer
Member
From: München
Registered: 2018-11-06
Posts: 7

Re: Intel 8260 card gets dropped from system 'randomly'

You can try this.. read the article and the comments as well.
https://r3dux.org/2017/01/how-to-fix-in … s-in-linux

Offline

Board footer

Powered by FluxBB