Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
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
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
Quoted 8 lines · Xavier Bestel
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
Quoted 18 lines
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
Quoted 4 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
Le jeudi 05 janvier 2017 à 14:51 +0100, Michal Kazior a écrit :
Quoted 9 lines
Quoted 4 lines · Xavier Bestel
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_pciis loaded withreset_mode, e.g. via/etc/modprobe.d/with:options
ath10k_pcireset_mode=1
What's that "reset_mode" ? Where can I find doc about the various options ?
[...]
Quoted 6 lines
Quoted 1 line
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
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
Le jeudi 05 janvier 2017 à 15:31 +0100, Xavier Bestel a écrit :
Quoted 6 lines
Le jeudi 05 janvier 2017 à 14:51 +0100, Michal Kazior a écrit :
Quoted 5 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line · Xavier Bestel
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.
Quoted 7 lines
Quoted 4 lines
Does it freeze the entire system? Try making sure
ath10k_pciis loaded withreset_mode, e.g. via/etc/modprobe.d/with:options
ath10k_pcireset_mode=1What'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
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
Quoted 7 lines · Xavier Bestel
Quoted 6 lines · Xavier Bestel
Quoted 5 lines · Michal Kazior
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line · Xavier Bestel
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.
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Does it freeze the entire system? Try making sure
ath10k_pciis loaded withreset_mode, e.g. via/etc/modprobe.d/with:options
ath10k_pcireset_mode=1What's that "
reset_mode" ? Where can I find doc about the various options ?
modinfo ath10k_pci
Quoted 4 lines
OK I tried that:
optionsath10k_coreskip_otp=y reset_mode=1
(I don't know whatskip_optis, 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
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
Le lundi 09 janvier 2017 à 15:43 +0100, Michal Kazior a écrit :
Quoted 6 lines
On 6 January 2017 at 15:25, Xavier Bestel <[email protected]>
Quoted 2 lines
Quoted 2 lines
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.
Quoted 9 lines
Quoted 4 lines
OK I tried that:
optionsath10k_coreskip_otp=y reset_mode=1
(I don't know whatskip_optis, 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
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k