Skip to content

Instantly share code, notes, and snippets.

@hgomez
Last active November 17, 2022 22:31
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hgomez/9daaa473b33c85f81afb891f316baf37 to your computer and use it in GitHub Desktop.
Save hgomez/9daaa473b33c85f81afb891f316baf37 to your computer and use it in GitHub Desktop.
How to fix unstable Intel Wireless-AC 9560 on Fedora 32

Problem

I have a Dell Inspiron 15 7586 with Fedora 32. Wifi AC is provided by an Intel AC 9560.

dmesg | grep iwlwifi
...
[   16.978385] iwlwifi 0000:00:14.3: Detected Intel(R) Wireless-AC 9560, REV=0x318
...

As of today, 2020, August 28th, Fedora 32 came with a Kernel 5.7 (5.7.17-200.fc32.x86_64) and Wifi is really unstable. When you spend a lot of time in Mumble with your team, it's turn as a nightmare for everyone.

Investigation

Intel AC 9560 driver firmware is installed via RPM iwl7260-firmware

rpm -q --whatprovides /lib/firmware/iwlwifi-9000-pu-b0-jf-b0-34.ucode
iwl7260-firmware-25.30.13.0-111.fc32.noarch

I noticed firmware md5 (71ba197d4e013625020a004c4d3ec8f5) was different from latest firmware for kernel 4.14+ found on Intel firmware site

Firmware for AC 9560 is found in https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi-9000-pu-b0-jf-b0-34.618819.0.tgz

md5 (10363a1bd0bae79897cc1a42868b8996) is obviously different from one provided by Fedora 32.

As I had issues with Intel NIC in the past, drivers provided by distribution not matching kernel, and Intel suggested to always use their latests drivers for the kernel.

So let's use Intel firmware now.

Fix

I renamed previous firmware and copied one from Intel directly inside /lib/firmware

sudo mv /lib/firmware/iwlwifi-9000-pu-b0-jf-b0-34.ucode.fedora32 sudo cp iwlwifi-9000-pu-b0-jf-b0-34.618819.0/iwlwifi-9000-pu-b0-jf-b0-34.ucode /lib/firmware

I restarted and checked with dmesg everything goes fine :

dmesg | grep iwlwifi
[   16.777460] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[   16.803871] iwlwifi 0000:00:14.3: WRT: Overriding region id 0
[   16.803873] iwlwifi 0000:00:14.3: WRT: Overriding region id 1
[   16.803874] iwlwifi 0000:00:14.3: WRT: Overriding region id 2
[   16.803875] iwlwifi 0000:00:14.3: WRT: Overriding region id 3
[   16.803876] iwlwifi 0000:00:14.3: WRT: Overriding region id 4
[   16.803877] iwlwifi 0000:00:14.3: WRT: Overriding region id 6
[   16.803878] iwlwifi 0000:00:14.3: WRT: Overriding region id 8
[   16.803879] iwlwifi 0000:00:14.3: WRT: Overriding region id 9
[   16.803880] iwlwifi 0000:00:14.3: WRT: Overriding region id 10
[   16.803880] iwlwifi 0000:00:14.3: WRT: Overriding region id 11
[   16.803881] iwlwifi 0000:00:14.3: WRT: Overriding region id 15
[   16.803882] iwlwifi 0000:00:14.3: WRT: Overriding region id 16
[   16.803883] iwlwifi 0000:00:14.3: WRT: Overriding region id 18
[   16.803884] iwlwifi 0000:00:14.3: WRT: Overriding region id 19
[   16.803885] iwlwifi 0000:00:14.3: WRT: Overriding region id 20
[   16.803886] iwlwifi 0000:00:14.3: WRT: Overriding region id 21
[   16.803889] iwlwifi 0000:00:14.3: Found debug destination: EXTERNAL_DRAM
[   16.803890] iwlwifi 0000:00:14.3: Found debug configuration: 0
[   16.804330] iwlwifi 0000:00:14.3: loaded firmware version 46.8902351f.0 9000-pu-b0-jf-b0-46.ucode op_mode iwlmvm
[   16.804737] iwlwifi 0000:00:14.3: Direct firmware load for iwl-debug-yoyo.bin failed with error -2
[   16.978385] iwlwifi 0000:00:14.3: Detected Intel(R) Wireless-AC 9560, REV=0x318
[   17.053501] iwlwifi 0000:00:14.3: base HW address: 48:a4:72:dd:ee:ff
[   17.126229] iwlwifi 0000:00:14.3 wlo1: renamed from wlan0
[   51.528296]  x86_pkg_temp_thermal intel_powerclamp snd_intel_dspcfg coretemp snd_usb_audio snd_hda_codec kvm_intel mac80211 snd_hda_core snd_usbmidi_lib snd_rawmidi iTCO_wdt snd_hwdep iTCO_vendor_support mei_hdcp intel_rapl_msr kvm libarc4 snd_seq snd_seq_device dell_laptop ledtrig_audio snd_pcm btusb uvcvideo btrtl dell_smm_hwmon dell_wmi btbcm irqbypass videobuf2_vmalloc btintel videobuf2_memops rapl videobuf2_v4l2 dell_smbios intel_cstate iwlwifi intel_uncore videobuf2_common snd_timer dcdbas pcspkr bluetooth dell_wmi_descriptor wmi_bmof snd i2c_i801 mei_me soundcore videodev ecdh_generic cfg80211 mc ecc mei joydev idma64 hid_sensor_incl_3d hid_sensor_magn_3d hid_sensor_rotation hid_sensor_accel_3d hid_sensor_gyro_3d hid_sensor_trigger hid_sensor_iio_common ucsi_acpi rfkill industrialio_triggered_buffer typec_ucsi processor_thermal_device kfifo_buf intel_rapl_common industrialio intel_soc_dts_iosf intel_pch_thermal typec soc_button_array int3403_thermal int3402_thermal
[   64.005338]  snd_hda_intel x86_pkg_temp_thermal intel_powerclamp snd_intel_dspcfg coretemp snd_usb_audio snd_hda_codec kvm_intel mac80211 snd_hda_core snd_usbmidi_lib snd_rawmidi iTCO_wdt snd_hwdep iTCO_vendor_support mei_hdcp intel_rapl_msr kvm libarc4 snd_seq snd_seq_device dell_laptop ledtrig_audio snd_pcm btusb uvcvideo btrtl dell_smm_hwmon dell_wmi btbcm irqbypass videobuf2_vmalloc btintel videobuf2_memops rapl videobuf2_v4l2 dell_smbios intel_cstate iwlwifi intel_uncore videobuf2_common snd_timer dcdbas pcspkr bluetooth dell_wmi_descriptor wmi_bmof snd i2c_i801 mei_me soundcore videodev ecdh_generic cfg80211 mc ecc mei joydev idma64 hid_sensor_incl_3d hid_sensor_magn_3d hid_sensor_rotation hid_sensor_accel_3d hid_sensor_gyro_3d hid_sensor_trigger hid_sensor_iio_common ucsi_acpi rfkill industrialio_triggered_buffer typec_ucsi processor_thermal_device kfifo_buf intel_rapl_common industrialio intel_soc_dts_iosf intel_pch_thermal typec soc_button_array int3403_thermal int3402_thermal

So far, so good, Wifi is stable yet again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment