Linux wireless drivers development
 help / color / mirror / Atom feed
From: Luciano Coelho <luciano.coelho@intel.com>
To: Mika Westerberg <mika.westerberg@linux.intel.com>,
	Ayala Beker <ayala.beker@intel.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [BUG] iwlwifi: Microcode SW error detected.  Restarting 0x2000000.
Date: Mon, 23 Apr 2018 15:39:45 +0300	[thread overview]
Message-ID: <2769dd4501a9132f638202fece264de32218860d.camel@intel.com> (raw)
In-Reply-To: <20180423120513.GS2173@lahna.fi.intel.com>

On Mon, 2018-04-23 at 15:05 +0300, Mika Westerberg wrote:
> Hi,

Hi Mika,


> On my Lenovo X1 Carbon gen 5 system,after I upgraded to v4.17-rc1
> iwlwifi started to fail with following splats on dmesg:
> 
>   iwlwifi 0000:04:00.0: Microcode SW error detected.  Restarting
> 0x2000000.
>   iwlwifi 0000:04:00.0: Start IWL Error Log Dump:
>   iwlwifi 0000:04:00.0: Status: 0x00000100, count: 6
>   iwlwifi 0000:04:00.0: Loaded firmware version: 31.560484.0
>   iwlwifi 0000:04:00.0: 0x00000038 | BAD_COMMAND                 

[...]

> The controller in question is:
> 
>   04:00.0 Network controller [0280]: Intel Corporation Wireless 8265
> / 8275 [8086:24fd] (rev 88)
> 
> Bisection pointed to the following commit and after I reverted it,
> things seem to work fine again:
>   
>   66fa2424df16 ("iwlwifi: fw api: support the new scan request FW API
> version")
> 
> Any idea what might be wrong with that commit and how to fix it
> properly?

We had a bug in the scan command size for older firmwares.  I have
already made a fix for it, but I hadn't sent it out for upstream yet. 
I'll send it out now and soon send you a link to it in patchwork.

You have two options: recompile the kernel with my patch or; use the
latest version of the firmware from linux-firmware.git[1].

I recommend upgrading the firmware, because we have a lot of other
fixes and improvements there, but if you want to keep your distro's
original firmware package, you can apply my patch instead.

HTH and thanks for reporting!


[1] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/iwlwifi-8265-36.ucode


--
Cheers,
Luca.

  reply	other threads:[~2018-04-23 12:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-23 12:05 [BUG] iwlwifi: Microcode SW error detected. Restarting 0x2000000 Mika Westerberg
2018-04-23 12:39 ` Luciano Coelho [this message]
2018-04-23 13:16   ` Mika Westerberg
2018-04-23 13:28   ` Luca Coelho

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2769dd4501a9132f638202fece264de32218860d.camel@intel.com \
    --to=luciano.coelho@intel.com \
    --cc=ayala.beker@intel.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mika.westerberg@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox