Re: iwlwifi 8265 firmware crash vith v34 on linux 4.14
Den 14.11.2017 kl. 22:04, skrev Luciano Coelho: Hi Thomas, On Tue, 2017-11-14 at 21:49 +0200, Thomas Backlund wrote: Running a Lenovo Yoga 720 with kernel 4.14, I pulled the: git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux- firmware.git tags/iwlwifi-fw-2017-11-03 to try the new fw version 34 on my: 3f:00.0 Network controller [0280]: Intel Corporation Wireless 8265 / 8275 [8086:24fd] (rev 78) And got this firmware crash and no wifi working: (for reference firmware version 31.560484.0 from same git pull works) [ 11.423208] iwlwifi :3f:00.0: Error sending SCAN_REQ_UMAC: time out after 2000ms. Yes, this was a screw up on my side regarding the FW API. We have a bugzilla and a patch to fix it already (on my comment #6): https://bugzilla.kernel.org/show_bug.cgi?id=197591#c6 I'll try to get this into the first stable release for 4.14. Thanks. That patch fixed the crash here too :) I'm now happily using v34 here I'll queue it up in Mageia distro kernel too before landing the new firmwares there... Sorry for the trouble and thanks for reporting! No worries :) -- Thomas
iwlwifi 8265 firmware crash vith v34 on linux 4.14
Running a Lenovo Yoga 720 with kernel 4.14, I pulled the: git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware.git tags/iwlwifi-fw-2017-11-03 to try the new fw version 34 on my: 3f:00.0 Network controller [0280]: Intel Corporation Wireless 8265 / 8275 [8086:24fd] (rev 78) And got this firmware crash and no wifi working: (for reference firmware version 31.560484.0 from same git pull works) [ 11.423208] iwlwifi :3f:00.0: Error sending SCAN_REQ_UMAC: time out after 2000ms. [ 11.423211] iwlwifi :3f:00.0: Current CMD queue read_ptr 39 write_ptr 40 [ 11.423362] iwlwifi :3f:00.0: Start IWL Error Log Dump: [ 11.423363] iwlwifi :3f:00.0: Status: 0x0100, count: 6 [ 11.423364] iwlwifi :3f:00.0: Loaded firmware version: 34.0.1 [ 11.423365] iwlwifi :3f:00.0: 0x0084 | NMI_INTERRUPT_UNKNOWN [ 11.423366] iwlwifi :3f:00.0: 0x00A002F1 | trm_hw_status0 [ 11.423366] iwlwifi :3f:00.0: 0x | trm_hw_status1 [ 11.423367] iwlwifi :3f:00.0: 0x00023FDC | branchlink2 [ 11.423368] iwlwifi :3f:00.0: 0x0003915A | interruptlink1 [ 11.423369] iwlwifi :3f:00.0: 0x0003915A | interruptlink2 [ 11.423369] iwlwifi :3f:00.0: 0x | data1 [ 11.423370] iwlwifi :3f:00.0: 0x0080 | data2 [ 11.423371] iwlwifi :3f:00.0: 0x0783 | data3 [ 11.423372] iwlwifi :3f:00.0: 0x00201DA1 | beacon time [ 11.423372] iwlwifi :3f:00.0: 0x001FE25D | tsf low [ 11.423373] iwlwifi :3f:00.0: 0x | tsf hi [ 11.423374] iwlwifi :3f:00.0: 0x | time gp1 [ 11.423375] iwlwifi :3f:00.0: 0x001FE25F | time gp2 [ 11.423375] iwlwifi :3f:00.0: 0x0001 | uCode revision type [ 11.423376] iwlwifi :3f:00.0: 0x0022 | uCode version major [ 11.423377] iwlwifi :3f:00.0: 0x | uCode version minor [ 11.423378] iwlwifi :3f:00.0: 0x0230 | hw version [ 11.423378] iwlwifi :3f:00.0: 0x00489000 | board version [ 11.423379] iwlwifi :3f:00.0: 0x00260128 | hcmd [ 11.423380] iwlwifi :3f:00.0: 0x00122080 | isr0 [ 11.423381] iwlwifi :3f:00.0: 0x0080 | isr1 [ 11.423381] iwlwifi :3f:00.0: 0x08001802 | isr2 [ 11.423382] iwlwifi :3f:00.0: 0x004000C0 | isr3 [ 11.423383] iwlwifi :3f:00.0: 0x | isr4 [ 11.423383] iwlwifi :3f:00.0: 0x00260128 | last cmd Id [ 11.423384] iwlwifi :3f:00.0: 0x | wait_event [ 11.423385] iwlwifi :3f:00.0: 0xDFF7 | l2p_control [ 11.423386] iwlwifi :3f:00.0: 0x0820 | l2p_duration [ 11.423386] iwlwifi :3f:00.0: 0x | l2p_mhvalid [ 11.423387] iwlwifi :3f:00.0: 0x | l2p_addr_match [ 11.423388] iwlwifi :3f:00.0: 0x000D | lmpm_pmg_sel [ 11.423389] iwlwifi :3f:00.0: 0x30101345 | timestamp [ 11.423389] iwlwifi :3f:00.0: 0x00342030 | flow_handler [ 11.423455] iwlwifi :3f:00.0: 0x | ADVANCED_SYSASSERT [ 11.423456] iwlwifi :3f:00.0: 0x | umac branchlink1 [ 11.423457] iwlwifi :3f:00.0: 0x | umac branchlink2 [ 11.423457] iwlwifi :3f:00.0: 0x | umac interruptlink1 [ 11.423458] iwlwifi :3f:00.0: 0x | umac interruptlink2 [ 11.423459] iwlwifi :3f:00.0: 0x | umac data1 [ 11.423460] iwlwifi :3f:00.0: 0x | umac data2 [ 11.423460] iwlwifi :3f:00.0: 0x | umac data3 [ 11.423461] iwlwifi :3f:00.0: 0x | umac major [ 11.423462] iwlwifi :3f:00.0: 0x | umac minor [ 11.423462] iwlwifi :3f:00.0: 0x | frame pointer [ 11.423463] iwlwifi :3f:00.0: 0x | stack pointer [ 11.423464] iwlwifi :3f:00.0: 0x | last host cmd [ 11.423465] iwlwifi :3f:00.0: 0x | isr status reg [ 11.423469] ieee80211 phy0: Hardware restart was requested [ 11.423472] iwlwifi :3f:00.0: Scan failed! ret -110 [ 11.423481] iwlwifi :3f:00.0: Microcode SW error detected. Restarting 0x200. [ 15.007405] iwlwifi :3f:00.0: Error sending SCAN_REQ_UMAC: time out after 2000ms. [ 15.007407] iwlwifi :3f:00.0: Current CMD queue read_ptr 42 write_ptr 43 [ 15.007507] iwlwifi :3f:00.0: Microcode SW error detected. Restarting 0x200. [ 15.007559] iwlwifi :3f:00.0: Start IWL Error Log Dump: [ 15.007560] iwlwifi :3f:00.0: Status: 0x0100, count: 6 [ 15.007561] iwlwifi :3f:00.0: Loaded firmware version: 34.0.1 [ 15.007562] iwlwifi :3f:00.0: 0x0084 | NMI_INTERRUPT_UNKNOWN [ 15.007563] iwlwifi :3f:00.0: 0x02F0 | trm_hw_status0 [ 15.007564] iwlwifi :3f:00.0: 0x | trm_hw_status1 [ 15.007564] iwlwifi :3f:00.0: 0x00023FDC | branchlink2 [ 15.007565] iwlwifi :3f:00.0: 0x0003915A | interruptlink1 [ 15.007566] iwlwifi :3f:00.0: 0x0003915A | interruptlink2 [ 15.007567] iwlwifi :3f:00.0: 0x | data1 [ 15.007567] iwlwifi :3f:00.0: 0x0080 | data2 [ 15.007568] iwlwifi :3f:00.0:
Re: [PATCH] iwlwifi: fix firmware names for 9xxx and a0 series hw
Den 14-11-2017 kl. 12:52, skrev Luca Coelho: On Tue, 2017-11-14 at 12:37 +0200, Thomas Backlund wrote: iwlwifi 9xxx and a0 series hw contains an extra dash in firmware file name as seeen in modinfo output for kernel 4.14: firmware: iwlwifi-9260-th-b0-jf-b0--34.ucode firmware: iwlwifi-9260-th-a0-jf-a0--34.ucode firmware: iwlwifi-9000-pu-a0-jf-b0--34.ucode firmware: iwlwifi-9000-pu-a0-jf-a0--34.ucode firmware: iwlwifi-QuQnj-a0-hr-a0--34.ucode firmware: iwlwifi-QuQnj-a0-jf-b0--34.ucode firmware: iwlwifi-QuQnj-f0-hr-a0--34.ucode firmware: iwlwifi-Qu-a0-jf-b0--34.ucode firmware: iwlwifi-Qu-a0-hr-a0--34.ucode Fix that by dropping the extra adding of '"-"'. Signed-off-by: Thomas Backlund <tmb-odjjhxpcy38dnm+yrof...@public.gmane.org> cc: Luca Coelho <luciano.coelho-ral2jqcrhueavxtiumw...@public.gmane.org> cc: stable-u79uwxl29ty76z2rm5m...@public.gmane.org --- Looks good, thanks! Though I'm not sure this is worth sending to stable... Why do you think it's needed? As 4.14 is a -longterm kernel and afaik atleast 9xxx series hw is out there I thought it would be good to have it fixed there... but in the end it's your call for upstream stable or not I'll add it to the Mageia distrib kernels anyway. Anyway, I'm applying it in our internal tree and it will reach the mainline following our normal upstreaming process. Thanks. -- Cheers, Luca. -- Thomas
[PATCH] iwlwifi: fix firmware names for 9xxx and a0 series hw
iwlwifi 9xxx and a0 series hw contains an extra dash in firmware file name as seeen in modinfo output for kernel 4.14: firmware: iwlwifi-9260-th-b0-jf-b0--34.ucode firmware: iwlwifi-9260-th-a0-jf-a0--34.ucode firmware: iwlwifi-9000-pu-a0-jf-b0--34.ucode firmware: iwlwifi-9000-pu-a0-jf-a0--34.ucode firmware: iwlwifi-QuQnj-a0-hr-a0--34.ucode firmware: iwlwifi-QuQnj-a0-jf-b0--34.ucode firmware: iwlwifi-QuQnj-f0-hr-a0--34.ucode firmware: iwlwifi-Qu-a0-jf-b0--34.ucode firmware: iwlwifi-Qu-a0-hr-a0--34.ucode Fix that by dropping the extra adding of '"-"'. Signed-off-by: Thomas Backlund <t...@mageia.org> cc: Luca Coelho <luciano.coe...@intel.com> cc: sta...@vger.kernel.org --- drivers/net/wireless/intel/iwlwifi/cfg/9000.c | 8 drivers/net/wireless/intel/iwlwifi/cfg/a000.c | 10 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/cfg/9000.c b/drivers/net/wireless/intel/iwlwifi/cfg/9000.c index e8b5ff42f5a8..0b3fe4971fc9 100644 --- a/drivers/net/wireless/intel/iwlwifi/cfg/9000.c +++ b/drivers/net/wireless/intel/iwlwifi/cfg/9000.c @@ -77,13 +77,13 @@ #define IWL9260A_FW_PRE "iwlwifi-9260-th-a0-jf-a0-" #define IWL9260B_FW_PRE "iwlwifi-9260-th-b0-jf-b0-" #define IWL9000_MODULE_FIRMWARE(api) \ - IWL9000_FW_PRE "-" __stringify(api) ".ucode" + IWL9000_FW_PRE __stringify(api) ".ucode" #define IWL9000RFB_MODULE_FIRMWARE(api) \ - IWL9000RFB_FW_PRE "-" __stringify(api) ".ucode" + IWL9000RFB_FW_PRE __stringify(api) ".ucode" #define IWL9260A_MODULE_FIRMWARE(api) \ - IWL9260A_FW_PRE "-" __stringify(api) ".ucode" + IWL9260A_FW_PRE __stringify(api) ".ucode" #define IWL9260B_MODULE_FIRMWARE(api) \ - IWL9260B_FW_PRE "-" __stringify(api) ".ucode" + IWL9260B_FW_PRE __stringify(api) ".ucode" #define NVM_HW_SECTION_NUM_FAMILY_9000 10 diff --git a/drivers/net/wireless/intel/iwlwifi/cfg/a000.c b/drivers/net/wireless/intel/iwlwifi/cfg/a000.c index a440140ed8dd..7eade165b747 100644 --- a/drivers/net/wireless/intel/iwlwifi/cfg/a000.c +++ b/drivers/net/wireless/intel/iwlwifi/cfg/a000.c @@ -80,15 +80,15 @@ #define IWL_A000_HR_A0_FW_PRE "iwlwifi-QuQnj-a0-hr-a0-" #define IWL_A000_HR_MODULE_FIRMWARE(api) \ - IWL_A000_HR_FW_PRE "-" __stringify(api) ".ucode" + IWL_A000_HR_FW_PRE __stringify(api) ".ucode" #define IWL_A000_JF_MODULE_FIRMWARE(api) \ - IWL_A000_JF_FW_PRE "-" __stringify(api) ".ucode" + IWL_A000_JF_FW_PRE __stringify(api) ".ucode" #define IWL_A000_HR_F0_QNJ_MODULE_FIRMWARE(api) \ - IWL_A000_HR_F0_FW_PRE "-" __stringify(api) ".ucode" + IWL_A000_HR_F0_FW_PRE __stringify(api) ".ucode" #define IWL_A000_JF_B0_QNJ_MODULE_FIRMWARE(api) \ - IWL_A000_JF_B0_FW_PRE "-" __stringify(api) ".ucode" + IWL_A000_JF_B0_FW_PRE __stringify(api) ".ucode" #define IWL_A000_HR_A0_QNJ_MODULE_FIRMWARE(api) \ - IWL_A000_HR_A0_FW_PRE "-" __stringify(api) ".ucode" + IWL_A000_HR_A0_FW_PRE __stringify(api) ".ucode" #define NVM_HW_SECTION_NUM_FAMILY_A000 10 -- 2.14.3
ath10k_pci / qca6174 firmware crash...
I have a Lenovo Yoga 720 running linux 4.13.10 Got a firmware crash, and a reboot was needed to get the wireless back. is this known ? kernel logs: [22881.494830] ath10k_pci :3f:00.0: firmware crashed! (uuid n/a) [22881.494840] ath10k_pci :3f:00.0: qca6174 hw3.2 target 0x0503 chip_id 0x00340aff sub 17aa:0827 [22881.494842] ath10k_pci :3f:00.0: kconfig debug 1 debugfs 0 tracing 0 dfs 0 testmode 0 [22881.495227] ath10k_pci :3f:00.0: firmware ver WLAN.RM.4.4.1-00051-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 c3fd4411 [22881.495495] ath10k_pci :3f:00.0: board_file api 2 bmi_id N/A crc32 0e26ef70 [22881.495498] ath10k_pci :3f:00.0: htt-ver 3.44 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 [22881.507606] ath10k_pci :3f:00.0: failed to get memcpy hi address for firmware address 4: -16 [22881.507607] ath10k_pci :3f:00.0: failed to read firmware dump area: -16 [22881.507609] ath10k_pci :3f:00.0: Copy Engine register dump: [22881.507625] ath10k_pci :3f:00.0: [00]: 0x00034400 2 2 3 3 [22881.507637] ath10k_pci :3f:00.0: [01]: 0x00034800 24 24 357 358 [22881.507644] ath10k_pci :3f:00.0: [02]: 0x00034c00 35 35 97 99 [22881.507655] ath10k_pci :3f:00.0: [03]: 0x00035000 2 2 4 2 [22881.507663] ath10k_pci :3f:00.0: [04]: 0x00035400 847 847 233 169 [22881.507672] ath10k_pci :3f:00.0: [05]: 0x00035800 0 0 64 0 [22881.507684] ath10k_pci :3f:00.0: [06]: 0x00035c00 26 26 26 26 [22881.507691] ath10k_pci :3f:00.0: [07]: 0x00036000 1 1 1 1 [22881.571157] ieee80211 phy0: Hardware restart was requested [22882.260322] ath10k_pci :3f:00.0: Unknown eventid: 118809 [22882.262835] ath10k_pci :3f:00.0: Unknown eventid: 90118 [22882.356074] ath10k_pci :3f:00.0: device successfully recovered At this point network is still broken. Here I tried to disable/enable wireless to recover network access : (sometimes it work, but not this time) [23596.617062] wlp63s0: deauthenticating from 18:8b:45:02:96:cf by local choice (Reason: 3=DEAUTH_LEAVING) [23602.583145] ath10k_pci :3f:00.0: Unknown eventid: 118809 [23602.585917] ath10k_pci :3f:00.0: Unknown eventid: 90118 [23602.642812] IPv6: ADDRCONF(NETDEV_UP): wlp63s0: link is not ready [23602.655518] IPv6: ADDRCONF(NETDEV_UP): wlp63s0: link is not ready [23609.249013] ath10k_pci :3f:00.0: failed to receive control response completion, polling.. [23609.281698] ath10k_pci :3f:00.0: failed to wake target for write32 of 0x0001 at 0x00034430: -110 [23609.314384] ath10k_pci :3f:00.0: failed to wake target for read32 at 0x0003: -110 [23609.347066] ath10k_pci :3f:00.0: failed to wake target for write32 of 0x001e at 0x00034430: -110 [23609.379755] ath10k_pci :3f:00.0: failed to wake target for write32 of 0x0001 at 0x00034830: -110 [23609.412449] ath10k_pci :3f:00.0: failed to wake target for write32 of 0x0001 at 0x00035430: -110 [23609.445129] ath10k_pci :3f:00.0: failed to wake target for read32 at 0x00035444: -110 [23609.477809] ath10k_pci :3f:00.0: failed to wake target for write32 of 0x001e at 0x00035430: -110 [23609.510497] ath10k_pci :3f:00.0: failed to wake target for write32 of 0x001e at 0x00034830: -110 [23609.543184] ath10k_pci :3f:00.0: failed to wake target for write32 of 0x0001 at 0x00034c30: -110 [23610.977362] ath10k_pci :3f:00.0: ctl_resp never came in (-110) [23610.977365] ath10k_pci :3f:00.0: failed to connect to HTC: -110 [23614.269213] ath10k_warn: 112 callbacks suppressed [23614.269215] ath10k_pci :3f:00.0: failed to wake target for write32 of 0x0800 at 0x00035010: -110 [23614.301897] ath10k_pci :3f:00.0: failed to wake target for read32 at 0x00035010: -110 [23614.334583] ath10k_pci :3f:00.0: failed to wake target for write32 of 0xfffe at 0x00035010: -110 [23614.367258] ath10k_pci :3f:00.0: failed to wake target for read32 at 0x0003504c: -110 [23614.399936] ath10k_pci :3f:00.0: failed to wake target for write32 of 0x at 0x0003504c: -110 [23614.432615] ath10k_pci :3f:00.0: failed to wake target for read32 at 0x0003504c: -110 [23614.465293] ath10k_pci :3f:00.0: failed to wake target for write32 of 0x0020 at 0x0003504c: -110 [23614.497976] ath10k_pci :3f:00.0: failed to wake target for read32 at 0x00035444: -110 [23614.530657] ath10k_pci :3f:00.0: failed to wake target for read32 at 0x0003543c: -110 [23614.563341] ath10k_pci :3f:00.0: failed to wake target for write32 of 0x0d04 at 0x00035400: -110 [23618.745947] ath10k_pci :3f:00.0: failed to read device register, device is gone [23619.277892] ath10k_warn: 143 callbacks suppressed [23619.277895] ath10k_pci :3f:00.0: failed to wake target for write32 of 0xfffe at 0x00034410: -110 [23619.310205] ath10k_pci :3f:00.0: failed to wake target for read32 at 0x0003444c: -110 [23619.342469] ath10k_pci