* iwlwifi: Direct firmware load for iwl-debug-yoyo.bin failed with error -2
@ 2020-07-25 12:11 Sedat Dilek
2020-07-26 7:22 ` Kalle Valo
0 siblings, 1 reply; 6+ messages in thread
From: Sedat Dilek @ 2020-07-25 12:11 UTC (permalink / raw)
To: Luca Coelho, Shahar S Matityahu
Cc: Johannes Berg, Emmanuel Grumbach, Intel Linux Wireless, linux-wireless
Hi,
I am seeing this failed/error message for a long time:
[Sat Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: Direct firmware load
for iwl-debug-yoyo.bin failed with error -2
So, I started to look for the file "iwl-debug-yoyo.bin" in [1], but failed.
AFAICS this is a file for debugging purposes?
Why do I see such a message as an end-user w/o iwlwifi-debugging enabled?
For some end-users I can imagine this looks scary and they will look
into their cupboards and below their beds but will not find any
monsters.
I found a rename from an ini file to bin here:
commit 8d9e982bf9bf ("iwlwifi: dbg_ini: rename external debug
configuration file")
Is "iwl-debug-yoyo.bin" a binary or as before an ini (text) file I
have to configure somehow.
Does this need to be guarded by some "ifdef CONFIG_IWLWIFI_DEBUG" in
"drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c"?
Or does drivers/net/wireless/intel/iwlwifi/Makefile needs some tuning
- as said I have no iwlwifi debugging enabled via Kconfig?
...
iwlwifi-objs += iwl-dbg-tlv.o
Please enlighten me/us?
Thanks.
Regards,
- Sedat -
[1] https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware.git/
[2] https://git.kernel.org/linus/e8d9e982bf9bf0e6f99099f1f09a37563b2b95b5
From my dmesg-output:
[Sa Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: can't disable ASPM; OS
doesn't have ASPM control
[Sa Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: loaded firmware
version 18.168.6.1 6000g2b-6.ucode op_mode iwldvm
[Sa Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: Direct firmware load
for iwl-debug-yoyo.bin failed with error -2
[Sa Jul 25 13:03:30 2020] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUG disabled
[Sa Jul 25 13:03:30 2020] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
[Sa Jul 25 13:03:30 2020] iwlwifi 0000:01:00.0:
CONFIG_IWLWIFI_DEVICE_TRACING disabled
[Sa Jul 25 13:03:30 2020] iwlwifi 0000:01:00.0: Detected Intel(R)
Centrino(R) Advanced-N 6230 AGN, REV=0xB0
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: iwlwifi: Direct firmware load for iwl-debug-yoyo.bin failed with error -2
2020-07-25 12:11 iwlwifi: Direct firmware load for iwl-debug-yoyo.bin failed with error -2 Sedat Dilek
@ 2020-07-26 7:22 ` Kalle Valo
2020-07-27 6:22 ` Luciano Coelho
2020-07-28 13:13 ` Sedat Dilek
0 siblings, 2 replies; 6+ messages in thread
From: Kalle Valo @ 2020-07-26 7:22 UTC (permalink / raw)
To: Sedat Dilek
Cc: Luca Coelho, Shahar S Matityahu, Johannes Berg,
Emmanuel Grumbach, Intel Linux Wireless, linux-wireless
Sedat Dilek <sedat.dilek@gmail.com> writes:
> Hi,
>
> I am seeing this failed/error message for a long time:
>
> [Sat Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: Direct firmware load
> for iwl-debug-yoyo.bin failed with error -2
>
> So, I started to look for the file "iwl-debug-yoyo.bin" in [1], but failed.
> AFAICS this is a file for debugging purposes?
>
> Why do I see such a message as an end-user w/o iwlwifi-debugging enabled?
> For some end-users I can imagine this looks scary and they will look
> into their cupboards and below their beds but will not find any
> monsters.
>
> I found a rename from an ini file to bin here:
> commit 8d9e982bf9bf ("iwlwifi: dbg_ini: rename external debug
> configuration file")
>
> Is "iwl-debug-yoyo.bin" a binary or as before an ini (text) file I
> have to configure somehow.
>
> Does this need to be guarded by some "ifdef CONFIG_IWLWIFI_DEBUG" in
> "drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c"?
>
> Or does drivers/net/wireless/intel/iwlwifi/Makefile needs some tuning
> - as said I have no iwlwifi debugging enabled via Kconfig?
> ...
> iwlwifi-objs += iwl-dbg-tlv.o
>
> Please enlighten me/us?
>
> Thanks.
>
> Regards,
> - Sedat -
>
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware.git/
> [2] https://git.kernel.org/linus/e8d9e982bf9bf0e6f99099f1f09a37563b2b95b5
>
>>From my dmesg-output:
>
> [Sa Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: can't disable ASPM; OS
> doesn't have ASPM control
> [Sa Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: loaded firmware
> version 18.168.6.1 6000g2b-6.ucode op_mode iwldvm
> [Sa Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: Direct firmware load
> for iwl-debug-yoyo.bin failed with error -2
There's an RFC patch about this:
https://patchwork.kernel.org/patch/11625759/
I think that should be applied. Intel folks, should I take that directly
to wireless-drivers-next?
--
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: iwlwifi: Direct firmware load for iwl-debug-yoyo.bin failed with error -2
2020-07-26 7:22 ` Kalle Valo
@ 2020-07-27 6:22 ` Luciano Coelho
2020-07-27 17:52 ` Sedat Dilek
2020-07-28 13:13 ` Sedat Dilek
1 sibling, 1 reply; 6+ messages in thread
From: Luciano Coelho @ 2020-07-27 6:22 UTC (permalink / raw)
To: Kalle Valo, Sedat Dilek
Cc: Shahar S Matityahu, Johannes Berg, Emmanuel Grumbach,
Intel Linux Wireless, linux-wireless
On Sun, 2020-07-26 at 10:22 +0300, Kalle Valo wrote:
> Sedat Dilek <sedat.dilek@gmail.com> writes:
>
> > Hi,
> >
> > I am seeing this failed/error message for a long time:
> >
> > [Sat Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: Direct firmware load
> > for iwl-debug-yoyo.bin failed with error -2
> >
> > So, I started to look for the file "iwl-debug-yoyo.bin" in [1], but failed.
> > AFAICS this is a file for debugging purposes?
> >
> > Why do I see such a message as an end-user w/o iwlwifi-debugging enabled?
> > For some end-users I can imagine this looks scary and they will look
> > into their cupboards and below their beds but will not find any
> > monsters.
> >
> > I found a rename from an ini file to bin here:
> > commit 8d9e982bf9bf ("iwlwifi: dbg_ini: rename external debug
> > configuration file")
> >
> > Is "iwl-debug-yoyo.bin" a binary or as before an ini (text) file I
> > have to configure somehow.
> >
> > Does this need to be guarded by some "ifdef CONFIG_IWLWIFI_DEBUG" in
> > "drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c"?
> >
> > Or does drivers/net/wireless/intel/iwlwifi/Makefile needs some tuning
> > - as said I have no iwlwifi debugging enabled via Kconfig?
> > ...
> > iwlwifi-objs += iwl-dbg-tlv.o
> >
> > Please enlighten me/us?
> >
> > Thanks.
> >
> > Regards,
> > - Sedat -
> >
> > [1] https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware.git/
> > [2] https://git.kernel.org/linus/e8d9e982bf9bf0e6f99099f1f09a37563b2b95b5
> >
> > > From my dmesg-output:
> >
> > [Sa Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: can't disable ASPM; OS
> > doesn't have ASPM control
> > [Sa Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: loaded firmware
> > version 18.168.6.1 6000g2b-6.ucode op_mode iwldvm
> > [Sa Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: Direct firmware load
> > for iwl-debug-yoyo.bin failed with error -2
>
> There's an RFC patch about this:
>
> https://patchwork.kernel.org/patch/11625759/
>
> I think that should be applied. Intel folks, should I take that directly
> to wireless-drivers-next?
As I wrote in the other thread, yes, please. Go ahead and merge it.
--
Cheers,
Luca.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: iwlwifi: Direct firmware load for iwl-debug-yoyo.bin failed with error -2
2020-07-27 6:22 ` Luciano Coelho
@ 2020-07-27 17:52 ` Sedat Dilek
0 siblings, 0 replies; 6+ messages in thread
From: Sedat Dilek @ 2020-07-27 17:52 UTC (permalink / raw)
To: Luciano Coelho
Cc: Kalle Valo, Shahar S Matityahu, Johannes Berg, Emmanuel Grumbach,
Intel Linux Wireless, linux-wireless
On Mon, Jul 27, 2020 at 8:22 AM Luciano Coelho <luciano.coelho@intel.com> wrote:
>
> On Sun, 2020-07-26 at 10:22 +0300, Kalle Valo wrote:
> > Sedat Dilek <sedat.dilek@gmail.com> writes:
> >
> > > Hi,
> > >
> > > I am seeing this failed/error message for a long time:
> > >
> > > [Sat Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: Direct firmware load
> > > for iwl-debug-yoyo.bin failed with error -2
> > >
> > > So, I started to look for the file "iwl-debug-yoyo.bin" in [1], but failed.
> > > AFAICS this is a file for debugging purposes?
> > >
> > > Why do I see such a message as an end-user w/o iwlwifi-debugging enabled?
> > > For some end-users I can imagine this looks scary and they will look
> > > into their cupboards and below their beds but will not find any
> > > monsters.
> > >
> > > I found a rename from an ini file to bin here:
> > > commit 8d9e982bf9bf ("iwlwifi: dbg_ini: rename external debug
> > > configuration file")
> > >
> > > Is "iwl-debug-yoyo.bin" a binary or as before an ini (text) file I
> > > have to configure somehow.
> > >
> > > Does this need to be guarded by some "ifdef CONFIG_IWLWIFI_DEBUG" in
> > > "drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c"?
> > >
> > > Or does drivers/net/wireless/intel/iwlwifi/Makefile needs some tuning
> > > - as said I have no iwlwifi debugging enabled via Kconfig?
> > > ...
> > > iwlwifi-objs += iwl-dbg-tlv.o
> > >
> > > Please enlighten me/us?
> > >
> > > Thanks.
> > >
> > > Regards,
> > > - Sedat -
> > >
> > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware.git/
> > > [2] https://git.kernel.org/linus/e8d9e982bf9bf0e6f99099f1f09a37563b2b95b5
> > >
> > > > From my dmesg-output:
> > >
> > > [Sa Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: can't disable ASPM; OS
> > > doesn't have ASPM control
> > > [Sa Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: loaded firmware
> > > version 18.168.6.1 6000g2b-6.ucode op_mode iwldvm
> > > [Sa Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: Direct firmware load
> > > for iwl-debug-yoyo.bin failed with error -2
> >
> > There's an RFC patch about this:
> >
> > https://patchwork.kernel.org/patch/11625759/
> >
> > I think that should be applied. Intel folks, should I take that directly
> > to wireless-drivers-next?
>
> As I wrote in the other thread, yes, please. Go ahead and merge it.
>
Hey cool!
Thanks for taking care.
I have included this one into my Linux v5.8-rc7 patch-series.
Sorry, if I was a bit rude in my report.
Happy Monster hunting,
- Sedat -
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: iwlwifi: Direct firmware load for iwl-debug-yoyo.bin failed with error -2
2020-07-26 7:22 ` Kalle Valo
2020-07-27 6:22 ` Luciano Coelho
@ 2020-07-28 13:13 ` Sedat Dilek
2020-07-28 21:23 ` Sedat Dilek
1 sibling, 1 reply; 6+ messages in thread
From: Sedat Dilek @ 2020-07-28 13:13 UTC (permalink / raw)
To: Kalle Valo
Cc: Luca Coelho, Shahar S Matityahu, Johannes Berg,
Emmanuel Grumbach, Intel Linux Wireless, linux-wireless
On Sun, Jul 26, 2020 at 9:23 AM Kalle Valo <kvalo@codeaurora.org> wrote:
>
> Sedat Dilek <sedat.dilek@gmail.com> writes:
>
> > Hi,
> >
> > I am seeing this failed/error message for a long time:
> >
> > [Sat Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: Direct firmware load
> > for iwl-debug-yoyo.bin failed with error -2
> >
> > So, I started to look for the file "iwl-debug-yoyo.bin" in [1], but failed.
> > AFAICS this is a file for debugging purposes?
> >
> > Why do I see such a message as an end-user w/o iwlwifi-debugging enabled?
> > For some end-users I can imagine this looks scary and they will look
> > into their cupboards and below their beds but will not find any
> > monsters.
> >
> > I found a rename from an ini file to bin here:
> > commit 8d9e982bf9bf ("iwlwifi: dbg_ini: rename external debug
> > configuration file")
> >
> > Is "iwl-debug-yoyo.bin" a binary or as before an ini (text) file I
> > have to configure somehow.
> >
> > Does this need to be guarded by some "ifdef CONFIG_IWLWIFI_DEBUG" in
> > "drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c"?
> >
> > Or does drivers/net/wireless/intel/iwlwifi/Makefile needs some tuning
> > - as said I have no iwlwifi debugging enabled via Kconfig?
> > ...
> > iwlwifi-objs += iwl-dbg-tlv.o
> >
> > Please enlighten me/us?
> >
> > Thanks.
> >
> > Regards,
> > - Sedat -
> >
> > [1] https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware.git/
> > [2] https://git.kernel.org/linus/e8d9e982bf9bf0e6f99099f1f09a37563b2b95b5
> >
> >>From my dmesg-output:
> >
> > [Sa Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: can't disable ASPM; OS
> > doesn't have ASPM control
> > [Sa Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: loaded firmware
> > version 18.168.6.1 6000g2b-6.ucode op_mode iwldvm
> > [Sa Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: Direct firmware load
> > for iwl-debug-yoyo.bin failed with error -2
>
> There's an RFC patch about this:
>
> https://patchwork.kernel.org/patch/11625759/
>
> I think that should be applied. Intel folks, should I take that directly
> to wireless-drivers-next?
>
Reported-by: Sedat Dilek <sedat.dilek@gmail.com>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com> # Linux v5.8-rc7; GCC
v10.2 + GNU/ld v2.35
- Sedat -
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: iwlwifi: Direct firmware load for iwl-debug-yoyo.bin failed with error -2
2020-07-28 13:13 ` Sedat Dilek
@ 2020-07-28 21:23 ` Sedat Dilek
0 siblings, 0 replies; 6+ messages in thread
From: Sedat Dilek @ 2020-07-28 21:23 UTC (permalink / raw)
To: Kalle Valo
Cc: Luca Coelho, Shahar S Matityahu, Johannes Berg,
Emmanuel Grumbach, Intel Linux Wireless, linux-wireless
On Tue, Jul 28, 2020 at 3:13 PM Sedat Dilek <sedat.dilek@gmail.com> wrote:
>
> On Sun, Jul 26, 2020 at 9:23 AM Kalle Valo <kvalo@codeaurora.org> wrote:
> >
> > Sedat Dilek <sedat.dilek@gmail.com> writes:
> >
> > > Hi,
> > >
> > > I am seeing this failed/error message for a long time:
> > >
> > > [Sat Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: Direct firmware load
> > > for iwl-debug-yoyo.bin failed with error -2
> > >
> > > So, I started to look for the file "iwl-debug-yoyo.bin" in [1], but failed.
> > > AFAICS this is a file for debugging purposes?
> > >
> > > Why do I see such a message as an end-user w/o iwlwifi-debugging enabled?
> > > For some end-users I can imagine this looks scary and they will look
> > > into their cupboards and below their beds but will not find any
> > > monsters.
> > >
> > > I found a rename from an ini file to bin here:
> > > commit 8d9e982bf9bf ("iwlwifi: dbg_ini: rename external debug
> > > configuration file")
> > >
> > > Is "iwl-debug-yoyo.bin" a binary or as before an ini (text) file I
> > > have to configure somehow.
> > >
> > > Does this need to be guarded by some "ifdef CONFIG_IWLWIFI_DEBUG" in
> > > "drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c"?
> > >
> > > Or does drivers/net/wireless/intel/iwlwifi/Makefile needs some tuning
> > > - as said I have no iwlwifi debugging enabled via Kconfig?
> > > ...
> > > iwlwifi-objs += iwl-dbg-tlv.o
> > >
> > > Please enlighten me/us?
> > >
> > > Thanks.
> > >
> > > Regards,
> > > - Sedat -
> > >
> > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware.git/
> > > [2] https://git.kernel.org/linus/e8d9e982bf9bf0e6f99099f1f09a37563b2b95b5
> > >
> > >>From my dmesg-output:
> > >
> > > [Sa Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: can't disable ASPM; OS
> > > doesn't have ASPM control
> > > [Sa Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: loaded firmware
> > > version 18.168.6.1 6000g2b-6.ucode op_mode iwldvm
> > > [Sa Jul 25 13:03:28 2020] iwlwifi 0000:01:00.0: Direct firmware load
> > > for iwl-debug-yoyo.bin failed with error -2
> >
> > There's an RFC patch about this:
> >
> > https://patchwork.kernel.org/patch/11625759/
> >
> > I think that should be applied. Intel folks, should I take that directly
> > to wireless-drivers-next?
> >
>
> Reported-by: Sedat Dilek <sedat.dilek@gmail.com>
> Tested-by: Sedat Dilek <sedat.dilek@gmail.com> # Linux v5.8-rc7; GCC
> v10.2 + GNU/ld v2.35
>
Re-tested with LLVM/Clang/LLD v11.0.0-rc1.
- Sedat -
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-07-28 21:23 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-25 12:11 iwlwifi: Direct firmware load for iwl-debug-yoyo.bin failed with error -2 Sedat Dilek
2020-07-26 7:22 ` Kalle Valo
2020-07-27 6:22 ` Luciano Coelho
2020-07-27 17:52 ` Sedat Dilek
2020-07-28 13:13 ` Sedat Dilek
2020-07-28 21:23 ` Sedat Dilek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).