Bug 198017 - iwlwifi: microcode error and kernel panic with Intel wireless 8260
Summary: iwlwifi: microcode error and kernel panic with Intel wireless 8260
Status: CLOSED DUPLICATE of bug 197279
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: DO NOT USE - assign "network-wireless-intel" component instead
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-28 18:59 UTC by Matthew Middleton
Modified: 2017-11-28 21:56 UTC (History)
0 users

See Also:
Kernel Version: 4.15rc1
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Matthew Middleton 2017-11-28 18:59:10 UTC
When performing a specific network action (SFTP upload to the laptop from AndFTP on Android), I get a repeating Intel microcode error in the kernel log. The kernel will eventually panic if I let the upload continue.

This is a Dell Latitude E5570 running Ubuntu 17.10. I have tested with the stock kernel (4.13) as well as 4.14 and 4.15rc1 from the Ubuntu kernel PPA, also with the same result. Using the bt_coex_active=0 option on the driver had no effect.

I tested with these firmware versions on each kernel, each producing the same result:
f540f07299474a7115d100306b73d5d977c244e9  iwlwifi-8000C-31.ucode
2295b48dc638e8dd7fdb4ceede905fad38d8d043  iwlwifi-8000C-27.ucode
fb997b937c951d3b89468b68fa6d5edc1763f785  iwlwifi-8000C-22.ucode

The problem did not occur on Ubuntu 17.04 (4.10.0.40.40).


~# lspci | grep Wireless
01:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)

[  149.468143] iwlwifi 0000:01:00.0: Queue 2 is active on fifo 3 and stuck for 10000 ms. SW [0, 11] HW [0, 11] FH TRB=0x080305004
[  149.470750] iwlwifi 0000:01:00.0: Microcode SW error detected.  Restarting 0x2000000.
[  149.473461] iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
[  149.475910] iwlwifi 0000:01:00.0: Status: 0x00000100, count: 6
[  149.478371] iwlwifi 0000:01:00.0: Loaded firmware version: 22.391740.0
[  149.480922] iwlwifi 0000:01:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN       
[  149.483477] iwlwifi 0000:01:00.0: 0x10800230 | trm_hw_status0
[  149.486011] iwlwifi 0000:01:00.0: 0x00010000 | trm_hw_status1
[  149.488621] iwlwifi 0000:01:00.0: 0x0000E9C8 | branchlink2
[  149.491150] iwlwifi 0000:01:00.0: 0x00028454 | interruptlink1
[  149.493640] iwlwifi 0000:01:00.0: 0x0000F9F4 | interruptlink2
[  149.496149] iwlwifi 0000:01:00.0: 0x00000000 | data1
[  149.497883] iwlwifi 0000:01:00.0: 0x00000080 | data2
[  149.499497] iwlwifi 0000:01:00.0: 0x07830000 | data3
[  149.501105] iwlwifi 0000:01:00.0: 0x350155B3 | beacon time
[  149.502399] iwlwifi 0000:01:00.0: 0x0F31BA5D | tsf low
[  149.503555] iwlwifi 0000:01:00.0: 0x0000069D | tsf hi
[  149.504705] iwlwifi 0000:01:00.0: 0x000155B2 | time gp1
[  149.505881] iwlwifi 0000:01:00.0: 0x07D09DF6 | time gp2
[  149.506869] iwlwifi 0000:01:00.0: 0x00000000 | uCode revision type
[  149.507752] iwlwifi 0000:01:00.0: 0x00000016 | uCode version major
[  149.508636] iwlwifi 0000:01:00.0: 0x0005FA3C | uCode version minor
[  149.509564] iwlwifi 0000:01:00.0: 0x00000201 | hw version
[  149.510426] iwlwifi 0000:01:00.0: 0x18489008 | board version
[  149.511314] iwlwifi 0000:01:00.0: 0x0A7E001C | hcmd
[  149.512048] iwlwifi 0000:01:00.0: 0x24023002 | isr0
[  149.512768] iwlwifi 0000:01:00.0: 0x00C18000 | isr1
[  149.513473] iwlwifi 0000:01:00.0: 0x08001912 | isr2
[  149.514176] iwlwifi 0000:01:00.0: 0x0041FCC0 | isr3
[  149.514844] iwlwifi 0000:01:00.0: 0x00000000 | isr4
[  149.515533] iwlwifi 0000:01:00.0: 0x00000110 | last cmd Id
[  149.516224] iwlwifi 0000:01:00.0: 0x00000000 | wait_event
[  149.516865] iwlwifi 0000:01:00.0: 0x00000094 | l2p_control
[  149.517468] iwlwifi 0000:01:00.0: 0x00010030 | l2p_duration
[  149.518048] iwlwifi 0000:01:00.0: 0x0000000F | l2p_mhvalid
[  149.518632] iwlwifi 0000:01:00.0: 0x00000004 | l2p_addr_match
[  149.519188] iwlwifi 0000:01:00.0: 0x0000001D | lmpm_pmg_sel
[  149.519785] iwlwifi 0000:01:00.0: 0x25091923 | timestamp
[  149.520355] iwlwifi 0000:01:00.0: 0x0034E0F0 | flow_handler
[  149.521026] iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
[  149.521624] iwlwifi 0000:01:00.0: Status: 0x00000100, count: 7
[  149.522174] iwlwifi 0000:01:00.0: 0x00000070 | ADVANCED_SYSASSERT
[  149.522751] iwlwifi 0000:01:00.0: 0x00000000 | umac branchlink1
[  149.523299] iwlwifi 0000:01:00.0: 0xC008383C | umac branchlink2
[  149.523877] iwlwifi 0000:01:00.0: 0xC008166C | umac interruptlink1
[  149.524471] iwlwifi 0000:01:00.0: 0xC008166C | umac interruptlink2
[  149.525118] iwlwifi 0000:01:00.0: 0x00000800 | umac data1
[  149.525669] iwlwifi 0000:01:00.0: 0xC008166C | umac data2
[  149.526215] iwlwifi 0000:01:00.0: 0xDEADBEEF | umac data3
[  149.526723] iwlwifi 0000:01:00.0: 0x00000016 | umac major
[  149.527257] iwlwifi 0000:01:00.0: 0x0005FA3C | umac minor
[  149.527764] iwlwifi 0000:01:00.0: 0xC0886280 | frame pointer
[  149.528343] iwlwifi 0000:01:00.0: 0xC0886280 | stack pointer
[  149.528929] iwlwifi 0000:01:00.0: 0x0029014E | last host cmd
[  149.529490] iwlwifi 0000:01:00.0: 0x00000000 | isr status reg
[  149.529984] ieee80211 phy0: Hardware restart was requested


~# lsmod
Module                  Size  Used by
iwlmvm                425984  0
iwlwifi               311296  1 iwlmvm
ccm                    20480  6
cmac                   16384  0
bnep                   24576  2
nls_iso8859_1          16384  1
arc4                   16384  2
snd_hda_codec_hdmi     57344  1
intel_rapl             24576  0
dell_laptop            24576  1
dcdbas                 16384  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
snd_hda_codec_realtek   106496  1
coretemp               16384  0
snd_hda_codec_generic    86016  1 snd_hda_codec_realtek
kvm_intel             229376  0
dell_smm_hwmon         16384  0
kvm                   692224  1 kvm_intel
irqbypass              16384  1 kvm
intel_cstate           20480  0
mac80211              921600  1 iwlmvm
snd_hda_intel          45056  8
intel_rapl_perf        16384  0
snd_hda_codec         151552  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
uvcvideo              102400  0
snd_hda_core           90112  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
videobuf2_vmalloc      16384  1 uvcvideo
snd_hwdep              16384  1 snd_hda_codec
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         28672  1 uvcvideo
videobuf2_core         40960  2 uvcvideo,videobuf2_v4l2
snd_pcm               118784  5 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
videodev              204800  3 uvcvideo,videobuf2_core,videobuf2_v4l2
snd_seq_midi           16384  0
media                  45056  2 uvcvideo,videodev
snd_seq_midi_event     16384  1 snd_seq_midi
rtsx_pci_ms            20480  0
snd_rawmidi            40960  1 snd_seq_midi
cfg80211              733184  3 iwlmvm,iwlwifi,mac80211
memstick               16384  1 rtsx_pci_ms
snd_seq                81920  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              36864  2 snd_seq,snd_pcm
joydev                 24576  0
input_leds             16384  0
dell_wmi               16384  0
snd                    94208  26 snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,snd_hda_codec_realtek,snd_pcm
serio_raw              16384  0
dell_smbios            16384  2 dell_wmi,dell_laptop
sparse_keymap          16384  1 dell_wmi
wmi_bmof               16384  0
dell_wmi_descriptor    16384  1 dell_wmi
soundcore              16384  1 snd
shpchp                 40960  0
serdev                 20480  0
mei_me                 45056  0
processor_thermal_device    16384  0
mei                   106496  1 mei_me
intel_pch_thermal      16384  0
intel_soc_dts_iosf     16384  1 processor_thermal_device
bluetooth             626688  7 bnep
ecdh_generic           24576  1 bluetooth
int3403_thermal        16384  0
int340x_thermal_zone    16384  2 int3403_thermal,processor_thermal_device
dell_smo8800           16384  0
acpi_pad              180224  0
intel_lpss_acpi        16384  0
intel_lpss             16384  1 intel_lpss_acpi
mac_hid                16384  0
dell_rbtn              16384  0
int3400_thermal        16384  0
acpi_thermal_rel       16384  1 int3400_thermal
acpi_als               16384  0
kfifo_buf              16384  1 acpi_als
industrialio           77824  2 acpi_als,kfifo_buf
parport_pc             36864  0
ppdev                  20480  0
lp                     20480  0
parport                57344  3 lp,parport_pc,ppdev
ip_tables              28672  0
x_tables               45056  1 ip_tables
autofs4                49152  2
algif_skcipher         16384  0
af_alg                 24576  1 algif_skcipher
dm_crypt               40960  2
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
pcbc                   16384  0
i915                 1900544  35
rtsx_pci_sdmmc         28672  0
aesni_intel           188416  26623
i2c_algo_bit           16384  1 i915
drm_kms_helper        200704  5 i915
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
glue_helper            16384  1 aesni_intel
cryptd                 28672  13312 crypto_simd,ghash_clmulni_intel,aesni_intel
psmouse               167936  0
syscopyarea            16384  1 drm_kms_helper
e1000e                278528  0
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
ptp                    20480  1 e1000e
ahci                   40960  3
drm                   458752  28 i915,drm_kms_helper
pps_core               20480  1 ptp
rtsx_pci               65536  2 rtsx_pci_sdmmc,rtsx_pci_ms
libahci                40960  1 ahci
wmi                    32768  3 dell_wmi,wmi_bmof,dell_wmi_descriptor
i2c_hid                24576  0
pinctrl_sunrisepoint    28672  0
video                  45056  3 dell_wmi,dell_laptop,i915
pinctrl_intel          24576  1 pinctrl_sunrisepoint
hid                   131072  1 i2c_hid
Comment 1 Emmanuel Grumbach 2017-11-28 20:54:21 UTC
This firmware is quite old. Please use a newer version.
Comment 2 Matthew Middleton 2017-11-28 21:21:56 UTC
Here is the log with firmware version 31. Version 34 isn't loaded by the driver included with any of the tested kernels, though it is on the system.

If there is a specific driver/firmware combination you would like to see a test with, let me know.


[  190.043864] iwlwifi 0000:01:00.0: Microcode SW error detected.  Restarting 0x82000000.
[  190.047392] iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
[  190.050665] iwlwifi 0000:01:00.0: Status: 0x00000200, count: 6
[  190.054642] iwlwifi 0000:01:00.0: Loaded firmware version: 31.532993.0
[  190.057680] iwlwifi 0000:01:00.0: 0x00000038 | BAD_COMMAND                 
[  190.060993] iwlwifi 0000:01:00.0: 0x000006B5 | trm_hw_status0
[  190.063780] iwlwifi 0000:01:00.0: 0x00000000 | trm_hw_status1
[  190.066394] iwlwifi 0000:01:00.0: 0x00010040 | branchlink2
[  190.069216] iwlwifi 0000:01:00.0: 0x00028DA6 | interruptlink1
[  190.070785] iwlwifi 0000:01:00.0: 0x00000000 | interruptlink2
[  190.072303] iwlwifi 0000:01:00.0: 0x00EC001C | data1
[  190.074074] iwlwifi 0000:01:00.0: 0x000000ED | data2
[  190.075213] iwlwifi 0000:01:00.0: 0x000000ED | data3
[  190.076355] iwlwifi 0000:01:00.0: 0xA98185F2 | beacon time
[  190.077799] iwlwifi 0000:01:00.0: 0x348C1A12 | tsf low
[  190.078783] iwlwifi 0000:01:00.0: 0x0000069C | tsf hi
[  190.079552] iwlwifi 0000:01:00.0: 0x00000000 | time gp1
[  190.080333] iwlwifi 0000:01:00.0: 0x0AA7BA2A | time gp2
[  190.081451] iwlwifi 0000:01:00.0: 0x00000001 | uCode revision type
[  190.082201] iwlwifi 0000:01:00.0: 0x0000001F | uCode version major
[  190.082977] iwlwifi 0000:01:00.0: 0x00082201 | uCode version minor
[  190.083711] iwlwifi 0000:01:00.0: 0x00000201 | hw version
[  190.084382] iwlwifi 0000:01:00.0: 0x00489008 | board version
[  190.085353] iwlwifi 0000:01:00.0: 0x00EC001C | hcmd
[  190.085985] iwlwifi 0000:01:00.0: 0x80122082 | isr0
[  190.086594] iwlwifi 0000:01:00.0: 0x10800000 | isr1
[  190.087227] iwlwifi 0000:01:00.0: 0x28201802 | isr2
[  190.087863] iwlwifi 0000:01:00.0: 0x004128C4 | isr3
[  190.088532] iwlwifi 0000:01:00.0: 0x00000000 | isr4
[  190.089415] iwlwifi 0000:01:00.0: 0x0A28001C | last cmd Id
[  190.090006] iwlwifi 0000:01:00.0: 0x00000000 | wait_event
[  190.090565] iwlwifi 0000:01:00.0: 0x000000D4 | l2p_control
[  190.091089] iwlwifi 0000:01:00.0: 0x00010020 | l2p_duration
[  190.091635] iwlwifi 0000:01:00.0: 0x00000007 | l2p_mhvalid
[  190.092156] iwlwifi 0000:01:00.0: 0x00000000 | l2p_addr_match
[  190.092980] iwlwifi 0000:01:00.0: 0x0000000D | lmpm_pmg_sel
[  190.093511] iwlwifi 0000:01:00.0: 0x15062149 | timestamp
[  190.094010] iwlwifi 0000:01:00.0: 0x00001828 | flow_handler
[  190.094565] iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
[  190.095045] iwlwifi 0000:01:00.0: Status: 0x00000200, count: 7
[  190.095545] iwlwifi 0000:01:00.0: 0x00000070 | ADVANCED_SYSASSERT
[  190.096041] iwlwifi 0000:01:00.0: 0x00000000 | umac branchlink1
[  190.096856] iwlwifi 0000:01:00.0: 0xC0086B70 | umac branchlink2
[  190.097473] iwlwifi 0000:01:00.0: 0xC00844E0 | umac interruptlink1
[  190.097943] iwlwifi 0000:01:00.0: 0xC00844E0 | umac interruptlink2
[  190.098428] iwlwifi 0000:01:00.0: 0x00000800 | umac data1
[  190.098892] iwlwifi 0000:01:00.0: 0xC00844E0 | umac data2
[  190.099367] iwlwifi 0000:01:00.0: 0xDEADBEEF | umac data3
[  190.099818] iwlwifi 0000:01:00.0: 0x0000001F | umac major
[  190.100352] iwlwifi 0000:01:00.0: 0x00082201 | umac minor
[  190.101125] iwlwifi 0000:01:00.0: 0xC088627C | frame pointer
[  190.101741] iwlwifi 0000:01:00.0: 0xC088627C | stack pointer
[  190.102177] iwlwifi 0000:01:00.0: 0x00EC001C | last host cmd
[  190.102639] iwlwifi 0000:01:00.0: 0x00000000 | isr status reg
[  190.103073] ieee80211 phy0: Hardware restart was requested
[  190.103080] iwlwifi 0000:01:00.0: FW Error notification: type 0x00000000 cmd_id 0x1C
[  190.103541] iwlwifi 0000:01:00.0: FW Error notification: seq 0x00EC service 0x0000001C
[  190.103970] iwlwifi 0000:01:00.0: FW Error notification: timestamp 0x         AA7B622
Comment 3 Emmanuel Grumbach 2017-11-28 21:55:42 UTC
This like https://bugzilla.kernel.org/show_bug.cgi?id=197279
Comment 4 Emmanuel Grumbach 2017-11-28 21:56:41 UTC
I'll close as duplicate now. If you have other issues, please reopen.

*** This bug has been marked as a duplicate of bug 197279 ***

Note You need to log in before you can comment on or make changes to this bug.