[Slackware64 14.2] Loading error of ath10k firmware with latest kernel-firmware and latest kernel-huge
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[Slackware64 14.2] Loading error of ath10k firmware with latest kernel-firmware and latest kernel-huge
Howdy :-)
I only installed the official package set and before I applied the system update, the ath10k firmware was successfully loaded.
Then I updated the system with slackpkg upgrade-all.
After that I rebooted the system and the ath10k firmware failed to load. The same happened with the reinstallation of latest kernel-firmware.
Finally I downgraded kernel-firmware to the previous one installed and when I again rebooted the system, the ath10k firmware was successfully loaded with the latest kernel-huge.
Is this a bug of ath10k firmware in latest kernel-firmware package?
Thanks in advance!
Last edited by pensador_13; 06-16-2018 at 07:58 AM.
I applied the updates on my netbook and the firmware continues to load (I boot to a custom 4.17 kernel but that is irrelevant here):
Code:
[ 8.642391] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2
[ 8.644874] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2
[ 8.648058] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-6.bin failed with error -2
[ 8.672237] ath10k_pci 0000:02:00.0: firmware ver WLAN.TF.1.0-00002-QCATFSWPZ-5 api 5 features ignore-otp crc32 c3e0d04f
Of yourse your chip might be different, mine is QCA9377. Instead of downgrading the entire firmware package you may try using an older version of the specific firmware file you need. For ath10k you can check out the following github repo:
ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
appears before and after kernel-firmware downgrade, so I assume that this is not the cause of the issue.
I also noticed that the following output appears before but not after kernel-firmware downgrade:
Yes I think the driver tries to load the firmware blobs present one by one until it finds the right one. That may explain the failed attempts which also appear in my log. But in you case the new firmware seems to be crashing. I can't tell which chip you have from the logs you provided, but I recommend that 1) you try to grab an older version of the blob, either from the git repo or by extracting it from the previous Slackware package, 2) once you verify that the old one works, report the issue to kvalo (AFAIK it is his git repo where the official development takes place).
As long as your devices work correctly, there is no harm in using an older version of the firmware package. But your bug report might be useful to other people, so you might consider digging this a little further. Good luck!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.