All of lore.kernel.org
 help / color / mirror / Atom feed
* iwlwifi: FW error in SYNC CMD TIME_QUOTA_CMD
@ 2018-04-05 14:55 Daniel Borkmann
  2018-04-07  6:54 ` Luciano Coelho
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Borkmann @ 2018-04-05 14:55 UTC (permalink / raw)
  To: johannes.berg; +Cc: emmanuel.grumbach, luciano.coelho, linux-wireless

Hey guys,

after upgrading to 4608f064532c ("Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next")
my kernel log gets constantly flooded with the below message and wireless stops
working ... just in case you haven't had a report on this yet. Downgrading back
to older v4.16-rcX kernel gets everything back to normal working state; haven't
had time for bisection yet, but hopefully the below would provide some clue.

[...]
[  513.429683] ieee80211 phy0: Hardware restart was requested
[  513.429688] iwlwifi 0000:04:00.0: FW Error notification: type 0x00000000 cmd_id 0x32
[  513.429689] iwlwifi 0000:04:00.0: FW Error notification: seq 0x0070 service 0x00000032
[  513.429690] iwlwifi 0000:04:00.0: FW Error notification: timestamp 0x            9AB3
[  513.429694] iwlwifi 0000:04:00.0: FW error in SYNC CMD TIME_QUOTA_CMD
[  513.429696] CPU: 2 PID: 330 Comm: kworker/2:2 Tainted: G        W        4.16.0+ #83
[  513.429697] Hardware name: LENOVO 20FBCTO1WW/20FBCTO1WW, BIOS N1FET47W (1.21 ) 11/28/2016
[  513.429705] Workqueue: events_freezable ieee80211_restart_work [mac80211]
[  513.429706] Call Trace:
[  513.429710]  dump_stack+0x5c/0x85
[  513.429714]  iwl_trans_pcie_send_hcmd+0x41f/0x510 [iwlwifi]
[  513.429717]  ? wait_woken+0x80/0x80
[  513.429719]  iwl_trans_send_cmd+0x4a/0xc0 [iwlwifi]
[  513.429721]  ? __update_load_avg_se.isra.39+0x1eb/0x1f0
[  513.429724]  iwl_mvm_send_cmd+0x2c/0x90 [iwlmvm]
[  513.429727]  iwl_mvm_send_cmd_pdu+0x58/0x80 [iwlmvm]
[  513.429731]  ? iwl_mvm_update_quotas+0x372/0x5d0 [iwlmvm]
[  513.429733]  iwl_mvm_update_quotas+0x372/0x5d0 [iwlmvm]
[  513.429735]  ? check_preempt_wakeup+0x178/0x240
[  513.429738]  ? iwl_mvm_mac_reconfig_complete+0x150/0x1d0 [iwlmvm]
[  513.429740]  iwl_mvm_mac_reconfig_complete+0x150/0x1d0 [iwlmvm]
[  513.429747]  ? ieee80211_wake_queues_by_reason+0x83/0xa0 [mac80211]
[  513.429753]  ieee80211_reconfig+0x1e3/0x1210 [mac80211]
[  513.429756]  ? try_to_del_timer_sync+0x4d/0x80
[  513.429760]  ieee80211_restart_work+0x9e/0xd0 [mac80211]
[  513.429762]  process_one_work+0x1cb/0x3a0
[  513.429763]  worker_thread+0x47/0x3f0
[  513.429765]  kthread+0xf5/0x130
[  513.429766]  ? rescuer_thread+0x350/0x350
[  513.429767]  ? kthread_create_worker_on_cpu+0x70/0x70
[  513.429768]  ? do_syscall_64+0x6e/0x190
[  513.429770]  ? SyS_exit_group+0x10/0x10
[  513.429771]  ret_from_fork+0x35/0x40
[  513.429773] iwlwifi 0000:04:00.0: Failed to send quota: -5
[  513.429775] iwlwifi 0000:04:00.0: Failed to update quotas after restart (-5)
[  514.163758] iwlwifi 0000:04:00.0: Microcode SW error detected.  Restarting 0x82000000.
[  514.163987] iwlwifi 0000:04:00.0: Start IWL Error Log Dump:
[  514.163988] iwlwifi 0000:04:00.0: Status: 0x00000100, count: 6
[  514.163989] iwlwifi 0000:04:00.0: Loaded firmware version: 27.455470.0
[  514.163991] iwlwifi 0000:04:00.0: 0x00000038 | BAD_COMMAND
[  514.163991] iwlwifi 0000:04:00.0: 0x00A002F1 | trm_hw_status0
[  514.163992] iwlwifi 0000:04:00.0: 0x00000000 | trm_hw_status1
[  514.163993] iwlwifi 0000:04:00.0: 0x0000FECC | branchlink2
[  514.163994] iwlwifi 0000:04:00.0: 0x00029602 | interruptlink1
[  514.163995] iwlwifi 0000:04:00.0: 0x00000000 | interruptlink2
[  514.163996] iwlwifi 0000:04:00.0: 0x00700032 | data1
[  514.163997] iwlwifi 0000:04:00.0: 0x00000032 | data2
[  514.163997] iwlwifi 0000:04:00.0: 0x00000033 | data3
[  514.163998] iwlwifi 0000:04:00.0: 0x003F648A | beacon time
[  514.163999] iwlwifi 0000:04:00.0: 0x00009B74 | tsf low
[  514.164000] iwlwifi 0000:04:00.0: 0x00000000 | tsf hi
[  514.164001] iwlwifi 0000:04:00.0: 0x00000000 | time gp1
[  514.164002] iwlwifi 0000:04:00.0: 0x00009B75 | time gp2
[  514.164002] iwlwifi 0000:04:00.0: 0x00000001 | uCode revision type
[  514.164003] iwlwifi 0000:04:00.0: 0x0000001B | uCode version major
[  514.164004] iwlwifi 0000:04:00.0: 0x0006F32E | uCode version minor
[  514.164005] iwlwifi 0000:04:00.0: 0x00000201 | hw version
[  514.164006] iwlwifi 0000:04:00.0: 0x00489008 | board version
[  514.164007] iwlwifi 0000:04:00.0: 0x00700032 | hcmd
[  514.164008] iwlwifi 0000:04:00.0: 0x00122080 | isr0
[  514.164008] iwlwifi 0000:04:00.0: 0x10800000 | isr1
[  514.164009] iwlwifi 0000:04:00.0: 0x28201802 | isr2
[  514.164010] iwlwifi 0000:04:00.0: 0x004000C0 | isr3
[  514.164011] iwlwifi 0000:04:00.0: 0x00000000 | isr4
[  514.164012] iwlwifi 0000:04:00.0: 0x002F0128 | last cmd Id
[  514.164012] iwlwifi 0000:04:00.0: 0x00000000 | wait_event
[  514.164013] iwlwifi 0000:04:00.0: 0x000077DD | l2p_control
[  514.164014] iwlwifi 0000:04:00.0: 0x00000820 | l2p_duration
[  514.164015] iwlwifi 0000:04:00.0: 0x00000000 | l2p_mhvalid
[  514.164016] iwlwifi 0000:04:00.0: 0x00000000 | l2p_addr_match
[  514.164017] iwlwifi 0000:04:00.0: 0x0000000D | lmpm_pmg_sel
[  514.164018] iwlwifi 0000:04:00.0: 0x04012314 | timestamp
[  514.164018] iwlwifi 0000:04:00.0: 0x00002838 | flow_handler
[  514.164190] iwlwifi 0000:04:00.0: Start IWL Error Log Dump:
[  514.164192] iwlwifi 0000:04:00.0: Status: 0x00000100, count: 7
[  514.164193] iwlwifi 0000:04:00.0: 0x00000070 | ADVANCED_SYSASSERT
[  514.164194] iwlwifi 0000:04:00.0: 0x00000000 | umac branchlink1
[  514.164195] iwlwifi 0000:04:00.0: 0xC0085E88 | umac branchlink2
[  514.164196] iwlwifi 0000:04:00.0: 0xC0083660 | umac interruptlink1
[  514.164197] iwlwifi 0000:04:00.0: 0xC008AC82 | umac interruptlink2
[  514.164198] iwlwifi 0000:04:00.0: 0x00000800 | umac data1
[  514.164199] iwlwifi 0000:04:00.0: 0xC008AC82 | umac data2
[  514.164200] iwlwifi 0000:04:00.0: 0xDEADBEEF | umac data3
[  514.164201] iwlwifi 0000:04:00.0: 0x0000001B | umac major
[  514.164202] iwlwifi 0000:04:00.0: 0x0006F32E | umac minor
[  514.164203] iwlwifi 0000:04:00.0: 0xC088627C | frame pointer
[  514.164204] iwlwifi 0000:04:00.0: 0xC088627C | stack pointer
[  514.164206] iwlwifi 0000:04:00.0: 0x00000000 | last host cmd
[  514.164207] iwlwifi 0000:04:00.0: 0x00000000 | isr status reg
[  514.164210] ieee80211 phy0: Hardware restart was requested
[  514.164217] iwlwifi 0000:04:00.0: FW Error notification: type 0x00000000 cmd_id 0x32
[  514.164218] iwlwifi 0000:04:00.0: FW Error notification: seq 0x0070 service 0x00000032
[  514.164220] iwlwifi 0000:04:00.0: FW Error notification: timestamp 0x            9B71
[  514.164226] iwlwifi 0000:04:00.0: FW error in SYNC CMD TIME_QUOTA_CMD
[  514.164229] CPU: 2 PID: 330 Comm: kworker/2:2 Tainted: G        W        4.16.0+ #83
[  514.164229] Hardware name: LENOVO 20FBCTO1WW/20FBCTO1WW, BIOS N1FET47W (1.21 ) 11/28/2016
[  514.164239] Workqueue: events_freezable ieee80211_restart_work [mac80211]
[...]

(Sequence repeats over and over.)

Thanks,
Daniel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: iwlwifi: FW error in SYNC CMD TIME_QUOTA_CMD
  2018-04-05 14:55 iwlwifi: FW error in SYNC CMD TIME_QUOTA_CMD Daniel Borkmann
@ 2018-04-07  6:54 ` Luciano Coelho
  2018-04-07  7:46   ` Luciano Coelho
  2018-04-08 22:13   ` Daniel Borkmann
  0 siblings, 2 replies; 6+ messages in thread
From: Luciano Coelho @ 2018-04-07  6:54 UTC (permalink / raw)
  To: Daniel Borkmann, johannes.berg; +Cc: emmanuel.grumbach, linux-wireless

On Thu, 2018-04-05 at 16:55 +0200, Daniel Borkmann wrote:
> Hey guys,

Hi Daniel,


> after upgrading to 4608f064532c ("Merge
> git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next")
> my kernel log gets constantly flooded with the below message and
> wireless stops
> working ... just in case you haven't had a report on this yet.
> Downgrading back
> to older v4.16-rcX kernel gets everything back to normal working
> state; haven't
> had time for bisection yet, but hopefully the below would provide
> some clue.
> 

[...]

> [  513.429773] iwlwifi 0000:04:00.0: Failed to send quota: -5
> [  513.429775] iwlwifi 0000:04:00.0: Failed to update quotas after
> restart (-5)
> [  514.163758] iwlwifi 0000:04:00.0: Microcode SW error
> detected.  Restarting 0x82000000.
> [  514.163987] iwlwifi 0000:04:00.0: Start IWL Error Log Dump:
> [  514.163988] iwlwifi 0000:04:00.0: Status: 0x00000100, count: 6
> [  514.163989] iwlwifi 0000:04:00.0: Loaded firmware version:
> 27.455470.0
> [  514.163991] iwlwifi 0000:04:00.0: 0x00000038 | BAD_COMMAND

[...]

I did add support for new FW APIs, so maybe some check for the FW
version is missing somewhere.

Which NIC are you using? I can see that you're using an older version
of the firmware (27.455470.0).  For 7265D and 3168 we already have
version 29.  For 8000C and 8260 we have vesion 36.  You can find all
the latest versions in our fork of linux-firmware.git[1].  And soon the
main linux-firmware.git[2] will also include the latest versions, since
I sent a pull request yesteday ago.

Meanwhile, I'll investigate this problem.  It shouldn't happen even if
you're using an older firmware.  Maybe I'll have to stop supporting
version 27 in newer kernels, let's see.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware.git/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

--
Cheers,
Luca.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: iwlwifi: FW error in SYNC CMD TIME_QUOTA_CMD
  2018-04-07  6:54 ` Luciano Coelho
@ 2018-04-07  7:46   ` Luciano Coelho
  2018-04-08 22:13   ` Daniel Borkmann
  1 sibling, 0 replies; 6+ messages in thread
From: Luciano Coelho @ 2018-04-07  7:46 UTC (permalink / raw)
  To: Daniel Borkmann
  Cc: emmanuel.grumbach, linux-wireless, linuxwifi, johannes.berg

On Sat, 2018-04-07 at 09:54 +0300, Luciano Coelho wrote:
> On Thu, 2018-04-05 at 16:55 +0200, Daniel Borkmann wrote:
> > Hey guys,
> 
> Hi Daniel,
> 
> 
> > after upgrading to 4608f064532c ("Merge
> > git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next")
> > my kernel log gets constantly flooded with the below message and
> > wireless stops
> > working ... just in case you haven't had a report on this yet.
> > Downgrading back
> > to older v4.16-rcX kernel gets everything back to normal working
> > state; haven't
> > had time for bisection yet, but hopefully the below would provide
> > some clue.
> > 
> 
> [...]
> 
> > [  513.429773] iwlwifi 0000:04:00.0: Failed to send quota: -5
> > [  513.429775] iwlwifi 0000:04:00.0: Failed to update quotas after
> > restart (-5)
> > [  514.163758] iwlwifi 0000:04:00.0: Microcode SW error
> > detected.  Restarting 0x82000000.
> > [  514.163987] iwlwifi 0000:04:00.0: Start IWL Error Log Dump:
> > [  514.163988] iwlwifi 0000:04:00.0: Status: 0x00000100, count: 6
> > [  514.163989] iwlwifi 0000:04:00.0: Loaded firmware version:
> > 27.455470.0
> > [  514.163991] iwlwifi 0000:04:00.0: 0x00000038 | BAD_COMMAND
> 
> [...]
> 
> I did add support for new FW APIs, so maybe some check for the FW
> version is missing somewhere.
> 
> Which NIC are you using? I can see that you're using an older version
> of the firmware (27.455470.0).  For 7265D and 3168 we already have
> version 29.  For 8000C and 8260 we have vesion 36.  You can find all
> the latest versions in our fork of linux-firmware.git[1].  And soon
> the
> main linux-firmware.git[2] will also include the latest versions,
> since
> I sent a pull request yesteday ago.
> 
> Meanwhile, I'll investigate this problem.  It shouldn't happen even
> if
> you're using an older firmware.  Maybe I'll have to stop supporting
> version 27 in newer kernels, let's see.
> 
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-fir
> mware.git/
> [2] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-fi
> rmware.git

I investigated this a bit further and the issue is with the firmware
version you have.  It's not even the latest version of the 27 ucode. 
For 27 we are in version 541033 and you're using a much older version,
455470.

I tested both versions with Linus' latest and I could reproduce it with
the version you have but not with 541033.  So please upgrade.

Additionally, I would recommend that you upgrade to the latest version
of the firmware, because we have a bunch of fixes and improvements that
are supported by the newest driver.

--
Cheers,
Luca.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: iwlwifi: FW error in SYNC CMD TIME_QUOTA_CMD
  2018-04-07  6:54 ` Luciano Coelho
  2018-04-07  7:46   ` Luciano Coelho
@ 2018-04-08 22:13   ` Daniel Borkmann
  2018-04-09 13:37     ` Daniel Borkmann
  1 sibling, 1 reply; 6+ messages in thread
From: Daniel Borkmann @ 2018-04-08 22:13 UTC (permalink / raw)
  To: Luciano Coelho, johannes.berg; +Cc: emmanuel.grumbach, linux-wireless

Hi Luciano,

On 04/07/2018 08:54 AM, Luciano Coelho wrote:
> On Thu, 2018-04-05 at 16:55 +0200, Daniel Borkmann wrote:
[...]
>> after upgrading to 4608f064532c ("Merge
>> git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next")
>> my kernel log gets constantly flooded with the below message and
>> wireless stops
>> working ... just in case you haven't had a report on this yet.
>> Downgrading back
>> to older v4.16-rcX kernel gets everything back to normal working
>> state; haven't
>> had time for bisection yet, but hopefully the below would provide
>> some clue.
> 
> [...]
> 
>> [  513.429773] iwlwifi 0000:04:00.0: Failed to send quota: -5
>> [  513.429775] iwlwifi 0000:04:00.0: Failed to update quotas after
>> restart (-5)
>> [  514.163758] iwlwifi 0000:04:00.0: Microcode SW error
>> detected.  Restarting 0x82000000.
>> [  514.163987] iwlwifi 0000:04:00.0: Start IWL Error Log Dump:
>> [  514.163988] iwlwifi 0000:04:00.0: Status: 0x00000100, count: 6
>> [  514.163989] iwlwifi 0000:04:00.0: Loaded firmware version:
>> 27.455470.0
>> [  514.163991] iwlwifi 0000:04:00.0: 0x00000038 | BAD_COMMAND
> 
> [...]
> 
> I did add support for new FW APIs, so maybe some check for the FW
> version is missing somewhere.
> 
> Which NIC are you using? I can see that you're using an older version
> of the firmware (27.455470.0).  For 7265D and 3168 we already have
> version 29.  For 8000C and 8260 we have vesion 36.  You can find all
> the latest versions in our fork of linux-firmware.git[1].  And soon the
> main linux-firmware.git[2] will also include the latest versions, since
> I sent a pull request yesteday ago.
> 
> Meanwhile, I'll investigate this problem.  It shouldn't happen even if
> you're using an older firmware.  Maybe I'll have to stop supporting
> version 27 in newer kernels, let's see.

Here's from the log on an older (working) kernel:

$ dmesg | grep iwlwifi
[    7.672955] iwlwifi 0000:04:00.0: enabling device (0000 -> 0002)
[    7.705000] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-36.ucode failed with error -2
[    7.705208] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-35.ucode failed with error -2
[    7.705391] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-34.ucode failed with error -2
[    7.705850] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-33.ucode failed with error -2
[    7.706118] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-32.ucode failed with error -2
[    7.706463] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-31.ucode failed with error -2
[    7.706789] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-30.ucode failed with error -2
[    7.707182] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-29.ucode failed with error -2
[    7.707746] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-28.ucode failed with error -2
[    7.714899] iwlwifi 0000:04:00.0: loaded firmware version 27.455470.0 op_mode iwlmvm
[    8.400655] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x208
[    8.475161] iwlwifi 0000:04:00.0: base HW address: [...]
[    8.568333] iwlwifi 0000:04:00.0 wlp4s0: renamed from wlan0

I'll try to upgrade the FW in the mean time, thanks!

> [1] https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware.git/
> [2] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
> 
> --
> Cheers,
> Luca.
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: iwlwifi: FW error in SYNC CMD TIME_QUOTA_CMD
  2018-04-08 22:13   ` Daniel Borkmann
@ 2018-04-09 13:37     ` Daniel Borkmann
  2018-04-10  6:00       ` Luciano Coelho
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Borkmann @ 2018-04-09 13:37 UTC (permalink / raw)
  To: Luciano Coelho, johannes.berg; +Cc: emmanuel.grumbach, linux-wireless

On 04/09/2018 12:13 AM, Daniel Borkmann wrote:
> Hi Luciano,
> 
> On 04/07/2018 08:54 AM, Luciano Coelho wrote:
>> On Thu, 2018-04-05 at 16:55 +0200, Daniel Borkmann wrote:
> [...]
>>> after upgrading to 4608f064532c ("Merge
>>> git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next")
>>> my kernel log gets constantly flooded with the below message and
>>> wireless stops
>>> working ... just in case you haven't had a report on this yet.
>>> Downgrading back
>>> to older v4.16-rcX kernel gets everything back to normal working
>>> state; haven't
>>> had time for bisection yet, but hopefully the below would provide
>>> some clue.
>>
>> [...]
>>
>>> [  513.429773] iwlwifi 0000:04:00.0: Failed to send quota: -5
>>> [  513.429775] iwlwifi 0000:04:00.0: Failed to update quotas after
>>> restart (-5)
>>> [  514.163758] iwlwifi 0000:04:00.0: Microcode SW error
>>> detected.  Restarting 0x82000000.
>>> [  514.163987] iwlwifi 0000:04:00.0: Start IWL Error Log Dump:
>>> [  514.163988] iwlwifi 0000:04:00.0: Status: 0x00000100, count: 6
>>> [  514.163989] iwlwifi 0000:04:00.0: Loaded firmware version:
>>> 27.455470.0
>>> [  514.163991] iwlwifi 0000:04:00.0: 0x00000038 | BAD_COMMAND
>>
>> [...]
>>
>> I did add support for new FW APIs, so maybe some check for the FW
>> version is missing somewhere.
>>
>> Which NIC are you using? I can see that you're using an older version
>> of the firmware (27.455470.0).  For 7265D and 3168 we already have
>> version 29.  For 8000C and 8260 we have vesion 36.  You can find all
>> the latest versions in our fork of linux-firmware.git[1].  And soon the
>> main linux-firmware.git[2] will also include the latest versions, since
>> I sent a pull request yesteday ago.
>>
>> Meanwhile, I'll investigate this problem.  It shouldn't happen even if
>> you're using an older firmware.  Maybe I'll have to stop supporting
>> version 27 in newer kernels, let's see.
> 
> Here's from the log on an older (working) kernel:
> 
> $ dmesg | grep iwlwifi
> [    7.672955] iwlwifi 0000:04:00.0: enabling device (0000 -> 0002)
> [    7.705000] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-36.ucode failed with error -2
> [    7.705208] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-35.ucode failed with error -2
> [    7.705391] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-34.ucode failed with error -2
> [    7.705850] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-33.ucode failed with error -2
> [    7.706118] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-32.ucode failed with error -2
> [    7.706463] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-31.ucode failed with error -2
> [    7.706789] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-30.ucode failed with error -2
> [    7.707182] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-29.ucode failed with error -2
> [    7.707746] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-28.ucode failed with error -2
> [    7.714899] iwlwifi 0000:04:00.0: loaded firmware version 27.455470.0 op_mode iwlmvm
> [    8.400655] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x208
> [    8.475161] iwlwifi 0000:04:00.0: base HW address: [...]
> [    8.568333] iwlwifi 0000:04:00.0 wlp4s0: renamed from wlan0
> 
> I'll try to upgrade the FW in the mean time, thanks!

Moved to iwlwifi-8000C-36 and that definitely helped. Thanks!

>> [1] https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware.git/
>> [2] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
>>
>> --
>> Cheers,
>> Luca.
>>
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: iwlwifi: FW error in SYNC CMD TIME_QUOTA_CMD
  2018-04-09 13:37     ` Daniel Borkmann
@ 2018-04-10  6:00       ` Luciano Coelho
  0 siblings, 0 replies; 6+ messages in thread
From: Luciano Coelho @ 2018-04-10  6:00 UTC (permalink / raw)
  To: Daniel Borkmann, johannes.berg; +Cc: emmanuel.grumbach, linux-wireless, iwlwifi

On Mon, 2018-04-09 at 15:37 +0200, Daniel Borkmann wrote:
> On 04/09/2018 12:13 AM, Daniel Borkmann wrote:
> > Hi Luciano,
> > 
> > On 04/07/2018 08:54 AM, Luciano Coelho wrote:
> > > On Thu, 2018-04-05 at 16:55 +0200, Daniel Borkmann wrote:
> > 
> > [...]
> > > > after upgrading to 4608f064532c ("Merge
> > > > git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-
> > > > next")
> > > > my kernel log gets constantly flooded with the below message
> > > > and
> > > > wireless stops
> > > > working ... just in case you haven't had a report on this yet.
> > > > Downgrading back
> > > > to older v4.16-rcX kernel gets everything back to normal
> > > > working
> > > > state; haven't
> > > > had time for bisection yet, but hopefully the below would
> > > > provide
> > > > some clue.
> > > 
> > > [...]
> > > 
> > > > [  513.429773] iwlwifi 0000:04:00.0: Failed to send quota: -5
> > > > [  513.429775] iwlwifi 0000:04:00.0: Failed to update quotas
> > > > after
> > > > restart (-5)
> > > > [  514.163758] iwlwifi 0000:04:00.0: Microcode SW error
> > > > detected.  Restarting 0x82000000.
> > > > [  514.163987] iwlwifi 0000:04:00.0: Start IWL Error Log Dump:
> > > > [  514.163988] iwlwifi 0000:04:00.0: Status: 0x00000100, count:
> > > > 6
> > > > [  514.163989] iwlwifi 0000:04:00.0: Loaded firmware version:
> > > > 27.455470.0
> > > > [  514.163991] iwlwifi 0000:04:00.0: 0x00000038 | BAD_COMMAND
> > > 
> > > [...]
> > > 
> > > I did add support for new FW APIs, so maybe some check for the FW
> > > version is missing somewhere.
> > > 
> > > Which NIC are you using? I can see that you're using an older
> > > version
> > > of the firmware (27.455470.0).  For 7265D and 3168 we already
> > > have
> > > version 29.  For 8000C and 8260 we have vesion 36.  You can find
> > > all
> > > the latest versions in our fork of linux-firmware.git[1].  And
> > > soon the
> > > main linux-firmware.git[2] will also include the latest versions,
> > > since
> > > I sent a pull request yesteday ago.
> > > 
> > > Meanwhile, I'll investigate this problem.  It shouldn't happen
> > > even if
> > > you're using an older firmware.  Maybe I'll have to stop
> > > supporting
> > > version 27 in newer kernels, let's see.
> > 
> > Here's from the log on an older (working) kernel:
> > 
> > $ dmesg | grep iwlwifi
> > [    7.672955] iwlwifi 0000:04:00.0: enabling device (0000 -> 0002)
> > [    7.705000] iwlwifi 0000:04:00.0: Direct firmware load for
> > iwlwifi-8000C-36.ucode failed with error -2
> > [    7.705208] iwlwifi 0000:04:00.0: Direct firmware load for
> > iwlwifi-8000C-35.ucode failed with error -2
> > [    7.705391] iwlwifi 0000:04:00.0: Direct firmware load for
> > iwlwifi-8000C-34.ucode failed with error -2
> > [    7.705850] iwlwifi 0000:04:00.0: Direct firmware load for
> > iwlwifi-8000C-33.ucode failed with error -2
> > [    7.706118] iwlwifi 0000:04:00.0: Direct firmware load for
> > iwlwifi-8000C-32.ucode failed with error -2
> > [    7.706463] iwlwifi 0000:04:00.0: Direct firmware load for
> > iwlwifi-8000C-31.ucode failed with error -2
> > [    7.706789] iwlwifi 0000:04:00.0: Direct firmware load for
> > iwlwifi-8000C-30.ucode failed with error -2
> > [    7.707182] iwlwifi 0000:04:00.0: Direct firmware load for
> > iwlwifi-8000C-29.ucode failed with error -2
> > [    7.707746] iwlwifi 0000:04:00.0: Direct firmware load for
> > iwlwifi-8000C-28.ucode failed with error -2
> > [    7.714899] iwlwifi 0000:04:00.0: loaded firmware version
> > 27.455470.0 op_mode iwlmvm
> > [    8.400655] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band
> > Wireless AC 8260, REV=0x208
> > [    8.475161] iwlwifi 0000:04:00.0: base HW address: [...]
> > [    8.568333] iwlwifi 0000:04:00.0 wlp4s0: renamed from wlan0
> > 
> > I'll try to upgrade the FW in the mean time, thanks!
> 
> Moved to iwlwifi-8000C-36 and that definitely helped. Thanks!

Great, I'm glad it works for you now!

Thanks for reporting.

--
Cheers,
Luca.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-04-10  6:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-05 14:55 iwlwifi: FW error in SYNC CMD TIME_QUOTA_CMD Daniel Borkmann
2018-04-07  6:54 ` Luciano Coelho
2018-04-07  7:46   ` Luciano Coelho
2018-04-08 22:13   ` Daniel Borkmann
2018-04-09 13:37     ` Daniel Borkmann
2018-04-10  6:00       ` Luciano Coelho

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.