* Re: Installation: Load non-free wifi firmware (iwlwifi)
2018-03-02 17:25 Pierre Neidhardt
@ 2018-03-02 17:41 ` Pierre Neidhardt
2018-03-02 20:13 ` Carlo Zancanaro
2018-03-02 18:04 ` Adonay Felipe Nogueira
` (3 subsequent siblings)
4 siblings, 1 reply; 23+ messages in thread
From: Pierre Neidhardt @ 2018-03-02 17:41 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 883 bytes --]
An idea crossed my mind: from a foreign distribution with Guix
installed, run
guix system init /mnt/etc/config.scm /mnt
The documentation tells us that's not enough though:
> With the target partitions ready and the target root mounted on ‘/mnt’,
> we’re ready to go. First, run:
>
> herd start cow-store /mnt
>
> This makes ‘/gnu/store’ copy-on-write, such that packages added to it
> during the installation phase are written to the target disk on ‘/mnt’
> rather than kept in memory. This is necessary because the first phase
> of the ‘guix system init’ command (see below) entails downloads or
> builds to ‘/gnu/store’ which, initially, is an in-memory file system.
Is there a simple way to do this without `herd'?
--
Pierre Neidhardt
Do you think that illiterate people get the full effect of alphabet soup?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Installation: Load non-free wifi firmware (iwlwifi)
2018-03-02 17:25 Pierre Neidhardt
2018-03-02 17:41 ` Pierre Neidhardt
@ 2018-03-02 18:04 ` Adonay Felipe Nogueira
2018-03-05 12:32 ` Adonay Felipe Nogueira
` (2 subsequent siblings)
4 siblings, 0 replies; 23+ messages in thread
From: Adonay Felipe Nogueira @ 2018-03-02 18:04 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: help-guix
> As far as I understand, linux-libre turns off the ability to load
> non-free firmware. Why is it so?
It's a bug in the Linux kernel itself, caused by how it actually looks
and loads stuff. See the reply given by Alexandre Oliva ([1]).
[1] <http://lists.gnu.org/archive/html/gnu-linux-libre/2018-01/msg00032.html>.
--
- https://libreplanet.org/wiki/User:Adfeno
- Palestrante e consultor sobre /software/ livre (não confundir com
gratis).
- "WhatsApp"? Ele não é livre. Por favor, veja formas de se comunicar
instantaneamente comigo no endereço abaixo.
- Contato: https://libreplanet.org/wiki/User:Adfeno#vCard
- Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft
Office, MP3, MP4, WMA, WMV.
- Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU
GIMP, Inkscape SVG, JPG, LibreOffice (padrão ODF), OGG, OPUS, PDF
(apenas sem DRM), PNG, TXT, WEBM.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Installation: Load non-free wifi firmware (iwlwifi)
2018-03-02 17:25 Pierre Neidhardt
2018-03-02 17:41 ` Pierre Neidhardt
2018-03-02 18:04 ` Adonay Felipe Nogueira
@ 2018-03-05 12:32 ` Adonay Felipe Nogueira
2018-03-05 14:00 ` Clément Lassieur
2018-03-25 5:34 ` Chris Marusich
4 siblings, 0 replies; 23+ messages in thread
From: Adonay Felipe Nogueira @ 2018-03-05 12:32 UTC (permalink / raw)
To: help-guix
> Is it possible to re-enable the feature?
> If not, are there other ways around the issue?
I want to make it clear that the solution seems to be for you to acquire
a copy of the GNU Linux-libre scripts' source code, modify then so that
they don't block that specific non-free part, and then have these
modified scripts run over a copy of the source files for Linux.
--
- https://libreplanet.org/wiki/User:Adfeno
- Palestrante e consultor sobre /software/ livre (não confundir com
gratis).
- "WhatsApp"? Ele não é livre. Por favor, veja formas de se comunicar
instantaneamente comigo no endereço abaixo.
- Contato: https://libreplanet.org/wiki/User:Adfeno#vCard
- Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft
Office, MP3, MP4, WMA, WMV.
- Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU
GIMP, Inkscape SVG, JPG, LibreOffice (padrão ODF), OGG, OPUS, PDF
(apenas sem DRM), PNG, TXT, WEBM.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Installation: Load non-free wifi firmware (iwlwifi)
2018-03-02 17:25 Pierre Neidhardt
` (2 preceding siblings ...)
2018-03-05 12:32 ` Adonay Felipe Nogueira
@ 2018-03-05 14:00 ` Clément Lassieur
2018-03-23 13:29 ` Pierre Neidhardt
2018-03-25 5:34 ` Chris Marusich
4 siblings, 1 reply; 23+ messages in thread
From: Clément Lassieur @ 2018-03-05 14:00 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: help-guix
Pierre Neidhardt <ambrevar@gmail.com> writes:
> This was posted before:
>
> https://lists.gnu.org/archive/html/help-guix/2017-01/msg00041.html
>
> Unfortunately, I'm not able to acquire a wifi dongle at the moment.
> As far as I understand, linux-libre turns off the ability to load
> non-free firmware. Why is it so?
>
> Is it possible to re-enable the feature?
> If not, are there other ways around the issue?
Hi Pierre,
Guix allows one to customize their packages through inheritance. You
could create a custom linux package that inherits Guix's linux-libre,
with, say a differente source. When linux-libre is updated, my-linux
would be updated as well, since it inherits linux-libre. Thus, you
would have no maintainance to do.
(define-public my-linux
(package
(inherit linux-libre)
(name "my-linux")
(source ...)))
This custom package's definition needs to be within GUIX_PACKAGE_PATH.
See
https://www.gnu.org/software/guix/manual/html_node/Package-Modules.html#Package-Modules
for more information.
Clément
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Installation: Load non-free wifi firmware (iwlwifi)
2018-03-05 14:00 ` Clément Lassieur
@ 2018-03-23 13:29 ` Pierre Neidhardt
0 siblings, 0 replies; 23+ messages in thread
From: Pierre Neidhardt @ 2018-03-23 13:29 UTC (permalink / raw)
To: Clément Lassieur; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 909 bytes --]
Clément Lassieur <clement@lassieur.org> writes:
> Guix allows one to customize their packages through inheritance. You
> could create a custom linux package that inherits Guix's linux-libre,
> with, say a differente source. When linux-libre is updated, my-linux
> would be updated as well, since it inherits linux-libre. Thus, you
> would have no maintainance to do.
>
> (define-public my-linux
> (package
> (inherit linux-libre)
> (name "my-linux")
> (source ...)))
>
> This custom package's definition needs to be within GUIX_PACKAGE_PATH.
> See
> https://www.gnu.org/software/guix/manual/html_node/Package-Modules.html#Package-Modules
> for more information.
Thanks for the tip, it seems to be working perfectly so far!
--
Pierre Neidhardt
No matter what other nations may say about the United States,
immigration is still the sincerest form of flattery.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Installation: Load non-free wifi firmware (iwlwifi)
2018-03-02 17:25 Pierre Neidhardt
` (3 preceding siblings ...)
2018-03-05 14:00 ` Clément Lassieur
@ 2018-03-25 5:34 ` Chris Marusich
2018-03-25 6:14 ` Pierre Neidhardt
` (2 more replies)
4 siblings, 3 replies; 23+ messages in thread
From: Chris Marusich @ 2018-03-25 5:34 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 1473 bytes --]
Hi Pierre,
Pierre Neidhardt <ambrevar@gmail.com> writes:
> linux-libre turns off the ability to load non-free firmware. Why is
> it so?
I did a little bit of searching on the Internet, and it seems to me like
the reason why Linux-libre turns off the ability to load non-free
firmware is because the project does not want to induce you to use
non-free software. For details, you may find this article and the
linked email threads interesting:
"The trouble with firmware" by Jake Edge, January 5, 2011
https://lwn.net/Articles/421680/
> Is it possible to re-enable the feature?
My understanding is that discussions about how to use non-free software
are not allowed on the GNU Guix email lists. We're happy to help you
figure out how to solve your problems using free software, though!
> If not, are there other ways around the issue?
As Ludo mentioned elsewhere, using a dongle is one good option. What
prevents you from using a dongle?
Another option is to find a system that respects your freedom and does
not require proprietary software to run. I have a LibreBoot laptop I
purchased from MiniFree, and I love it! I know that purchasing a
replacement computer that respects your freedom can seem like an
expensive option, but if you have the money, then it's an option:
https://minifree.org/
You may also be interested in looking at:
https://www.fsf.org/resources/hw/endorsement/respects-your-freedom
--
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Installation: Load non-free wifi firmware (iwlwifi)
2018-03-25 5:34 ` Chris Marusich
@ 2018-03-25 6:14 ` Pierre Neidhardt
2018-03-25 10:21 ` Hartmut Goebel
2018-03-25 10:57 ` Marius Bakke
2 siblings, 0 replies; 23+ messages in thread
From: Pierre Neidhardt @ 2018-03-25 6:14 UTC (permalink / raw)
To: Chris Marusich; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 1351 bytes --]
> "The trouble with firmware" by Jake Edge, January 5, 2011
> https://lwn.net/Articles/421680/
Interesting article. I share similar views and I believe that making
proprietary code hard to proliferate is laudable. See the GPL license.
I'm not completely convince how Linux-libre would work towards that end
though.
That said, I'm now stuck with an iwlwifi card and I have to live with
that much backward practices.
> As Ludo mentioned elsewhere, using a dongle is one good option. What
> prevents you from using a dongle?
A nit, really, but I have an rather extreme life-style that pushes me to
travel as lightweight as possible. A dongle is not much for sure, but
if I can I'd rather avoid it.
The other issue is that when I initially wrote this e-mail I could not
buy one and could not even order online. Not a problem anymore for now.
Being even more picky, dongles have drawbacks:
- They occupy a USB port (I have only 2).
- They stick out... :p
> https://minifree.org/
Thanks for the link, I did not know about it. Very nice initiative.
I am now running the ultra-thin laptop Xiaomi Air 13, which, beside the
non-free iwlwifi card, is an excellent piece of hardware in my opinion.
Way ahead of the offers on minifree. I wish there would be something
similar and a 100% free. Anyone aware of such a machine?
--
Pierre Neidhardt
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Installation: Load non-free wifi firmware (iwlwifi)
2018-03-25 5:34 ` Chris Marusich
2018-03-25 6:14 ` Pierre Neidhardt
@ 2018-03-25 10:21 ` Hartmut Goebel
2018-03-27 9:45 ` Ludovic Courtès
2018-03-27 22:05 ` Mark H Weaver
2018-03-25 10:57 ` Marius Bakke
2 siblings, 2 replies; 23+ messages in thread
From: Hartmut Goebel @ 2018-03-25 10:21 UTC (permalink / raw)
To: help-guix
Am 25.03.2018 um 07:34 schrieb Chris Marusich:
> As Ludo mentioned elsewhere, using a dongle is one good option. What
> prevents you from using a dongle?
Why should I punish myself just for to says "Hey, I'm using only free
software"? This benefits nobody! [1]
Please don't get me wrong: free software is to be preferred and we
should push users and vendors towards it. But if for any reason one owns
a device demanding non-free firmware, using e.g. a dongle would not
benefit anybody.[1] The vendor already has the money. In contrary:
buying a dongle adds to environmental pollution and sweating in poor
countries.
The only thing we achieve is distracting users from free software since
it "doe not work".
[1] Given that you basically "trust" the non-free software. Bu if you
don't, you'll not going to use it anyway.
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Installation: Load non-free wifi firmware (iwlwifi)
2018-03-25 10:21 ` Hartmut Goebel
@ 2018-03-27 9:45 ` Ludovic Courtès
2018-03-27 22:05 ` Mark H Weaver
1 sibling, 0 replies; 23+ messages in thread
From: Ludovic Courtès @ 2018-03-27 9:45 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: help-guix
Hey Hartmut,
Hartmut Goebel <h.goebel@crazy-compilers.com> skribis:
> Am 25.03.2018 um 07:34 schrieb Chris Marusich:
>> As Ludo mentioned elsewhere, using a dongle is one good option. What
>> prevents you from using a dongle?
>
> Why should I punish myself just for to says "Hey, I'm using only free
> software"? This benefits nobody! [1]
You can do what you want. Guix as a project is committed to software
freedom, that’s our “contract” with our users, and I think giving them
individual and collective control over the software they use is highly
beneficial to them.
That said, we all prefer when hardware vendors do not make our lives
more difficult, no doubt!
Ludo’.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Installation: Load non-free wifi firmware (iwlwifi)
2018-03-25 10:21 ` Hartmut Goebel
2018-03-27 9:45 ` Ludovic Courtès
@ 2018-03-27 22:05 ` Mark H Weaver
2018-04-13 11:55 ` Hartmut Goebel
1 sibling, 1 reply; 23+ messages in thread
From: Mark H Weaver @ 2018-03-27 22:05 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: help-guix
Hartmut Goebel <h.goebel@crazy-compilers.com> writes:
> Am 25.03.2018 um 07:34 schrieb Chris Marusich:
>> As Ludo mentioned elsewhere, using a dongle is one good option. What
>> prevents you from using a dongle?
>
> Why should I punish myself just for to says "Hey, I'm using only free
> software"? This benefits nobody! [1]
>
> Please don't get me wrong: free software is to be preferred and we
> should push users and vendors towards it. But if for any reason one owns
> a device demanding non-free firmware, using e.g. a dongle would not
> benefit anybody.[1] The vendor already has the money. In contrary:
> buying a dongle adds to environmental pollution and sweating in poor
> countries.
>
> The only thing we achieve is distracting users from free software since
> it "doe not work".
I disagree. We achieve something indispensible. We make it far more
likely that the next time users purchase hardware, they will avoid
hardware that would require their operating system to include nonfree
software. This creates incentives for the manufacturers to create
freedom-respecting hardware.
The alternative approach of including nonfree software in our OS, in
order to make non-freedom-respecting hardware "just work", makes this
problem invisible to most people, and thus creates no incentive for
users or manufacturers to change their behaviors at all.
This is not a small problem. It's becoming increasingly difficult to
find any modern computer that can be operated without many megabytes of
nonfree software, in an age of ubiquitous surveillance that threatens
our democracies. Please, we must not sweep this problem under the rug.
Mark
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Installation: Load non-free wifi firmware (iwlwifi)
2018-03-27 22:05 ` Mark H Weaver
@ 2018-04-13 11:55 ` Hartmut Goebel
0 siblings, 0 replies; 23+ messages in thread
From: Hartmut Goebel @ 2018-04-13 11:55 UTC (permalink / raw)
To: Mark H Weaver; +Cc: help-guix
Am 28.03.2018 um 00:05 schrieb Mark H Weaver:
> I disagree. We achieve something indispensible. We make it far more
> likely that the next time users purchase hardware, they will avoid
> hardware that would require their operating system to include nonfree
> software. This creates incentives for the manufacturers to create
> freedom-respecting hardware.
I disagree. Your are assuming somebody already convinced on free
software. This might work for these.
I assume somebody who needs to be convinced that there are alternatives
to what they are used to (Windows, macos). These people will not buy a
new device for testing GNU/Linux or GuixSD, but use the one they already
own. They except GNU/Linux to work! It not, they will be scared off -
and it will be even harder to convince them for another try.
The worm must be tasty to the fish, not the fisherman.
If you want to change the world, you will fail when trying to enforce
the big bang. But you will win by making people taking small steps,
learning, becoming confident. If you want someone to become vegan, first
make her/she reducing the meat consumption, make her/him living
vegetarian, an then vegan. This takes long, but even the first step is a
change towards your aim.
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Installation: Load non-free wifi firmware (iwlwifi)
2018-03-25 5:34 ` Chris Marusich
2018-03-25 6:14 ` Pierre Neidhardt
2018-03-25 10:21 ` Hartmut Goebel
@ 2018-03-25 10:57 ` Marius Bakke
2018-03-29 5:11 ` Chris Marusich
2 siblings, 1 reply; 23+ messages in thread
From: Marius Bakke @ 2018-03-25 10:57 UTC (permalink / raw)
To: Chris Marusich, Pierre Neidhardt; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]
Chris Marusich <cmmarusich@gmail.com> writes:
> Hi Pierre,
>
> Pierre Neidhardt <ambrevar@gmail.com> writes:
>
>> linux-libre turns off the ability to load non-free firmware. Why is
>> it so?
>
> I did a little bit of searching on the Internet, and it seems to me like
> the reason why Linux-libre turns off the ability to load non-free
> firmware is because the project does not want to induce you to use
> non-free software.
This is not true. After all, you may wish to load a firmware that you
have developed yourself, but that is not possible either. The problem
is a limitation of the kernel interface and/or the deblobbing script:
From an interview with Alexandre Oliva[0]:
"Indeed, I became aware that some users have got the idea that blocking
the loading of blobs is a feature. It's not; it's just a bug that's
quite difficult to fix. The decision on whether or not to use a piece of
software, be it Free or not, should belong to the users, and it's not
our intent to make that difficult."
[0] https://www.fsfla.org/ikiwiki/blogs/lxo/2013-11-08-linux-libre-interview-by-bruce-byfield.en.html
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: Installation: Load non-free wifi firmware (iwlwifi)
2018-03-25 10:57 ` Marius Bakke
@ 2018-03-29 5:11 ` Chris Marusich
0 siblings, 0 replies; 23+ messages in thread
From: Chris Marusich @ 2018-03-29 5:11 UTC (permalink / raw)
To: Marius Bakke; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 2442 bytes --]
Marius Bakke <mbakke@fastmail.com> writes:
> Chris Marusich <cmmarusich@gmail.com> writes:
>
>> Hi Pierre,
>>
>> Pierre Neidhardt <ambrevar@gmail.com> writes:
>>
>>> linux-libre turns off the ability to load non-free firmware. Why is
>>> it so?
>>
>> I did a little bit of searching on the Internet, and it seems to me like
>> the reason why Linux-libre turns off the ability to load non-free
>> firmware is because the project does not want to induce you to use
>> non-free software.
>
> This is not true. After all, you may wish to load a firmware that you
> have developed yourself, but that is not possible either. The problem
> is a limitation of the kernel interface and/or the deblobbing script:
>
> From an interview with Alexandre Oliva[0]:
>
> "Indeed, I became aware that some users have got the idea that blocking
> the loading of blobs is a feature. It's not; it's just a bug that's
> quite difficult to fix. The decision on whether or not to use a piece of
> software, be it Free or not, should belong to the users, and it's not
> our intent to make that difficult."
>
> [0] https://www.fsfla.org/ikiwiki/blogs/lxo/2013-11-08-linux-libre-interview-by-bruce-byfield.en.html
Thank you for correcting my understanding! I read the interview you
linked, as well as the original email thread referenced by the LWN
article [1]. My understanding is now that Linux-libre wants both (1) to
avoid inducing users to install non-free firmware (e.g. even logging the
non-free firmware name is something they would consider to be "inducing"
the user to install the non-free firmware), and (2) to allow users to
install whatever firmware they want, regardless of whether it is free or
non-free firmware. However, due to the way the kernel Linux loads
firmware combined with the way that Linux-libre mangles the non-free
firmware identifiers to accomplish (1), users of Linux-libre currently
need to go through the extra effort of modifying the Linux-libre source
code (which they are free to do) if they want to load non-free firmware
(or firmware they have built themselves but have chosen not to share).
It is good to know that the Linux-libre project intends to allow users
to do whatever they want with the kernel. I appreciate you taking the
time to clarify this for me!
Footnotes:
[1] https://lists.nongnu.org/archive/html/gnu-linux-libre/2010-12/msg00022.html
--
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 23+ messages in thread