Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #62555 > unrolled thread

Re: missing firmware in debian 9

Started bySven Eckelmann <sven.eckelmann@openmesh.com>
First post2018-11-26 10:00 +0100
Last post2018-11-28 16:00 +0100
Articles 6 — 3 participants

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: missing firmware in debian 9 Sven Eckelmann <sven.eckelmann@openmesh.com> - 2018-11-26 10:00 +0100
    Re: missing firmware in debian 9 Anil Duggirala <anilduggirala@fastmail.fm> - 2018-11-28 15:40 +0100
    Re: missing firmware in debian 9 Anil Duggirala <anilduggirala@fastmail.fm> - 2018-11-28 15:50 +0100
      Re: missing firmware in debian 9 Kalle Valo <kvalo@codeaurora.org> - 2018-11-28 16:40 +0100
        Re: missing firmware in debian 9 Anil Duggirala <anilduggirala@fastmail.fm> - 2018-11-28 18:10 +0100
    Re: missing firmware in debian 9 Kalle Valo <kvalo@codeaurora.org> - 2018-11-28 16:00 +0100

#62555 — Re: missing firmware in debian 9

FromSven Eckelmann <sven.eckelmann@openmesh.com>
Date2018-11-26 10:00 +0100
SubjectRe: missing firmware in debian 9
Message-ID<wYkUi-7lg-7@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

On Freitag, 16. November 2018 08:38:51 CET Anil Duggirala wrote:
> hello,
> I am getting this message at boot.
> 
> [   10.678576] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:03:00.0.bin (-2)
> [   10.678631] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:03:00.0.bin failed with error -2
> [   10.678655] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/cal-pci-0000:03:00.0.bin (-2)        
> [   10.678699] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
> [   10.681081] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/QCA6174/hw3.0/firmware-5.bin (-2)
> [   10.681127] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
> [   10.681131] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2  
> 
> I have installed the firmware-atheros package from backports in Debian 9, I had installed the package from the main repository before but I was also getting this message. I have also installed the firmware-linux-free package.

Where should Debian take it when QCA is not providing a firmware-5.bin? Kalle 
Valo's repo [1] contains different firmware-6.bin (which your ath10k version 
doesn't seem to support yet) and firmware-4.bin. And Debian ships both - I 
think the ones which were in linux-firmware [2] at the time of the release.

I don't have a QCA6174 hw3.0 but I would guess that ath10k loaded the
firmware-4.bin after it failed to load the firmware-5.bin.

Kind regards,
	Sven

[1] https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174/hw3.0/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/

[toc] | [next] | [standalone]


#62575

FromAnil Duggirala <anilduggirala@fastmail.fm>
Date2018-11-28 15:40 +0100
Message-ID<wZ9ap-5FO-7@gated-at.bofh.it>
In reply to#62555
> It was introduced in v4.18 so once you upgrade the kernel to v4.18 or
> later you should not see the warnings anymore.

I see that I am running kernel 4.9.0-8. It may be quite some time before I get to 4.18 right?
thanks, 

[toc] | [prev] | [next] | [standalone]


#62576

FromAnil Duggirala <anilduggirala@fastmail.fm>
Date2018-11-28 15:50 +0100
Message-ID<wZ9k5-5Jx-5@gated-at.bofh.it>
In reply to#62555
> > I don't have a QCA6174 hw3.0 but I would guess that ath10k loaded the
> > firmware-4.bin after it failed to load the firmware-5.bin.

How can I make sure this is the case? I have had a couple of issues with my bluetooth, how can I test it?
thanks very much,

[toc] | [prev] | [next] | [standalone]


#62578

FromKalle Valo <kvalo@codeaurora.org>
Date2018-11-28 16:40 +0100
Message-ID<wZa6u-6gn-1@gated-at.bofh.it>
In reply to#62576
Anil Duggirala <anilduggirala@fastmail.fm> writes:

>> > I don't have a QCA6174 hw3.0 but I would guess that ath10k loaded the
>> > firmware-4.bin after it failed to load the firmware-5.bin.
>
> How can I make sure this is the case?

ath10k prints lots of information to dmesg after it has initialised the
device, so check that. You should see the firmware version and what api
is used (the number N from firmware-N.bin).

> I have had a couple of issues with my bluetooth, how can I test it?

The warnings you posted are because ath10k is trying to find optional
calibration data and various firmware versions of firmware file from
user space. The warnings and commit c8e028026387 have nothing to do with
bluetooth, so that must be a separate issue.

-- 
Kalle Valo

[toc] | [prev] | [next] | [standalone]


#62580

FromAnil Duggirala <anilduggirala@fastmail.fm>
Date2018-11-28 18:10 +0100
Message-ID<wZbvz-7hm-5@gated-at.bofh.it>
In reply to#62578
> > How can I make sure this is the case?
> 
> ath10k prints lots of information to dmesg after it has initialised the
> device, so check that. You should see the firmware version and what api
> is used (the number N from firmware-N.bin).

Ok, I have checked and it is:
[    9.883661] ath10k_pci 0000:03:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/firmware-4.bin

thank you Kalle and Sven,

[toc] | [prev] | [next] | [standalone]


#62577

FromKalle Valo <kvalo@codeaurora.org>
Date2018-11-28 16:00 +0100
Message-ID<wZ9ap-5FO-9@gated-at.bofh.it>
In reply to#62555
Sven Eckelmann <sven.eckelmann@openmesh.com> writes:

> On Freitag, 16. November 2018 08:38:51 CET Anil Duggirala wrote:
>> hello,
>> I am getting this message at boot.
>> 
>> [ 10.678576] ath10k_pci 0000:03:00.0: firmware: failed to load
>> ath10k/pre-cal-pci-0000:03:00.0.bin (-2)
>> [ 10.678631] ath10k_pci 0000:03:00.0: Direct firmware load for
>> ath10k/pre-cal-pci-0000:03:00.0.bin failed with error -2
>> [ 10.678655] ath10k_pci 0000:03:00.0: firmware: failed to load
>> ath10k/cal-pci-0000:03:00.0.bin (-2)
>> [ 10.678699] ath10k_pci 0000:03:00.0: Direct firmware load for
>> ath10k/cal-pci-0000:03:00.0.bin failed with error -2
>> [ 10.681081] ath10k_pci 0000:03:00.0: firmware: failed to load
>> ath10k/QCA6174/hw3.0/firmware-5.bin (-2)
>> [ 10.681127] ath10k_pci 0000:03:00.0: Direct firmware load for
>> ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
>> [ 10.681131] ath10k_pci 0000:03:00.0: could not fetch firmware file
>> 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
>> 
>> I have installed the firmware-atheros package from backports in
>> Debian 9, I had installed the package from the main repository
>> before but I was also getting this message. I have also installed
>> the firmware-linux-free package.
>
> Where should Debian take it when QCA is not providing a firmware-5.bin? Kalle 
> Valo's repo [1] contains different firmware-6.bin (which your ath10k version 
> doesn't seem to support yet) and firmware-4.bin. And Debian ships both - I 
> think the ones which were in linux-firmware [2] at the time of the release.
>
> I don't have a QCA6174 hw3.0 but I would guess that ath10k loaded the
> firmware-4.bin after it failed to load the firmware-5.bin.

That's what I'm guessing as well. And these warnings should be visible
anymore with this commit:

c8e028026387 ath10k: use firmware_request_nowarn() to load firmware

https://git.kernel.org/linus/c8e028026387

It was introduced in v4.18 so once you upgrade the kernel to v4.18 or
later you should not see the warnings anymore.

-- 
Kalle Valo

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web