From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#23409: unable to load free firmware Date: Tue, 03 May 2016 10:01:42 +0200 Message-ID: <871t5jfu3d.fsf@gnu.org> References: <8c7981c22c93720a9dbd5f63c279c44b@riseup.net> <87shy1apax.fsf@gnu.org> <20160502085507.31da4d6f@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axVIb-0005Jf-58 for bug-guix@gnu.org; Tue, 03 May 2016 04:03:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axVIP-0003AR-HO for bug-guix@gnu.org; Tue, 03 May 2016 04:03:11 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:50416) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axVIP-00039J-Dr for bug-guix@gnu.org; Tue, 03 May 2016 04:03:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1axVIL-0001ag-W9 for bug-guix@gnu.org; Tue, 03 May 2016 04:03:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20160502085507.31da4d6f@openmailbox.org> (Eric Bavier's message of "Mon, 2 May 2016 08:55:07 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Eric Bavier Cc: Quilro Ordonez , quiliro@fsfla.org, 23409@debbugs.gnu.org Eric Bavier skribis: > On Sun, 01 May 2016 15:19:34 +0200 > ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > >> Quilro Ordonez skribis: >>=20 >> > 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=20 >>=20 >> [...] >>=20 >> > [ 20.591158] b43-phy0 ERROR: Firmware file "b43-open/ucode5.fw" not >> > found >> > [ 21.313688] b43-phy0 ERROR: /*(DEBLOBBED)*/=20=20 >>=20 >> =E2=80=9CDEBLOBBED=E2=80=9D would suggest that Linux-libre=E2=80=99s deb= lobbing 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=E2=80=99s at at build time, but the =E2=80=9Cdeblobbing script=E2= =80=9D leaves those =E2=80=9CDEBLOBBED=E2=80=9D messages in places where it has removed firmwar= e loading capabilities. It may be worth checking with the Linux-libre team what happens in this particular case=E2=80=94i.e., whether this code is erroneously deblobbed, or something else. Quil=C3=ADro: 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 =E2=80=A6 and report back? Also, can you show the output of: find $(guix build b43-firmware-whatever)/lib/firmware ? It should contain =E2=80=9Cb43-open/ucode5.fw=E2=80=9D. >> 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=E2=80=99t 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=E2=80=99s test it with Quil=C3=ADro. Thanks! Ludo=E2=80=99.