Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Software] Network not working with new wifi card - Microcode SW error detected. Restarting 0x2000000.

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
seram
Posts: 5
Joined: 2023-02-04 12:40

[Software] Network not working with new wifi card - Microcode SW error detected. Restarting 0x2000000.

#1 Post by seram »

Hello,
Recently I have switched from a Realtek 7921 to an Intel AC 3160 Wifi Card on my laptop. The first boot I did was using ArcoLinux and I had the same issue that I have now, I'll explain it after, nevertheless this issue is focus on Debian. After that I decided to install Debian Bullseye Stable and WiFi worked and works perfectly, the device is detected and I can use my internet connection. However I decided to upgrade to Debian Testing and problem came back. Exactly the same problem as in ArcoLinux so I guess it must be an issue with iwlwifi. I've tried the following command:

Code: Select all

sudo tee /etc/modprobe.d/iwlwifi.conf <<< "options iwlwifi 11n_disable=8"
but it didn´t make any difference. I leave here some information about the system, if any further information is needed let me now.

Code: Select all

$ uname -a
Linux debPC 6.1.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.7-1 (2023-01-18) x86_64 GNU/Linux
dmesg repeats the same error so I don't post the full command

Code: Select all

sudo dmesg | grep iwlwifi
[    3.612564] iwlwifi 0000:2d:00.0: enabling device (0000 -> 0002)
[    3.614991] iwlwifi 0000:2d:00.0: firmware: direct-loading firmware iwlwifi-3160-17.ucode
[    3.615270] iwlwifi 0000:2d:00.0: loaded firmware version 17.3216344376.0 3160-17.ucode op_mode iwlmvm
[    3.911505] iwlwifi 0000:2d:00.0: Detected Intel(R) Dual Band Wireless AC 3160, REV=0x164
[    3.958971] iwlwifi 0000:2d:00.0: base HW address: d0:7e:35:92:26:dd, OTP minor version: 0x0
[    4.073204] iwlwifi 0000:2d:00.0 wlo1: renamed from wlan0
[    4.539647] iwlwifi 0000:2d:00.0: Microcode SW error detected.  Restarting 0x2000000.
[    4.539777] iwlwifi 0000:2d:00.0: Start IWL Error Log Dump:
[    4.539778] iwlwifi 0000:2d:00.0: Transport status: 0x0000004B, valid: 6
[    4.539779] iwlwifi 0000:2d:00.0: Loaded firmware version: 17.3216344376.0 3160-17.ucode
[    4.539781] iwlwifi 0000:2d:00.0: 0x00000038 | BAD_COMMAND                 
[    4.539782] iwlwifi 0000:2d:00.0: 0x000002F0 | trm_hw_status0
[    4.539783] iwlwifi 0000:2d:00.0: 0x00000000 | trm_hw_status1
[    4.539783] iwlwifi 0000:2d:00.0: 0x00000B30 | branchlink2
[    4.539784] iwlwifi 0000:2d:00.0: 0x00014908 | interruptlink1
[    4.539785] iwlwifi 0000:2d:00.0: 0x00000000 | interruptlink2
[    4.539786] iwlwifi 0000:2d:00.0: 0xDEADBEEF | data1
[    4.539787] iwlwifi 0000:2d:00.0: 0xDEADBEEF | data2
[    4.539787] iwlwifi 0000:2d:00.0: 0xDEADBEEF | data3
[    4.539788] iwlwifi 0000:2d:00.0: 0x003FEEC0 | beacon time
[    4.539789] iwlwifi 0000:2d:00.0: 0x0000113E | tsf low
[    4.539790] iwlwifi 0000:2d:00.0: 0x00000000 | tsf hi
[    4.539790] iwlwifi 0000:2d:00.0: 0x00000000 | time gp1
[    4.539791] iwlwifi 0000:2d:00.0: 0x0000113F | time gp2
[    4.539792] iwlwifi 0000:2d:00.0: 0x00000000 | uCode revision type
[    4.539792] iwlwifi 0000:2d:00.0: 0x00000011 | uCode version major
[    4.539793] iwlwifi 0000:2d:00.0: 0xBFB58538 | uCode version minor
[    4.539794] iwlwifi 0000:2d:00.0: 0x00000164 | hw version
[    4.539795] iwlwifi 0000:2d:00.0: 0x00C89204 | board version
[    4.539795] iwlwifi 0000:2d:00.0: 0x001D0C01 | hcmd
[    4.539796] iwlwifi 0000:2d:00.0: 0x00022080 | isr0
[    4.539797] iwlwifi 0000:2d:00.0: 0x00000000 | isr1
[    4.539798] iwlwifi 0000:2d:00.0: 0x00000002 | isr2
[    4.539798] iwlwifi 0000:2d:00.0: 0x004000C0 | isr3
[    4.539799] iwlwifi 0000:2d:00.0: 0x00000000 | isr4
[    4.539800] iwlwifi 0000:2d:00.0: 0x01000112 | last cmd Id
[    4.539800] iwlwifi 0000:2d:00.0: 0x00000000 | wait_event
[    4.539801] iwlwifi 0000:2d:00.0: 0x00001896 | l2p_control
[    4.539802] iwlwifi 0000:2d:00.0: 0x00000000 | l2p_duration
[    4.539803] iwlwifi 0000:2d:00.0: 0x00000000 | l2p_mhvalid
[    4.539803] iwlwifi 0000:2d:00.0: 0x00000000 | l2p_addr_match
[    4.539804] iwlwifi 0000:2d:00.0: 0x00000007 | lmpm_pmg_sel
[    4.539805] iwlwifi 0000:2d:00.0: 0x15041745 | timestamp
[    4.539806] iwlwifi 0000:2d:00.0: 0x00001828 | flow_handler
[    4.539807] iwlwifi 0000:2d:00.0: Fseq Registers:
[    4.539827] iwlwifi 0000:2d:00.0: 0x00000000 | FSEQ_ERROR_CODE
[    4.539832] iwlwifi 0000:2d:00.0: 0x00000000 | FSEQ_TOP_INIT_VERSION
[    4.539842] iwlwifi 0000:2d:00.0: 0x00000000 | FSEQ_CNVIO_INIT_VERSION
[    4.539847] iwlwifi 0000:2d:00.0: 0x00000000 | FSEQ_OTP_VERSION
[    4.539852] iwlwifi 0000:2d:00.0: 0x00000000 | FSEQ_TOP_CONTENT_VERSION
[    4.539857] iwlwifi 0000:2d:00.0: 0x00000000 | FSEQ_ALIVE_TOKEN
[    4.539861] iwlwifi 0000:2d:00.0: 0x00000000 | FSEQ_CNVI_ID
[    4.539866] iwlwifi 0000:2d:00.0: 0x00000000 | FSEQ_CNVR_ID
[    4.539871] iwlwifi 0000:2d:00.0: 0x00000000 | CNVI_AUX_MISC_CHIP
[    4.539875] iwlwifi 0000:2d:00.0: 0x00000000 | CNVR_AUX_MISC_CHIP
[    4.539880] iwlwifi 0000:2d:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[    4.539884] iwlwifi 0000:2d:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[    4.539886] iwlwifi 0000:2d:00.0: Starting mac, retry will be triggered anyway
[    4.539889] iwlwifi 0000:2d:00.0: FW error in SYNC CMD UNKNOWN
[    4.539902]  iwl_trans_txq_send_hcmd+0x376/0x380 [iwlwifi]
[    4.539917]  iwl_trans_send_cmd+0x62/0xf0 [iwlwifi]
[    4.540149] iwlwifi 0000:2d:00.0: Failed to send MAC context (action:1): -5
[    4.540152] iwlwifi 0000:2d:00.0: Failed to disable queue 1 (ret=-5)
[    4.540153] iwlwifi 0000:2d:00.0: Failed to remove station. Id=1
[    4.540154] iwlwifi 0000:2d:00.0: Failed sending remove station
journalctl -p 3 -b show the following: https://pastebin.com/HXcgpuzw

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: [Software] Network not working with new wifi card - Microcode SW error detected. Restarting 0x2000000.

#2 Post by Aki »

Hello,
seram wrote: 2023-02-04 13:05 [...] I've tried the following command:

Code: Select all

sudo tee /etc/modprobe.d/iwlwifi.conf <<< "options iwlwifi 11n_disable=8"
but it didn´t make any difference. I leave here some information about the system, if any further information is needed let me now.

Code: Select all

$ uname -a
Linux debPC 6.1.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.7-1 (2023-01-18) x86_64 GNU/Linux
dmesg repeats the same error so I don't post the full command

Code: Select all

sudo dmesg | grep iwlwifi
[    3.612564] iwlwifi 0000:2d:00.0: enabling device (0000 -> 0002)
[    3.614991] iwlwifi 0000:2d:00.0: firmware: direct-loading firmware iwlwifi-3160-17.ucode
[    3.615270] iwlwifi 0000:2d:00.0: loaded firmware version 17.3216344376.0 3160-17.ucode op_mode iwlmvm
[    3.911505] iwlwifi 0000:2d:00.0: Detected Intel(R) Dual Band Wireless AC 3160, REV=0x164
[    3.958971] iwlwifi 0000:2d:00.0: base HW address: d0:7e:35:92:26:dd, OTP minor version: 0x0
[    4.073204] iwlwifi 0000:2d:00.0 wlo1: renamed from wlan0
[    4.539647] iwlwifi 0000:2d:00.0: Microcode SW error detected.  Restarting 0x2000000.
[    4.539777] iwlwifi 0000:2d:00.0: Start IWL Error Log Dump:
[    4.539778] iwlwifi 0000:2d:00.0: Transport status: 0x0000004B, valid: 6
[    4.539779] iwlwifi 0000:2d:00.0: Loaded firmware version: 17.3216344376.0 3160-17.ucode
[..]
Have you update the initramfs to make the iwlwifi option configuration active ? You can do it with the following command issued as root user:

Code: Select all

update-initramfs -u
What is the installed version of the package firmware-iwlwifi ? You can verify with the following command:

Code: Select all

apt show firmware-iwlwifi
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

seram
Posts: 5
Joined: 2023-02-04 12:40

Re: [Software] Network not working with new wifi card - Microcode SW error detected. Restarting 0x2000000.

#3 Post by seram »

Thanks for your answer,

update-initramfs -u doesn't solved the issue.

The current version installed for firmware-iwlwifi is 20210315-3.
Last edited by seram on 2023-02-04 21:37, edited 1 time in total.

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: [Software] Network not working with new wifi card - Microcode SW error detected. Restarting 0x2000000.

#4 Post by Aki »

Hello,
seram wrote: 2023-02-04 13:05 [..] I decided to upgrade to Debian Testing [..]
seram wrote: 2023-02-04 21:36 [..] The current version installed for firmware-iwlwifi is 20210315-3.
The latest version of firmware-iwlwifi for bookworm is:

Code: Select all

$ apt show firmware-iwlwifi
Package: firmware-iwlwifi
Version: 20221214-5
Priority: optional
Section: non-free-firmware/kernel
Source: firmware-nonfree
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Installed-Size: 163 MB
If you want to install it, you can use these commands as root user:

Code: Select all

wget http://deb.debian.org/debian/pool/non-free-firmware/f/firmware-nonfree/firmware-iwlwifi_20221214-5_all.deb
dpkg -i firmware-iwlwifi_20221214-5_all.deb
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

seram
Posts: 5
Joined: 2023-02-04 12:40

Re: [Software] Network not working with new wifi card - Microcode SW error detected. Restarting 0x2000000.

#5 Post by seram »

Hello,
I have installed the latest verison of firmware-iwlwifi, as you said, and I'm still having the same issue. Errors doesn't seem to have changed.

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: [Software] Network not working with new wifi card - Microcode SW error detected. Restarting 0x2000000.

#6 Post by Aki »

Hello,
Just to be scrupulous, you could verify if the bookworm's firmware-iwlwifi package is not corrupted. You can use the following command (after installing debsums package):

Code: Select all

debsums -ac firmware-iwlwifi
If you receive no output, the package is sane.

You reported that the iwlwifi module worked with Debian Bullseye (stable) and that the error appeared after upgrading to Debian Bookworm using firmware-iwlwifi version 20210315-3. This version is currently shipped with Debian Stable. Therefore it seems that you used the same firmware before and after the issue appeared. This clue could point to a linux kernel issue with the new Bookworm's kernel version 6.1.7-1, but I haven't found specific reports about it, up to now and the message error clearly states that's a software firmware error.

It is worth to modify your apt configuration to include the new "non-free-firmware" Debian's repository section (recently introduced in Debian Bookworm [1]) to update all the required firmware; you can do it adding the "non-free-firmware" section to /etc/apt/sources.list , for example:

Code: Select all

deb http://deb.debian.org/debian/ bookworm main non-free-firmware
then you can issue the following commands (as root user):

Code: Select all

apt update
apt upgrade
is unlikely, but perhaps updating other necessary firmware might improve the problem.

[1] https://lists.debian.org/debian-devel-a ... 00001.html
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

seram
Posts: 5
Joined: 2023-02-04 12:40

Re: [Software] Network not working with new wifi card - Microcode SW error detected. Restarting 0x2000000.

#7 Post by seram »

Hello,
When running debsums I got no output, so the packages is sane.
I have modified the sources.list and updated the system and errors haven't dissapeared.
Since these errors were shown in other distros such as EndeavourOS and ArcoLinux I'll ask for help there too.

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: [Software] Network not working with new wifi card - Microcode SW error detected. Restarting 0x2000000.

#8 Post by Aki »

Hello,
seram wrote: 2023-02-05 11:46 Since these errors were shown in other distros such as EndeavourOS and ArcoLinux I'll ask for help there too.
I am sorry I could not help you solve the malfunction for now.
Please, if you can, report here the links to the opened threads in other forums and report back the solution (if any).
Last edited by Aki on 2023-02-05 13:56, edited 1 time in total.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

seram
Posts: 5
Joined: 2023-02-04 12:40

Re: [Software] Network not working with new wifi card - Microcode SW error detected. Restarting 0x2000000.

#9 Post by seram »

Thanks for all the help given,
The opened thread on ArcoLinux's forum can be found here https://arcolinuxforum.com/viewtopic.php?t=3419

Post Reply