Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 May 2023 20:19:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        wireless@FreeBSD.org
Subject:   [Bug 271182] iwlwifi with lagg requires network restart after boot
Message-ID:  <bug-271182-21060@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271182

            Bug ID: 271182
           Summary: iwlwifi with lagg requires network restart after boot
           Product: Base System
           Version: 13.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: wireless
          Assignee: wireless@FreeBSD.org
          Reporter: js@jschneider.com

In order to add iwlwifi wlan0 device as a lagg port, one must add if_iwlwif=
i to
kld_list in rc.conf.  However, when doing this, the wlan0 device (an AX201 =
in
my case) does not associate with an AP on initial boot.  'service netif
restart' after initial boot will result in successful AP association and Wi=
fi
connectivity is generally reliable after that.

Relevant rc.conf entries:

kld_list=3D"if_iwlwifi i915kms"
ifconfig_re0=3D"ether c4:75:ab:f3:f9:6c"
wlans_iwlwifi0=3D"wlan0"
ifconfig_wlan0=3D"WPA"
cloned_interfaces=3D"lagg0"
ifconfig_lagg0=3D"laggproto failover laggport re0 laggport wlan0 DHCP"


Relevant dmesg output:

wlan0: Ethernet address: c4:75:ab:f3:f9:6c
lo0: link state changed to UP
lagg0: IPv6 addresses on re0 have been removed before adding it as a member=
 to
prevent IPv6 address scope violation.
lagg0: link state changed to DOWN
lagg0: IPv6 addresses on wlan0 have been removed before adding it as a memb=
er
to prevent IPv6 address scope violation.
re0: link state changed to DOWN
iwlwifi0: Microcode SW error detected. Restarting 0x0.
iwlwifi0: Start IWL Error Log Dump:
iwlwifi0: Transport status: 0x0000004B, valid: 6
iwlwifi0: Loaded firmware version: 73.35c0a2c6.0 QuZ-a0-hr-b0-73.ucode
iwlwifi0: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL
iwlwifi0: 0x000022F0 | trm_hw_status0
iwlwifi0: 0x00000000 | trm_hw_status1
iwlwifi0: 0x004CC0FE | branchlink2
iwlwifi0: 0x004C2512 | interruptlink1
iwlwifi0: 0x004C2512 | interruptlink2
iwlwifi0: 0x00012EB2 | data1
iwlwifi0: 0x00001000 | data2
iwlwifi0: 0x00000000 | data3
iwlwifi0: 0x00000000 | beacon time
iwlwifi0: 0x00188041 | tsf low
iwlwifi0: 0x00000000 | tsf hi
iwlwifi0: 0x00000000 | time gp1
iwlwifi0: 0x0018DB04 | time gp2
iwlwifi0: 0x00000001 | uCode revision type
iwlwifi0: 0x00000049 | uCode version major
iwlwifi0: 0x35C0A2C6 | uCode version minor
iwlwifi0: 0x00000351 | hw version
iwlwifi0: 0x00C89001 | board version
iwlwifi0: 0x8058FC41 | hcmd
iwlwifi0: 0x00020000 | isr0
iwlwifi0: 0x60000000 | isr1
iwlwifi0: 0x08F00002 | isr2
iwlwifi0: 0x00C3000C | isr3
iwlwifi0: 0x00000000 | isr4
iwlwifi0: 0x00000000 | last cmd Id
iwlwifi0: 0x00012EB2 | wait_event
iwlwifi0: 0x000000C4 | l2p_control
iwlwifi0: 0x00000000 | l2p_duration
iwlwifi0: 0x00000007 | l2p_mhvalid
iwlwifi0: 0x00000000 | l2p_addr_match
iwlwifi0: 0x00000009 | lmpm_pmg_sel
iwlwifi0: 0x00000000 | timestamp
iwlwifi0: 0x00002868 | flow_handler
iwlwifi0: Start IWL Error Log Dump:
iwlwifi0: Transport status: 0x0000004B, valid: 7
iwlwifi0: 0x20103020 | ADVANCED_SYSASSERT
iwlwifi0: 0x00000000 | umac branchlink1
iwlwifi0: 0x80455E18 | umac branchlink2
iwlwifi0: 0x01077D90 | umac interruptlink1
iwlwifi0: 0x00000000 | umac interruptlink2
iwlwifi0: 0x00000000 | umac data1
iwlwifi0: 0x00000000 | umac data2
iwlwifi0: 0x000000FF | umac data3
iwlwifi0: 0x00000049 | umac major
iwlwifi0: 0x35C0A2C6 | umac minor
iwlwifi0: 0x0018DAFF | frame pointer
iwlwifi0: 0xC0885EE4 | stack pointer
iwlwifi0: 0x0017012B | last host cmd
iwlwifi0: 0x00000000 | isr status reg
iwlwifi0: IML/ROM dump:
iwlwifi0: 0x00000003 | IML/ROM error/state
iwlwifi0: 0x00005639 | IML/ROM data1
iwlwifi0: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
iwlwifi0: Fseq Registers:
iwlwifi0: 0x60000000 | FSEQ_ERROR_CODE
iwlwifi0: 0x80290033 | FSEQ_TOP_INIT_VERSION
iwlwifi0: 0x00090006 | FSEQ_CNVIO_INIT_VERSION
iwlwifi0: 0x0000A482 | FSEQ_OTP_VERSION
iwlwifi0: 0x00000003 | FSEQ_TOP_CONTENT_VERSION
iwlwifi0: 0x4552414E | FSEQ_ALIVE_TOKEN
iwlwifi0: 0x20000302 | FSEQ_CNVI_ID
iwlwifi0: 0x01300504 | FSEQ_CNVR_ID
iwlwifi0: 0x20000302 | CNVI_AUX_MISC_CHIP
iwlwifi0: 0x01300504 | CNVR_AUX_MISC_CHIP
iwlwifi0: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
iwlwifi0: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
iwlwifi0: WRT: Collecting data: ini trigger 4 fired (delay=3D0ms).
iwlwifi0: FW error in SYNC CMD BINDING_CONTEXT_CMD
#0 0xffffffff80bbd3f3 at linux_dump_stack+0x23
#1 0xffffffff82b5c890 at iwl_trans_txq_send_hcmd+0x4a0
#2 0xffffffff82b03f8e at iwl_trans_send_cmd+0xce
#3 0xffffffff82b43a8b at iwl_mvm_send_cmd_status+0x2b
#4 0xffffffff82b43b9f at iwl_mvm_send_cmd_pdu_status+0x4f
#5 0xffffffff82b0cb06 at iwl_mvm_binding_update+0x1f6
#6 0xffffffff82b1e2ba at __iwl_mvm_assign_vif_chanctx+0x7a
#7 0xffffffff82b1aee6 at iwl_mvm_assign_vif_chanctx+0x66
#8 0xffffffff80bb78f7 at lkpi_80211_mo_assign_vif_chanctx+0x27
#9 0xffffffff80bb0f5d at lkpi_sta_scan_to_auth+0x48d
#10 0xffffffff80bb70a8 at lkpi_iv_newstate+0x1b8
#11 0xffffffff80a82b7a at ieee80211_newstate_cb+0x17a
#12 0xffffffff8094d091 at taskqueue_run_locked+0x181
#13 0xffffffff8094e353 at taskqueue_thread_loop+0xc3
#14 0xffffffff808aab2d at fork_exit+0x7d
#15 0xffffffff80cfeb0e at fork_trampoline+0xe
iwlwifi0: Failed to send binding (action:1): -5
iwlwifi0: PHY ctxt cmd error. ret=3D-5
iwlwifi0: lkpi_iv_newstate: error -5 during state transition 1 (SCAN) -> 2
(AUTH)
iwlwifi0: No queue was found. Dropping TX
iwlwifi0: Failed to trigger RX queues sync (-5)
WARNING !mvmvif->phy_ctxt failed at
/usr/src/sys/contrib/dev/iwlwifi/mvm/mac80211.c:3158
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
________________________________________________________


after service netif restart:
________________________________________________________
lo0: link state changed to DOWN
Removing inactive MAC 0xfffffe00c8725c9eM/2
wlan0: Ethernet address: c4:75:ab:f3:f9:6c
lo0: link state changed to UP
lagg0: link state changed to DOWN
lagg0: IPv6 addresses on re0 have been removed before adding it as a member=
 to
prevent IPv6 address scope violation.
lagg0: IPv6 addresses on wlan0 have been removed before adding it as a memb=
er
to prevent IPv6 address scope violation.
wlan0: link state changed to UP
lagg0: link state changed to UP

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271182-21060>