wifi adapter is missing - wrong iwlwifi firmware

Bug #1867026 reported by Tiago Carreira on 2020-03-11
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-firmware (Ubuntu)
Undecided
Unassigned

Bug Description

I managed fo fix the problem, so I'm going to state here my solution first:

=== The Solution ===

#########################
sudo rmmod iwlmvm
sudo rmmod iwlwifi
sudo cp /lib/firmware/iwlwifi-Qu-b0-jf-b0-48.ucode{,.bak}
sudo cp /lib/firmware/iwlwifi-QuZ-a0-jf-b0-48.ucode /lib/firmware/iwlwifi-Qu-b0-jf-b0-48.ucode
sudo modprobe iwlwifi
#########################

=== Bug Report ===

===========================================================================
1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
$ lsb_release -rd
Description: KDE neon User Edition 5.18
Release: 18.04

2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
$ apt-cache policy linux-firmware
linux-firmware:
  Installed: 1.173.16
  Candidate: 1.173.16
  Version table:
 *** 1.173.16 500
        500 http://br.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://br.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages
        100 /var/lib/dpkg/status
     1.173.12 500
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages
     1.173 500
        500 http://br.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://br.archive.ubuntu.com/ubuntu bionic/main i386 Packages

3) What you expected to happen
Keep having wifi without any surprise

4) What happened instead
surprise surprise: no wifi

note: this was not the first time. It happened to me last month (sorry, I can't remember when exactly)

===========================================================================

=== The Problem ===

[1] After upgrading packages and reboot, I lost wifi.
Actually, `/var/log/kern.log` says:
#########################
Mar 11 12:40:32 tc-wildebeest kernel: [ 0.000000] microcode: microcode updated early to revision 0xca, date = 2019-10-03
Mar 11 12:40:32 tc-wildebeest kernel: [ 0.000000] Linux version 5.3.0-40-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #32~18.04.1-Ubuntu SMP Mon Feb 3 14:05:59 UTC 2020 (Ubuntu 5.3.0-40.32~18.04.1-generic 5.3.18)
#########################

[2] I believe the problem is related to an error on firmware (or choosing the wrong firmware)
On `/var/log/kern`
#########################
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997654] iwlwifi 0000:00:14.3: Collecting data: trigger 15 fired.
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997773] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997777] iwlwifi 0000:00:14.3: Status: 0x00000000, count: -1355353588
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997780] iwlwifi 0000:00:14.3: Loaded firmware version: 48.13675109.0
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997782] iwlwifi 0000:00:14.3: 0xE439F61B | ADVANCED_SYSASSERT
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997784] iwlwifi 0000:00:14.3: 0x46F73672 | trm_hw_status0
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997786] iwlwifi 0000:00:14.3: 0x28C2A402 | trm_hw_status1
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997787] iwlwifi 0000:00:14.3: 0x9DAEAFF4 | branchlink2
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997789] iwlwifi 0000:00:14.3: 0x3AF3947B | interruptlink1
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997790] iwlwifi 0000:00:14.3: 0x423D8A25 | interruptlink2
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997792] iwlwifi 0000:00:14.3: 0x2030A0C5 | data1
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997793] iwlwifi 0000:00:14.3: 0xC74F825F | data2
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997795] iwlwifi 0000:00:14.3: 0x755A2DAF | data3
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997796] iwlwifi 0000:00:14.3: 0x8C8FD806 | beacon time
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997798] iwlwifi 0000:00:14.3: 0x234581B8 | tsf low
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997799] iwlwifi 0000:00:14.3: 0x9767D27F | tsf hi
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997801] iwlwifi 0000:00:14.3: 0xDEFDFBC2 | time gp1
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997803] iwlwifi 0000:00:14.3: 0x0808199E | time gp2
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997804] iwlwifi 0000:00:14.3: 0x80539983 | uCode revision type
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997806] iwlwifi 0000:00:14.3: 0xCE7E6303 | uCode version major
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997807] iwlwifi 0000:00:14.3: 0x79CDBF29 | uCode version minor
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997809] iwlwifi 0000:00:14.3: 0x1024014F | hw version
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997810] iwlwifi 0000:00:14.3: 0x08C6D4AE | board version
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997812] iwlwifi 0000:00:14.3: 0xC19133C0 | hcmd
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997813] iwlwifi 0000:00:14.3: 0xDAB3AE6C | isr0
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997815] iwlwifi 0000:00:14.3: 0x4FCB7BEE | isr1
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997817] iwlwifi 0000:00:14.3: 0x05C52188 | isr2
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997818] iwlwifi 0000:00:14.3: 0x14B878C4 | isr3
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997820] iwlwifi 0000:00:14.3: 0xF3F4FDCB | isr4
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997821] iwlwifi 0000:00:14.3: 0xA7ABD4FD | last cmd Id
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997823] iwlwifi 0000:00:14.3: 0xC59168C6 | wait_event
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997824] iwlwifi 0000:00:14.3: 0x384C6444 | l2p_control
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997826] iwlwifi 0000:00:14.3: 0xEFAEF75C | l2p_duration
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997827] iwlwifi 0000:00:14.3: 0xBFDBE7A6 | l2p_mhvalid
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997829] iwlwifi 0000:00:14.3: 0x000E26D5 | l2p_addr_match
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997830] iwlwifi 0000:00:14.3: 0x6BF74C91 | lmpm_pmg_sel
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997832] iwlwifi 0000:00:14.3: 0x6DF4A7FD | timestamp
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997833] iwlwifi 0000:00:14.3: 0x4F263EFD | flow_handler
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997868] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997869] iwlwifi 0000:00:14.3: Status: 0x00000000, count: 7
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997871] iwlwifi 0000:00:14.3: 0x201013F1 | ADVANCED_SYSASSERT
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997873] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997874] iwlwifi 0000:00:14.3: 0xC008CF5C | umac branchlink2
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997876] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink1
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997877] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink2
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997879] iwlwifi 0000:00:14.3: 0x00000003 | umac data1
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997881] iwlwifi 0000:00:14.3: 0x20000302 | umac data2
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997882] iwlwifi 0000:00:14.3: 0x01300202 | umac data3
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997884] iwlwifi 0000:00:14.3: 0x00000030 | umac major
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997885] iwlwifi 0000:00:14.3: 0x13675109 | umac minor
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997887] iwlwifi 0000:00:14.3: 0x00005CAF | frame pointer
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997888] iwlwifi 0000:00:14.3: 0xC0887F58 | stack pointer
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997890] iwlwifi 0000:00:14.3: 0x00000000 | last host cmd
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997891] iwlwifi 0000:00:14.3: 0x00000000 | isr status reg
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997908] iwlwifi 0000:00:14.3: Fseq Registers:
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997911] iwlwifi 0000:00:14.3: 0x00000003 | FSEQ_ERROR_CODE
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997914] iwlwifi 0000:00:14.3: 0x00000000 | FSEQ_TOP_INIT_VERSION
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997917] iwlwifi 0000:00:14.3: 0x47FFAD3E | FSEQ_CNVIO_INIT_VERSION
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997920] iwlwifi 0000:00:14.3: 0x0000A384 | FSEQ_OTP_VERSION
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997924] iwlwifi 0000:00:14.3: 0x515A76D6 | FSEQ_TOP_CONTENT_VERSION
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997927] iwlwifi 0000:00:14.3: 0x148F2BF1 | FSEQ_ALIVE_TOKEN
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997930] iwlwifi 0000:00:14.3: 0x45CA5FDF | FSEQ_CNVI_ID
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997933] iwlwifi 0000:00:14.3: 0x50EDC409 | FSEQ_CNVR_ID
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997936] iwlwifi 0000:00:14.3: 0x20000302 | CNVI_AUX_MISC_CHIP
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997942] iwlwifi 0000:00:14.3: 0x01300202 | CNVR_AUX_MISC_CHIP
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997947] iwlwifi 0000:00:14.3: 0x0000485B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.997998] iwlwifi 0000:00:14.3: 0xA5A5A5A2 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.998027] iwlwifi 0000:00:14.3: SecBoot CPU1 Status: 0x5c20, CPU2 Status: 0x3
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.998028] iwlwifi 0000:00:14.3: Failed to start RT ucode: -110
Mar 11 12:40:32 tc-wildebeest kernel: [ 11.998032] iwlwifi 0000:00:14.3: Firmware not running - cannot dump error
Mar 11 12:40:32 tc-wildebeest kernel: [ 12.009705] iwlwifi 0000:00:14.3: Failed to run INIT ucode: -110
#########################

[3] After some trial and error, I found out that using the `iwlwifi-Qu-b0-jf-b0-48.ucode` instead of `iwlwifi-QuZ-a0-jf-b0-48.ucode` solves the problem.

[4] Some data about my Hardware and Software (after fixing the problem, unless commented otherwise)

tcarreira@tc-wildebeest:~$ lsb_release -rd
Description: KDE neon User Edition 5.18
Release: 18.04

tcarreira@tc-wildebeest:~$ uname -a
Linux tc-wildebeest 5.3.0-40-generic #32~18.04.1-Ubuntu SMP Mon Feb 3 14:05:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

tcarreira@tc-wildebeest:~$ lspci -nnk | grep -A3 Network
00:14.3 Network controller [0280]: Intel Corporation Device [8086:02f0]
        Subsystem: Intel Corporation Device [8086:0034]
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

tcarreira@tc-wildebeest:~$ sudo lshw | grep -i network -A13
        *-network
             description: Wireless interface
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 14.3
             bus info: pci@0000:00:14.3
             logical name: wlo1
             version: 00
             serial: 80:32:53:a1:ec:9e
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
             configuration: broadcast=yes driver=iwlwifi driverversion=5.3.0-40-generic firmware=48.13675109.0 ip=10.0.7.236 latency=0 link=yes multicast=yes wireless=IEEE 802.11
             resources: irq:16 memory:67714000-67717fff
...

tcarreira@tc-wildebeest:~$ rfkill list all # before fixing the problem
1: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

tcarreira@tc-wildebeest:~$ rfkill list all # after fixing the problem
1: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
3: phy5: Wireless LAN
        Soft blocked: no
        Hard blocked: no

tcarreira@tc-wildebeest:~$ apt-cache policy linux-firmware
linux-firmware:
  Installed: 1.173.16
  Candidate: 1.173.16
  Version table:
 *** 1.173.16 500
        500 http://br.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://br.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages
        100 /var/lib/dpkg/status
     1.173.12 500
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages
     1.173 500
        500 http://br.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://br.archive.ubuntu.com/ubuntu bionic/main i386 Packages

tcarreira@tc-wildebeest:~$ apt-cache policy intel-microcode # may be related
intel-microcode:
  Installed: 3.20191115.1ubuntu0.18.04.2
  Candidate: 3.20191115.1ubuntu0.18.04.2
  Version table:
 *** 3.20191115.1ubuntu0.18.04.2 500
        500 http://br.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     3.20180312.0~ubuntu18.04.1 500
        500 http://br.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

description: updated
description: updated
Tiago Carreira (tcarreira) wrote :

After installing https://people.canonical.com/~acelan/bugs/lp1865829/ the wifi works.

So, this is a problem in the kernel itself, not linux-firmware.
I guess I have to wait for https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865962to be finished?
Will this fix be updated to kernel 5.3.x (I don't update my kernel very frequently)?

Thank you

Tiago Carreira (tcarreira) wrote :

I'm sorry, but I'm a newbie here.
Should I tag something or add any info on other bug reports?

I commented on https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1864188
which is marked as duplicate of https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1865962

You-Sheng Yang (vicamo) wrote :

Don't worry. :)

Mark duplicated to bug 1865829. Please track the status there in the future.

You-Sheng Yang (vicamo) wrote :

Correct: should be bug 1865962 instead, which is the public bug for bug 1865829.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-firmware (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers