LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   antiX / MX Linux (https://www.linuxquestions.org/questions/antix-mx-linux-127/)
-   -   Are there blobs in antiX and what can be done about it? (https://www.linuxquestions.org/questions/antix-mx-linux-127/are-there-blobs-in-antix-and-what-can-be-done-about-it-4175664550/)

Ulysses_ 11-19-2019 09:36 AM

Are there blobs in antiX and what can be done about it?
 
Are there blobs in antiX and if yes, what can be done about it?

jamison20000e 11-19-2019 09:59 AM

Quote:

Originally Posted by Ulysses_ (Post 6059684)
Are there blobs in antiX and if yes, what can be done about it?

Most due to hardware, I'd think? There's open source hardware but not much... also open drivers for reverse engineered hardware.

Have fun! :hattip:

hazel 11-19-2019 10:16 AM

I think AntiX Core has a completely libre kernel.

anticapitalista 11-19-2019 10:45 AM

Quote:

Originally Posted by hazel (Post 6059703)
I think AntiX Core has a completely libre kernel.

had - not any more.

anticapitalista 11-19-2019 10:53 AM

To O/P

antiX is not libre, but you can make it so (if your hardware allows).

1. antiX-19-full comes with the following that according to vrms are non-free.
Just use apt to remove them.

Code:


              Non-free packages installed on antix1

amd64-microcode                    Processor microcode firmware for AMD CPUs
atmel-firmware                      Firmware for Atmel at76c50x wireless networking chips.
bluez-firmware                      Firmware for Bluetooth devices
broadcom-sta-dkms                  dkms source for the Broadcom STA Wireless driver
firmware-amd-graphics              Binary firmware for AMD/ATI graphics chips
firmware-atheros                    Binary firmware for Atheros wireless cards
firmware-bnx2                      Binary firmware for Broadcom NetXtremeII
firmware-bnx2x                      Binary firmware for Broadcom NetXtreme II 10Gb
firmware-brcm80211                  Binary firmware for Broadcom/Cypress 802.11 wireless c
firmware-intelwimax                Binary firmware for Intel WiMAX Connection
firmware-ipw2x00                    Binary firmware for Intel Pro Wireless 2100, 2200 and
firmware-iwlwifi                    Binary firmware for Intel Wireless cards
firmware-libertas                  Binary firmware for Marvell wireless cards
firmware-linux-nonfree              Binary firmware for various drivers in the Linux kerne
firmware-misc-nonfree              Binary firmware for various drivers in the Linux kerne
firmware-myricom                    Binary firmware for Myri-10G Ethernet adapters
firmware-netxen                    Binary firmware for QLogic Intelligent Ethernet (3000
firmware-qlogic                    Binary firmware for QLogic HBAs
firmware-realtek                    Binary firmware for Realtek wired/wifi/BT adapters
firmware-zd1211                    binary firmware for the zd1211rw wireless driver
fonts-ubuntu                        sans-serif font set from Ubuntu
gsfonts-other                      Additional fonts for the ghostscript interpreter
  Reason: Partly no modifications allowed, partly shareware
intel-microcode                    Processor microcode firmware for Intel CPUs
midisport-firmware                  Firmware loader for M-Audio's MidiSport devices

              Contrib packages installed on antix1

b43-fwcutter                        utility for extracting Broadcom 43xx firmware
firmware-b43-installer              firmware installer for the b43 driver
firmware-b43legacy-installer        firmware installer for the b43legacy driver
iucode-tool                        Intel processor microcode tool
virtualbox-guest-dkms              x86 virtualization solution - guest addition module so
virtualbox-guest-utils              x86 virtualization solution - non-X11 guest utilities
virtualbox-guest-x11                x86 virtualization solution - X11 guest utilities

  24 non-free packages, 1.5% of 1626 installed packages.
  7 contrib packages, 0.4% of 1626 installed packages.

2. Change the debian and antiX sources.list to remove contrib and non(-)free

3. Install a libre kernel: https://jxself.org/linux-libre/

jamison20000e 11-19-2019 05:38 PM

Again,,, assuming your hardware is, that's where I fail as well.

I love this: https://www.crowdsupply.com/sutajio-kosagi/novena :)
or maybe we could 3-D print our own? https://en.m.wikipedia.org/wiki/Open-source_hardware :D


Add: Don't forget about your Bois, for that you'd have to get tricky with eg Libreboot &c!

Ulysses_ 11-20-2019 02:06 AM

Thanks. Maybe the installer should offer a libre install if you do not have any hardware that requires blobs. Or if you can live without some hardware. What is that CPU microcode? What would you be missing without it?

ondoho 11-20-2019 02:21 AM

Ulysses_, maybe you'd like to fork AntiX?

anticapitalista 11-20-2019 03:33 AM

Quote:

Originally Posted by Ulysses_ (Post 6059902)
Thanks. Maybe the installer should offer a libre install if you do not have any hardware that requires blobs. Or if you can live without some hardware. What is that CPU microcode? What would you be missing without it?

From Debian:

Quote:

Processor microcode firmware for AMD CPUs

This package contains microcode patches for all AMD AMD64 processors. AMD releases microcode patches to correct processor behavior as documented in the respective processor revision guides.

For Intel processors, please refer to the intel-microcode package.
On antiX, you can run liveusb with persistence, make the 3 changes I mentioned above, remaster, use live kernel updater to set libre kernel as default and bingo - you have a libre-antiX on your usb device ready to install.

jamison20000e 11-20-2019 09:12 AM

Off-topic, could checkout: https://www.gnu.org/distros/free-distros.html

Ulysses_ 11-20-2019 02:42 PM

What about virtualization? All hypervisors require you to build the kernel don't they. Let's go for virtualbox plus open-source usb support (there are instructions for integrating the usb support from kqemu). Would building the kernel be way too hard and a hack if you start with the libre kernel?

freemedia2018 11-20-2019 08:48 PM

Quote:

Originally Posted by anticapitalista (Post 6059919)
On antiX, you can run liveusb with persistence, make the 3 changes I mentioned above, remaster, use live kernel updater to set libre kernel as default and bingo - you have a libre-antiX on your usb device ready to install.

I've done automated remastering of antiX before.

If anybody in this thread is interested in a script to make a completely libre version of antiX, that's what the goal of "distro-libre" is (but for more than one distro.) Script takes existing iso, makes changes, creates new iso. But I haven't worked on antiX in a long time. If this is something people are interested in doing I'll go rejoin their forum, but let me know.

Ulysses_ 11-21-2019 12:21 AM

Does your script parse the text in #5?

Ulysses_ 11-21-2019 12:39 AM

Let's say you make an exception and you include one non-free driver. But you do it in a virtual machine. Can it change the CPU microcode and affect all virtual machines and the host?

freemedia2018 11-21-2019 11:48 AM

Quote:

Originally Posted by Ulysses_ (Post 6060254)
Does your script parse the text in #5?

The text is a list of packages, which I could use the script to remove.

You run the script, it downloads the iso (unless it is already downloaded) and it makes the changes and gives you a modified iso as output. You can do whatever you want with that iso, host it on the Internet Archive for example.

It's actually really trivial, but it still requires maintenance.

Is this a project you would like to be part of? I'm not asking for much, mostly this is the sort of thing I'm only likely to work on (at this time) if there is interest in it. If it interests you, I'll go join the antiX forums.

freemedia2018 11-21-2019 03:46 PM

Quote:

Originally Posted by Ulysses_ (Post 6060258)
Let's say you make an exception and you include one non-free driver. But you do it in a virtual machine. Can it change the CPU microcode and affect all virtual machines and the host?

You're asking about virtual machine escape: https://en.wikipedia.org/wiki/Virtual_machine_escape

Technically speaking it is always a possibility, however remote.

Also, by the way:

A guy at the antiX forum says you'll need to use the live-kernel-updater to swap out the non-free kernel with the libre one.

jamison20000e 11-21-2019 07:24 PM

I don't think we thought to ask but what hardware are you giving up? Even on laptops you can sometimes switch hardware if there's not a free one available; If you'd worry about the Bios being free you may need to remove the chip and flash it. :doh:

Anyone know what they call spy hardware, embedded in your system from whatever shady offices of the world or is it still just plain old spyware? Using one right now... :eek:

Ulysses_ 11-22-2019 10:22 AM

Not giving up any hardware yet. I was concerned your script might have a fixed set of packages that it knows to be nonfree and removes them. But it seems that instead you get the list of what to remove with an invocation of apt and then remove them one by one with other invocations of apt. How do we know this list produced automatically is really the complete list of packages that have blobs? What's to stop spooks from forcing debian to include a blob in an update without telling you the updated package is now nonfree?

Jan K. 11-22-2019 12:54 PM

Wouldn't LFS be the obvious choice for you?

Ulysses_ 11-22-2019 01:31 PM

No because LFS is about teaching, not a production distro. I wonder why no one is promoting a production distro that is fully built from the sources automatically.

jamison20000e 11-22-2019 02:24 PM

People do build Linux from scratch to use as well. Gives a good reason right on their website, build it however you want it.

freemedia2018 11-22-2019 02:58 PM

Quote:

Originally Posted by Ulysses_ (Post 6060745)
Not giving up any hardware yet. I was concerned your script might have a fixed set of packages that it knows to be nonfree and removes them.

That is how you would do it, yes.

Quote:

But it seems that instead you get the list of what to remove with an invocation of apt and then remove them one by one with other invocations of apt.
That is another example of roughly the same thing, done slightly differently.

Quote:

How do we know this list produced automatically is really the complete list of packages that have blobs?
That's how these things are typically done.

Quote:

What's to stop spooks from forcing debian to include a blob in an update without telling you the updated package is now nonfree?
Speaking in the long run? Deterministic builds.

As someone else mentioned, the only other way to be sure is to build all the binaries yourself.

But that has two flaws-- one, it doesn't address hardware problems. I don't mean driver issues, I mean if your goal is to be as spook-free as humanly possible, you have to delve into hardware issues regardless of drivers (stuff like ME and CPU vulnerabilities.)

For that, there really isn't a distro-- just ongoing research and paying attention to Black Hat conferences, etc.

Removing non-free software and non-free drivers is a great start, but you also probably have hardware with its own operating system on-board to worry about. Such as your CPU running Minix.

The other issue is that even free software can have what's called "bug doors." Linus Torvalds has talked about those.

Jan K. 11-22-2019 04:13 PM

Quote:

Originally Posted by Ulysses_ (Post 6060800)
No because LFS is about teaching, not a production distro..

No. The point was to build a production setup, where you literally will know each and every bit gone into it...

Quote:

Originally Posted by Ulysses_ (Post 6060800)
I wonder why no one is promoting a production distro that is fully built from the sources automatically.

Apart from the "automatically" part, aren't they all?

And even if not, would you trust it? How about Slackware?

Ulysses_ 11-22-2019 08:47 PM

They are all pretending to be open source and the exceptions that seriously try to eliminate blobs do the building themselves. Instead, I was talking about the end user having the option of automatically building everything at installation time, not following complex instructions but just waiting however long it takes.

Ulysses_ 11-22-2019 09:03 PM

Freemedia, where do I download the antix or devuan version of your script?

freemedia2018 11-22-2019 11:34 PM

Quote:

Originally Posted by Ulysses_ (Post 6060885)
Freemedia, where do I download the antix or devuan version of your script?

Let me help you here. First, I've made this script before. It works-- it produces a bootable iso that is modified from the original version of antiX. I've used it to do things like replace systemd in Trisquel with Upstart, even in the Live version. I've used it on several distros including antiX. Look what it says on the left <- for "Distribution".

Using it to do exactly what you want was a goal at one point, but to give you a script to download I would have to spend at least a day or two (not all of a day) updating that work to do what you want.

I've joined the forums and I may well work on that anyway.

With that said, it doesn't sound like you're going to be happy with anything-- not even LFS. That doesn't mean I refuse to work on this, rather it means that I want to be sure what you want before I take the time to do this in a hurry. It's likely I will work on it either way, but I want to be sure what your needs are before I make it my top priority-- you know? A lot of people here have asked some good questions, and I'm not sure even you know exactly what you're looking for. But I'm still watching the thread with interest. Keep in touch, don't be a stranger. You'll find me here or the antiX forums if you need me.

hazel 11-23-2019 06:32 AM

Quote:

Originally Posted by Ulysses_ (Post 6060883)
I was talking about the end user having the option of automatically building everything at installation time, not following complex instructions but just waiting however long it takes.

There are automated LFS derivatives that do that. What you install is basically a script and it downloads source code and builds your system. I think Arya Linux works like that.

Ulysses_ 11-23-2019 01:28 PM

Freemedia, definitely do NOT make it a priority, it is only a convenience as far as I can tell, one can always follow the instructions in this thread and come back here for help if they get stuck.

Make one thing clear. Is the blob-free antix we are talking about as secure and privacy respecting as devuan or more? Antix's ability to run on older hardware is an attractive feature when you want it for both the host and guests in virtualization, as low ram and cpu usage are greatly appreciated when you run lots of VM's. Also the stability of a debian derivative like antix is attractive. But my core motivation in this thread is security and privacy. Without sacrificing ease of use.

Antix is also attractive because it is perceived as a people's distro, as opposed to a corporation-serving one. But then I have no idea who finances its development and decides things. Who does?

freemedia2018 11-23-2019 06:23 PM

Quote:

Originally Posted by Ulysses_ (Post 6061075)
Antix is also attractive because it is perceived as a people's distro, as opposed to a corporation-serving one. But then I have no idea who finances its development and decides things. Who is?

As far as I know, "anticapitalista" makes the final decisions, but cedes to trusted volunteers, if that tells you anything.

I am going to guess that antiX and Devuan are on similar levels in terms of being secure. I would take the one that has non-free binaries removed over the one that doesn't. Neither remove those by default.

jamison20000e 11-23-2019 07:16 PM

Transparent is not more vulnerable then anything you make it to be...

Ulysses_ 11-23-2019 11:55 PM

Quote:

Originally Posted by jamison20000e (Post 6061136)
Transparent is not more vulnerable then anything you make it to be...

I nearly crashed trying to decode this one. Where did I imply transparent is more vulnerable? I'd go for LFS-based Arya Linux any time if it worked with debian packages and was maintained as well as debian.

freemedia2018 11-24-2019 04:27 PM

Neither a joke, nor an entirely serious suggestion but--

Debian has all the source-- why not just Compile Debian?

Ulysses_ 11-25-2019 12:31 AM

Because antix works with less ram and cpu usage. At least the version I tried a few years ago did. It even booted on year 1999 hardware.

Ulysses_ 11-25-2019 12:37 AM

That was antiX-13.2_386-full Luddite 4 November 2013 on a Celeron at 400 MHz with 384 MB of ram.

rokytnji 11-25-2019 08:43 AM

Quote:

Originally Posted by freemedia2018 (Post 6061384)
Neither a joke, nor an entirely serious suggestion but--

Debian has all the source-- why not just Compile Debian?

Since systemd creep on ram usage and cpu usage has been documented on the net over the years since sysytemd was adopted.
Citation: link

Why rebuild something already tweaked and polished?

http://yatsite.blogspot.com/2009/07/...-old-gear.html

Some kid bought the above for street cred in high school . After I fixed it.

ondoho 11-26-2019 12:26 AM

Quote:

Originally Posted by Ulysses_ (Post 6061075)
Antix's ability to run on older hardware is an attractive feature

...and I strongly suspect that this entails shipping with non-free firmware at the very least, maybe even non-free drivers.
Quote:

But my core motivation in this thread is security and privacy. Without sacrificing ease of use.
Oh, those two sentences.
They cannot be reconciled, only a compromise is possible.

Quote:

Antix is also attractive because it is perceived as a people's distro, as opposed to a corporation-serving one. But then I have no idea who finances its development and decides things. Who does?
Pretty sure there's very little finance involved apart from running the servers for the web pages / download mirrors, the rest is an ongoing community effort and the mothership debian of course.
But it would be interesting to hear anticapitalista's statement.

freemedia2018 11-26-2019 07:36 PM

Quote:

Originally Posted by rokytnji (Post 6061601)
Since systemd creep on ram usage and cpu usage has been documented on the net over the years since sysytemd was adopted.

That's a good reason for me, though I'm trying to figure out Ulysses's reasoning.

You and I are on the same page regarding systemd-- that, or I like it even less than you do.

Ulysses_ 11-26-2019 11:44 PM

Or one might wonder: why not just compile devuan (debian without systemd). Because antix is faster and needs less ram. Could configure devuan with the same packages but there must be more to antix than a collection of packages.

Jan K. 11-27-2019 09:50 AM

You *could* of course dwell a bit on the antiX documentation to see, what's it about...

Have a feeling though, you're probably guessing right... :rolleyes:

rokytnji 11-27-2019 09:54 AM

Quote:

but there must be more to antix than a collection of packages.
Bitjam and Dave are giants in human form. Lot's of custom scripting going on. Anti is like the rock we all live on.
A lot of free flowing tweaking goes on even after a release.

Just a thankful opinion though.

Edit: cringing after I posted this. I abhor main stream. Ubuntu and Mint can keep it.

cynwulf 12-04-2019 09:22 AM

Quote:

Originally Posted by Ulysses_ (Post 6059684)
Are there blobs in antiX and if yes, what can be done about it?

Look at what is installed and then perhaps try to discern what it actually is:
Quote:

Originally Posted by anticapitalista (Post 6059724)
Code:

amd64-microcode                    Processor microcode firmware for AMD CPUs
atmel-firmware                      Firmware for Atmel at76c50x wireless networking chips.
bluez-firmware                      Firmware for Bluetooth devices

broadcom-sta-dkms                  dkms source for the Broadcom STA Wireless driver
firmware-amd-graphics              Binary firmware for AMD/ATI graphics chips
firmware-atheros                    Binary firmware for Atheros wireless cards
firmware-bnx2                      Binary firmware for Broadcom NetXtremeII
firmware-bnx2x                      Binary firmware for Broadcom NetXtreme II 10Gb
firmware-brcm80211                  Binary firmware for Broadcom/Cypress 802.11 wireless c
firmware-intelwimax                Binary firmware for Intel WiMAX Connection
firmware-ipw2x00                    Binary firmware for Intel Pro Wireless 2100, 2200 and
firmware-iwlwifi                    Binary firmware for Intel Wireless cards
firmware-libertas                  Binary firmware for Marvell wireless cards
firmware-linux-nonfree              Binary firmware for various drivers in the Linux kerne
firmware-misc-nonfree              Binary firmware for various drivers in the Linux kerne
firmware-myricom                    Binary firmware for Myri-10G Ethernet adapters
firmware-netxen                    Binary firmware for QLogic Intelligent Ethernet (3000
firmware-qlogic                    Binary firmware for QLogic HBAs
firmware-realtek                    Binary firmware for Realtek wired/wifi/BT adapters
firmware-zd1211                    binary firmware for the zd1211rw wireless driver
intel-microcode                    Processor microcode firmware for Intel CPUs
midisport-firmware                  Firmware loader for M-Audio's MidiSport devices

b43-fwcutter                        utility for extracting Broadcom 43xx firmware
firmware-b43-installer              firmware installer for the b43 driver
firmware-b43legacy-installer        firmware installer for the b43legacy driver
iucode-tool                        Intel processor microcode tool


Those emphasised above are device firmware/microcode for those devices. The binaries mostly live in /lib/firmware and they are in most cases part of the Linux kernel sources.

There are a few important points you should consider with regard to these:

1) None are Linux binaries, so they cannot be executed by the host OS.

2) If you don't own that particular hardware, they will never be used.

3) Some devices, by design, have their firmware/microcode loaded by the host OS.

4) Many other devices on a typical x86 system have the same (closed source, proprietary) firmware already loaded onto the device. The system BIOS/UEFI, CPU microcode, the IME/PSP firmware and other firmware in devices such as hard disks and network controllers are just a few examples.

5) Once loaded, the firmware runs on the device, not on the host OS - which is exactly the same as any firmware already installed on any other devices.

It boils down to:

Do you have any of that hardware?

If so, do you want it to work?

You can remove the packages and get some "feelgood", or you can just leave them there...

Those I have not emphasised are not part of the kernel, but in particular, the broadcom/b43 related packages are to do with drivers for certain wifi chips. If you have those devices, you either install the required driver or don't use the device (but presumably continue using the rest of your hardware with it's embedded firmware - ignorance is bliss?).

x86 is what it is, if you want totally free, then you need different - open - hardware.

metaBLAG 07-17-2020 04:06 PM

This was a fascinating conversation that I constantly find myself referring to as it incorporates concepts than I'm learning, applying & turning over in my head regularly regarding privacy, software freedom, etc.

I do know for a fact that AntiX would not be happily running on my WinXP-era HP Pavillion w/out some of those "blobs" particularly the broadcom ones...so in that regard I must be pro-blob.

On the side, there's my librebooted X200 running a certain liberated legacy-era distro well enough but there are issues (w/the browser's ability to handle the modern web, to be more specific) that keep me from going all in with the libre camp for now.

Lots of Smart People, some even on this forum ;-) are ok with binary blobs. They believe that the dangers are negligible to non-existent and that leaving no binary blob unturned is a rabbit hole from which there is no escape. I can see that, although I think we can all agree that things like the Intel ME are a truly unsettling trend.

But as cynwulf notes, open hardware offers the only true escape from "the blobs."

Bonzoo 05-16-2021 07:58 AM

Quote:

Originally Posted by freemedia2018 (Post 6061127)
As far as I know, "anticapitalista" makes the final decisions, but cedes to trusted volunteers, if that tells you anything.

I am going to guess that antiX and Devuan are on similar levels in terms of being secure. I would take the one that has non-free binaries removed over the one that doesn't. Neither remove those by default.

In the Sparky linux aptus package(control center) there is an option to "remove all non-free". You might have a look at that

metaBLAG 07-22-2021 02:26 PM

Looks like andyprough has done something about it...in the form of a de-blobbed antiX alpha!

Check it out -
https://trisquel.info/en/forum/avail...-non-free-bits

I haven't tried it yet but it looks suspiciously like the distro I've been looking for since blag bit the dust...

According to chatter, there should be a new/improved beta sometime this summer.

jamison20000e 07-23-2021 01:23 PM

Have you ripped the blobs out of your hardware yet? :doh:

ondoho 07-24-2021 03:22 AM

Quote:

Originally Posted by jamison20000e (Post 6269141)
Have you ripped the blobs out of your hardware yet? :doh:

A blob (in this context) is never hardware, but either firm- or software.

jamison20000e 07-25-2021 09:19 AM

Firmware* runs your hardware, you rip software in or out... but, don't sweat the details. If you don't know, we make it up as we go! Was there TV 100 years ago, no?

Some might not firmly get anything if the school of hard knocks were actually hard.

Think of how much could be done in juat 106 years, if we'd necromanc the idea of education as firmware in babies, to upgrade them all?

metaBLAG 08-02-2021 06:51 AM

Quote:

Originally Posted by jamison20000e (Post 6269141)
Have you ripped the blobs out of your hardware yet? :doh:

I'm running your standard-issue Thinkpad X200 w/libreboot; it's the best I can do to cover the hardware side. What can I say? GNU/Linux has taken a few twists and turns since I first heard of it 20+ years ago...we stand on the shoulders of those who came before us and do the best we can.

I know that there may still be issues with hard drive firmware, etc., so of course I limit my subversive/deep state activities on this rig. ;-)

I'm confident that I'll see an affordable blob-free desktop/laptop in my lifetime...& I can't wait!

jamison20000e 08-02-2021 01:44 PM

Libreboot is a great way for reducing, re-using, recycling and beyond. :)

Free software helps the kids, not to be lazy; so, should evolve quite quickly into free hardware?

I still haven't played with Linux From Scratch but have a Novena bord (:https://en.m.wikipedia.org/wiki/Nove...ting_platform):) so am leaning twords learning? For now waiting on an SSD to build a Debian on. :D


All times are GMT -5. The time now is 12:57 AM.