* Intel wireless microcode problem..
@ 2014-08-14 15:05 Linus Torvalds
2014-08-14 15:42 ` Larry Finger
2014-08-14 15:50 ` Emmanuel Grumbach
0 siblings, 2 replies; 10+ messages in thread
From: Linus Torvalds @ 2014-08-14 15:05 UTC (permalink / raw)
To: Johannes Berg, Emmanuel Grumbach
Cc: Intel Linux Wireless, John W. Linville, Linux Wireless List,
Network Development
Ok, so it seems the current merge window introduces some horrid intel
microcode problem, because I don't seem to see this with 3.16. But
maybe that's just happenstance.
Any ideas? This fills up all the logs etc.
Linus
---
iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S
iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S
iwlwifi 0000:01:00.0: Microcode SW error detected. Restarting 0x2000000.
iwlwifi 0000:01:00.0: CSR values:
iwlwifi 0000:01:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
iwlwifi 0000:01:00.0: CSR_HW_IF_CONFIG_REG: 0X40489204
iwlwifi 0000:01:00.0: CSR_INT_COALESCING: 0X80000040
iwlwifi 0000:01:00.0: CSR_INT: 0X00000000
iwlwifi 0000:01:00.0: CSR_INT_MASK: 0X00000000
iwlwifi 0000:01:00.0: CSR_FH_INT_STATUS: 0X00000000
iwlwifi 0000:01:00.0: CSR_GPIO_IN: 0X00000000
iwlwifi 0000:01:00.0: CSR_RESET: 0X00000000
iwlwifi 0000:01:00.0: CSR_GP_CNTRL: 0X080403c5
iwlwifi 0000:01:00.0: CSR_HW_REV: 0X00000144
iwlwifi 0000:01:00.0: CSR_EEPROM_REG: 0X00000000
iwlwifi 0000:01:00.0: CSR_EEPROM_GP: 0X80000000
iwlwifi 0000:01:00.0: CSR_OTP_GP_REG: 0X803a0000
iwlwifi 0000:01:00.0: CSR_GIO_REG: 0X00080044
iwlwifi 0000:01:00.0: CSR_GP_UCODE_REG: 0X00000000
iwlwifi 0000:01:00.0: CSR_GP_DRIVER_REG: 0X00000000
iwlwifi 0000:01:00.0: CSR_UCODE_DRV_GP1: 0X00000000
iwlwifi 0000:01:00.0: CSR_UCODE_DRV_GP2: 0X00000000
iwlwifi 0000:01:00.0: CSR_LED_REG: 0X00000060
iwlwifi 0000:01:00.0: CSR_DRAM_INT_TBL_REG: 0X880d8e9d
iwlwifi 0000:01:00.0: CSR_GIO_CHICKEN_BITS: 0X27800200
iwlwifi 0000:01:00.0: CSR_ANA_PLL_CFG: 0Xd55555d5
iwlwifi 0000:01:00.0: CSR_MONITOR_STATUS_REG: 0X3d0801bd
iwlwifi 0000:01:00.0: CSR_HW_REV_WA_REG: 0X0001001a
iwlwifi 0000:01:00.0: CSR_DBG_HPET_MEM_REG: 0Xffff0000
iwlwifi 0000:01:00.0: FH register values:
iwlwifi 0000:01:00.0: FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X0d42d300
iwlwifi 0000:01:00.0: FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X00d42d20
iwlwifi 0000:01:00.0: FH_RSCSR_CHNL0_WPTR: 0X00000028
iwlwifi 0000:01:00.0: FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X80801114
iwlwifi 0000:01:00.0: FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
iwlwifi 0000:01:00.0: FH_MEM_RSSR_RX_STATUS_REG: 0X07030000
iwlwifi 0000:01:00.0: FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
iwlwifi 0000:01:00.0: FH_TSSR_TX_STATUS_REG: 0X07ff0001
iwlwifi 0000:01:00.0: FH_TSSR_TX_ERROR_REG: 0X00000000
iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
iwlwifi 0000:01:00.0: Status: 0x00000000, count: 6
iwlwifi 0000:01:00.0: Loaded firmware version: 23.214.9.0
iwlwifi 0000:01:00.0: 0x0000277B | ADVANCED_SYSASSERT
iwlwifi 0000:01:00.0: 0x00A002A0 | uPc
iwlwifi 0000:01:00.0: 0x00000000 | branchlink1
iwlwifi 0000:01:00.0: 0x00000BA4 | branchlink2
iwlwifi 0000:01:00.0: 0x000166A4 | interruptlink1
iwlwifi 0000:01:00.0: 0x004C0648 | interruptlink2
iwlwifi 0000:01:00.0: 0x00000021 | data1
iwlwifi 0000:01:00.0: 0x00000016 | data2
iwlwifi 0000:01:00.0: 0xDEADBEEF | data3
iwlwifi 0000:01:00.0: 0x003CC2EC | beacon time
iwlwifi 0000:01:00.0: 0x00033D3D | tsf low
iwlwifi 0000:01:00.0: 0x00000000 | tsf hi
iwlwifi 0000:01:00.0: 0x00000000 | time gp1
iwlwifi 0000:01:00.0: 0x00033D3D | time gp2
iwlwifi 0000:01:00.0: 0x00000000 | time gp3
iwlwifi 0000:01:00.0: 0x000417D6 | uCode version
iwlwifi 0000:01:00.0: 0x00000144 | hw version
iwlwifi 0000:01:00.0: 0x40489204 | board version
iwlwifi 0000:01:00.0: 0x0000001C | hcmd
iwlwifi 0000:01:00.0: 0x00022000 | isr0
iwlwifi 0000:01:00.0: 0x01000000 | isr1
iwlwifi 0000:01:00.0: 0x00000002 | isr2
iwlwifi 0000:01:00.0: 0x004058C0 | isr3
iwlwifi 0000:01:00.0: 0x00000001 | isr4
iwlwifi 0000:01:00.0: 0x00000110 | isr_pref
iwlwifi 0000:01:00.0: 0x00000000 | wait_event
iwlwifi 0000:01:00.0: 0x00000850 | l2p_control
iwlwifi 0000:01:00.0: 0x00018000 | l2p_duration
iwlwifi 0000:01:00.0: 0x0000003F | l2p_mhvalid
iwlwifi 0000:01:00.0: 0x00000081 | l2p_addr_match
iwlwifi 0000:01:00.0: 0x00000005 | lmpm_pmg_sel
iwlwifi 0000:01:00.0: 0x18051651 | timestamp
iwlwifi 0000:01:00.0: 0x00002830 | flow_handler
ieee80211 phy0: Hardware restart was requested
iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S
iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S
iwlwifi 0000:01:00.0: Microcode SW error detected. Restarting 0x2000000.
iwlwifi 0000:01:00.0: CSR values:
iwlwifi 0000:01:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
iwlwifi 0000:01:00.0: CSR_HW_IF_CONFIG_REG: 0X40489204
iwlwifi 0000:01:00.0: CSR_INT_COALESCING: 0X8000ff40
iwlwifi 0000:01:00.0: CSR_INT: 0X00000000
iwlwifi 0000:01:00.0: CSR_INT_MASK: 0X00000000
iwlwifi 0000:01:00.0: CSR_FH_INT_STATUS: 0X00000000
iwlwifi 0000:01:00.0: CSR_GPIO_IN: 0X00000000
iwlwifi 0000:01:00.0: CSR_RESET: 0X00000000
iwlwifi 0000:01:00.0: CSR_GP_CNTRL: 0X080403cd
iwlwifi 0000:01:00.0: CSR_HW_REV: 0X00000144
iwlwifi 0000:01:00.0: CSR_EEPROM_REG: 0X00000000
iwlwifi 0000:01:00.0: CSR_EEPROM_GP: 0X80000000
iwlwifi 0000:01:00.0: CSR_OTP_GP_REG: 0X803a0000
iwlwifi 0000:01:00.0: CSR_GIO_REG: 0X00080044
iwlwifi 0000:01:00.0: CSR_GP_UCODE_REG: 0X00000000
iwlwifi 0000:01:00.0: CSR_GP_DRIVER_REG: 0X00000000
iwlwifi 0000:01:00.0: CSR_UCODE_DRV_GP1: 0X00000000
iwlwifi 0000:01:00.0: CSR_UCODE_DRV_GP2: 0X00000000
iwlwifi 0000:01:00.0: CSR_LED_REG: 0X00000060
iwlwifi 0000:01:00.0: CSR_DRAM_INT_TBL_REG: 0X880d8e9d
iwlwifi 0000:01:00.0: CSR_GIO_CHICKEN_BITS: 0X27800200
iwlwifi 0000:01:00.0: CSR_ANA_PLL_CFG: 0Xd55555d5
iwlwifi 0000:01:00.0: CSR_MONITOR_STATUS_REG: 0X3d0801bd
iwlwifi 0000:01:00.0: CSR_HW_REV_WA_REG: 0X0001001a
iwlwifi 0000:01:00.0: CSR_DBG_HPET_MEM_REG: 0Xffff0000
iwlwifi 0000:01:00.0: FH register values:
iwlwifi 0000:01:00.0: FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X0d42d300
iwlwifi 0000:01:00.0: FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X00d42d20
iwlwifi 0000:01:00.0: FH_RSCSR_CHNL0_WPTR: 0X00000018
iwlwifi 0000:01:00.0: FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X80801114
iwlwifi 0000:01:00.0: FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
iwlwifi 0000:01:00.0: FH_MEM_RSSR_RX_STATUS_REG: 0X07030000
iwlwifi 0000:01:00.0: FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
iwlwifi 0000:01:00.0: FH_TSSR_TX_STATUS_REG: 0X07ff0001
iwlwifi 0000:01:00.0: FH_TSSR_TX_ERROR_REG: 0X00000000
iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
iwlwifi 0000:01:00.0: Status: 0x00000008, count: 6
iwlwifi 0000:01:00.0: Loaded firmware version: 23.214.9.0
iwlwifi 0000:01:00.0: 0x00003401 | ADVANCED_SYSASSERT
iwlwifi 0000:01:00.0: 0x000002F0 | uPc
iwlwifi 0000:01:00.0: 0x00000000 | branchlink1
iwlwifi 0000:01:00.0: 0x00000BA4 | branchlink2
iwlwifi 0000:01:00.0: 0x000166A4 | interruptlink1
iwlwifi 0000:01:00.0: 0x004C0648 | interruptlink2
iwlwifi 0000:01:00.0: 0x0000FF00 | data1
iwlwifi 0000:01:00.0: 0xFFFFFFFF | data2
iwlwifi 0000:01:00.0: 0xDEADBEEF | data3
iwlwifi 0000:01:00.0: 0x003FEE8D | beacon time
iwlwifi 0000:01:00.0: 0x00001172 | tsf low
iwlwifi 0000:01:00.0: 0x00000000 | tsf hi
iwlwifi 0000:01:00.0: 0x00000000 | time gp1
iwlwifi 0000:01:00.0: 0x00001173 | time gp2
iwlwifi 0000:01:00.0: 0x00000000 | time gp3
iwlwifi 0000:01:00.0: 0x000417D6 | uCode version
iwlwifi 0000:01:00.0: 0x00000144 | hw version
iwlwifi 0000:01:00.0: 0x40489204 | board version
iwlwifi 0000:01:00.0: 0x09190028 | hcmd
iwlwifi 0000:01:00.0: 0x00022080 | isr0
iwlwifi 0000:01:00.0: 0x00000000 | isr1
iwlwifi 0000:01:00.0: 0x00000002 | isr2
iwlwifi 0000:01:00.0: 0x004000C0 | isr3
iwlwifi 0000:01:00.0: 0x00000001 | isr4
iwlwifi 0000:01:00.0: 0x01000112 | isr_pref
iwlwifi 0000:01:00.0: 0x00000000 | wait_event
iwlwifi 0000:01:00.0: 0x00000850 | l2p_control
iwlwifi 0000:01:00.0: 0x00000000 | l2p_duration
iwlwifi 0000:01:00.0: 0x00000000 | l2p_mhvalid
iwlwifi 0000:01:00.0: 0x00000000 | l2p_addr_match
iwlwifi 0000:01:00.0: 0x00000007 | lmpm_pmg_sel
iwlwifi 0000:01:00.0: 0x18051651 | timestamp
iwlwifi 0000:01:00.0: 0x00001820 | flow_handler
iwlwifi 0000:01:00.0: Firmware error during reconfiguration - reprobe!
iwlwifi 0000:01:00.0: FW error in SYNC CMD MAC_CONTEXT_CMD
CPU: 0 PID: 748 Comm: kworker/0:4 Not tainted 3.16.0-10959-gf0094b28f303 #1
Hardware name: Sony Corporation SVP11213CXB/VAIO, BIOS R0270V7 05/17/2013
Workqueue: events ieee80211_restart_work [mac80211]
ffff8800d42e7c10 ffffffff815b1809 ffff8800d9ef8000 ffffffffc0665430
0000000000000286 0000000000000000 ffff8800d3d5d070 ffffffff81099e50
ffff8800d42e7bb8 ffff8800d42e7bb8 ffff8800d42e7c10 ffff8800d42e7c60
Call Trace:
[<ffffffff815b1809>] ? dump_stack+0x41/0x51
[<ffffffffc0665430>] ? iwl_trans_pcie_send_hcmd+0x590/0x5a0 [iwlwifi]
[<ffffffff81099e50>] ? prepare_to_wait_event+0xf0/0xf0
[<ffffffffc078c818>] ? iwl_mvm_send_cmd+0x38/0xb0 [iwlmvm]
[<ffffffffc078c8cc>] ? iwl_mvm_send_cmd_pdu+0x3c/0x50 [iwlmvm]
[<ffffffffc078affe>] ? iwl_mvm_mac_ctxt_send_cmd+0x1e/0x50 [iwlmvm]
[<ffffffffc078b895>] ? iwl_mvm_mac_ctxt_cmd_sta+0xd5/0x170 [iwlmvm]
[<ffffffffc06646e0>] ? iwl_trans_pcie_txq_enable+0x260/0x400 [iwlwifi]
[<ffffffffc078c314>] ? iwl_mvm_mac_ctxt_add+0x24/0xb0 [iwlmvm]
[<ffffffffc0788005>] ? iwl_mvm_mac_add_interface+0xe5/0x290 [iwlmvm]
[<ffffffffc0741a7b>] ? ieee80211_reconfig+0x4ab/0xd10 [mac80211]
[<ffffffffc071a1e8>] ? ieee80211_restart_work+0x38/0x70 [mac80211]
[<ffffffff81079cb0>] ? process_one_work+0x160/0x370
[<ffffffff8107a274>] ? worker_thread+0x114/0x470
[<ffffffff8107a160>] ? rescuer_thread+0x2a0/0x2a0
[<ffffffff8107e728>] ? kthread+0xb8/0xd0
[<ffffffff8107e670>] ? kthread_create_on_node+0x170/0x170
[<ffffffff815b81ec>] ? ret_from_fork+0x7c/0xb0
[<ffffffff8107e670>] ? kthread_create_on_node+0x170/0x170
iwlwifi 0000:01:00.0: Failed to send MAC context (action:1): -5
------------[ cut here ]------------
WARNING: CPU: 0 PID: 748 at
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c:1177
iwl_mvm_mac_ctxt_changed+0x65/0x80 [iwlmvm]()
Changing inactive MAC 5c:51:4f:1e:c3:c8/2
Modules linked in: rfcomm fuse ip6t_rpfilter ip6t_REJECT xt_conntrack
ebtable_nat ebtable_broute bridge stp llc mmc_block ebtable_filter
ebtables ip6table_nat bnep nf_conntrack_ipv6 nf_defrag_ipv6
nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw
ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4
nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle
iptable_security iptable_raw vfat fat pn544_mei mei_phy pn544 hci nfc
rtsx_pci_sdmmc mmc_core snd_hda_codec_hdmi snd_hda_codec_realtek
iTCO_wdt snd_hda_codec_generic arc4 iTCO_vendor_support snd_hda_intel
snd_hda_controller iwlmvm snd_hda_codec snd_hwdep mac80211
x86_pkg_temp_thermal coretemp snd_seq microcode uvcvideo btusb
videobuf2_vmalloc videobuf2_memops joydev snd_seq_device
videobuf2_core bluetooth serio_raw i2c_i801
v4l2_common iwlwifi snd_pcm videodev hid_multitouch media cfg80211
rtsx_pci mei_me lpc_ich snd_timer mei mfd_core snd shpchp soundcore
sony_laptop rfkill dm_crypt i915 crct10dif_pclmul crc32_pclmul
crc32c_intel i2c_algo_bit drm_kms_helper drm ghash_clmulni_intel video
CPU: 0 PID: 748 Comm: kworker/0:4 Not tainted 3.16.0-10959-gf0094b28f303 #1
Hardware name: Sony Corporation SVP11213CXB/VAIO, BIOS R0270V7 05/17/2013
Workqueue: events ieee80211_restart_work [mac80211]
0000000000000009 ffffffff815b1809 ffff8800d42e7d20 ffffffff8106619d
ffff8800d3c35a68 ffff8800d42e7d70 00000000000674ff ffff8800d933b310
ffff8800d933b318 ffffffff81066207 ffffffffc07b06dd ffffffff00000028
Call Trace:
[<ffffffff815b1809>] ? dump_stack+0x41/0x51
[<ffffffff8106619d>] ? warn_slowpath_common+0x6d/0x90
[<ffffffff81066207>] ? warn_slowpath_fmt+0x47/0x50
[<ffffffffc073f305>] ?
ieee80211_iterate_active_interfaces_atomic+0x5/0x10 [mac80211]
[<ffffffffc0785bb0>] ? iwl_mvm_recalc_multicast+0x30/0x60 [iwlmvm]
[<ffffffffc078c405>] ? iwl_mvm_mac_ctxt_changed+0x65/0x80 [iwlmvm]
[<ffffffffc0787acc>] ? iwl_mvm_bss_info_changed+0x12c/0x580 [iwlmvm]
[<ffffffffc0741e6f>] ? ieee80211_reconfig+0x89f/0xd10 [mac80211]
[<ffffffffc071a1e8>] ? ieee80211_restart_work+0x38/0x70 [mac80211]
[<ffffffff81079cb0>] ? process_one_work+0x160/0x370
[<ffffffff8107a274>] ? worker_thread+0x114/0x470
[<ffffffff8107a160>] ? rescuer_thread+0x2a0/0x2a0
[<ffffffff8107e728>] ? kthread+0xb8/0xd0
[<ffffffff8107e670>] ? kthread_create_on_node+0x170/0x170
[<ffffffff815b81ec>] ? ret_from_fork+0x7c/0xb0
[<ffffffff8107e670>] ? kthread_create_on_node+0x170/0x170
---[ end trace 52195047d9637af6 ]---
iwlwifi 0000:01:00.0: failed to update MAC 5c:51:4f:1e:c3:c8
iwlwifi 0000:01:00.0: Failed to update the ctrl_kill_msk
iwlwifi 0000:01:00.0: Failed to send quota: -5
iwlwifi 0000:01:00.0: Failed to update quotas after restart (-5)
iwlwifi 0000:01:00.0: Failed to send flush command (-5)
------------[ cut here ]------------
WARNING: CPU: 0 PID: 748 at
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c:1191
iwl_mvm_mac_ctxt_remove+0x120/0x140 [iwlmvm]()
Removing inactive MAC 5c:51:4f:1e:c3:c8/2
Modules linked in: rfcomm fuse ip6t_rpfilter ip6t_REJECT xt_conntrack
ebtable_nat ebtable_broute bridge stp llc mmc_block ebtable_filter
ebtables ip6table_nat bnep nf_conntrack_ipv6 nf_defrag_ipv6
nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw
ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4
nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle
iptable_security iptable_raw vfat fat pn544_mei mei_phy pn544 hci nfc
rtsx_pci_sdmmc mmc_core snd_hda_codec_hdmi snd_hda_codec_realtek
iTCO_wdt snd_hda_codec_generic arc4 iTCO_vendor_support snd_hda_intel
snd_hda_controller iwlmvm snd_hda_codec snd_hwdep mac80211
x86_pkg_temp_thermal coretemp snd_seq microcode uvcvideo btusb
videobuf2_vmalloc videobuf2_memops joydev snd_seq_device
videobuf2_core bluetooth serio_raw i2c_i801
v4l2_common iwlwifi snd_pcm videodev hid_multitouch media cfg80211
rtsx_pci mei_me lpc_ich snd_timer mei mfd_core snd shpchp soundcore
sony_laptop rfkill dm_crypt i915 crct10dif_pclmul crc32_pclmul
crc32c_intel i2c_algo_bit drm_kms_helper drm ghash_clmulni_intel video
CPU: 0 PID: 748 Comm: kworker/0:4 Tainted: G W
3.16.0-10959-gf0094b28f303 #1
Hardware name: Sony Corporation SVP11213CXB/VAIO, BIOS R0270V7 05/17/2013
Workqueue: events iwl_mvm_reprobe_wk [iwlmvm]
0000000000000009 ffffffff815b1809 ffff8800d42e7ab0 ffffffff8106619d
ffff8800d933b310 ffff8800d42e7b00 ffff8800d3c35a60 ffff8800d3c35a98
ffff8800d3c354e8 ffffffff81066207 ffffffffc07b06fb 0000000000000028
Call Trace:
[<ffffffff815b1809>] ? dump_stack+0x41/0x51
[<ffffffff8106619d>] ? warn_slowpath_common+0x6d/0x90
[<ffffffff81066207>] ? warn_slowpath_fmt+0x47/0x50
[<ffffffff81099e80>] ? autoremove_wake_function+0x30/0x30
[<ffffffff81196b85>] ? fsnotify_clear_marks_by_inode+0x25/0x110
[<ffffffffc078c540>] ? iwl_mvm_mac_ctxt_remove+0x120/0x140 [iwlmvm]
[<ffffffffc073f305>] ?
ieee80211_iterate_active_interfaces_atomic+0x5/0x10 [mac80211]
[<ffffffffc079aae7>] ? iwl_mvm_power_update_mac+0x37/0x340 [iwlmvm]
[<ffffffff8117cde6>] ? mnt_get_count+0x46/0x60
[<ffffffff8117ce32>] ? mntput_no_expire+0x32/0x110
[<ffffffffc0785ccc>] ? iwl_mvm_mac_remove_interface+0x8c/0x130 [iwlmvm]
[<ffffffffc072b6db>] ? ieee80211_do_stop+0x4db/0x820 [mac80211]
[<ffffffff814dfdc0>] ? dev_deactivate_many+0x200/0x250
[<ffffffffc072ba31>] ? ieee80211_stop+0x11/0x20 [mac80211]
[<ffffffff814bedf5>] ? __dev_close_many+0x85/0xd0
[<ffffffff814beeb9>] ? dev_close_many+0x79/0x110
[<ffffffff814c05f7>] ? rollback_registered_many+0x117/0x2c0
[<ffffffff814c07f2>] ? unregister_netdevice_many+0x12/0xa0
[<ffffffffc072d01b>] ? ieee80211_remove_interfaces+0x11b/0x1b0 [mac80211]
[<ffffffffc071a882>] ? ieee80211_unregister_hw+0x52/0x110 [mac80211]
[<ffffffffc078a425>] ? iwl_op_mode_mvm_stop+0x25/0x110 [iwlmvm]
[<ffffffffc065c9d0>] ? _iwl_op_mode_stop.isra.13+0x20/0x40 [iwlwifi]
[<ffffffffc065cc43>] ? iwl_drv_stop+0x23/0xa0 [iwlwifi]
[<ffffffffc065ff54>] ? iwl_pci_remove+0x14/0x20 [iwlwifi]
[<ffffffff812ca5ee>] ? pci_device_remove+0x2e/0xa0
[<ffffffff8136dcc5>] ? __device_release_driver+0x75/0xf0
[<ffffffff8136dd59>] ? device_release_driver+0x19/0x30
[<ffffffff8136c917>] ? device_reprobe+0x27/0x50
[<ffffffffc078a092>] ? iwl_mvm_reprobe_wk+0x12/0x40 [iwlmvm]
[<ffffffff81079cb0>] ? process_one_work+0x160/0x370
[<ffffffff8107a274>] ? worker_thread+0x114/0x470
[<ffffffff8107a160>] ? rescuer_thread+0x2a0/0x2a0
[<ffffffff8107e728>] ? kthread+0xb8/0xd0
[<ffffffff8107e670>] ? kthread_create_on_node+0x170/0x170
[<ffffffff815b81ec>] ? ret_from_fork+0x7c/0xb0
[<ffffffff8107e670>] ? kthread_create_on_node+0x170/0x170
---[ end trace 52195047d9637af7 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 748 at
drivers/net/wireless/iwlwifi/pcie/tx.c:1171
iwl_trans_pcie_txq_disable+0x10c/0x140 [iwlwifi]()
queue 0 not used
Modules linked in:
rfcomm fuse ip6t_rpfilter ip6t_REJECT xt_conntrack ebtable_nat
ebtable_broute bridge stp llc mmc_block ebtable_filter ebtables
ip6table_nat bnep nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6
ip6table_mangle ip6table_security ip6table_raw ip6table_filter
ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4
nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw vfat
fat pn544_mei mei_phy pn544 hci nfc rtsx_pci_sdmmc mmc_core
snd_hda_codec_hdmi snd_hda_codec_realtek iTCO_wdt
snd_hda_codec_generic arc4 iTCO_vendor_support snd_hda_intel
snd_hda_controller iwlmvm snd_hda_codec snd_hwdep mac80211
x86_pkg_temp_thermal coretemp snd_seq microcode uvcvideo btusb
videobuf2_vmalloc videobuf2_memops joydev snd_seq_device
videobuf2_core bluetooth serio_raw i2c_i801 v4l2_common
iwlwifi snd_pcm videodev hid_multitouch media cfg80211 rtsx_pci
mei_me lpc_ich snd_timer mei mfd_core snd shpchp soundcore sony_laptop
rfkill dm_crypt i915 crct10dif_pclmul crc32_pclmul crc32c_intel
i2c_algo_bit drm_kms_helper drm ghash_clmulni_intel video
CPU: 0 PID: 748 Comm: kworker/0:4 Tainted: G W
3.16.0-10959-gf0094b28f303 #1
Hardware name: Sony Corporation SVP11213CXB/VAIO, BIOS R0270V7 05/17/2013
Workqueue: events iwl_mvm_reprobe_wk [iwlmvm]
0000000000000009 ffffffff815b1809 ffff8800d42e7b18 ffffffff8106619d
ffff8800d9ef8000 ffff8800d42e7b68 0000000000000000 ffff8800d3c35a98
000000000080a000 ffffffff81066207 ffffffffc066d53a ffff880000000020
Call Trace:
[<ffffffff815b1809>] ? dump_stack+0x41/0x51
[<ffffffff8106619d>] ? warn_slowpath_common+0x6d/0x90
[<ffffffff81066207>] ? warn_slowpath_fmt+0x47/0x50
[<ffffffffc073f305>] ?
ieee80211_iterate_active_interfaces_atomic+0x5/0x10 [mac80211]
[<ffffffffc079aae7>] ? iwl_mvm_power_update_mac+0x37/0x340 [iwlmvm]
[<ffffffff8117cde6>] ? mnt_get_count+0x46/0x60
[<ffffffffc066498c>] ? iwl_trans_pcie_txq_disable+0x10c/0x140 [iwlwifi]
[<ffffffffc078c22f>] ? iwl_mvm_mac_ctxt_release+0x2f/0x80 [iwlmvm]
[<ffffffffc0785cd7>] ? iwl_mvm_mac_remove_interface+0x97/0x130 [iwlmvm]
[<ffffffffc072b6db>] ? ieee80211_do_stop+0x4db/0x820 [mac80211]
[<ffffffff814dfdc0>] ? dev_deactivate_many+0x200/0x250
[<ffffffffc072ba31>] ? ieee80211_stop+0x11/0x20 [mac80211]
[<ffffffff814bedf5>] ? __dev_close_many+0x85/0xd0
[<ffffffff814beeb9>] ? dev_close_many+0x79/0x110
[<ffffffff814c05f7>] ? rollback_registered_many+0x117/0x2c0
[<ffffffff814c07f2>] ? unregister_netdevice_many+0x12/0xa0
[<ffffffffc072d01b>] ? ieee80211_remove_interfaces+0x11b/0x1b0 [mac80211]
[<ffffffffc071a882>] ? ieee80211_unregister_hw+0x52/0x110 [mac80211]
[<ffffffffc078a425>] ? iwl_op_mode_mvm_stop+0x25/0x110 [iwlmvm]
[<ffffffffc065c9d0>] ? _iwl_op_mode_stop.isra.13+0x20/0x40 [iwlwifi]
[<ffffffffc065cc43>] ? iwl_drv_stop+0x23/0xa0 [iwlwifi]
[<ffffffffc065ff54>] ? iwl_pci_remove+0x14/0x20 [iwlwifi]
[<ffffffff812ca5ee>] ? pci_device_remove+0x2e/0xa0
[<ffffffff8136dcc5>] ? __device_release_driver+0x75/0xf0
[<ffffffff8136dd59>] ? device_release_driver+0x19/0x30
[<ffffffff8136c917>] ? device_reprobe+0x27/0x50
[<ffffffffc078a092>] ? iwl_mvm_reprobe_wk+0x12/0x40 [iwlmvm]
[<ffffffff81079cb0>] ? process_one_work+0x160/0x370
[<ffffffff8107a274>] ? worker_thread+0x114/0x470
[<ffffffff8107a160>] ? rescuer_thread+0x2a0/0x2a0
[<ffffffff8107e728>] ? kthread+0xb8/0xd0
[<ffffffff8107e670>] ? kthread_create_on_node+0x170/0x170
[<ffffffff815b81ec>] ? ret_from_fork+0x7c/0xb0
[<ffffffff8107e670>] ? kthread_create_on_node+0x170/0x170
---[ end trace 52195047d9637af8 ]---
iwlwifi 0000:01:00.0: irq 45 for MSI/MSI-X
iwlwifi 0000:01:00.0: loaded firmware version 23.214.9.0 op_mode iwlmvm
iwlwifi 0000:01:00.0: Detected Intel(R) Dual Band Wireless N 7260, REV=0x144
iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S
iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S
ieee80211 phy1: Selected rate control algorithm 'iwl-mvm-rs'
iwlwifi 0000:01:00.0 wlp1s0: renamed from wlan0
systemd-udevd[2662]: renamed network interface wlan0 to wlp1s0
iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S
iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S
IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
iwlwifi 0000:01:00.0: RF_KILL bit toggled to disable radio.
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Intel wireless microcode problem.. 2014-08-14 15:05 Intel wireless microcode problem Linus Torvalds @ 2014-08-14 15:42 ` Larry Finger 2014-08-14 15:51 ` Linus Torvalds 2014-08-14 15:50 ` Emmanuel Grumbach 1 sibling, 1 reply; 10+ messages in thread From: Larry Finger @ 2014-08-14 15:42 UTC (permalink / raw) To: Linus Torvalds, Johannes Berg, Emmanuel Grumbach Cc: Intel Linux Wireless, John W. Linville, Linux Wireless List, Network Development On 08/14/2014 10:05 AM, Linus Torvalds wrote: > Ok, so it seems the current merge window introduces some horrid intel > microcode problem, because I don't seem to see this with 3.16. But > maybe that's just happenstance. > > Any ideas? This fills up all the logs etc. > > Linus Linus, There is a new firmware that seems to help the problem. You can get it from Emmanuel's git clone. As he wrote earlier ========================== We released an experimental firmware for 3160 / 7260 / 7265. It is available from my linux-firmware.git clone: 3160: https://git.kernel.org/cgit/linux/kernel/git/egrumbach/linux-firmware.git/plain/iwlwifi-3160-9.ucode?h=Core6 7260: https://git.kernel.org/cgit/linux/kernel/git/egrumbach/linux-firmware.git/plain/iwlwifi-7260-9.ucode?h=Core6 7265: https://git.kernel.org/cgit/linux/kernel/git/egrumbach/linux-firmware.git/plain/iwlwifi-7265-9.ucode?h=Core6 We had an issue with the version number in this stream, so I can't release it officially, nor can I send a pull request to integrate it to linux-firmware.git. I am working with the firmware team to fix the version issue. I still would be glad to have more testing on this firmware, so any feedback would be greatly appreciated. It has gone through our regular testing cycles, but "field" feedback is always valuable. Thanks in advance to anyone who will test it. New (temporary) version number: 25.223.9.0 ============================================ Larry ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Intel wireless microcode problem.. @ 2014-08-14 15:51 ` Linus Torvalds 0 siblings, 0 replies; 10+ messages in thread From: Linus Torvalds @ 2014-08-14 15:51 UTC (permalink / raw) To: Larry Finger Cc: Johannes Berg, Emmanuel Grumbach, Intel Linux Wireless, John W. Linville, Linux Wireless List, Network Development On Thu, Aug 14, 2014 at 9:42 AM, Larry Finger <Larry.Finger@lwfinger.net> wrote: > > There is a new firmware that seems to help the problem. You can get it from > Emmanuel's git clone. As he wrote earlier So quite frankly, this is *not* acceptable. We have regression policies for the kernel, and this seems to be a kernel regression with the currently released firmware. And I'm not downloading experimental firmware while traveling with this laptop being my only way to work. The warnings cause *so* much message log spam that the machine is occasionally spending 5% of CPU time on systemd journaling, and presumably filling up disk space too. And the same way we don't tell people "update your buggy user space" when we introduce kernel regressions, we don't tell people "try a new firmware". People who have old systems (old distributions, old firmware, old hardware, old *anything*) that works with their previous kernel, are supposed to be able to upgrade their kernel with no regressions. That's the rules for the kernel, and that's what the rules have been for a long time. Kernel developers - including wireless driver writers - had better understand that rule. It's the absolute #1 rule when it comes to kernel development. This is not something new and surprosing. The insane amount of logging needs to be fixed. The wireless *works*, but the logging is too verbose. Now, maybe this isn't actually a kernel regression at all - maybe triggered by the horrid internet I have while traveling - but I tried twice, and when I booted into the regular Fedora kernel for testing (oh, just noticed that it's 3.15.8, not 3.16-based), I didn't see this kind of log spamming. So it looks like a regression to me, and we have rules about regressions. And they are just about the ONLY hard rules we have. But that regression rule really is very very important indeed. The wireless *works* with the current firmware, so all that is required is to make sure that the kernel stops spamming the logs so heavily. It would obviously be better to try to figure out *why* the microcode error happens, and what changed in the kernel to trigger it, but the "don't make the machine have trouble with the insane amount of logs" is at least an acceptable workaround. Ok? Linus ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Intel wireless microcode problem.. @ 2014-08-14 15:51 ` Linus Torvalds 0 siblings, 0 replies; 10+ messages in thread From: Linus Torvalds @ 2014-08-14 15:51 UTC (permalink / raw) To: Larry Finger Cc: Johannes Berg, Emmanuel Grumbach, Intel Linux Wireless, John W. Linville, Linux Wireless List, Network Development On Thu, Aug 14, 2014 at 9:42 AM, Larry Finger <Larry.Finger-tQ5ms3gMjBLk1uMJSBkQmQ@public.gmane.org> wrote: > > There is a new firmware that seems to help the problem. You can get it from > Emmanuel's git clone. As he wrote earlier So quite frankly, this is *not* acceptable. We have regression policies for the kernel, and this seems to be a kernel regression with the currently released firmware. And I'm not downloading experimental firmware while traveling with this laptop being my only way to work. The warnings cause *so* much message log spam that the machine is occasionally spending 5% of CPU time on systemd journaling, and presumably filling up disk space too. And the same way we don't tell people "update your buggy user space" when we introduce kernel regressions, we don't tell people "try a new firmware". People who have old systems (old distributions, old firmware, old hardware, old *anything*) that works with their previous kernel, are supposed to be able to upgrade their kernel with no regressions. That's the rules for the kernel, and that's what the rules have been for a long time. Kernel developers - including wireless driver writers - had better understand that rule. It's the absolute #1 rule when it comes to kernel development. This is not something new and surprosing. The insane amount of logging needs to be fixed. The wireless *works*, but the logging is too verbose. Now, maybe this isn't actually a kernel regression at all - maybe triggered by the horrid internet I have while traveling - but I tried twice, and when I booted into the regular Fedora kernel for testing (oh, just noticed that it's 3.15.8, not 3.16-based), I didn't see this kind of log spamming. So it looks like a regression to me, and we have rules about regressions. And they are just about the ONLY hard rules we have. But that regression rule really is very very important indeed. The wireless *works* with the current firmware, so all that is required is to make sure that the kernel stops spamming the logs so heavily. It would obviously be better to try to figure out *why* the microcode error happens, and what changed in the kernel to trigger it, but the "don't make the machine have trouble with the insane amount of logs" is at least an acceptable workaround. Ok? Linus -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: Intel wireless microcode problem.. @ 2014-08-14 15:56 ` Grumbach, Emmanuel 0 siblings, 0 replies; 10+ messages in thread From: Grumbach, Emmanuel @ 2014-08-14 15:56 UTC (permalink / raw) To: Linus Torvalds, Larry Finger Cc: Berg, Johannes, Intel Linux Wireless, John W. Linville, Linux Wireless List, Network Development PiA+DQo+ID4gVGhlcmUgaXMgYSBuZXcgZmlybXdhcmUgdGhhdCBzZWVtcyB0byBoZWxwIHRoZSBw cm9ibGVtLiBZb3UgY2FuIGdldCBpdA0KPiA+IGZyb20gRW1tYW51ZWwncyBnaXQgY2xvbmUuIEFz IGhlIHdyb3RlIGVhcmxpZXINCj4gDQo+IFNvIHF1aXRlIGZyYW5rbHksIHRoaXMgaXMgKm5vdCog YWNjZXB0YWJsZS4gV2UgaGF2ZSByZWdyZXNzaW9uIHBvbGljaWVzIGZvciB0aGUNCj4ga2VybmVs LCBhbmQgdGhpcyBzZWVtcyB0byBiZSBhIGtlcm5lbCByZWdyZXNzaW9uIHdpdGggdGhlIGN1cnJl bnRseSByZWxlYXNlZA0KPiBmaXJtd2FyZS4gQW5kIEknbSBub3QgZG93bmxvYWRpbmcgZXhwZXJp bWVudGFsIGZpcm13YXJlIHdoaWxlIHRyYXZlbGluZw0KPiB3aXRoIHRoaXMgbGFwdG9wIGJlaW5n IG15IG9ubHkgd2F5IHRvIHdvcmsuDQo+IA0KPiBUaGUgd2FybmluZ3MgY2F1c2UgKnNvKiBtdWNo IG1lc3NhZ2UgbG9nIHNwYW0gdGhhdCB0aGUgbWFjaGluZSBpcw0KPiBvY2Nhc2lvbmFsbHkgc3Bl bmRpbmcgNSUgb2YgQ1BVIHRpbWUgb24gc3lzdGVtZCBqb3VybmFsaW5nLCBhbmQNCj4gcHJlc3Vt YWJseSBmaWxsaW5nIHVwIGRpc2sgc3BhY2UgdG9vLg0KPiANCj4gQW5kIHRoZSBzYW1lIHdheSB3 ZSBkb24ndCB0ZWxsIHBlb3BsZSAidXBkYXRlIHlvdXIgYnVnZ3kgdXNlciBzcGFjZSINCj4gd2hl biB3ZSBpbnRyb2R1Y2Uga2VybmVsIHJlZ3Jlc3Npb25zLCB3ZSBkb24ndCB0ZWxsIHBlb3BsZSAi dHJ5IGEgbmV3DQo+IGZpcm13YXJlIi4NCj4gDQo+IFBlb3BsZSB3aG8gaGF2ZSBvbGQgc3lzdGVt cyAob2xkIGRpc3RyaWJ1dGlvbnMsIG9sZCBmaXJtd2FyZSwgb2xkIGhhcmR3YXJlLA0KPiBvbGQg KmFueXRoaW5nKikgdGhhdCB3b3JrcyB3aXRoIHRoZWlyIHByZXZpb3VzIGtlcm5lbCwgYXJlIHN1 cHBvc2VkIHRvIGJlDQo+IGFibGUgdG8gdXBncmFkZSB0aGVpciBrZXJuZWwgd2l0aCBubyByZWdy ZXNzaW9ucy4NCj4gVGhhdCdzIHRoZSBydWxlcyBmb3IgdGhlIGtlcm5lbCwgYW5kIHRoYXQncyB3 aGF0IHRoZSBydWxlcyBoYXZlIGJlZW4gZm9yIGEgbG9uZw0KPiB0aW1lLiBLZXJuZWwgZGV2ZWxv cGVycyAtIGluY2x1ZGluZyB3aXJlbGVzcyBkcml2ZXIgd3JpdGVycw0KPiAtIGhhZCBiZXR0ZXIg dW5kZXJzdGFuZCB0aGF0IHJ1bGUuIEl0J3MgdGhlIGFic29sdXRlICMxIHJ1bGUgd2hlbiBpdCBj b21lcyB0bw0KPiBrZXJuZWwgZGV2ZWxvcG1lbnQuIFRoaXMgaXMgbm90IHNvbWV0aGluZyBuZXcg YW5kIHN1cnByb3NpbmcuDQo+IA0KPiBUaGUgaW5zYW5lIGFtb3VudCBvZiBsb2dnaW5nIG5lZWRz IHRvIGJlIGZpeGVkLiBUaGUgd2lyZWxlc3MgKndvcmtzKiwgYnV0DQo+IHRoZSBsb2dnaW5nIGlz IHRvbyB2ZXJib3NlLg0KPiANCj4gTm93LCBtYXliZSB0aGlzIGlzbid0IGFjdHVhbGx5IGEga2Vy bmVsIHJlZ3Jlc3Npb24gYXQgYWxsIC0gbWF5YmUgdHJpZ2dlcmVkIGJ5DQo+IHRoZSBob3JyaWQg aW50ZXJuZXQgSSBoYXZlIHdoaWxlIHRyYXZlbGluZyAtIGJ1dCBJIHRyaWVkIHR3aWNlLCBhbmQg d2hlbiBJDQo+IGJvb3RlZCBpbnRvIHRoZSByZWd1bGFyIEZlZG9yYSBrZXJuZWwgZm9yIHRlc3Rp bmcgKG9oLCBqdXN0IG5vdGljZWQgdGhhdCBpdCdzDQo+IDMuMTUuOCwgbm90IDMuMTYtYmFzZWQp LCBJIGRpZG4ndCBzZWUgdGhpcyBraW5kIG9mIGxvZyBzcGFtbWluZy4gU28gaXQgbG9va3MgbGlr ZQ0KPiBhIHJlZ3Jlc3Npb24gdG8gbWUsIGFuZCB3ZSBoYXZlIHJ1bGVzIGFib3V0IHJlZ3Jlc3Np b25zLiBBbmQgdGhleSBhcmUganVzdA0KPiBhYm91dCB0aGUgT05MWSBoYXJkIHJ1bGVzIHdlIGhh dmUuIEJ1dCB0aGF0IHJlZ3Jlc3Npb24gcnVsZSByZWFsbHkgaXMgdmVyeQ0KPiB2ZXJ5IGltcG9y dGFudCBpbmRlZWQuDQo+IA0KPiBUaGUgd2lyZWxlc3MgKndvcmtzKiB3aXRoIHRoZSBjdXJyZW50 IGZpcm13YXJlLCBzbyBhbGwgdGhhdCBpcyByZXF1aXJlZCBpcyB0bw0KPiBtYWtlIHN1cmUgdGhh dCB0aGUga2VybmVsIHN0b3BzIHNwYW1taW5nIHRoZSBsb2dzIHNvIGhlYXZpbHkuIEl0IHdvdWxk DQo+IG9idmlvdXNseSBiZSBiZXR0ZXIgdG8gdHJ5IHRvIGZpZ3VyZSBvdXQgKndoeSogdGhlIG1p Y3JvY29kZSBlcnJvciBoYXBwZW5zLA0KPiBhbmQgd2hhdCBjaGFuZ2VkIGluIHRoZSBrZXJuZWwg dG8gdHJpZ2dlciBpdCwgYnV0IHRoZSAiZG9uJ3QgbWFrZSB0aGUNCj4gbWFjaGluZSBoYXZlIHRy b3VibGUgd2l0aCB0aGUgaW5zYW5lIGFtb3VudCBvZiBsb2dzIiBpcyBhdCBsZWFzdCBhbg0KPiBh Y2NlcHRhYmxlIHdvcmthcm91bmQuDQo+IA0KPiBPaz8NCj4gDQpBcyBJIHNhaWQsIEkgYW0gdHly aW5nIHRvIHJlcHJvIHJpZ2h0IG5vdyAtIHlvdSBhcmUgMTAwJSByaWdodCB3ZSBhcmUgZnVsbHkg Y29tbWl0dGVkIHRvIG1ha2UgdGhlIGN1cnJlbnQgZmlybXdhcmUgd29yay4gVGhlICJleHBlcmlt ZW50YWwiIGZpcm13YXJlIGlzIGp1c3QgYSBmaXJtd2FyZSB3aXRoIGEgdmVyc2lvbiBwcm9ibGVt IC0gdGhpcyBpcyB3aHkgSSBkaWRuJ3QgcmVsZWFzZSBpdCBmb3JtYWxseS4gWW91IGNhbiBzYWZl bHkgdXNlIGl0IHVudGlsIHdlIGZpeCB0aGUgcHJvYmxlbS4NCkFuZCB3ZSB3aWxsIGZpeCBpdC4N CkFuZCBubyAtIGl0IGlzIG5vdCByZWxhdGVkIHRvIHRoZSBpbnRlcm5ldCAtIHRoaXMgaXMgc3Vy ZWx5IGEgYnVnIGluIG91ciBkcml2ZXIgLyBmaXJtd2FyZSBpbnRlcmZhY2UuIEkgYW0gY3VycmVu dGx5IHRyeWluZyB0byBzZWUgaG93IEkgY2FuIGZpeCBpdCAtIGJ1dCBJIGFtIGFsc28gdHJhdmVs bGluZy4uLg0K ^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: Intel wireless microcode problem.. @ 2014-08-14 15:56 ` Grumbach, Emmanuel 0 siblings, 0 replies; 10+ messages in thread From: Grumbach, Emmanuel @ 2014-08-14 15:56 UTC (permalink / raw) To: Linus Torvalds, Larry Finger Cc: Berg, Johannes, Intel Linux Wireless, John W. Linville, Linux Wireless List, Network Development [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset="utf-8", Size: 2938 bytes --] > > > > There is a new firmware that seems to help the problem. You can get it > > from Emmanuel's git clone. As he wrote earlier > > So quite frankly, this is *not* acceptable. We have regression policies for the > kernel, and this seems to be a kernel regression with the currently released > firmware. And I'm not downloading experimental firmware while traveling > with this laptop being my only way to work. > > The warnings cause *so* much message log spam that the machine is > occasionally spending 5% of CPU time on systemd journaling, and > presumably filling up disk space too. > > And the same way we don't tell people "update your buggy user space" > when we introduce kernel regressions, we don't tell people "try a new > firmware". > > People who have old systems (old distributions, old firmware, old hardware, > old *anything*) that works with their previous kernel, are supposed to be > able to upgrade their kernel with no regressions. > That's the rules for the kernel, and that's what the rules have been for a long > time. Kernel developers - including wireless driver writers > - had better understand that rule. It's the absolute #1 rule when it comes to > kernel development. This is not something new and surprosing. > > The insane amount of logging needs to be fixed. The wireless *works*, but > the logging is too verbose. > > Now, maybe this isn't actually a kernel regression at all - maybe triggered by > the horrid internet I have while traveling - but I tried twice, and when I > booted into the regular Fedora kernel for testing (oh, just noticed that it's > 3.15.8, not 3.16-based), I didn't see this kind of log spamming. So it looks like > a regression to me, and we have rules about regressions. And they are just > about the ONLY hard rules we have. But that regression rule really is very > very important indeed. > > The wireless *works* with the current firmware, so all that is required is to > make sure that the kernel stops spamming the logs so heavily. It would > obviously be better to try to figure out *why* the microcode error happens, > and what changed in the kernel to trigger it, but the "don't make the > machine have trouble with the insane amount of logs" is at least an > acceptable workaround. > > Ok? > As I said, I am tyring to repro right now - you are 100% right we are fully committed to make the current firmware work. The "experimental" firmware is just a firmware with a version problem - this is why I didn't release it formally. You can safely use it until we fix the problem. And we will fix it. And no - it is not related to the internet - this is surely a bug in our driver / firmware interface. I am currently trying to see how I can fix it - but I am also travelling... N§²æìr¸yúèØb²X¬¶Ç§vØ^)Þº{.nÇ+·¥{±Â*Þë,{ayº\x1dÊÚë,j\a¢f£¢·h»öì\x17/oSc¾Ú³9uÀ¦æåÈ&jw¨®\x03(éÝ¢j"ú\x1a¶^[m§ÿïêäz¹Þàþf£¢·h§~m ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Intel wireless microcode problem.. @ 2014-08-14 16:34 ` Emmanuel Grumbach 0 siblings, 0 replies; 10+ messages in thread From: Emmanuel Grumbach @ 2014-08-14 16:34 UTC (permalink / raw) To: Grumbach, Emmanuel Cc: Linus Torvalds, Larry Finger, Berg, Johannes, Intel Linux Wireless, John W. Linville, Linux Wireless List, Network Development >> > >> > There is a new firmware that seems to help the problem. You can get it >> > from Emmanuel's git clone. As he wrote earlier >> >> So quite frankly, this is *not* acceptable. We have regression policies for the >> kernel, and this seems to be a kernel regression with the currently released >> firmware. And I'm not downloading experimental firmware while traveling >> with this laptop being my only way to work. >> >> The warnings cause *so* much message log spam that the machine is >> occasionally spending 5% of CPU time on systemd journaling, and >> presumably filling up disk space too. >> >> And the same way we don't tell people "update your buggy user space" >> when we introduce kernel regressions, we don't tell people "try a new >> firmware". >> >> People who have old systems (old distributions, old firmware, old hardware, >> old *anything*) that works with their previous kernel, are supposed to be >> able to upgrade their kernel with no regressions. >> That's the rules for the kernel, and that's what the rules have been for a long >> time. Kernel developers - including wireless driver writers >> - had better understand that rule. It's the absolute #1 rule when it comes to >> kernel development. This is not something new and surprosing. >> >> The insane amount of logging needs to be fixed. The wireless *works*, but >> the logging is too verbose. >> >> Now, maybe this isn't actually a kernel regression at all - maybe triggered by >> the horrid internet I have while traveling - but I tried twice, and when I >> booted into the regular Fedora kernel for testing (oh, just noticed that it's >> 3.15.8, not 3.16-based), I didn't see this kind of log spamming. So it looks like >> a regression to me, and we have rules about regressions. And they are just >> about the ONLY hard rules we have. But that regression rule really is very >> very important indeed. >> >> The wireless *works* with the current firmware, so all that is required is to >> make sure that the kernel stops spamming the logs so heavily. It would >> obviously be better to try to figure out *why* the microcode error happens, >> and what changed in the kernel to trigger it, but the "don't make the >> machine have trouble with the insane amount of logs" is at least an >> acceptable workaround. >> >> Ok? >> > As I said, I am tyring to repro right now - you are 100% right we are fully committed to make the current firmware work. The "experimental" firmware is just a firmware with a version problem - this is why I didn't release it formally. You can safely use it until we fix the problem. > And we will fix it. > And no - it is not related to the internet - this is surely a bug in our driver / firmware interface. I am currently trying to see how I can fix it - but I am also travelling... Ok - I think I have a fix. I could reproduce your problem and I verified my fix. diff --git a/drivers/net/wireless/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/iwlwifi/mvm/mac80211.c index 0d6a8b7..66ef6a8 100644 --- a/drivers/net/wireless/iwlwifi/mvm/mac80211.c +++ b/drivers/net/wireless/iwlwifi/mvm/mac80211.c @@ -396,7 +396,8 @@ int iwl_mvm_mac_setup_register(struct iwl_mvm *mvm) else hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT; - hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN; + /* TODO: enable that for firmwares that don't crash only... */ + /* hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN; */ hw->wiphy->max_sched_scan_ssids = PROBE_OPTION_MAX; hw->wiphy->max_match_sets = IWL_SCAN_MAX_PROFILES; /* we create the 802.11 header and zero length SSID IE. */ pull request on the way... ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: Intel wireless microcode problem.. @ 2014-08-14 16:34 ` Emmanuel Grumbach 0 siblings, 0 replies; 10+ messages in thread From: Emmanuel Grumbach @ 2014-08-14 16:34 UTC (permalink / raw) To: Grumbach, Emmanuel Cc: Linus Torvalds, Larry Finger, Berg, Johannes, Intel Linux Wireless, John W. Linville, Linux Wireless List, Network Development >> > >> > There is a new firmware that seems to help the problem. You can get it >> > from Emmanuel's git clone. As he wrote earlier >> >> So quite frankly, this is *not* acceptable. We have regression policies for the >> kernel, and this seems to be a kernel regression with the currently released >> firmware. And I'm not downloading experimental firmware while traveling >> with this laptop being my only way to work. >> >> The warnings cause *so* much message log spam that the machine is >> occasionally spending 5% of CPU time on systemd journaling, and >> presumably filling up disk space too. >> >> And the same way we don't tell people "update your buggy user space" >> when we introduce kernel regressions, we don't tell people "try a new >> firmware". >> >> People who have old systems (old distributions, old firmware, old hardware, >> old *anything*) that works with their previous kernel, are supposed to be >> able to upgrade their kernel with no regressions. >> That's the rules for the kernel, and that's what the rules have been for a long >> time. Kernel developers - including wireless driver writers >> - had better understand that rule. It's the absolute #1 rule when it comes to >> kernel development. This is not something new and surprosing. >> >> The insane amount of logging needs to be fixed. The wireless *works*, but >> the logging is too verbose. >> >> Now, maybe this isn't actually a kernel regression at all - maybe triggered by >> the horrid internet I have while traveling - but I tried twice, and when I >> booted into the regular Fedora kernel for testing (oh, just noticed that it's >> 3.15.8, not 3.16-based), I didn't see this kind of log spamming. So it looks like >> a regression to me, and we have rules about regressions. And they are just >> about the ONLY hard rules we have. But that regression rule really is very >> very important indeed. >> >> The wireless *works* with the current firmware, so all that is required is to >> make sure that the kernel stops spamming the logs so heavily. It would >> obviously be better to try to figure out *why* the microcode error happens, >> and what changed in the kernel to trigger it, but the "don't make the >> machine have trouble with the insane amount of logs" is at least an >> acceptable workaround. >> >> Ok? >> > As I said, I am tyring to repro right now - you are 100% right we are fully committed to make the current firmware work. The "experimental" firmware is just a firmware with a version problem - this is why I didn't release it formally. You can safely use it until we fix the problem. > And we will fix it. > And no - it is not related to the internet - this is surely a bug in our driver / firmware interface. I am currently trying to see how I can fix it - but I am also travelling... Ok - I think I have a fix. I could reproduce your problem and I verified my fix. diff --git a/drivers/net/wireless/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/iwlwifi/mvm/mac80211.c index 0d6a8b7..66ef6a8 100644 --- a/drivers/net/wireless/iwlwifi/mvm/mac80211.c +++ b/drivers/net/wireless/iwlwifi/mvm/mac80211.c @@ -396,7 +396,8 @@ int iwl_mvm_mac_setup_register(struct iwl_mvm *mvm) else hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT; - hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN; + /* TODO: enable that for firmwares that don't crash only... */ + /* hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN; */ hw->wiphy->max_sched_scan_ssids = PROBE_OPTION_MAX; hw->wiphy->max_match_sets = IWL_SCAN_MAX_PROFILES; /* we create the 802.11 header and zero length SSID IE. */ pull request on the way... -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: Intel wireless microcode problem.. 2014-08-14 16:34 ` Emmanuel Grumbach (?) @ 2014-08-14 16:46 ` Linus Torvalds -1 siblings, 0 replies; 10+ messages in thread From: Linus Torvalds @ 2014-08-14 16:46 UTC (permalink / raw) To: Emmanuel Grumbach Cc: Grumbach, Emmanuel, Larry Finger, Berg, Johannes, Intel Linux Wireless, John W. Linville, Linux Wireless List, Network Development On Thu, Aug 14, 2014 at 10:34 AM, Emmanuel Grumbach <egrumbach@gmail.com> wrote: > > Ok - I think I have a fix. I could reproduce your problem and I verified my fix. Yes. The patch didn't apply for me (maybe whitespace damage, maybe you have other changes there too), but I commented out the WIPHY_FLAG_SUPPORTS_SCHED_SCAN flag setting, and things seem to work much better for me now. Of course, maybe I was lucky, but it seemed to happen pretty much all the time when looking for access points before. So you can add a tested-by from me if you haven't already committed things. Thanks, Linus ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Intel wireless microcode problem.. 2014-08-14 15:05 Intel wireless microcode problem Linus Torvalds 2014-08-14 15:42 ` Larry Finger @ 2014-08-14 15:50 ` Emmanuel Grumbach 1 sibling, 0 replies; 10+ messages in thread From: Emmanuel Grumbach @ 2014-08-14 15:50 UTC (permalink / raw) To: Linus Torvalds Cc: Johannes Berg, Emmanuel Grumbach, Intel Linux Wireless, John W. Linville, Linux Wireless List, Network Development Hi Linus, On Thu, Aug 14, 2014 at 8:05 AM, Linus Torvalds <torvalds@linux-foundation.org> wrote: > Ok, so it seems the current merge window introduces some horrid intel > microcode problem, because I don't seem to see this with 3.16. But > maybe that's just happenstance. > > Any ideas? This fills up all the logs etc. > > Linus > > --- > > iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S > iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S > iwlwifi 0000:01:00.0: Microcode SW error detected. Restarting 0x2000000. > iwlwifi 0000:01:00.0: CSR values: > iwlwifi 0000:01:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG) > iwlwifi 0000:01:00.0: CSR_HW_IF_CONFIG_REG: 0X40489204 > iwlwifi 0000:01:00.0: CSR_INT_COALESCING: 0X80000040 > iwlwifi 0000:01:00.0: CSR_INT: 0X00000000 > iwlwifi 0000:01:00.0: CSR_INT_MASK: 0X00000000 > iwlwifi 0000:01:00.0: CSR_FH_INT_STATUS: 0X00000000 > iwlwifi 0000:01:00.0: CSR_GPIO_IN: 0X00000000 > iwlwifi 0000:01:00.0: CSR_RESET: 0X00000000 > iwlwifi 0000:01:00.0: CSR_GP_CNTRL: 0X080403c5 > iwlwifi 0000:01:00.0: CSR_HW_REV: 0X00000144 > iwlwifi 0000:01:00.0: CSR_EEPROM_REG: 0X00000000 > iwlwifi 0000:01:00.0: CSR_EEPROM_GP: 0X80000000 > iwlwifi 0000:01:00.0: CSR_OTP_GP_REG: 0X803a0000 > iwlwifi 0000:01:00.0: CSR_GIO_REG: 0X00080044 > iwlwifi 0000:01:00.0: CSR_GP_UCODE_REG: 0X00000000 > iwlwifi 0000:01:00.0: CSR_GP_DRIVER_REG: 0X00000000 > iwlwifi 0000:01:00.0: CSR_UCODE_DRV_GP1: 0X00000000 > iwlwifi 0000:01:00.0: CSR_UCODE_DRV_GP2: 0X00000000 > iwlwifi 0000:01:00.0: CSR_LED_REG: 0X00000060 > iwlwifi 0000:01:00.0: CSR_DRAM_INT_TBL_REG: 0X880d8e9d > iwlwifi 0000:01:00.0: CSR_GIO_CHICKEN_BITS: 0X27800200 > iwlwifi 0000:01:00.0: CSR_ANA_PLL_CFG: 0Xd55555d5 > iwlwifi 0000:01:00.0: CSR_MONITOR_STATUS_REG: 0X3d0801bd > iwlwifi 0000:01:00.0: CSR_HW_REV_WA_REG: 0X0001001a > iwlwifi 0000:01:00.0: CSR_DBG_HPET_MEM_REG: 0Xffff0000 > iwlwifi 0000:01:00.0: FH register values: > iwlwifi 0000:01:00.0: FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X0d42d300 > iwlwifi 0000:01:00.0: FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X00d42d20 > iwlwifi 0000:01:00.0: FH_RSCSR_CHNL0_WPTR: 0X00000028 > iwlwifi 0000:01:00.0: FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X80801114 > iwlwifi 0000:01:00.0: FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc > iwlwifi 0000:01:00.0: FH_MEM_RSSR_RX_STATUS_REG: 0X07030000 > iwlwifi 0000:01:00.0: FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000 > iwlwifi 0000:01:00.0: FH_TSSR_TX_STATUS_REG: 0X07ff0001 > iwlwifi 0000:01:00.0: FH_TSSR_TX_ERROR_REG: 0X00000000 > iwlwifi 0000:01:00.0: Start IWL Error Log Dump: > iwlwifi 0000:01:00.0: Status: 0x00000000, count: 6 > iwlwifi 0000:01:00.0: Loaded firmware version: 23.214.9.0 > iwlwifi 0000:01:00.0: 0x0000277B | ADVANCED_SYSASSERT > iwlwifi 0000:01:00.0: 0x00A002A0 | uPc > iwlwifi 0000:01:00.0: 0x00000000 | branchlink1 > iwlwifi 0000:01:00.0: 0x00000BA4 | branchlink2 > iwlwifi 0000:01:00.0: 0x000166A4 | interruptlink1 > iwlwifi 0000:01:00.0: 0x004C0648 | interruptlink2 > iwlwifi 0000:01:00.0: 0x00000021 | data1 > iwlwifi 0000:01:00.0: 0x00000016 | data2 > iwlwifi 0000:01:00.0: 0xDEADBEEF | data3 > iwlwifi 0000:01:00.0: 0x003CC2EC | beacon time > iwlwifi 0000:01:00.0: 0x00033D3D | tsf low > iwlwifi 0000:01:00.0: 0x00000000 | tsf hi > iwlwifi 0000:01:00.0: 0x00000000 | time gp1 > iwlwifi 0000:01:00.0: 0x00033D3D | time gp2 > iwlwifi 0000:01:00.0: 0x00000000 | time gp3 > iwlwifi 0000:01:00.0: 0x000417D6 | uCode version > iwlwifi 0000:01:00.0: 0x00000144 | hw version > iwlwifi 0000:01:00.0: 0x40489204 | board version > iwlwifi 0000:01:00.0: 0x0000001C | hcmd > iwlwifi 0000:01:00.0: 0x00022000 | isr0 > iwlwifi 0000:01:00.0: 0x01000000 | isr1 > iwlwifi 0000:01:00.0: 0x00000002 | isr2 > iwlwifi 0000:01:00.0: 0x004058C0 | isr3 > iwlwifi 0000:01:00.0: 0x00000001 | isr4 > iwlwifi 0000:01:00.0: 0x00000110 | isr_pref > iwlwifi 0000:01:00.0: 0x00000000 | wait_event > iwlwifi 0000:01:00.0: 0x00000850 | l2p_control > iwlwifi 0000:01:00.0: 0x00018000 | l2p_duration > iwlwifi 0000:01:00.0: 0x0000003F | l2p_mhvalid > iwlwifi 0000:01:00.0: 0x00000081 | l2p_addr_match > iwlwifi 0000:01:00.0: 0x00000005 | lmpm_pmg_sel > iwlwifi 0000:01:00.0: 0x18051651 | timestamp > iwlwifi 0000:01:00.0: 0x00002830 | flow_handler Thanks for your report. Someone else complained too. I am currently travelling, but I am currently trying to reproduce. I will report back when I have something useful to share. In the meantime - you can try this firmware: https://git.kernel.org/cgit/linux/kernel/git/egrumbach/linux-firmware.git/log/?h=Core6 Of course, even if this one does work, we'll still make sure that your current firmware will work with the current driver. Thank you. ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2014-08-14 16:46 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-08-14 15:05 Intel wireless microcode problem Linus Torvalds 2014-08-14 15:42 ` Larry Finger 2014-08-14 15:51 ` Linus Torvalds 2014-08-14 15:51 ` Linus Torvalds 2014-08-14 15:56 ` Grumbach, Emmanuel 2014-08-14 15:56 ` Grumbach, Emmanuel 2014-08-14 16:34 ` Emmanuel Grumbach 2014-08-14 16:34 ` Emmanuel Grumbach 2014-08-14 16:46 ` Linus Torvalds 2014-08-14 15:50 ` Emmanuel Grumbach
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.