On 2/24/22 13:50, Bjoern A. Zeeb wrote:
Hi,
I have just pushed fairly recent iwlwifi driver and firmware updates
into main a few minutes ago. I hope I got all bits out of my dev
branch correctly and will monitor the builds.
062103fc93c3 iwlwifi: update firmware
51152e5e6150 iwlwifi: enhance debug information
d9836fb4b938 iwlwifi: update from iwlwifi-next
I hope some people will give it a try in main before I'll MFC it to
stable/13 next week. This should not make much of a difference to
what you have had so far.
!!! Please note: this does NOT yet fix most of the linuxkpi_sta_X_to_Y
errors followed by firmware crashes or panics yet though they should
avoid at least one of the causes which triggered them. !!!
I am still trying to get fixes for these in the next days; I have a
partial fix dealing with some of the state changes which helps to hold
up longer.
If you see any other (new) errors please let me know.
Hi Bjoern - I just tested this out on my laptop and it looks like I'm
seeing some improvement in loading firmware on my end, but I am still
hitting some issues preventing my device from coming up fully. I think
this is the pertinent bit from dmesg:
iwlwifi0: loaded firmware version 46.4e1ceb39.0
9000-pu-b0-jf-b0-46.ucode op_mode iwlmvm
iwlwifi0: Detected Intel(R) Wireless-AC 9560 160MHz, REV=0x312
iwlwifi0: base HW address: d8:3b:bf:82:d4:4e, OTP minor version: 0x0
iwlwifi0: lkpi_sta_scan_to_auth: waiting for 5 queues to be allocated by
driver
iwlwifi0: No beacon heard and the time event is over already...
iwlwifi0: Couldn't drain frames for staid 0, status 0x8
iwlwifi0: lkpi_iv_newstate: error -5 during state transition 5 (RUN) ->
0 (INIT)
WARNING mvm_sta->dup_data == ((void *)0) failed at
/usr/home/pete/git/freebsd/sys/contrib/dev/iwlwifi/mvm/rxmq.c:538
iwlwifi0: Microcode SW error detected. Restarting 0x0.
I've attached the iwlwifi0 lines from my system to this email in case
its helpful for you. happy to test out any other patches or gather more
info :^)
oh here's the device info:
iwm0@pci0:0:20:3: class=0x028000 rev=0x30 hdr=0x00 vendor=0x8086
device=0x9df0 subvendor=0x8086 subdevice=0x0030
vendor = 'Intel Corporation'
device = 'Cannon Point-LP CNVi [Wireless-AC]'
class = network
Cheers!
-pete
--
Pete Wright
p...@nomadlogic.org
@nomadlogicLA
iwlwifi0: <iwlwifi> mem 0xdd338000-0xdd33bfff at device 20.3 on pci0
iwlwifi0: successfully loaded firmware image 'iwlwifi-9000-pu-b0-jf-b0-46.ucode'
iwlwifi0: WRT: Overriding region id 0
iwlwifi0: WRT: Overriding region id 1
iwlwifi0: WRT: Overriding region id 2
iwlwifi0: WRT: Overriding region id 3
iwlwifi0: WRT: Overriding region id 4
iwlwifi0: WRT: Overriding region id 6
iwlwifi0: WRT: Overriding region id 8
iwlwifi0: WRT: Overriding region id 9
iwlwifi0: WRT: Overriding region id 10
iwlwifi0: WRT: Overriding region id 11
iwlwifi0: WRT: Overriding region id 15
iwlwifi0: WRT: Overriding region id 16
iwlwifi0: WRT: Overriding region id 18
iwlwifi0: WRT: Overriding region id 19
iwlwifi0: WRT: Overriding region id 20
iwlwifi0: WRT: Overriding region id 21
iwlwifi0: WRT: Overriding region id 28
iwlwifi0: loaded firmware version 46.4e1ceb39.0 9000-pu-b0-jf-b0-46.ucode
op_mode iwlmvm
iwlwifi0: Detected Intel(R) Wireless-AC 9560 160MHz, REV=0x312
iwlwifi0: base HW address: d8:3b:bf:82:d4:4e, OTP minor version: 0x0
iwlwifi0: lkpi_sta_scan_to_auth: waiting for 5 queues to be allocated by driver
iwlwifi0: No beacon heard and the time event is over already...
iwlwifi0: Couldn't drain frames for staid 0, status 0x8
iwlwifi0: lkpi_iv_newstate: error -5 during state transition 5 (RUN) -> 0 (INIT)
WARNING mvm_sta->dup_data == ((void *)0) failed at
/usr/home/pete/git/freebsd/sys/contrib/dev/iwlwifi/mvm/rxmq.c:538
iwlwifi0: Microcode SW error detected. Restarting 0x0.
iwlwifi0: Start IWL Error Log Dump:
iwlwifi0: Transport status: 0x0000004B, valid: 6
iwlwifi0: Loaded firmware version: 46.4e1ceb39.0 9000-pu-b0-jf-b0-46.ucode
iwlwifi0: 0x000021A0 | ADVANCED_SYSASSERT
iwlwifi0: 0x008022F0 | trm_hw_status0
iwlwifi0: 0x00000000 | trm_hw_status1
iwlwifi0: 0x004895DE | branchlink2
iwlwifi0: 0x00479056 | interruptlink1
iwlwifi0: 0x00000000 | interruptlink2
iwlwifi0: 0x00000000 | data1
iwlwifi0: 0x00001C30 | data2
iwlwifi0: 0x00000000 | data3
iwlwifi0: 0x00000000 | beacon time
iwlwifi0: 0x1B06B90E | tsf low
iwlwifi0: 0x0000165A | tsf hi
iwlwifi0: 0x00000000 | time gp1
iwlwifi0: 0x005D7F36 | time gp2
iwlwifi0: 0x00000001 | uCode revision type
iwlwifi0: 0x0000002E | uCode version major
iwlwifi0: 0x4E1CEB39 | uCode version minor
iwlwifi0: 0x00000312 | hw version
iwlwifi0: 0x00489002 | board version
iwlwifi0: 0x8055FC28 | hcmd
iwlwifi0: 0x00022000 | isr0
iwlwifi0: 0x00000000 | isr1
iwlwifi0: 0x08201802 | isr2
iwlwifi0: 0x004150C0 | isr3
iwlwifi0: 0x00000000 | isr4
iwlwifi0: 0x0053019F | last cmd Id
iwlwifi0: 0x0001B822 | wait_event
iwlwifi0: 0x00000000 | l2p_control
iwlwifi0: 0x00000000 | l2p_duration
iwlwifi0: 0x0000003F | l2p_mhvalid
iwlwifi0: 0x00000000 | l2p_addr_match
iwlwifi0: 0x0000000D | lmpm_pmg_sel
iwlwifi0: 0x20120103 | timestamp
iwlwifi0: 0x000080A8 | flow_handler
iwlwifi0: Start IWL Error Log Dump:
iwlwifi0: Transport status: 0x0000004B, valid: 7
iwlwifi0: 0x20000070 | NMI_INTERRUPT_LMAC_FATAL
iwlwifi0: 0x00000000 | umac branchlink1
iwlwifi0: 0xC0088BBA | umac branchlink2
iwlwifi0: 0xC0085190 | umac interruptlink1
iwlwifi0: 0xC0085EF6 | umac interruptlink2
iwlwifi0: 0x00000800 | umac data1
iwlwifi0: 0xC0085EF6 | umac data2
iwlwifi0: 0xDEADBEEF | umac data3
iwlwifi0: 0x0000002E | umac major
iwlwifi0: 0x4E1CEB39 | umac minor
iwlwifi0: 0x005D7F51 | frame pointer
iwlwifi0: 0xC0887598 | stack pointer
iwlwifi0: 0x00540118 | last host cmd
iwlwifi0: 0x00000000 | isr status reg
iwlwifi0: IML/ROM dump:
iwlwifi0: 0x00000000 | IML/ROM error/state
iwlwifi0: 0x00000003 | IML/ROM data1
iwlwifi0: Fseq Registers:
iwlwifi0: 0x48852B64 | FSEQ_ERROR_CODE
iwlwifi0: 0x00000000 | FSEQ_TOP_INIT_VERSION
iwlwifi0: 0x72048010 | FSEQ_CNVIO_INIT_VERSION
iwlwifi0: 0x0000A384 | FSEQ_OTP_VERSION
iwlwifi0: 0xA81D6078 | FSEQ_TOP_CONTENT_VERSION
iwlwifi0: 0xEE5BC7A1 | FSEQ_ALIVE_TOKEN
iwlwifi0: 0x454408A2 | FSEQ_CNVI_ID
iwlwifi0: 0xB8B9CCB9 | FSEQ_CNVR_ID
iwlwifi0: 0x01000100 | CNVI_AUX_MISC_CHIP
iwlwifi0: 0x01300202 | CNVR_AUX_MISC_CHIP
iwlwifi0: 0x0000485B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
iwlwifi0: 0xA5A5A5A2 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
iwlwifi0: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
iwlwifi0: FW error in SYNC CMD ADD_STA
#1 0xffffffff85b90e44 at iwl_trans_txq_send_hcmd+0x414
#2 0xffffffff85b3813e at iwl_trans_send_cmd+0xce
#3 0xffffffff85b77cbb at iwl_mvm_send_cmd_status+0x2b
#4 0xffffffff85b77dcf at iwl_mvm_send_cmd_pdu_status+0x4f
#5 0xffffffff85b65d96 at iwl_mvm_sta_send_to_fw+0x326
#6 0xffffffff85b681a3 at iwl_mvm_add_sta+0xa83
#7 0xffffffff85b4d68f at iwl_mvm_mac_sta_state+0x3af
iwlwifi0: lkpi_iv_newstate: error -5 during state transition 1 (SCAN) -> 2
(AUTH)
iwlwifi0: No queue was found. Dropping TX
iwlwifi0: iwl_trans_wait_tx_queues_empty bad state = 0
iwlwifi0: lkpi_iv_newstate: error -5 during state transition 2 (AUTH) -> 1
(SCAN)
iwlwifi0: Scan failed! ret -5
iwlwifi0: ERROR: lkpi_ic_scan_start: hw_scan returned -5
iwlwifi0: Scan failed! ret -5
iwlwifi0: ERROR: lkpi_ic_scan_start: hw_scan returned -5
iwlwifi0: Scan failed! ret -5
iwlwifi0: ERROR: lkpi_ic_scan_start: hw_scan returned -5
iwlwifi0: Scan failed! ret -5
iwlwifi0: ERROR: lkpi_ic_scan_start: hw_scan returned -5
iwlwifi0: Scan failed! ret -5
iwlwifi0: ERROR: lkpi_ic_scan_start: hw_scan returned -5
iwlwifi0: Scan failed! ret -5
iwlwifi0: ERROR: lkpi_ic_scan_start: hw_scan returned -5
iwlwifi0: Failed to synchronize multicast groups update
iwlwifi0: Failed to disable queue 1 (ret=-5)
iwlwifi0: Failed to remove station. Id=1
iwlwifi0: Failed sending remove station
iwlwifi0: Failed to synchronize multicast groups update