Date: Fri, 28 Mar 2025 08:31:28 +0100 From: Baptiste Daroussin <bapt@freebsd.org> To: "Bjoern A. Zeeb" <bz@freebsd.org> Cc: FreeBSD wireless mailing list <wireless@freebsd.org> Subject: Re: iwlwifi unable to create wlan0 Message-ID: <t4i3vtvxey7uxuuxk4lfchuoixpveiifcwpl76xgmuejghvrrf@umg6mv45gfhd> In-Reply-To: <415622r8-s100-9r3q-o033-48p190prqpq5@serrofq.bet> References: <2cpg7jp6r37xlkodljpb3h6drozcrhzxsjaeuj3zg4kn5wt3pq@oacdr4db3l3v> <p2q4p0p5-8126-5078-qp19-31n4opnp9nr0@SerrOFQ.bet> <z2cg65iiejk4bvnldv6w4zlgmk52vq2erwmhpfv5mnzrrvpauz@vb5soatwbcar> <r51602p6-0oqo-34rs-8583-1so394ps7637@serrofq.bet> <wmrsuyqvl55dpxaxpslvds2sioyb7i7a3jj7nrsezelpyfm4jz@bi7ahoumclsu> <415622r8-s100-9r3q-o033-48p190prqpq5@serrofq.bet>
index | next in thread | previous in thread | raw e-mail
On Thu 27 Mar 22:25, Bjoern A. Zeeb wrote: > On Thu, 27 Mar 2025, Baptiste Daroussin wrote: > > > On Thu 27 Mar 20:19, Bjoern A. Zeeb wrote: > > > On Thu, 27 Mar 2025, Baptiste Daroussin wrote: > > > > > > > > > iwlwifi0: Detected Intel(R) Wi-Fi 6 AX101 > > > > > > > > > > That's the first time we see one of those special ones. > > > > > Can you tell us what kind of Laptop this is? > > > > > > > > This is a beelink mini s PC > > > > (https://www.bee-link.com/products/beelink-mini-s12-pro-n100) > > > > > > > > Note that a year ago creating wlan0 was working and I could even join a network, > > > > but it was too slow to be usable. > > > > > > I understand. I believe we imported this functionality last year in > > > September after vendor branches got sorted out. I believe the AX101 is > > > a 1T1R device, so don't expect 700Mbit/s either. > > > > > > > > > > > > Anything I am missing on my side? > > > > > > > > > > No, likely not. Just the first one hitting this in all Intel internal code. > > > > > > > > > > It's trying to see if it can read 6Ghz regulatory information from UEFI > > > > > (which LinuxKPI does not yet support) and so it should just fail but it > > > > > walks over it due to what looks like a wrong return code and tries to > > > > > program the unprovided information to firmware. > > > > > > > > Note that a year ago, this was working but slow correctly but slow. > > > > > > > > > > Can you bluntly give this a try and let us know if it helps? > > > > > > > > > > diff --git sys/contrib/dev/iwlwifi/fw/uefi.h sys/contrib/dev/iwlwifi/fw/uefi.h > > > > > index 1f8884ca8997..0fba500b00be 100644 > > > > > --- sys/contrib/dev/iwlwifi/fw/uefi.h > > > > > +++ sys/contrib/dev/iwlwifi/fw/uefi.h > > > > > @@ -318,7 +318,7 @@ static inline > > > > > int iwl_uefi_get_uats_table(struct iwl_trans *trans, > > > > > struct iwl_fw_runtime *fwrt) > > > > > { > > > > > - return 0; > > > > > + return -ENOENT; > > > > > } > > > > > #endif /* CONFIG_EFI */ > > > > > #endif /* __iwl_fw_uefi__ */ > > > > > > > > > Will test ASAP > > > > > > Great! Thank you! I'll be more than happy to have more people testing > > > the current code. Everythig we can flesh out before 14.3-R will be > > > good (and I hear others waiting on other fixes). > > > > > it goes a bit further wlan0 can be created but: > > what happened before all this? > > > iwlwifi0: Failed to send LINK_CONFIG_CMD (action:2): -5 > > iwlwifi0: failed to update link > > iwlwifi0: Failed to send MAC_CONFIG_CMD (action:2): -5 > > iwlwifi0: failed to update MAC 0xfffffe010772dedeM > > wlan0: link state changed to UP > > iwlwifi0: Failed to send flush command (-5) > > iwlwifi0: flush request fail > > wlan0: link state changed to DOWN > > iwlwifi0: Failed to trigger RX queues sync (-5) > > iwlwifi0: Failed to send rate scale config (-5) > > iwlwifi0: Couldn't send the SESSION_PROTECTION_CMD: -5 > > iwlwifi0: Failed to synchronize multicast groups update > > iwlwifi0: Failed to send flush command (-5) > > iwlwifi0: Failed to send MAC_CONFIG_CMD (action:2): -5 > > iwlwifi0: failed to update MAC 0xfffffe010772dedeM > > iwlwifi0: Failed to send LINK_CONFIG_CMD (action:2): -5 > > iwlwifi0: Failed to send LINK_CONFIG_CMD (action:3): -5 > > iwlwifi0: Failed to send LINK_CONFIG_CMD (action:1): -5 > > iwlwifi0: PHY ctxt cmd error. ret=-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 > > > > And it never connexts. > > > > Best regards, > > Bapt > > > > -- > Bjoern A. Zeeb r15:7 Full version: Intel(R) Wireless WiFi based driver for FreeBSD iwlwifi0: <iwlwifi> mem 0x6001114000-0x6001117fff at device 20.3 on pci0 iwlwifi0: Detected crf-id 0x501, cnv-id 0x80400 wfpm id 0x80000030 iwlwifi0: PCI dev 54f0/0244, rev=0x370, rfid=0x10c000 iwlwifi0: Detected Intel(R) Wi-Fi 6 AX101 iwlwifi0: successfully loaded firmware image 'iwlwifi-so-a0-hr-b0-89.ucode' iwlwifi0: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.42 iwl-debug-yoyo.bin: could not load binary firmware /boot/firmware/iwl-debug-yoyo.bin either iwl-debug-yoyo.bin: could not load binary firmware /boot/firmware/iwl-debug-yoyo.bin either iwl-debug-yoyo_bin: could not load binary firmware /boot/firmware/iwl-debug-yoyo_bin either iwl_debug_yoyo_bin: could not load binary firmware /boot/firmware/iwl_debug_yoyo_bin either iwlwifi0: loaded firmware version 89.6b44fa0b.0 so-a0-hr-b0-89.ucode op_mode iwlmvm iwlwifi0: WFPM_UMAC_PD_NOTIFICATION: 0x20 iwlwifi0: WFPM_LMAC2_PD_NOTIFICATION: 0x1f iwlwifi0: WFPM_AUTH_KEY_0: 0x90 iwlwifi0: CNVI_SCU_SEQ_DATA_DW9: 0x10 iwlwifi0: Detected RF HR1 B3, rfid=0x10c000 iwlwifi0: RFIm is deactivated, reason = 4 iwlwifi0: base HW address: b0:dc:ef:18:9c:32 lkpi_l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 8 (GCMP) lkpi_l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 9 (GCMP_256) lkpi_l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 6 (AES_CMAC) lkpi_l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 11 (BIP_GMAC_128) lkpi_l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 12 (BIP_GMAC_256) iwlwifi0: WFPM_UMAC_PD_NOTIFICATION: 0x20 iwlwifi0: WFPM_LMAC2_PD_NOTIFICATION: 0x1f iwlwifi0: WFPM_AUTH_KEY_0: 0x90 iwlwifi0: CNVI_SCU_SEQ_DATA_DW9: 0x10 iwlwifi0: RFIm is deactivated, reason = 4 wlan0: Ethernet address: b0:dc:ef:18:9c:32 iwlwifi0: WFPM_UMAC_PD_NOTIFICATION: 0x20 iwlwifi0: WFPM_LMAC2_PD_NOTIFICATION: 0x1f iwlwifi0: WFPM_AUTH_KEY_0: 0x90 iwlwifi0: CNVI_SCU_SEQ_DATA_DW9: 0x10 iwlwifi0: RFIm is deactivated, reason = 4 wlan0: Ethernet address: b0:dc:ef:18:9c:32 iwlwifi0: Microcode SW error detected. Restarting 0x0. iwlwifi0: Start IWL Error Log Dump: iwlwifi0: Transport status: 0x0000004B, valid: 6 iwlwifi0: Loaded firmware version: 89.6b44fa0b.0 so-a0-hr-b0-89.ucode iwlwifi0: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL iwlwifi0: 0x000002F1 | trm_hw_status0 iwlwifi0: 0x00000000 | trm_hw_status1 iwlwifi0: 0x004D7360 | branchlink2 iwlwifi0: 0x004CD3A2 | interruptlink1 iwlwifi0: 0x004CD3A2 | interruptlink2 iwlwifi0: 0x00006044 | data1 iwlwifi0: 0x00000010 | data2 iwlwifi0: 0x00000000 | data3 iwlwifi0: 0x000181F5 | beacon time iwlwifi0: 0xC1BDCE12 | tsf low iwlwifi0: 0x00000231 | tsf hi iwlwifi0: 0x00000000 | time gp1 iwlwifi0: 0x0046E3C3 | time gp2 iwlwifi0: 0x00000001 | uCode revision type iwlwifi0: 0x00000059 | uCode version major iwlwifi0: 0x6B44FA0B | uCode version minor iwlwifi0: 0x00000370 | hw version iwlwifi0: 0x18C80002 | board version iwlwifi0: 0x80F5FF00 | hcmd iwlwifi0: 0x00120000 | isr0 iwlwifi0: 0x60000000 | isr1 iwlwifi0: 0x48F00002 | isr2 iwlwifi0: 0x00C3000D | isr3 iwlwifi0: 0x00000000 | isr4 iwlwifi0: 0x00320103 | last cmd Id iwlwifi0: 0x00006044 | wait_event iwlwifi0: 0x00000080 | l2p_control iwlwifi0: 0x00000820 | l2p_duration iwlwifi0: 0x0000003F | l2p_mhvalid iwlwifi0: 0x00CE18B8 | l2p_addr_match iwlwifi0: 0x00000009 | lmpm_pmg_sel iwlwifi0: 0x00000000 | timestamp iwlwifi0: 0x00004870 | flow_handler iwlwifi0: Start IWL Error Log Dump: iwlwifi0: Transport status: 0x0000004B, valid: 7 iwlwifi0: 0x20101A27 | ADVANCED_SYSASSERT iwlwifi0: 0x00000000 | umac branchlink1 iwlwifi0: 0x804824F0 | umac branchlink2 iwlwifi0: 0x010581B4 | umac interruptlink1 iwlwifi0: 0x00000000 | umac interruptlink2 iwlwifi0: 0x00010000 | umac data1 iwlwifi0: 0x00000000 | umac data2 iwlwifi0: 0xDEADBEEF | umac data3 iwlwifi0: 0x00000059 | umac major iwlwifi0: 0x6B44FA0B | umac minor iwlwifi0: 0x0046E3BD | frame pointer iwlwifi0: 0xC0886BAC | stack pointer iwlwifi0: 0x0036050F | last host cmd iwlwifi0: 0x00000000 | isr status reg iwlwifi0: IML/ROM dump: iwlwifi0: 0x00000B03 | IML/ROM error/state iwlwifi0: 0x000051AC | IML/ROM data1 iwlwifi0: 0x00000090 | IML/ROM WFPM_AUTH_KEY_0 iwlwifi0: Fseq Registers: iwlwifi0: 0x60000000 | FSEQ_ERROR_CODE iwlwifi0: 0x80350002 | FSEQ_TOP_INIT_VERSION iwlwifi0: 0x00150002 | FSEQ_CNVIO_INIT_VERSION iwlwifi0: 0x0000A482 | FSEQ_OTP_VERSION iwlwifi0: 0x00000003 | FSEQ_TOP_CONTENT_VERSION iwlwifi0: 0x4552414E | FSEQ_ALIVE_TOKEN iwlwifi0: 0x00080400 | FSEQ_CNVI_ID iwlwifi0: 0x00000501 | FSEQ_CNVR_ID iwlwifi0: 0x00080400 | CNVI_AUX_MISC_CHIP iwlwifi0: 0x00000501 | 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: 0x00150002 | FSEQ_PREV_CNVIO_INIT_VERSION iwlwifi0: 0x00350002 | FSEQ_WIFI_FSEQ_VERSION iwlwifi0: 0xEFA7B0C2 | FSEQ_BT_FSEQ_VERSION iwlwifi0: 0x000000C8 | FSEQ_CLASS_TP_VERSION iwlwifi0: UMAC CURRENT PC: 0x804a228c iwlwifi0: LMAC1 CURRENT PC: 0xd0 iwlwifi0: WRT: Collecting data: ini trigger 4 fired (delay=0ms). iwlwifi0: FW error in SYNC CMD LINK_CONFIG_CMD #0 0xffffffff80dc58cb at linux_dump_stack+0x1b #1 0xffffffff8322f7bb at iwl_trans_pcie_send_hcmd+0x44b #2 0xffffffff831c0318 at iwl_trans_send_cmd+0x88 #3 0xffffffff8320a649 at iwl_mvm_send_cmd_pdu+0x49 #4 0xffffffff8320d7d5 at iwl_mvm_link_changed+0x2a5 #5 0xffffffff83211942 at iwl_mvm_mld_link_info_changed+0x432 #6 0xffffffff80db457c at lkpi_sta_assoc_to_run+0x53c #7 0xffffffff80dbe853 at lkpi_iv_newstate+0x3c3 #8 0xffffffff80cea81e at ieee80211_newstate_cb+0x11e #9 0xffffffff80bb3a62 at taskqueue_run_locked+0x182 #10 0xffffffff80bb4c32 at taskqueue_thread_loop+0xc2 #11 0xffffffff80b04e5b at fork_exit+0x7b #12 0xffffffff8102924e at fork_trampoline+0xe iwlwifi0: Failed to send LINK_CONFIG_CMD (action:2): -5 iwlwifi0: failed to update link iwlwifi0: Failed to send MAC_CONFIG_CMD (action:2): -5 iwlwifi0: failed to update MAC 0xfffffe00f8c1fedeM wlan0: link state changed to UP bad state = 0 iwlwifi0: Failed to send flush command (-5) iwlwifi0: flush request fail wlan0: link state changed to DOWN bad state = 0 iwlwifi0: Failed to trigger RX queues sync (-5) iwlwifi0: Failed to send rate scale config (-5) iwlwifi0: Couldn't send the SESSION_PROTECTION_CMD: -5 iwlwifi0: Failed to synchronize multicast groups update iwlwifi0: Failed to send flush command (-5) iwlwifi0: Failed to send MAC_CONFIG_CMD (action:2): -5 iwlwifi0: failed to update MAC 0xfffffe00f8c1fedeM iwlwifi0: Failed to send LINK_CONFIG_CMD (action:2): -5 iwlwifi0: Failed to send LINK_CONFIG_CMD (action:3): -5 iwlwifi0: Failed to send LINK_CONFIG_CMD (action:1): -5 iwlwifi0: PHY ctxt cmd error. ret=-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: 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 Best regards, Bapthelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?t4i3vtvxey7uxuuxk4lfchuoixpveiifcwpl76xgmuejghvrrf>
