From mboxrd@z Thu Jan 1 00:00:00 1970 From: Quilro Ordonez Subject: bug#23409: unable to load free firmware Date: Wed, 11 May 2016 14:01:57 -0500 Message-ID: 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; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0ZPX-00012D-3v for bug-guix@gnu.org; Wed, 11 May 2016 15:03:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0ZPS-0000VM-FO for bug-guix@gnu.org; Wed, 11 May 2016 15:03:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35322) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0ZPS-0000V7-C9 for bug-guix@gnu.org; Wed, 11 May 2016 15:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b0ZPS-0001aM-2W for bug-guix@gnu.org; Wed, 11 May 2016 15:03:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <8737pwuc9d.fsf@gmail.com> 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: 23409@debbugs.gnu.org Cc: lxo@fsfla.org Hello: This is my first oportunity to use my laptop with telecomunications. Below I comment with my reports. Thank you for your patience. El 2016-05-05 03:42, Alex Kost escribió: > Quilro Ordonez (2016-05-05 02:13 +0300) wrote: > >> Same errors in dmesg. > > If you mean after system reconfiguring, then it is expected, because > nothing has changed, you just moved package definitions from you system > config to another file, so that "guix build" and other commands could > see these packages. > > Or do you mean after modifying > "/sys/module/firmware_class/parameters/path" and "insmod"-ing that > firmware? Sorry, I didn't test that yet. I did it now. The output is below the respective part of Ludo's message. > 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 # echo -n $(guix build openfwwf-firmware)/lib/firmware > /sys/module/firmware_class/parameters/path # cat /sys/module/firmware_class/parameters/path /gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2/lib/firmware o# insmod b43-open insmod: ERROR: could not load module b43-open: No such file or directory # >> Also, can you show the output of: >> >> find $(guix build b43-firmware-whatever)/lib/firmware >> >> ? >> >> It should contain “b43-open/ucode5.fw”. # find $(guix build b43-open)/lib/firmware guix build: error: b43-open: unknown package find: ‘/lib/firmware’: No existe el fichero o el directorio # find $(guix build openfwwf-firmware)/lib/firmware find: ‘/gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2/lib/firmware’: No existe el fichero o el directorio # 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 #