From: Floyd Anderson <f.a@31c0.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Loading a Firmware Module By hand?
Date: Mon, 18 Dec 2017 22:51:59 +0100 [thread overview]
Message-ID: <20171218215158.mpi2ytjcuoas2k2c@31c0.net> (raw)
In-Reply-To: <CAJ1hvUHBayNX33_i8HhT4DmYErWWmRvA9Jy7Tc6M7LZAAVjdQg@mail.gmail.com>
On Mon, 18 Dec 2017 19:15:04 +0000
Hunter Jozwiak <hunter.t.joz@gmail.com> wrote:
>On 12/18/17, Mick <michaelkintzios@gmail.com> wrote:
>> On Monday, 18 December 2017 05:11:20 GMT Hunter Jozwiak wrote:
>>> Hmm. I have kernel 4.14.7 and linux-firmware 20171206. I tried version
>>> 999999999 as well, but that didn't help matters, either. Nor did
>>> compiling the firmware into the kernel; either 4.14 is too old, or it
>>> is too new.
>>
>> I'd think they are both too new?
>>
>>> I tried copying the firmware my live iso was using, but
>>> that didn't help either.
>>
>> If the live iso works, start with using the same kernel release and linux-
>> firmware version, to see if this works as expected on your installation.
>> Then
>> update kernel sources and firmware to the latest stable and see if this
>> works
>> too.
>>
>> From there on you can move into ~arch to find the version at which things
>> break.
>> --
>> Regards,
>> Mick
>Okay, here are the dmesg messages:
>https://paste.pound-python.org/show/nrNfBAEPfh9W7ZIeItJC/
>The present kernel configuration, as of yesterday evening:
>https://paste.pound-python.org/show/NmNB8nzLuEjmsz74kRVE/
>Make and model of the offending card: Qualcomm 6174 revision 20.
>Not exactly what the -2 error means, but I will try as Mick suggested
>and work my way forwards to see what I can get working.
>
Hi,
I was a little bit confused from your earlier mentioned
/lib/firmware/ath10k/QCABLEFAGD/HW3.0
I wonder where this firmware come from. I cannot find it, neither with
the identifier ‘QCABLEFAGD’ nor an upper cased ‘HW3.0’ directory in
[1][2][3][4].
Your log tells an other story now. As far as I can tell:
“Direct firmware load for […] failed with error -2”
comes from _request_firmware and fw_get_filesystem_firmware functions in
file [5]. The symbolic error name ENOENT, see `man 3 errno`, means
something like ‘No such element’ or ‘No such file or directory’.
Even CONFIG_EXTRA_FIRMWARE_DIR defaults to ‘/lib/firmware’, there should
be whether an entry ‘# CONFIG_EXTRA_FIRMWARE_DIR is not set’ or
something like ‘CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"’ in your
config. Its unclear to me why it is not there.
If you want to build into the kernel again, check
‘/lib/firmware/ath10k/QCA6174/hw2.1/firmware-6.bin’ exists and set:
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="ath10k/QCA6174/hw2.1/firmware-6.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
Hope that helps.
[1] <https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/ath10k>
[2] <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/drivers/net/wireless/ath/ath10k/hw.h?h=v4.14.7>
[3] <https://github.com/kvalo/ath10k-firmware>
[4] <https://wireless.wiki.kernel.org/en/users/Drivers/ath10k/firmware>
[5] <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/drivers/base/firmware_class.c?h=v4.14.7#n386>
--
Regards,
floyd
next prev parent reply other threads:[~2017-12-18 21:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-17 5:34 [gentoo-user] Loading a Firmware Module By hand? Hunter Jozwiak
2017-12-17 9:18 ` Mick
2017-12-17 9:28 ` Andrey Utkin
2017-12-18 5:11 ` Hunter Jozwiak
2017-12-18 7:33 ` Floyd Anderson
2017-12-18 17:09 ` Mick
2017-12-18 19:15 ` Hunter Jozwiak
2017-12-18 21:51 ` Floyd Anderson [this message]
2017-12-18 21:59 ` Hunter Jozwiak
2017-12-18 23:33 ` Adam Carter
2017-12-18 22:22 ` Floyd Anderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171218215158.mpi2ytjcuoas2k2c@31c0.net \
--to=f.a@31c0.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox