* Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
@ 2017-01-05 13:28 Xavier Bestel
2017-01-05 13:51 ` Michal Kazior
0 siblings, 1 reply; 6+ messages in thread
From: Xavier Bestel @ 2017-01-05 13:28 UTC (permalink / raw)
To: ath10k
Hi,
[Sorry if this is a FAQ, I didn't find the answer on https://wireless.wiki.kernel.org/en/users/drivers/ath10k/firmware
and the mailing-list isn't searchable]
I have an XPS 13 9360 with a stock Killer 1535, and I suffer random
freeze when enabling on-board WiFi. I'm not yet sure if it's due to
i915 or ath10k.
Anyway, while looking at the logs I noticed this:
[ 3.685987] ath10k_pci 0000:3a:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 3.969321] ath10k_pci 0000:3a:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:3a:00.0.bin (-2)
[ 3.969324] ath10k_pci 0000:3a:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:3a:00.0.bin failed with error -2
[ 3.969347] ath10k_pci 0000:3a:00.0: firmware: failed to load ath10k/cal-pci-0000:3a:00.0.bin (-2)
[ 3.969350] ath10k_pci 0000:3a:00.0: Direct firmware load for ath10k/cal-pci-0000:3a:00.0.bin failed with error -2
[ 3.969889] ath10k_pci 0000:3a:00.0: firmware: failed to load ath10k/QCA6174/hw3.0/firmware-5.bin (-2)
[ 3.969892] ath10k_pci 0000:3a:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[ 3.969896] ath10k_pci 0000:3a:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[ 3.971125] ath10k_pci 0000:3a:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/firmware-4.bin
[ 3.971137] ath10k_pci 0000:3a:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:1535
[ 3.971140] ath10k_pci 0000:3a:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
[ 3.972789] ath10k_pci 0000:3a:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5
[ 4.035365] ath10k_pci 0000:3a:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/board-2.bin
[ 4.035543] ath10k_pci 0000:3a:00.0: board_file api 2 bmi_id N/A crc32 6fc88fe7
[ 6.156152] ath10k_pci 0000:3a:00.0: htt-ver 3.26 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[ 6.249858] ath10k_pci 0000:3a:00.0 wlp58s0: renamed from wlan0
Apparently there are files missing, and I can't even find them on https://github.com/kvalo/ath10k-firmware
but apparently the card is working anyway.
So why does it try to load a firmware if it's not useful ?
Regards,
Xav
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
2017-01-05 13:28 Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2 Xavier Bestel
@ 2017-01-05 13:51 ` Michal Kazior
2017-01-05 14:31 ` Xavier Bestel
0 siblings, 1 reply; 6+ messages in thread
From: Michal Kazior @ 2017-01-05 13:51 UTC (permalink / raw)
To: Xavier Bestel; +Cc: ath10k@lists.infradead.org
On 5 January 2017 at 14:28, Xavier Bestel <xavier.bestel@free.fr> wrote:
> Hi,
>
> [Sorry if this is a FAQ, I didn't find the answer on https://wireless.wiki.kernel.org/en/users/drivers/ath10k/firmware
> and the mailing-list isn't searchable]
>
> I have an XPS 13 9360 with a stock Killer 1535, and I suffer random
> freeze when enabling on-board WiFi. I'm not yet sure if it's due to
> i915 or ath10k.
Does it freeze the entire system? Try making sure ath10k_pci is loaded
with reset_mode, e.g. via /etc/modprobe.d/ with:
options ath10k_pci reset_mode=1
> Anyway, while looking at the logs I noticed this:
> [ 3.685987] ath10k_pci 0000:3a:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
> [ 3.969321] ath10k_pci 0000:3a:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:3a:00.0.bin (-2)
> [ 3.969324] ath10k_pci 0000:3a:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:3a:00.0.bin failed with error -2
> [ 3.969347] ath10k_pci 0000:3a:00.0: firmware: failed to load ath10k/cal-pci-0000:3a:00.0.bin (-2)
> [ 3.969350] ath10k_pci 0000:3a:00.0: Direct firmware load for ath10k/cal-pci-0000:3a:00.0.bin failed with error -2
> [ 3.969889] ath10k_pci 0000:3a:00.0: firmware: failed to load ath10k/QCA6174/hw3.0/firmware-5.bin (-2)
> [ 3.969892] ath10k_pci 0000:3a:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
> [ 3.969896] ath10k_pci 0000:3a:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
> [ 3.971125] ath10k_pci 0000:3a:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/firmware-4.bin
> [ 3.971137] ath10k_pci 0000:3a:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:1535
> [ 3.971140] ath10k_pci 0000:3a:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
> [ 3.972789] ath10k_pci 0000:3a:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5
> [ 4.035365] ath10k_pci 0000:3a:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/board-2.bin
> [ 4.035543] ath10k_pci 0000:3a:00.0: board_file api 2 bmi_id N/A crc32 6fc88fe7
> [ 6.156152] ath10k_pci 0000:3a:00.0: htt-ver 3.26 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
> [ 6.249858] ath10k_pci 0000:3a:00.0 wlp58s0: renamed from wlan0
>
> Apparently there are files missing, and I can't even find them on https://github.com/kvalo/ath10k-firmware
> but apparently the card is working anyway.
>
> So why does it try to load a firmware if it's not useful ?
Driver tries to load latest-to-oldest version blobs (for backward
compatibility) and uses whatever it finds first. Due to deficient
firmware API in kernel you see these "error" messages. There's been
some work going on but it's progressing slowly.
Michał
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
2017-01-05 13:51 ` Michal Kazior
@ 2017-01-05 14:31 ` Xavier Bestel
2017-01-06 14:25 ` Xavier Bestel
0 siblings, 1 reply; 6+ messages in thread
From: Xavier Bestel @ 2017-01-05 14:31 UTC (permalink / raw)
To: Michal Kazior; +Cc: ath10k@lists.infradead.org
Le jeudi 05 janvier 2017 à 14:51 +0100, Michal Kazior a écrit :
> > On 5 January 2017 at 14:28, Xavier Bestel <xavier.bestel@free.fr> wrote:
> > I have an XPS 13 9360 with a stock Killer 1535, and I suffer random
> > freeze when enabling on-board WiFi. I'm not yet sure if it's due to
> > i915 or ath10k.
>
> Does it freeze the entire system? Try making sure ath10k_pci is loaded
> with reset_mode, e.g. via /etc/modprobe.d/ with:
>
> options ath10k_pci reset_mode=1
What's that "reset_mode" ? Where can I find doc about the various
options ?
[...]
> > So why does it try to load a firmware if it's not useful ?
>
> Driver tries to load latest-to-oldest version blobs (for backward
> compatibility) and uses whatever it finds first. Due to deficient
> firmware API in kernel you see these "error" messages. There's been
> some work going on but it's progressing slowly.
OK I understand. A little message telling the user that such failures
are harmless would be nice though.
Xav
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
2017-01-05 14:31 ` Xavier Bestel
@ 2017-01-06 14:25 ` Xavier Bestel
2017-01-09 14:43 ` Michal Kazior
0 siblings, 1 reply; 6+ messages in thread
From: Xavier Bestel @ 2017-01-06 14:25 UTC (permalink / raw)
To: Michal Kazior; +Cc: ath10k@lists.infradead.org
Le jeudi 05 janvier 2017 à 15:31 +0100, Xavier Bestel a écrit :
> Le jeudi 05 janvier 2017 à 14:51 +0100, Michal Kazior a écrit :
> > > > > > On 5 January 2017 at 14:28, Xavier Bestel <xavier.bestel@free.fr> wrote:
> > > I have an XPS 13 9360 with a stock Killer 1535, and I suffer random
> > > freeze when enabling on-board WiFi. I'm not yet sure if it's due to
> > > i915 or ath10k.
> >
> > Does it freeze the entire system? Try making sure ath10k_pci is loaded
> > with reset_mode, e.g. via /etc/modprobe.d/ with:
> >
> > options ath10k_pci reset_mode=1
>
> What's that "reset_mode" ? Where can I find doc about the various
> options ?
OK I tried that:
options ath10k_core skip_otp=y reset_mode=1
(I don't know what skip_opt is, but debian put it there so I left it).
I still have some half-second freezes each few seconds.
Xav
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
2017-01-06 14:25 ` Xavier Bestel
@ 2017-01-09 14:43 ` Michal Kazior
2017-01-10 8:55 ` Xavier Bestel
0 siblings, 1 reply; 6+ messages in thread
From: Michal Kazior @ 2017-01-09 14:43 UTC (permalink / raw)
To: Xavier Bestel; +Cc: ath10k@lists.infradead.org
On 6 January 2017 at 15:25, Xavier Bestel <xavier.bestel@free.fr> wrote:
> Le jeudi 05 janvier 2017 à 15:31 +0100, Xavier Bestel a écrit :
>> Le jeudi 05 janvier 2017 à 14:51 +0100, Michal Kazior a écrit :
>> > > > > > On 5 January 2017 at 14:28, Xavier Bestel <xavier.bestel@free.fr> wrote:
>> > > I have an XPS 13 9360 with a stock Killer 1535, and I suffer random
>> > > freeze when enabling on-board WiFi. I'm not yet sure if it's due to
>> > > i915 or ath10k.
>> >
>> > Does it freeze the entire system? Try making sure ath10k_pci is loaded
>> > with reset_mode, e.g. via /etc/modprobe.d/ with:
>> >
>> > options ath10k_pci reset_mode=1
>>
>> What's that "reset_mode" ? Where can I find doc about the various
>> options ?
modinfo ath10k_pci
> OK I tried that:
> options ath10k_core skip_otp=y reset_mode=1
> (I don't know what skip_opt is, but debian put it there so I left it).
> I still have some half-second freezes each few seconds.
I assumed "freeze" means your system just hangs. I no longer know what
you mean *exactly* by "freeze". Can you be more specific? How does it
manifest, really? When does it happen? What's does kernel log look
like?
Michał
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
2017-01-09 14:43 ` Michal Kazior
@ 2017-01-10 8:55 ` Xavier Bestel
0 siblings, 0 replies; 6+ messages in thread
From: Xavier Bestel @ 2017-01-10 8:55 UTC (permalink / raw)
To: Michal Kazior; +Cc: ath10k@lists.infradead.org
Le lundi 09 janvier 2017 à 15:43 +0100, Michal Kazior a écrit :
> On 6 January 2017 at 15:25, Xavier Bestel <xavier.bestel@free.fr>
>
> > > What's that "reset_mode" ? Where can I find doc about the various
> > > options ?
>
> modinfo ath10k_pci
That's not really informative. It just tells some parms exist.
> > OK I tried that:
> > options ath10k_core skip_otp=y reset_mode=1
> > (I don't know what skip_opt is, but debian put it there so I left it).
> > I still have some half-second freezes each few seconds.
>
> I assumed "freeze" means your system just hangs. I no longer know what
> you mean *exactly* by "freeze". Can you be more specific? How does it
> manifest, really? When does it happen? What's does kernel log look
> like?
Nothing in the logs, the laptop just freezes for a short while then
continues. And resume from suspend is quite painful, with sometimes
some long wait before having GDM usable.
But I've found a (heavyhanded) workaround: I installed Ubuntu 16.10
instead of Debian strech and everything is working flawlessly now.
There are probably some kernel patches which have not yet been
upstreamed in there.
Thanks,
Xav
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-01-10 8:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-05 13:28 Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2 Xavier Bestel
2017-01-05 13:51 ` Michal Kazior
2017-01-05 14:31 ` Xavier Bestel
2017-01-06 14:25 ` Xavier Bestel
2017-01-09 14:43 ` Michal Kazior
2017-01-10 8:55 ` Xavier Bestel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox