From: ludo@gnu.org (Ludovic Courtès)
To: Quilro Ordonez <quiliro@riseup.net>
Cc: lxo@fsfla.org, 23409@debbugs.gnu.org
Subject: bug#23409: unable to load free firmware
Date: Fri, 13 May 2016 15:25:19 +0200 [thread overview]
Message-ID: <87y47e2ips.fsf@gnu.org> (raw)
In-Reply-To: <b6cfb7807bd9fade92a8fde68dfe8ec3@riseup.net> (Quilro Ordonez's message of "Wed, 11 May 2016 14:01:57 -0500")
Hi,
Quilro Ordonez <quiliro@riseup.net> skribis:
> El 2016-05-05 03:42, Alex Kost escribió:
[...]
>> Here is an excerpt of Ludo's message. Please report after doing these
>> steps.
>>
>> Ludovic Courtès (2016-05-03 11:01 +0300) wrote:
>>
>>> Quilíro: firmware files are searched for in the directory specified in
>>> the /sys/module/firmware_class/parameters/path pseudo-file (see the
>>> (gnu
>>> build activation) module.)
>>>
>>> Could you try, as root, something like (use the right package and
>>> module
>>> name below):
>>>
>>> echo -n $(guix build b43-firmware-whatever)/lib/firmware \
>>> > /sys/module/firmware_class/parameters/path
>>> insmod b43-module-whatever-its-called
>>> dmesg | tail
>>>
>>> … and report back?
>
> Here it is:
>
> $ sudo bash
> # export GUIX_PACKAGE_PATH=/home/quiliro/guix/packages
> # echo -n $(guix build openfwwf-firmware) >
> /sys/module/firmware_class/parameters/path
> substitute: updating list of substitutes from
> 'https://mirror.hydra.gnu.org'... 100.0%
> substitute: updating list of substitutes from
> 'https://mirror.hydra.gnu.org'... 100.0%
> substitute: updating list of substitutes from
> 'https://mirror.hydra.gnu.org'... 100.0%
> substitute: updating list of substitutes from
> 'https://mirror.hydra.gnu.org'... 100.0%
> # cat /sys/module/firmware_class/parameters/path
> /gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2
> # insmod b43-open
> insmod: ERROR: could not load module b43-open: No such file or directory
I had to double-check the module name, and it’s in fact called “b43”:
--8<---------------cut here---------------start------------->8---
$ find $LINUX_MODULE_DIRECTORY -name b43\*ko
/run/booted-system/kernel/lib/modules/4.5.2-gnu/kernel/drivers/net/wireless/broadcom/b43/b43.ko
/run/booted-system/kernel/lib/modules/4.5.2-gnu/kernel/drivers/net/wireless/broadcom/b43legacy/b43legacy.ko
--8<---------------cut here---------------end--------------->8---
Furthermore, you’ll need to use ’modprobe’ rather than ‘insmod’ (sorry
about that!).
> # find $(guix build openfwwf-firmware)
> /gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2
> /gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2/b43-open
> /gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2/b43-open/b0g0initvals5.fw
> /gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2/b43-open/b0g0bsinitvals5.fw
> /gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2/b43-open/ucode5.fw
Oh so this lacks “lib/firmware” (eventually we should fix this
openfwwf-firmware package to have the .fw files under lib/firmware;
Eric? :-)).
So, to recap, you should try (again as root):
echo -n $(guix build openfwwf-firmware)/b43-open \
> /sys/module/firmware_class/parameters/path
modprobe b43
dmesg | tail
Could you try and report back?
Thanks for your patience!
Ludo’.
next prev parent reply other threads:[~2016-05-13 13:31 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-30 21:06 bug#23409: unable to load free firmware Quilro Ordonez
2016-04-30 22:43 ` Leo Famulari
2016-05-01 13:19 ` Ludovic Courtès
2016-05-02 13:55 ` Eric Bavier
2016-05-03 8:01 ` Ludovic Courtès
2016-05-03 20:10 ` Quilro Ordonez
2016-05-03 20:45 ` Ludovic Courtès
2016-05-03 21:17 ` Quilro Ordonez
2016-05-03 21:21 ` Quilro Ordonez
2016-05-04 9:10 ` Alex Kost
2016-05-04 18:30 ` Quilro Ordonez
2016-05-04 21:33 ` Alex Kost
2016-05-04 23:08 ` Quilro Ordonez
2016-05-04 23:13 ` Quilro Ordonez
2016-05-05 8:42 ` Alex Kost
2016-05-11 19:01 ` Quilro Ordonez
[not found] ` <87oa8bzjqg.fsf@gmail.com>
2016-05-12 16:11 ` Quilro Ordonez
2016-05-13 13:25 ` Ludovic Courtès [this message]
2016-05-13 21:15 ` Quilro Ordonez
2016-05-14 16:17 ` Alex Kost
2016-11-02 22:19 ` Ludovic Courtès
2017-01-11 22:29 ` Ludovic Courtès
2016-11-04 0:43 ` Quiliro Ordonez
2016-11-04 0:46 ` Quiliro Ordonez
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y47e2ips.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=23409@debbugs.gnu.org \
--cc=lxo@fsfla.org \
--cc=quiliro@riseup.net \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).