iwlwifi microcode error detected using hostapd with Intel 3168 in a NUC6CAYH

Bug #1825993 reported by Daniel Montgomery
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-firmware (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I found a similar, fixed, bug with another Intel chip. I believe the upstream fix from Intel addressed my 3168, but it looks like the fix released in linux-firmware only addresses the 8265.

https://bugs.launchpad.net/ubuntu/+bug/1808389

I only see this occur in AP mode, and not in managed mode (i.e., hostapd triggers it, but wpa_supplicant does not). The following repeats a couple times a second indefinitely:

/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.817625] iwlwifi 0000:02:00.0: Microcode SW error detected. Restarting 0x2000000.
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.818642] iwlwifi 0000:02:00.0: Start IWL Error Log Dump:
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.819698] iwlwifi 0000:02:00.0: Status: 0x00000100, count: 6
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.821046] iwlwifi 0000:02:00.0: Loaded firmware version: 27.541033.0
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.822370] iwlwifi 0000:02:00.0: 0x00003068 | ADVANCED_SYSASSERT
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.823725] iwlwifi 0000:02:00.0: 0x00000230 | trm_hw_status0
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.825086] iwlwifi 0000:02:00.0: 0x00000000 | trm_hw_status1
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.826426] iwlwifi 0000:02:00.0: 0x00043D2C | branchlink2
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.827790] iwlwifi 0000:02:00.0: 0x0004AEDE | interruptlink1
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.828751] iwlwifi 0000:02:00.0: 0x00000000 | interruptlink2
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.829679] iwlwifi 0000:02:00.0: 0x00000064 | data1
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.830606] iwlwifi 0000:02:00.0: 0x00000032 | data2
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.831523] iwlwifi 0000:02:00.0: 0x000000FF | data3
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.832442] iwlwifi 0000:02:00.0: 0x00000000 | beacon time
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.833355] iwlwifi 0000:02:00.0: 0x0002920C | tsf low
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.834266] iwlwifi 0000:02:00.0: 0x00000000 | tsf hi
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.835177] iwlwifi 0000:02:00.0: 0x00000000 | time gp1
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.836098] iwlwifi 0000:02:00.0: 0x0002920C | time gp2
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.837013] iwlwifi 0000:02:00.0: 0x00000001 | uCode revision type
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.837939] iwlwifi 0000:02:00.0: 0x0000001B | uCode version major
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.838864] iwlwifi 0000:02:00.0: 0x00084169 | uCode version minor
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.839792] iwlwifi 0000:02:00.0: 0x00000220 | hw version
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.840715] iwlwifi 0000:02:00.0: 0x00C89200 | board version
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.841660] iwlwifi 0000:02:00.0: 0x0028011C | hcmd
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.842605] iwlwifi 0000:02:00.0: 0x24022000 | isr0
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.843545] iwlwifi 0000:02:00.0: 0x01000000 | isr1
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.844498] iwlwifi 0000:02:00.0: 0x00000002 | isr2
/var/log/syslog.5.gz:Apr 18 15:59:54 pinot kernel: [137784.845435] iwlwifi 0000:02:00.0: 0x4041FCC0 | isr3

lshw output:

           *-network
                description: Wireless interface
                product: Dual Band Wireless-AC 3168NGW [Stone Peak]
                vendor: Intel Corporation
                physical id: 0
                bus info: pci@0000:02:00.0
                logical name: wlp2s0
                version: 10
                serial: a0:a4:c5:7a:8f:64
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
                configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-47-generic firmware=27.541033.0 ip=192.168.1.37 latency=0 link=yes multicast=yes wireless=IEEE 802.11
                resources: irq:131 memory:91200000-91201fff

top of output from 'iw list':

Wiphy phy0
        max # scan SSIDs: 20
        max scan IEs length: 425 bytes
        max # sched scan SSIDs: 20
        max # match sets: 11
        max # scan plans: 2
        max scan plan interval: 65535
        max scan plan iterations: 254
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports RSN-IBSS.
        Device supports AP-side u-APSD.
        Device supports T-DLS.
        Supported Ciphers:
                * WEP40 (00-0f-ac:1)
                * WEP104 (00-0f-ac:5)
                * TKIP (00-0f-ac:2)
                * CCMP-128 (00-0f-ac:4)
                * CMAC (00-0f-ac:6)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
                 * P2P-client
                 * P2P-GO
                 * P2P-device

output from 'lsb_release -rd':
Description: Ubuntu 18.04.2 LTS
Release: 18.04

> apt-cache policy linux-firmware
linux-firmware:
  Installed: 1.173.3
  Candidate: 1.173.3
  Version table:
 *** 1.173.3 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1.173 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-firmware 1.173.3
ProcVersionSignature: Ubuntu 4.15.0-47.50-generic 4.15.18
Uname: Linux 4.15.0-47-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
Date: Tue Apr 23 13:25:29 2019
Dependencies:

PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: linux-firmware
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Daniel Montgomery (danopato) wrote :
Revision history for this message
Emmanuel Grumbach (egrumbach) wrote :

You can open a bug on intel.

Check this link to see how:

https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/debugging

Revision history for this message
Seth Forshee (sforshee) wrote :

Have you already tested newer firmware to see if it fixes the issue? The latest firmware can be downloaded from here:

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/iwlwifi-3168-29.ucode

Then you need to place the file in /lib/firmware. I recommend you keep a backup of the old file:

# mv /lib/firmware/iwlwifi-3168-29.ucode /lib/firmware/iwlwifi-3168-29.ucode.orig
# mv iwlwifi-3168-29.ucode /lib/firmware

Then reboot to start using the new firmware. Let me know if that fixes the issue. If not, I suggest you follow up filing a bug as Emmanuel suggested as only Intel can help you resolve this issue.

Changed in linux-firmware (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel Montgomery (danopato) wrote :

I tried the update from git.kernel.org, but no luck. Still getting microcode errors.

I'll file a bug with Intel as well, thanks.

Revision history for this message
Stefan Söffing (soeffing) wrote :

I experienced this bug as well after update to Ubuntu 19.04.

Tried newest firmware -29 (and also -27, -22) which does not work either. Tried to go back to -21, but this seems to be no longer supported by the driver.

What seems to help for me is to set bt_coex_active=0, maybe you want to try that as well.

If you file a bug on kernel.org, please post a link over here for reference. Thanks!

Stefan

Revision history for this message
Daniel Montgomery (danopato) wrote :

Thanks for the suggestion, Stefan. I just tried setting bt_coex_active to 0 (and confirmed it took by checking /sys/module/iwlwifi/parameters/bt_coex_active). Unfortunately I still get the errors.

I also tried back-rev firmware earlier with no luck.

Revision history for this message
Emmanuel Grumbach (egrumbach) wrote :

Stefan, please file a bug on Intel. You shouldn't have to disable bt coex.

https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/debugging

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux-firmware (Ubuntu) because there has been no activity for 60 days.]

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.