Re: New laptop: AC 9461/9560: iwm or iwlwifi?

From: Andrea Venturoli <ml_at_netfence.it>
Date: Sat, 29 Oct 2022 16:44:48 UTC
On 10/29/22 18:39, Andrea Venturoli wrote:
> On 10/28/22 14:58, Bjoern A. Zeeb wrote:
> 
> Hello.

P.S.

FYI:
I just issued "ifconfig wlan0 destroy" (in order to the connect a wired 
interface) and got:

> Oct 29 18:39:35 hector kernel: iwlwifi0: Microcode SW error detected. Restarting 0x0.
> Oct 29 18:39:35 hector kernel: iwlwifi0: Start IWL Error Log Dump:
> Oct 29 18:39:35 hector kernel: iwlwifi0: Transport status: 0x0000004B, valid: 6
> Oct 29 18:39:35 hector kernel: iwlwifi0: Loaded firmware version: 46.9d0122c0.0 9000-pu-b0-jf-b0-46.ucode
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x00003418 | ADVANCED_SYSASSERT          
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x000022F0 | trm_hw_status0
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x00000000 | trm_hw_status1
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x0048961A | branchlink2
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x0047905E | interruptlink1
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x00000000 | interruptlink2
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0xDEADBEEF | data1
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0xDEADBEEF | data2
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0xDEADBEEF | data3
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x8100D1B2 | beacon time
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0xB98B2C7D | tsf low
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x000009C4 | tsf hi
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x00000000 | time gp1
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x61141474 | time gp2
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x00000001 | uCode revision type
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x0000002E | uCode version major
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x9D0122C0 | uCode version minor
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x00000312 | hw version
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x00C89002 | board version
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x80E2F404 | hcmd
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x00022000 | isr0
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x00000000 | isr1
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x08201802 | isr2
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x00417CC0 | isr3
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x00000000 | isr4
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x8C03009D | last cmd Id
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x0001182C | wait_event
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x00000080 | l2p_control
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x00000020 | l2p_duration
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x0000003F | l2p_mhvalid
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x000000CE | l2p_addr_match
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x0000000F | lmpm_pmg_sel
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x03061126 | timestamp
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x0000688C | flow_handler
> Oct 29 18:39:35 hector kernel: iwlwifi0: Start IWL Error Log Dump:
> Oct 29 18:39:35 hector kernel: iwlwifi0: Transport status: 0x0000004B, valid: 7
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x20000070 | NMI_INTERRUPT_LMAC_FATAL
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x00000000 | umac branchlink1
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0xC0088A1A | umac branchlink2
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0xC0084458 | umac interruptlink1
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0xC0084458 | umac interruptlink2
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x00000800 | umac data1
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0xC0084458 | umac data2
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0xDEADBEEF | umac data3
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x0000002E | umac major
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x9D0122C0 | umac minor
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x6114148E | frame pointer
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0xC088627C | stack pointer
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x00C70128 | last host cmd
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x00000000 | isr status reg
> Oct 29 18:39:35 hector kernel: iwlwifi0: IML/ROM dump:
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x00000000 | IML/ROM error/state
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x00000003 | IML/ROM data1
> Oct 29 18:39:35 hector kernel: iwlwifi0: Fseq Registers:
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0xA787AE18 | FSEQ_ERROR_CODE
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x00000000 | FSEQ_TOP_INIT_VERSION
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0xE00855B1 | FSEQ_CNVIO_INIT_VERSION
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x0000A384 | FSEQ_OTP_VERSION
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x06407398 | FSEQ_TOP_CONTENT_VERSION
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0xCA530F98 | FSEQ_ALIVE_TOKEN
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x3DBB127F | FSEQ_CNVI_ID
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0xAC7F3E81 | FSEQ_CNVR_ID
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x01000100 | CNVI_AUX_MISC_CHIP
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x00000201 | CNVR_AUX_MISC_CHIP
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0x0000485B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
> Oct 29 18:39:35 hector kernel: iwlwifi0: 0xA5A5A5A2 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
> Oct 29 18:39:35 hector kernel: iwlwifi0: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
> Oct 29 18:39:35 hector kernel: iwlwifi0: FW error in SYNC CMD MAC_CONTEXT_CMD
> Oct 29 18:39:35 hector kernel: #1 0xffffffff82361084 at iwl_trans_txq_send_hcmd+0x414
> Oct 29 18:39:35 hector kernel: #2 0xffffffff823082ee at iwl_trans_send_cmd+0xce
> Oct 29 18:39:35 hector kernel: #3 0xffffffff82348009 at iwl_mvm_send_cmd_pdu+0x49
> Oct 29 18:39:35 hector kernel: #4 0xffffffff82317f7d at iwl_mvm_mac_ctxt_remove+0x7d
> Oct 29 18:39:35 hector kernel: #5 0xffffffff8231bcd2 at iwl_mvm_mac_remove_interface+0x1b2
> Oct 29 18:39:35 hector kernel: iwlwifi0: Failed to remove MAC context: -5
> Oct 29 18:39:35 hector dhclient[63556]: receive_packet failed on wlan0: Device not configured
> Oct 29 18:39:35 hector dhclient[63556]: ioctl(SIOCGIFFLAGS) on wlan0: Operation not permitted
> Oct 29 18:39:35 hector dhclient[63556]: Interface wlan0 no longer appears valid.
> Oct 29 18:39:35 hector devd[85766]: Processing event '!system=IFNET subsystem=wlan0 type=DETACH'
> Oct 29 18:39:35 hector kernel: iwlwifi0: Failed to synchronize multicast groups update
> Oct 29 18:39:35 hector kernel: iwlwifi0: Failed to send flush command (-5)
> Oct 29 18:39:35 hector kernel: iwlwifi0: flush request fail
> Oct 29 18:39:35 hector kernel: iwlwifi0: Couldn't send TIME_EVENT_CMD: -5
> Oct 29 18:39:35 hector kernel: wlan0: link state changed to DOWN
> Oct 29 18:39:35 hector kernel: iwlwifi0: iwl_trans_wait_tx_queues_empty bad state = 0
> Oct 29 18:39:35 hector kernel: iwlwifi0: Failed to trigger RX queues sync (-5)
> Oct 29 18:39:35 hector kernel: iwlwifi0: Failed to send MAC context (action:2): -5
> Oct 29 18:39:35 hector kernel: iwlwifi0: Failed to synchronize multicast groups update
> Oct 29 18:39:35 hector kernel: iwlwifi0: Failed to send MAC context (action:2): -5
> Oct 29 18:39:35 hector kernel: iwlwifi0: failed to update MAC 0xfffffe00c626ec9eM
> Oct 29 18:39:35 hector kernel: iwlwifi0: Failed to remove station. Id=0
> Oct 29 18:39:35 hector kernel: iwlwifi0: failed to remove AP station
> Oct 29 18:39:35 hector kernel: iwlwifi0: Failed to send MAC context (action:2): -5
> Oct 29 18:39:35 hector kernel: iwlwifi0: failed to update MAC 0xfffffe00c626ec9eM (clear after unassoc)
> Oct 29 18:39:35 hector kernel: iwlwifi0: Failed to synchronize multicast groups update
> Oct 29 18:39:35 hector kernel: iwlwifi0: Failed to send BT_CI cmd
> Oct 29 18:39:35 hector kernel: iwlwifi0: Failed to send MAC context (action:2): -5
> Oct 29 18:39:35 hector kernel: iwlwifi0: failed to update MAC 0xfffffe00c626ec9eM
> Oct 29 18:39:35 hector kernel: iwlwifi0: Failed to send binding (action:3): -5
> Oct 29 18:39:35 hector kernel: iwlwifi0: PHY ctxt cmd error. ret=-5
> Oct 29 18:39:35 hector kernel: iwlwifi0: Failed to disable queue 1 (ret=-5)
> Oct 29 18:39:35 hector kernel: iwlwifi0: Failed to remove station. Id=1
> Oct 29 18:39:35 hector kernel: iwlwifi0: Failed sending remove station
> Oct 29 18:39:35 hector devd[85766]: Processing event '!system=IFNET subsystem=wlan0 type=LINK_DOWN'

Don't know if there are any practical consequences.
The system didn't panic and I was able to plug the ethernet USB 
interface after this and it worked.

Maybe I should do this in a different way?

  bye
	av.