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: Fri, 13 May 2016 15:25:19 +0200 Message-ID: <87y47e2ips.fsf@gnu.org> References: <8c7981c22c93720a9dbd5f63c279c44b@riseup.net> <87shy1apax.fsf@gnu.org> <20160502085507.31da4d6f@openmailbox.org> <871t5jfu3d.fsf@gnu.org> <87eg9ij2fz.fsf@gnu.org> <609d0dda92cead243d99546befa113ca@riseup.net> <35d2e4a2bdc12bc75b84965e714beaa0@riseup.net> <877ffagpdy.fsf@gmail.com> <87r3dhv78q.fsf@gmail.com> <0f0377ea297e219eab214635838e6838@riseup.net> <8737pwuc9d.fsf@gmail.com> 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]:53622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1DBK-0007gs-P6 for bug-guix@gnu.org; Fri, 13 May 2016 09:31:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b1DBG-00052F-Gj for bug-guix@gnu.org; Fri, 13 May 2016 09:31:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:37314) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1DBG-00052B-D0 for bug-guix@gnu.org; Fri, 13 May 2016 09:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b1DBG-0002uj-99 for bug-guix@gnu.org; Fri, 13 May 2016 09:31:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Quilro Ordonez's message of "Wed, 11 May 2016 14:01:57 -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: Quilro Ordonez Cc: lxo@fsfla.org, 23409@debbugs.gnu.org Hi, Quilro Ordonez skribis: > El 2016-05-05 03:42, Alex Kost escribi=C3=B3: [...] >> Here is an excerpt of Ludo's message. Please report after doing these >> steps. >> >> Ludovic Court=C3=A8s (2016-05-03 11:01 +0300) wrote: >> >>> Quil=C3=ADro: firmware files are searched for in the directory specifie= d 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? > > Here it is: > > $ sudo bash > # export GUIX_PACKAGE_PATH=3D/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=E2=80=99s in fact called =E2= =80=9Cb43=E2=80=9D: --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=E2=80=99ll need to use =E2=80=99modprobe=E2=80=99 rather t= han =E2=80=98insmod=E2=80=99 (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-ope= n/b0g0initvals5.fw > /gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2/b43-ope= n/b0g0bsinitvals5.fw > /gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2/b43-ope= n/ucode5.fw Oh so this lacks =E2=80=9Clib/firmware=E2=80=9D (eventually we should fix t= his 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=E2=80=99.