Microcode SW error detected. Restarting 0x2000000 on Intel Wifi 6000

Bug #571857 reported by Lukas Koranda
78
This bug affects 14 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04 LTS
Release: 10.04
Codename: lucid

[ 31.997585] iwlagn 0000:02:00.0: firmware: requesting iwlwifi-6000-4.ucode
[ 32.176166] iwlagn 0000:02:00.0: loaded firmware version 9.193.4.1
...
[ 4393.192944] iwlagn 0000:02:00.0: Microcode SW error detected. Restarting 0x2000000.
[ 4393.279298] Registered led device: iwl-phy0::radio
[ 4393.279331] Registered led device: iwl-phy0::assoc
[ 4393.279361] Registered led device: iwl-phy0::RX
[ 4393.279389] Registered led device: iwl-phy0::TX
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: lukask 1881 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xe8e00000 irq 22'
   Mixer name : 'Realtek ID 275'
   Components : 'HDA:10ec0275,104d3f00,00100005'
   Controls : 4
   Simple ctrls : 3
Card1.Amixer.info:
 Card hw:1 'NVidia'/'HDA NVidia at 0xe3080000 irq 16'
   Mixer name : 'Nvidia ID a'
   Components : 'HDA:10de000a,104d3f00,00100100'
   Controls : 0
   Simple ctrls : 0
Card1.Amixer.values:

DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
Frequency: Once a day.
HibernationDevice: RESUME=UUID=47c4072a-b916-4df8-8473-d76706e6cc59
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100406.1)
MachineType: Sony Corporation VPCF11Z1EI
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-21-generic root=UUID=e7ba0edd-e6d9-4481-a06c-5913b4706157 ro quiet splash
ProcEnviron:
 LANG=cs_CZ.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Regression: No
RelatedPackageVersions: linux-firmware 1.34
Reproducible: No
Tags: lucid networking needs-upstream-testing
Uname: Linux 2.6.32-21-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 12/07/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: R0250Y6
dmi.board.asset.tag: N/A
dmi.board.name: VAIO
dmi.board.vendor: Sony Corporation
dmi.board.version: N/A
dmi.chassis.asset.tag: N/A
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrR0250Y6:bd12/07/2009:svnSonyCorporation:pnVPCF11Z1EI:pvrC603MEZ6:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
dmi.product.name: VPCF11Z1EI
dmi.product.version: C603MEZ6
dmi.sys.vendor: Sony Corporation

Revision history for this message
Lukas Koranda (lkoranda) wrote : AlsaDevices.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Lukas Koranda (lkoranda) wrote : BootDmesg.txt

apport information

Revision history for this message
Lukas Koranda (lkoranda) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Lukas Koranda (lkoranda) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Lukas Koranda (lkoranda) wrote : Card1.Codecs.codec.0.txt

apport information

Revision history for this message
Lukas Koranda (lkoranda) wrote : Card1.Codecs.codec.1.txt

apport information

Revision history for this message
Lukas Koranda (lkoranda) wrote : Card1.Codecs.codec.2.txt

apport information

Revision history for this message
Lukas Koranda (lkoranda) wrote : Card1.Codecs.codec.3.txt

apport information

Revision history for this message
Lukas Koranda (lkoranda) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Lukas Koranda (lkoranda) wrote : IwConfig.txt

apport information

Revision history for this message
Lukas Koranda (lkoranda) wrote : Lspci.txt

apport information

Revision history for this message
Lukas Koranda (lkoranda) wrote : Lsusb.txt

apport information

Revision history for this message
Lukas Koranda (lkoranda) wrote : PciMultimedia.txt

apport information

Revision history for this message
Lukas Koranda (lkoranda) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Lukas Koranda (lkoranda) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Lukas Koranda (lkoranda) wrote : ProcModules.txt

apport information

Revision history for this message
Lukas Koranda (lkoranda) wrote : RfKill.txt

apport information

Revision history for this message
Lukas Koranda (lkoranda) wrote : UdevDb.txt

apport information

Revision history for this message
Lukas Koranda (lkoranda) wrote : UdevLog.txt

apport information

Revision history for this message
Lukas Koranda (lkoranda) wrote : WifiSyslog.txt

apport information

affects: ubuntu → linux (Ubuntu)
tags: added: kj-triage
Revision history for this message
Martijn de Nerd (martijn-de-nerd) wrote : Re: Microcode SW error detected. Restarting 0x2000000

Hi,

I have exactly the same kernel error message now and then. It basically kills my wifi until i restart. How can I help?

Revision history for this message
Martijn de Nerd (martijn-de-nerd) wrote :

To be more precise: I have this message quite often, and sometimes it kills my wifi.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I too see this under heavy network load on an up to date Lucid on my Lenovo Thinkpad x201s. This uses the same driver and is the same model but slightly different lspci output. It works mostly ok, then will drop the connection completely, causing network hangs. Eventually it comes back on its own.

Excerpted dmesg:
[ 4.480807] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27k
[ 4.480811] iwlagn: Copyright(c) 2003-2009 Intel Corporation
[ 4.480928] iwlagn 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 4.480959] iwlagn 0000:02:00.0: setting latency timer to 64
[ 4.481066] iwlagn 0000:02:00.0: Detected Intel Wireless WiFi Link 6000 Series 2x2 AGN REV=0x74
[ 4.509030] iwlagn 0000:02:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
[ 4.509096] alloc irq_desc for 34 on node -1
[ 4.509098] alloc kstat_irqs on node -1
[ 4.509119] iwlagn 0000:02:00.0: irq 34 for MSI/MSI-X

Excerpted lspci -vvnn:
02:00.0 Network controller [0280]: Intel Corporation WiFi Link 6000 Series [8086:4239] (rev 35)
 Subsystem: Intel Corporation Device [8086:1311]
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 34
 Region 0: Memory at f2400000 (64-bit, non-prefetchable) [size=8K]
 Capabilities: <access denied>
 Kernel driver in use: iwlagn
 Kernel modules: iwlagn

summary: - Microcode SW error detected. Restarting 0x2000000
+ Microcode SW error detected. Restarting 0x2000000 on Intel Wifi 6000
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

A little more information:

The following bugs indicate this may be a firmware issue when using hwcrypto with the 4965:
http://forums.fedoraforum.org/showthread.php?t=225729
https://bugzilla.redhat.com/show_bug.cgi?id=519154#c8
https://bugzilla.redhat.com/show_bug.cgi?id=519154#c11
http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2052
http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2111

Updating to use swcrypto=1 does not prevent the error and fiddling with the power settings as suggested in the fedora does not help either.

To try swcrypto=1, I did:
$ cat /sys/bus/pci/drivers/iwlagn/0000\:02\:00.0/driver/module/parameters/swcrypto
0

Added the following to /etc/modprobe.d/iwlagn.conf:
# https://bugs.launchpad.net/ubuntu/+source/linux/+bug/571857
options iwlagn swcrypto=1

Then did:
$ sudo rmmod iwlagn
$ sudo modprobe iwlagn
$ cat /sys/bus/pci/drivers/iwlagn/0000\:02\:00.0/driver/module/parameters/swcrypto
1

Revision history for this message
meaculpa (marc-debruin) wrote :
Download full text (3.5 KiB)

Although my machine has a different wifi card (same as comment #23), I have the same problem. I can easily reproduce it because on my new HP 8540p it never ever worked. I have had mixed results with adding swcrypto=1 to the driver: sometimes it works, sometimes it doesn't.

However, *if* it works, it works like a charm, and continues to work during that session.

I'm using a 10.04 live CD, 32 bits.

Some extracts from the log:
[ 83.731977] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27k
[ 83.731980] iwlagn: Copyright(c) 2003-2009 Intel Corporation
[ 83.732053] iwlagn 0000:44:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[ 83.732083] iwlagn 0000:44:00.0: setting latency timer to 64
[ 83.732163] iwlagn 0000:44:00.0: Detected Intel Wireless WiFi Link 6000 Series 2x2 AGN REV=0x74
[ 83.759264] iwlagn 0000:44:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
[ 83.759322] alloc irq_desc for 36 on node -1
[ 83.759323] alloc kstat_irqs on node -1
[ 83.759341] iwlagn 0000:44:00.0: irq 36 for MSI/MSI-X
[ 88.566788] iwlagn 0000:44:00.0: firmware: requesting iwlwifi-6000-4.ucode
[ 88.987092] iwlagn 0000:44:00.0: loaded firmware version 9.193.4.1
[ 89.027792] iwlagn 0000:44:00.0: Microcode SW error detected. Restarting 0x2000000.
[ 89.027810] iwlagn 0000:44:00.0: Error -5 iteration 0
[ 89.522782] iwlagn 0000:44:00.0: Error sending CALIBRATION_CFG_CMD: time out after 500ms.
[ 92.982872] iwlagn 0000:44:00.0: START_ALIVE timeout after 4000ms.
[ 95.045797] iwlagn 0000:44:00.0: Microcode SW error detected. Restarting 0x2000000.
[ 95.045808] iwlagn 0000:44:00.0: Error -5 iteration 0
[ 95.545331] iwlagn 0000:44:00.0: Error sending REPLY_BT_CONFIG: time out after 500ms.
[ 96.044143] iwlagn 0000:44:00.0: Error sending REPLY_RXON: time out after 500ms.
[ 96.044149] iwlagn 0000:44:00.0: Error setting new RXON (-110)
[ 96.542190] iwlagn 0000:44:00.0: Error sending REPLY_CT_KILL_CONFIG_CMD: time out after 500ms.
[ 96.542196] iwlagn 0000:44:00.0: REPLY_CT_KILL_CONFIG_CMD failed
[ 96.542250] Registered led device: iwl-phy0::radio
[ 96.542271] Registered led device: iwl-phy0::assoc
[ 96.542289] Registered led device: iwl-phy0::RX
[ 96.542308] Registered led device: iwl-phy0::TX
[ 97.041800] iwlagn 0000:44:00.0: Error sending POWER_TABLE_CMD: time out after 500ms.
[ 97.041806] iwlagn 0000:44:00.0: set power fail, ret = -110
[ 97.077679] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 97.120198] iwlagn 0000:44:00.0: Microcode SW error detected. Restarting 0x2000000.
[ 97.120243] iwlagn 0000:44:00.0: Error -5 iteration 0
[ 97.616190] iwlagn 0000:44:00.0: Error sending REPLY_BT_CONFIG: time out after 500ms.
[ 98.114521] iwlagn 0000:44:00.0: Error sending REPLY_RXON: time out after 500ms.
[ 98.114527] iwlagn 0000:44:00.0: Error setting new RXON (-110)
[ 98.613788] iwlagn 0000:44:00.0: Error sending REPLY_CT_KILL_CONFIG_CMD: time out after 500ms.
[ 98.613795] iwlagn 0000:44:00.0: REPLY_CT_KILL_CONFIG_CMD failed
[ 98.613851] Registered led device: iwl-phy0::radio
[ 98.613875] Registered led device: iwl-phy0::assoc
[ 98.6138...

Read more...

Revision history for this message
Kenrick Bingham (loxo) wrote :

Same symptoms and same hardware as in #23

Revision history for this message
penalvch (penalvch) wrote :

Lukas Koranda, thank you for reporting this and helping make Ubuntu better. This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
penalvch (penalvch)
tags: added: lucid needs-upstream-testing
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Closing this bug with Won't fix as this kernel / release is no longer supported.
Please feel free to open a new bug report if you're still experiencing this on a newer release (Bionic 18.04.3 / Disco 19.04)
Thanks!

Changed in linux (Ubuntu):
status: Incomplete → Won't Fix
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.