You are not logged in.
Hi,
My system has an Intel Wireless 8265, and after updating my system it no longer seems to work.
$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
3a:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
3a:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
3b:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
3c:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961
dmesg output: https://pastebin.com/VUpJ1yN4
I'm not sure how to even parse what's going on in dmesg, it looks like the card won't come up because it doesn't return a temperature value?
*edit: I tried booting with kernel 5.2 instead of 4.19-lts and the card works, but only after disabling->re-enabling it in Network Manager's applet, and there are still crash traces in my syslog.
dmesg output with kernel 5.2: https://pastebin.com/EjSPRWFn
Last edited by CTAG (2019-09-14 15:36:40)
Offline
Firmware bugs, do you have a log (journalctl will be your friend here) from a working boot? There are a few things to try here:
Nudge it to load an older firmware:
mv /usr/lib/firmware/iwlwifi-8265-36.ucode /usr/lib/firmware/iwlwifi-8265-36.ucode.bak
Alternatively downgrade linux-firmware to a working version, that's a bit of a shotgun approach since that will downgrade all otherwise working firmware as well
Pick up an older (or newer!) revision of the -36 firmware specifically.
Offline
Thank you for the troubleshooting advice, V1del.
I ran `mv /usr/lib/firmware/iwlwifi-8265-36.ucode /usr/lib/firmware/iwlwifi-8265-36.ucode.bak` and restarted. The wireless card still seems to crash though. It looks to me like it's falling back to -34 for the card to work?
[ 9.952586] Intel(R) Wireless WiFi driver for Linux
[ 9.952588] Copyright(c) 2003- 2015 Intel Corporation
[ 9.952687] iwlwifi 0000:3b:00.0: enabling device (0000 -> 0002)
[ 9.955979] iwlwifi 0000:3b:00.0: Direct firmware load for iwlwifi-8265-36.ucode failed with error -2
[ 9.956616] iwlwifi 0000:3b:00.0: Direct firmware load for iwlwifi-8265-35.ucode failed with error -2
[ 9.967604] iwlwifi 0000:3b:00.0: loaded firmware version 34.0.1 op_mode iwlmvm
But even then I cannot join a wireless network until I disable and re-enable the card after logging in.
This less-severe issue (where I can join after toggling the card) has been going on for months now, I'm not sure if I can find a clean boot in journalctl but I'll take a look around.
How do I tell which version of -36 I have?
Offline
ls /usr/lib/firmware/iwlwifi-8265*
/usr/lib/firmware/iwlwifi-8265-21.ucode
/usr/lib/firmware/iwlwifi-8265-22.ucode
/usr/lib/firmware/iwlwifi-8265-27.ucode
/usr/lib/firmware/iwlwifi-8265-31.ucode
/usr/lib/firmware/iwlwifi-8265-34.ucode
/usr/lib/firmware/iwlwifi-8265-36.ucode
If you also move /usr/lib/firmware/iwlwifi-8265-34.ucode does iwlwifi then fallback to iwlwifi-8265-31.ucode and if so is the issue still present?
Edit:
Looking at the kernel source for linux 5.2 you should be able to use ucodes down to -22.
Last edited by loqs (2019-09-14 15:13:38)
Offline
Did that, issue persists.
# ls iwlwifi-8265-*
iwlwifi-8265-21.ucode iwlwifi-8265-27.ucode iwlwifi-8265-34.ucode.bak
iwlwifi-8265-22.ucode iwlwifi-8265-31.ucode iwlwifi-8265-36.ucode.bak
[ 10.893033] iwlwifi 0000:3b:00.0: Direct firmware load for iwlwifi-8265-36.ucode failed with error -2
[ 10.893155] iwlwifi 0000:3b:00.0: Direct firmware load for iwlwifi-8265-35.ucode failed with error -2
[ 10.893168] iwlwifi 0000:3b:00.0: Direct firmware load for iwlwifi-8265-34.ucode failed with error -2
[ 10.893177] iwlwifi 0000:3b:00.0: Direct firmware load for iwlwifi-8265-33.ucode failed with error -2
[ 10.893186] iwlwifi 0000:3b:00.0: Direct firmware load for iwlwifi-8265-32.ucode failed with error -2
[ 10.899332] iwlwifi 0000:3b:00.0: loaded firmware version 31.560484.0 op_mode iwlmvm
[ 10.956219] r8169 0000:3a:00.1 enp58s0f1: renamed from eth0
[ 11.124092] iTCO_vendor_support: vendor-support=0
I'm going to backup -31 as well and try forcing -27 next.
Offline
OK, still doesn't work properly on -27.
[ 12.643684] Intel(R) Wireless WiFi driver for Linux
[ 12.643685] Copyright(c) 2003- 2015 Intel Corporation
[ 12.648404] iwlwifi 0000:3b:00.0: enabling device (0000 -> 0002)
[ 12.661298] iwlwifi 0000:3b:00.0: Direct firmware load for iwlwifi-8265-36.ucode failed with error -2
[ 12.661419] iwlwifi 0000:3b:00.0: Direct firmware load for iwlwifi-8265-35.ucode failed with error -2
[ 12.661435] iwlwifi 0000:3b:00.0: Direct firmware load for iwlwifi-8265-34.ucode failed with error -2
[ 12.661447] iwlwifi 0000:3b:00.0: Direct firmware load for iwlwifi-8265-33.ucode failed with error -2
[ 12.661457] iwlwifi 0000:3b:00.0: Direct firmware load for iwlwifi-8265-32.ucode failed with error -2
[ 12.661664] iwlwifi 0000:3b:00.0: Direct firmware load for iwlwifi-8265-31.ucode failed with error -2
[ 12.661677] iwlwifi 0000:3b:00.0: Direct firmware load for iwlwifi-8265-30.ucode failed with error -2
[ 12.661687] iwlwifi 0000:3b:00.0: Direct firmware load for iwlwifi-8265-29.ucode failed with error -2
[ 12.661700] iwlwifi 0000:3b:00.0: Direct firmware load for iwlwifi-8265-28.ucode failed with error -2
[ 12.668469] iwlwifi 0000:3b:00.0: loaded firmware version 27.541033.0 op_mode iwlmvm
[ 20.071587] iwlwifi 0000:3b:00.0: Error sending STATISTICS_CMD: time out after 2000ms.
[ 20.071592] iwlwifi 0000:3b:00.0: Current CMD queue read_ptr 48 write_ptr 49
[ 20.073429] iwlwifi 0000:3b:00.0: Start IWL Error Log Dump:
[ 20.073432] iwlwifi 0000:3b:00.0: Status: 0x00000080, count: 6
[ 20.073434] iwlwifi 0000:3b:00.0: Loaded firmware version: 27.541033.0
[ 20.073438] iwlwifi 0000:3b:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN
[ 20.073441] iwlwifi 0000:3b:00.0: 0x000002F0 | trm_hw_status0
[ 20.073443] iwlwifi 0000:3b:00.0: 0x00000000 | trm_hw_status1
[ 20.073446] iwlwifi 0000:3b:00.0: 0x000243A0 | branchlink2
[ 20.073448] iwlwifi 0000:3b:00.0: 0x000391BE | interruptlink1
[ 20.073450] iwlwifi 0000:3b:00.0: 0x0001572A | interruptlink2
[ 20.073452] iwlwifi 0000:3b:00.0: 0x00000000 | data1
[ 20.073455] iwlwifi 0000:3b:00.0: 0x00000080 | data2
[ 20.073457] iwlwifi 0000:3b:00.0: 0x07830000 | data3
[ 20.073459] iwlwifi 0000:3b:00.0: 0x00088E53 | beacon time
[ 20.073461] iwlwifi 0000:3b:00.0: 0x0057B8BD | tsf low
[ 20.073464] iwlwifi 0000:3b:00.0: 0x00000000 | tsf hi
[ 20.073466] iwlwifi 0000:3b:00.0: 0x00000000 | time gp1
[ 20.073468] iwlwifi 0000:3b:00.0: 0x0057B8C1 | time gp2
[ 20.073471] iwlwifi 0000:3b:00.0: 0x00000001 | uCode revision type
[ 20.073473] iwlwifi 0000:3b:00.0: 0x0000001B | uCode version major
[ 20.073475] iwlwifi 0000:3b:00.0: 0x00084169 | uCode version minor
[ 20.073477] iwlwifi 0000:3b:00.0: 0x00000230 | hw version
[ 20.073480] iwlwifi 0000:3b:00.0: 0x00880000 | board version
[ 20.073482] iwlwifi 0000:3b:00.0: 0x002F01C8 | hcmd
[ 20.073484] iwlwifi 0000:3b:00.0: 0x00022000 | isr0
[ 20.073486] iwlwifi 0000:3b:00.0: 0x00800000 | isr1
[ 20.073488] iwlwifi 0000:3b:00.0: 0x08001802 | isr2
[ 20.073491] iwlwifi 0000:3b:00.0: 0x40400180 | isr3
[ 20.073493] iwlwifi 0000:3b:00.0: 0x00000000 | isr4
[ 20.073495] iwlwifi 0000:3b:00.0: 0x002F01C8 | last cmd Id
[ 20.073498] iwlwifi 0000:3b:00.0: 0x00000000 | wait_event
[ 20.073500] iwlwifi 0000:3b:00.0: 0x00007FAC | l2p_control
[ 20.073502] iwlwifi 0000:3b:00.0: 0x00000000 | l2p_duration
[ 20.073504] iwlwifi 0000:3b:00.0: 0x00000000 | l2p_mhvalid
[ 20.073507] iwlwifi 0000:3b:00.0: 0x00000000 | l2p_addr_match
[ 20.073509] iwlwifi 0000:3b:00.0: 0x0000008F | lmpm_pmg_sel
[ 20.073511] iwlwifi 0000:3b:00.0: 0x15062059 | timestamp
[ 20.073513] iwlwifi 0000:3b:00.0: 0x00345868 | flow_handler
[ 20.073579] iwlwifi 0000:3b:00.0: Start IWL Error Log Dump:
[ 20.073582] iwlwifi 0000:3b:00.0: Status: 0x00000080, count: 7
[ 20.073584] iwlwifi 0000:3b:00.0: 0x00000070 | NMI_INTERRUPT_LMAC_FATAL
[ 20.073586] iwlwifi 0000:3b:00.0: 0x00000000 | umac branchlink1
[ 20.073589] iwlwifi 0000:3b:00.0: 0xC0085C58 | umac branchlink2
[ 20.073591] iwlwifi 0000:3b:00.0: 0xC008A968 | umac interruptlink1
[ 20.073593] iwlwifi 0000:3b:00.0: 0xC0083438 | umac interruptlink2
[ 20.073596] iwlwifi 0000:3b:00.0: 0x00000800 | umac data1
[ 20.073598] iwlwifi 0000:3b:00.0: 0xC0083438 | umac data2
[ 20.073600] iwlwifi 0000:3b:00.0: 0xDEADBEEF | umac data3
[ 20.073602] iwlwifi 0000:3b:00.0: 0x0000001B | umac major
[ 20.073604] iwlwifi 0000:3b:00.0: 0x00084169 | umac minor
[ 20.073607] iwlwifi 0000:3b:00.0: 0xC088627C | frame pointer
[ 20.073609] iwlwifi 0000:3b:00.0: 0xC088627C | stack pointer
[ 20.073611] iwlwifi 0000:3b:00.0: 0x002F01C8 | last host cmd
[ 20.073613] iwlwifi 0000:3b:00.0: 0x00000000 | isr status reg
[ 20.073637] iwlwifi 0000:3b:00.0: Fseq Registers:
[ 20.073653] iwlwifi 0000:3b:00.0: 0xDC5B3FDB | FSEQ_ERROR_CODE
[ 20.073669] iwlwifi 0000:3b:00.0: 0x1415B21B | FSEQ_TOP_INIT_VERSION
[ 20.073685] iwlwifi 0000:3b:00.0: 0xAB95BBB0 | FSEQ_CNVIO_INIT_VERSION
[ 20.073701] iwlwifi 0000:3b:00.0: 0x0000A10B | FSEQ_OTP_VERSION
[ 20.073735] iwlwifi 0000:3b:00.0: 0xE8C66B6E | FSEQ_TOP_CONTENT_VERSION
[ 20.073755] iwlwifi 0000:3b:00.0: 0xF007CB1B | FSEQ_ALIVE_TOKEN
[ 20.073771] iwlwifi 0000:3b:00.0: 0xAA0536FD | FSEQ_CNVI_ID
[ 20.073787] iwlwifi 0000:3b:00.0: 0x423103C1 | FSEQ_CNVR_ID
[ 20.073804] iwlwifi 0000:3b:00.0: 0x00000010 | CNVI_AUX_MISC_CHIP
[ 20.073823] iwlwifi 0000:3b:00.0: 0x0BADCAFE | CNVR_AUX_MISC_CHIP
[ 20.073842] iwlwifi 0000:3b:00.0: 0x0BADCAFE | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[ 20.073860] iwlwifi 0000:3b:00.0: 0x0BADCAFE | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[ 20.073880] iwlwifi 0000:3b:00.0: Collecting data: trigger 2 fired.
[ 20.073886] ieee80211 phy0: Hardware restart was requested
[ 20.564567] iwlwifi 0000:3b:00.0: Queue 0 is active on fifo 7 and stuck for 2500 ms. SW [48, 49] HW [48, 48] FH TRB=0x070002f
[ 20.571020] ------------[ cut here ]------------
[ 20.571040] WARNING: CPU: 6 PID: 205 at drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c:235 iwl_mvm_unref.cold+0xc/0x1a [iwlmvm]
[ 20.571041] Modules linked in: cmac rfcomm fuse joydev mousedev snd_soc_skl snd_soc_hdac_hda intel_rapl snd_hda_ext_core snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi snd_hda_codec_hdmi snd_soc_core snd_hda_codec_realtek snd_compress ac97_bus arc4 snd_hda_codec_generic bnep ledtrig_audio snd_pcm_dmaengine snd_hda_intel iwlmvm x86_pkg_temp_thermal lz4 intel_powerclamp lz4_compress msr coretemp snd_hda_codec sunrpc mac80211 uvcvideo kvm_intel snd_hda_core btusb btrtl videobuf2_vmalloc btbcm videobuf2_memops videobuf2_v4l2 snd_hwdep btintel iwlwifi nls_iso8859_1 iTCO_wdt bluetooth kvm iTCO_vendor_support snd_pcm videobuf2_common nls_cp437 snd_timer irqbypass vfat ecdh_generic videodev fat intel_cstate snd media ecc cfg80211 intel_uncore intel_rapl_perf soundcore input_leds psmouse r8169 pcspkr rfkill rtsx_pci_ms i2c_i801 intel_xhci_usb_role_switch realtek intel_wmi_thunderbolt libphy roles memstick intel_pch_thermal battery pcc_cpufreq evdev ac mac_hid
[ 20.571060] vboxnetflt(OE) vboxnetadp(OE) vboxpci(OE) vboxdrv(OE) vboxvideo ttm vboxsf(OE) vboxguest system76_io(OE) crypto_user acpi_call(OE) ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 dm_crypt crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel rtsx_pci_sdmmc serio_raw mmc_core atkbd dm_mod libps2 ahci libahci aesni_intel libata aes_x86_64 crypto_simd cryptd xhci_pci scsi_mod glue_helper xhci_hcd rtsx_pci wmi i8042 serio i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm intel_agp intel_gtt agpgart
[ 20.571092] CPU: 6 PID: 205 Comm: kworker/6:1 Tainted: G OE 5.2.14-arch2-1-ARCH #1
[ 20.571093] Hardware name: System76 Galago Pro/Galago Pro, BIOS 1.05.08RSA 12/08/2017
[ 20.571101] Workqueue: events iwl_fw_error_dump_wk [iwlwifi]
[ 20.571108] RIP: 0010:iwl_mvm_unref.cold+0xc/0x1a [iwlmvm]
[ 20.571109] Code: c7 08 19 f7 c0 e8 06 2b 59 d7 0f 0b 4c 89 ff bb fb ff ff ff e8 59 01 d8 d7 e9 f1 87 fc ff 48 c7 c7 08 19 f7 c0 e8 e6 2a 59 d7 <0f> 0b 5b 4c 89 e7 5d 41 5c e9 3a 01 d8 d7 48 c7 c7 08 19 f7 c0 e8
[ 20.571110] RSP: 0000:ffffb25883553e60 EFLAGS: 00010246
[ 20.571111] RAX: 0000000000000024 RBX: ffffa06296555628 RCX: 0000000000000000
[ 20.571112] RDX: 0000000000000000 RSI: ffffa0629eb976e8 RDI: 00000000ffffffff
[ 20.571112] RBP: 0000000000000015 R08: 00000000000003d7 R09: 0000000000000001
[ 20.571113] R10: 0000000000000000 R11: 0000000000000001 R12: ffffa06296557380
[ 20.571113] R13: ffffa0629ebaf700 R14: 0000000000000000 R15: 0ffffa0629ebaf70
[ 20.571114] FS: 0000000000000000(0000) GS:ffffa0629eb80000(0000) knlGS:0000000000000000
[ 20.571115] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 20.571116] CR2: 000055b860f13018 CR3: 0000000856d18005 CR4: 00000000003606e0
[ 20.571116] Call Trace:
[ 20.571121] process_one_work+0x1d1/0x3e0
[ 20.571123] worker_thread+0x4a/0x3d0
[ 20.571124] kthread+0xfb/0x130
[ 20.571126] ? process_one_work+0x3e0/0x3e0
[ 20.571127] ? kthread_park+0x80/0x80
[ 20.571129] ret_from_fork+0x35/0x40
[ 20.571131] ---[ end trace bf3920c73a2db5e8 ]---
Offline
I found that I had set some driver variables:
$ cat /etc/modprobe.d/iwlwifi.conf
options iwlwifi power_save=1 d0i3_disable=0 uapsd_disable=0
options iwldvm force_cam=0
So I tried moving iwlwifi.conf to iwlwifi.bak and rebooting. The wireless appears to work properly now, and I do not need to toggle it after booting the system anymore.
V1del, loqs, thank you both for helping me sort this out.
Offline