Created attachment 256627 [details] dmesg | grep iwlwifi Hi, I just bought new Wi-FI card (Intel Centrino Advanced-N 6250) to my Lenovo G570. On Windows everything works great but on Linux I always have some speed drops (sometimes it works 16 MBps, and sometimes 0.2 MBps) and long pings (from 22 ms to 170 ms). I found that every connection drops is caused by "Microcode SW error detected" in dmesg. Usually, I have one drop per two minutes... [ 3438.643643] iwlwifi 0000:02:00.0: Microcode SW error detected. Restarting 0x82000000. [ 3438.643732] iwlwifi 0000:02:00.0: CSR values: [ 3438.643737] iwlwifi 0000:02:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG) [ 3438.643769] iwlwifi 0000:02:00.0: CSR_HW_IF_CONFIG_REG: 0X00488704 [ 3438.643803] iwlwifi 0000:02:00.0: CSR_INT_COALESCING: 0X0000ff40 [ 3438.643834] iwlwifi 0000:02:00.0: CSR_INT: 0X00000000 [ 3438.643867] iwlwifi 0000:02:00.0: CSR_INT_MASK: 0X00000000 [ 3438.643898] iwlwifi 0000:02:00.0: CSR_FH_INT_STATUS: 0X00000000 [ 3438.643931] iwlwifi 0000:02:00.0: CSR_GPIO_IN: 0X0000000f [ 3438.643963] iwlwifi 0000:02:00.0: CSR_RESET: 0X00000000 [ 3438.643995] iwlwifi 0000:02:00.0: CSR_GP_CNTRL: 0X080403c5 [ 3438.644027] iwlwifi 0000:02:00.0: CSR_HW_REV: 0X00000084 [ 3438.644059] iwlwifi 0000:02:00.0: CSR_EEPROM_REG: 0X757c0ffd [ 3438.644091] iwlwifi 0000:02:00.0: CSR_EEPROM_GP: 0X90000801 [ 3438.644123] iwlwifi 0000:02:00.0: CSR_OTP_GP_REG: 0X00030001 [ 3438.644156] iwlwifi 0000:02:00.0: CSR_GIO_REG: 0X00080042 [ 3438.644185] iwlwifi 0000:02:00.0: CSR_GP_UCODE_REG: 0X0000125b [ 3438.644216] iwlwifi 0000:02:00.0: CSR_GP_DRIVER_REG: 0X00000004 [ 3438.644248] iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP1: 0X00000000 [ 3438.644277] iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP2: 0X00000000 [ 3438.644308] iwlwifi 0000:02:00.0: CSR_LED_REG: 0X00000040 [ 3438.644338] iwlwifi 0000:02:00.0: CSR_DRAM_INT_TBL_REG: 0X881f78cc [ 3438.644369] iwlwifi 0000:02:00.0: CSR_GIO_CHICKEN_BITS: 0X27800200 [ 3438.644433] iwlwifi 0000:02:00.0: CSR_ANA_PLL_CFG: 0X00000000 [ 3438.644466] iwlwifi 0000:02:00.0: CSR_MONITOR_STATUS_REG: 0X6bf7ff57 [ 3438.644498] iwlwifi 0000:02:00.0: CSR_HW_REV_WA_REG: 0X0001001a [ 3438.644530] iwlwifi 0000:02:00.0: CSR_DBG_HPET_MEM_REG: 0Xffff0000 [ 3438.644535] iwlwifi 0000:02:00.0: FH register values: [ 3438.644583] iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X19b8b200 [ 3438.644626] iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X01c289b0 [ 3438.644666] iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_WPTR: 0X00000028 [ 3438.644712] iwlwifi 0000:02:00.0: FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X80801114 [ 3438.644759] iwlwifi 0000:02:00.0: FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc [ 3438.644805] iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_STATUS_REG: 0X07030000 [ 3438.644846] iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000 [ 3438.644886] iwlwifi 0000:02:00.0: FH_TSSR_TX_STATUS_REG: 0X07ff0001 [ 3438.644926] iwlwifi 0000:02:00.0: FH_TSSR_TX_ERROR_REG: 0X00000000 $ lspci | grep Network 02:00.0 Network controller: Intel Corporation Centrino Advanced-N + WiMAX 6250 [Kilmer Peak] (rev 5e) $ uname -a Linux martin-nb 4.10.13-1-default #1 SMP PREEMPT Thu Apr 27 12:23:31 UTC 2017 (e5d11ce) x86_64 x86_64 x86_64 GNU/Linux $ dmesg | egrep 'iwlwifi .* firmware' [ 1774.602338] iwlwifi 0000:02:00.0: Loaded firmware version: 41.28.5.1 build 33926 $ dmesg | grep "Microcode SW error detected" | wc -l 34 $ uptime 16:46 up 1:36, 2 users, load average: 0,27, 0,35, 0,35 I seems to be fixed on some cards here: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1405842 But fixing git commit doesn't affect firmware files used in my driver: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=a876c69f042cf4732755b325d3b709125bb51a06 According to this: https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi I was recommended here by OpenSUSE Bugzilla where I sent it first. I found some similar bug WILL_NOT_FIX requests here but I think this should be different and it is really issue for me - it breaks my wires cart that is unusable every few minutes and that's annoying. But I'm bit confused by previous reports :-) I also found "Microcode SW error detected. Restarting 0x82000000." in dmesg (see attachment), but it is less often. If it's not a bug how can I fix it or where should I send it if it isn't kernel related?
Created attachment 256629 [details] dmesg (full)
$ ethtool -i wlp2s0 | grep firmware firmware-version: 41.28.5.1 build 33926
This card is 8 years old or so. You are facing a firmware issue and we don't provide firmware for these family of devices. Sorry.
I know that but Lenovo made a BIOS restrictions for Wi-Fi cards so I cannot use every card. I can only try some card from Hardware maintenance manual and they are usually even older than my NTB. There are also params like FRU number I have to follow (because of BIOS) and I usually cannot find any good card for me. So it's bad new for me...