iwlwifi: Microcode SW error detected. Restarting 0x2000000

Bug #1710390 reported by Rob Peters
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
Incomplete
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned
Cosmic
Fix Released
Undecided
Unassigned

Bug Description

This bug was resolved (see 1588632) On ubuntu 17.04 recent update from kernel 4.10.0-30-generic to 4.10.0-32-generic has resulted in a regression, reintroducing this bug.

iwlwifi 0000:03:00.0: Microcode SW error detected. Restarting 0x2000000.
[ 12.294262] iwl_pcie_irq_handle_error+0x39/0x160 [iwlwifi]
---
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: janice 1664 F.... pulseaudio
CurrentDesktop: XFCE
DistroRelease: Ubuntu 17.04
HibernationDevice: RESUME=UUID=be1fb904-a9f5-4c1f-a154-349c0a6e63de
InstallationDate: Installed on 2016-07-12 (396 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160712)
MachineType: Dell Inc. Dell System XPS 15Z
Package: linux (not installed)
ProcFB:
 0 nouveaufb
 1 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-30-generic root=UUID=c280c3d0-6ec1-4080-9d10-74acc2399bad ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.10.0-30.34-generic 4.10.17
RelatedPackageVersions:
 linux-restricted-modules-4.10.0-30-generic N/A
 linux-backports-modules-4.10.0-30-generic N/A
 linux-firmware 1.164.1
Tags: zesty
Uname: Linux 4.10.0-30-generic x86_64
UpgradeStatus: Upgraded to zesty on 2017-03-11 (153 days ago)
UserGroups: adm cdrom dip lpadmin plugdev root sambashare sudo www-data
_MarkForUpload: True
dmi.bios.date: 09/07/2012
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A12
dmi.board.name: 0XK6HV
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnDellInc.:bvrA12:bd09/07/2012:svnDellInc.:pnDellSystemXPS15Z:pvr:rvnDellInc.:rn0XK6HV:rvrA00:cvnDellInc.:ct8:cvr0.1:
dmi.product.name: Dell System XPS 15Z
dmi.sys.vendor: Dell Inc.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1710390

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: zesty
Revision history for this message
Rob Peters (makitso) wrote : Re: [Bug 1710390] [NEW] iwlwifi: Microcode SW error detected. Restarting 0x2000000

Driver is Intel Corporation Centrino Advanced-N 6230

On Sat, Aug 12, 2017 at 9:43 AM, makitso <email address hidden> wrote:

> Public bug reported:
>
> This bug was resolved (see 1588632) On ubuntu 17.04 recent update from
> kernel 4.10.0-30-generic to 4.10.0-32-generic has resulted in a
> regression, reintroducing this bug.
>
> iwlwifi 0000:03:00.0: Microcode SW error detected. Restarting 0x2000000.
> [ 12.294262] iwl_pcie_irq_handle_error+0x39/0x160 [iwlwifi]
>
> ** Affects: linux (Ubuntu)
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1710390
>
> Title:
> iwlwifi: Microcode SW error detected. Restarting 0x2000000
>
> Status in linux package in Ubuntu:
> New
>
> Bug description:
> This bug was resolved (see 1588632) On ubuntu 17.04 recent update
> from kernel 4.10.0-30-generic to 4.10.0-32-generic has resulted in a
> regression, reintroducing this bug.
>
> iwlwifi 0000:03:00.0: Microcode SW error detected. Restarting 0x2000000.
> [ 12.294262] iwl_pcie_irq_handle_error+0x39/0x160 [iwlwifi]
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/
> 1710390/+subscriptions
>

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Rob Peters (makitso) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Rob Peters (makitso) wrote : CRDA.txt

apport information

Revision history for this message
Rob Peters (makitso) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Rob Peters (makitso) wrote : IwConfig.txt

apport information

Revision history for this message
Rob Peters (makitso) wrote : JournalErrors.txt

apport information

Revision history for this message
Rob Peters (makitso) wrote : Lspci.txt

apport information

Revision history for this message
Rob Peters (makitso) wrote : Lsusb.txt

apport information

Revision history for this message
Rob Peters (makitso) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Rob Peters (makitso) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Rob Peters (makitso) wrote : ProcEnviron.txt

apport information

Revision history for this message
Rob Peters (makitso) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Rob Peters (makitso) wrote : ProcModules.txt

apport information

Revision history for this message
Rob Peters (makitso) wrote : PulseList.txt

apport information

Revision history for this message
Rob Peters (makitso) wrote : RfKill.txt

apport information

Revision history for this message
Rob Peters (makitso) wrote : UdevDb.txt

apport information

Revision history for this message
Rob Peters (makitso) wrote : WifiSyslog.txt

apport information

Revision history for this message
Rob Peters (makitso) wrote :

Ok, seems that there is a workaround for this problem. Updating /etc/NetworkManager/NetworkManager.conf and adding this to the file did solve the problem.

[device]
wifi.scan-rand-mac-address=no

Changed in linux (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Nermeen Hussein (nhm) wrote :

I have this bug. Can someone pls explain to me how to implement this workaround in more details?

===
Updating /etc/NetworkManager/NetworkManager.conf and adding this to the file did solve the problem.

[device]
wifi.scan-rand-mac-address=no
===

I'm still finding my way around linux and ubuntu so most of the things you say seem too technical for me to understand. Thanks a lot.

Revision history for this message
Torsten Krah (tkrah) wrote :
Download full text (3.8 KiB)

I still have this:

[ 9438.934175] iwlwifi 0000:3d:00.0: Error sending CMD_DTS_MEASUREMENT_TRIGGER_WIDE: time out after 2000ms.
[ 9438.934188] iwlwifi 0000:3d:00.0: Current CMD queue read_ptr 218 write_ptr 219
[ 9438.935409] iwlwifi 0000:3d:00.0: HCMD_ACTIVE already clear for command CMD_DTS_MEASUREMENT_TRIGGER_WIDE
[ 9438.935446] iwlwifi 0000:3d:00.0: Microcode SW error detected. Restarting 0x2000000.
[ 9438.935526] iwlwifi 0000:3d:00.0: Start IWL Error Log Dump:
[ 9438.935536] iwlwifi 0000:3d:00.0: Status: 0x00000100, count: 6
[ 9438.935542] iwlwifi 0000:3d:00.0: Loaded firmware version: 36.e91976c0.0
[ 9438.935549] iwlwifi 0000:3d:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN
[ 9438.935554] iwlwifi 0000:3d:00.0: 0x000002F0 | trm_hw_status0
[ 9438.935560] iwlwifi 0000:3d:00.0: 0x00000000 | trm_hw_status1
[ 9438.935565] iwlwifi 0000:3d:00.0: 0x000248DC | branchlink2
[ 9438.935570] iwlwifi 0000:3d:00.0: 0x0003A7DA | interruptlink1
[ 9438.935575] iwlwifi 0000:3d:00.0: 0x0003A7DA | interruptlink2
[ 9438.935581] iwlwifi 0000:3d:00.0: 0x00000000 | data1
[ 9438.935586] iwlwifi 0000:3d:00.0: 0x00000080 | data2
[ 9438.935591] iwlwifi 0000:3d:00.0: 0x07830000 | data3
[ 9438.935596] iwlwifi 0000:3d:00.0: 0x00000000 | beacon time
[ 9438.935602] iwlwifi 0000:3d:00.0: 0x31919AD7 | tsf low
[ 9438.935607] iwlwifi 0000:3d:00.0: 0x00000002 | tsf hi
[ 9438.935612] iwlwifi 0000:3d:00.0: 0x00000000 | time gp1
[ 9438.935617] iwlwifi 0000:3d:00.0: 0x31919AD8 | time gp2
[ 9438.935623] iwlwifi 0000:3d:00.0: 0x00000001 | uCode revision type
[ 9438.935628] iwlwifi 0000:3d:00.0: 0x00000024 | uCode version major
[ 9438.935633] iwlwifi 0000:3d:00.0: 0xE91976C0 | uCode version minor
[ 9438.935638] iwlwifi 0000:3d:00.0: 0x00000230 | hw version
[ 9438.935644] iwlwifi 0000:3d:00.0: 0x00489000 | board version
[ 9438.935649] iwlwifi 0000:3d:00.0: 0x00DA0400 | hcmd
[ 9438.935654] iwlwifi 0000:3d:00.0: 0x00022000 | isr0
[ 9438.935659] iwlwifi 0000:3d:00.0: 0x00800000 | isr1
[ 9438.935665] iwlwifi 0000:3d:00.0: 0x08001802 | isr2
[ 9438.935670] iwlwifi 0000:3d:00.0: 0x00400080 | isr3
[ 9438.935675] iwlwifi 0000:3d:00.0: 0x00000000 | isr4
[ 9438.935680] iwlwifi 0000:3d:00.0: 0x00DA0400 | last cmd Id
[ 9438.935685] iwlwifi 0000:3d:00.0: 0x00000000 | wait_event
[ 9438.935691] iwlwifi 0000:3d:00.0: 0x0000D82D | l2p_control
[ 9438.935696] iwlwifi 0000:3d:00.0: 0x00000000 | l2p_duration
[ 9438.935701] iwlwifi 0000:3d:00.0: 0x00000000 | l2p_mhvalid
[ 9438.935706] iwlwifi 0000:3d:00.0: 0x00000000 | l2p_addr_match
[ 9438.935711] iwlwifi 0000:3d:00.0: 0x0000008F | lmpm_pmg_sel
[ 9438.935717] iwlwifi 0000:3d:00.0: 0x28031619 | timestamp
[ 9438.935722] iwlwifi 0000:3d:00.0: 0x00344860 | flow_handler
[ 9438.935921] iwlwifi 0000:3d:00.0: 0x00000000 | ADVANCED_SYSASSERT
[ 9438.935927] iwlwifi 0000:3d:00.0: 0x00000000 | umac branchlink1
[ 9438.935932] iwlwifi 0000:3d:00.0: 0x00000000 | umac branchlink2
[ 9438.935937] iwlwifi 0000:3d:00.0: 0x00000000 | umac interruptlink1
[ 9438.935942] iwlwifi 0000:3d:00.0: 0x00000000 | umac interruptlink2
[ 9438.935947] iwlwifi 0000:3d:00.0: 0x00000000 | umac data1
[ 9438.935952] iwlwifi 0000:3d:00.0: 0x00000000 | umac data2
[ 9438.935957] iwlwifi 0000:3d:00...

Read more...

Revision history for this message
Torsten Krah (tkrah) wrote :

Hardware is:

[ 16.257444] iwlwifi 0000:3d:00.0: loaded firmware version 36.e91976c0.0 op_mode iwlmvm
[ 16.282258] iwlwifi 0000:3d:00.0: Detected Intel(R) Dual Band Wireless AC 8265, REV=0x230

Changed in linux (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

This is actually about two bugs in one and related to bug 1804841
Lets disambiguate them.

One can be avoided by a config in network-manager as mentioned in comment #19
Lets handle this bug here as "that one" - at least in Bionic and later - fixed by being set by default.

This was initially fixed in 1.12.4-1ubuntu1
From changelog:
        - NetworkManager.conf: disable MAC randomization feature. There is no
          easy way for desktop users to disable this feature yet. And there are
          reports that it doesn't work well with some systems.
And also became part of Bionic in 1.10.6-2ubuntu1

I'm marking this bug fixed since Bionic due to that.

---

Everyone else still affected despite this workaround has another yet unclarified issue.
This shall be tracked in bug 1804841

Changed in linux (Ubuntu Bionic):
status: New → Fix Released
Changed in linux (Ubuntu Cosmic):
status: New → Fix Released
Changed in linux (Ubuntu):
status: Confirmed → Fix Released
Changed in linux (Ubuntu Xenial):
status: New → Incomplete
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.