From: Quilro Ordonez <quiliro@riseup.net>
To: ludo@gnu.org
Cc: lxo@fsfla.org, 23409@debbugs.gnu.org
Subject: bug#23409: unable to load free firmware
Date: Tue, 03 May 2016 15:10:10 -0500 [thread overview]
Message-ID: <ef92f4c5f05c03392bcc23dfae364c82@riseup.net> (raw)
In-Reply-To: <871t5jfu3d.fsf@gnu.org>
El 2016-05-03 03:01, ludo@gnu.org escribió:
> Eric Bavier <ericbavier@openmailbox.org> skribis:
>
>> On Sun, 01 May 2016 15:19:34 +0200
>> ludo@gnu.org (Ludovic Courtès) wrote:
>>
>>> Quilro Ordonez <quiliro@riseup.net> skribis:
>>>
>>> > I am trying to lo use Broadcom wireless device on GuixSD. It is
>>> > confirmed to work with free drivers and free firmware. It works
>>> > correctly in Trisquel too.
>>> >
>>> > dmesg gives the following messages. I have included only the relevant
>>> > parts:
>>>
>>> [...]
>>>
>>> > [ 20.591158] b43-phy0 ERROR: Firmware file "b43-open/ucode5.fw" not
>>> > found
>>> > [ 21.313688] b43-phy0 ERROR: /*(DEBLOBBED)*/
>>>
>>> “DEBLOBBED” would suggest that Linux-libre’s deblobbing script viewed
>>> it
>>> as an opaque binary blob and thus patched it, which may be an issue
>>> here, no?
>>
>> Does deblobbing happen at runtime too? I thought it was only during
>> build time.
>
> Right, it’s at at build time, but the “deblobbing script” leaves those
> “DEBLOBBED” messages in places where it has removed firmware loading
> capabilities.
>
> It may be worth checking with the Linux-libre team what happens in this
> particular case—i.e., whether this code is erroneously deblobbed, or
> something else.
>
> 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?
These are the three options I tested:
echo -n $(guix build b43-firmware-whatever)/lib/firmware >
/sys/module/firmware_class/parameters/path
echo -n $(guix build b43-open)/lib/firmware >
/sys/module/firmware_class/parameters/path
echo -n $(guix build b43-tools)/lib/firmware >
/sys/module/firmware_class/parameters/path
echo -n $(guix build openfwwf)/lib/firmware >
/sys/module/firmware_class/parameters/path
echo -n $(guix build openfwwf-firmware)/lib/firmware >
/sys/module/firmware_class/parameters/path
The results for all those in the order of:
guix build: error: openfwwf-firmware: unknown package
bash: /sys/module/firmware_class/parameters/path: Permiso denegado
(This is the result of the last test.)
> Also, can you show the output of:
>
> find $(guix build b43-firmware-whatever)/lib/firmware
>
> ?
>
> It should contain “b43-open/ucode5.fw”.
quiliro@komputilo ~$ find $(guix build openfwwf-firmware)/lib/firmware
guix build: error: openfwwf-firmware: unknown package
find: ‘/lib/firmware’: No existe el fichero o el directorio
>>> I assume you used the firmware packages that Leo copied. Could you
>>> get
>>> its author to submit it? :-)
>>
>> That would be me :)
>
> Ah ha! I suspected it but wasn’t sure. :-)
>
>> But I don't have the hardware to test it out on, and qemu doesn't
>> offer emulation of the broadcomm cards.
>
> Good point. Let’s test it with Quilíro.
>
> Thanks!
>
> Ludo’.
This is my config.scm
http://termbin.com/4qpx
And this is the output of the update with that config:
quiliro@komputilo ~$ sudo guix system reconfigure raw.scm
Password:
substitute: updating list of substitutes from
'https://mirror.hydra.gnu.org'... updating list of substitutes from
'https://mirror.hydra.gnu.org'... 100.0%
substitute: updating list of substitutes from 'https://hydra.gnu.org'...
100.0%
The following derivation will be built:
/gnu/store/2cj80qdh89vd5zjnwg3m6cx0bhf97lac-grub.cfg.drv
/gnu/store/xv88rlnb9q1gk9vp7z5ih2dwf6rjd0kd-system
/gnu/store/sb9g34hmckfnnjpr471llqmyg4hckflm-grub.cfg
/gnu/store/myrc5cinlhpj2yilhzv5y0szz2ax2i6z-grub-2.00
activating system...
setting up setuid programs in '/run/setuid-programs'...
populating /etc from /gnu/store/msm5mb78xdfc49jp1400jwz9wfnmydrs-etc...
usermod: sin cambios
usermod: sin cambios
usermod: sin cambios
usermod: sin cambios
usermod: sin cambios
usermod: sin cambios
usermod: sin cambios
usermod: sin cambios
usermod: sin cambios
making '/gnu/store/xv88rlnb9q1gk9vp7z5ih2dwf6rjd0kd-system' the current
system...
Installation finished. No error reported.
next prev parent reply other threads:[~2016-05-03 20:40 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 [this message]
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
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=ef92f4c5f05c03392bcc23dfae364c82@riseup.net \
--to=quiliro@riseup.net \
--cc=23409@debbugs.gnu.org \
--cc=ludo@gnu.org \
--cc=lxo@fsfla.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.
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).