Subject: Re: bug#23409: unable to load free firmware

From: Quilro Ordonez <[email-masked]>
Date: Wed, 04 May 2016 18:08:13 -0500

El 2016-05-04 16:33, Alex Kost escribió:
> Quilro Ordonez (2016-05-04 21:30 +0300) wrote:
>> $ GUIX_PACKAGE_PATH=/home/quiliro/guix/packages guix build
>> openfwwf-firmware
>> /gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2
>> $
> 
> Great, so as "guix build openfwwf-firmware" succeeds now, you can 
> return
> to answering Ludovic's message about modifying
> "/sys/module/firmware_class/parameters/path".

No error:

# export GUIX_PACKAGE_PATH=/home/quiliro/guix/packages
# echo -n $(guix build openfwwf-firmware)/lib/firmware > \
       /sys/module/firmware_class/parameters/path
#

>> This is the output of reconfiguring the whole system:
>> 
>> # guix system reconfigure /home/quiliro/guix/quiliro-os.scm
>> guix system: error: failed to load 'quilro-os.scm':
>> ice-9/boot-9.scm:2867:6: In procedure resolve-interface:
>> ice-9/boot-9.scm:2867:6: no code for module (my-guix-packages)
> 
> Ahem, did you try "echo $GUILE_LOAD_PATH" before this?  I bet it will 
> be
> empty, because you export this variable as user, but run "guix system"
> command as root.

No errors:

# guix system reconfigure guix/quilro-os.scm
;;; compiling /home/quiliro/guix/packages/my-guix-packages.scm
;;; compiled 
/root/.cache/guile/ccache/2.0-LE-8-2.0/home/quiliro/guix/packages/my-guix-packages.scm.go
substitute: 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/a40j8b6k3wlbxqbn7n9n3sfcmr92x8g7-grub.cfg.drv
/gnu/store/xv88rlnb9q1gk9vp7z5ih2dwf6rjd0kd-system
/gnu/store/vk1z6naajhbigs0965xqbx9h9mnw2n52-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.
# echo $GUILE_LOAD_PATH
/home/quiliro/guix/packages
#