|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
About non-free drivers and firmware. I WANT TO DELETE THEM.
I feel like a stupid
When I tried once the "fw_update -a" and some like commands, I was thinking that I would have just a updated for drivers... But... That is a way to download non-free drivers! F&#@ BLOBS! Wow! What a disgusting surprise! So... Guys... How can I do to know what drivers and non-free firmware I have installed? I need to purge them (delete them at all!). I don't want to have BLOBS in my system , and also it means non-free unnecessary firmware! Thanks for your time |
|
|||
Any firmware installed by fw_update(1) can be deleted using the -d switch. Per the manpage:
Code:
-d Delete firmware for driver. If used without parameters, delete all firmware that is not required by a driver. If used in conjunction with -a, delete firmware for all drivers. |
|
|||
Citing from: URL --> https://en.wikipedia.org/wiki/Binary_blob
The OpenBSD project has a notable policy of not accepting any binary blobs into its source tree (however, OpenBSD distributes firmware blobs), citing not only the potential for undetectable or irreparable security flaws, but also the encroachment onto the openness and freedom of its software. Just so you know, there is not really a difference between firmware running on devices loading from a ROM, or loading from your harddrive. Theo de Raadt explains it better than me: URL --> https://marc.info/?l=openbsd-misc&m=143355112811564&w=2 If you have a recent CPU made by Intel or AMD, you might also want to read up on things such as the Intel ME subsystem. This runs completely indepent from your Operating System, on a separate CPU (!), and it can not be disabled. URL --> https://news.ycombinator.com/item?id=11913379 URL --> https://boingboing.net/2016/06/15/in...ship-with.html Last edited by slowtechstef; 25th June 2016 at 01:31 PM. |
|
|||
Guys, this is trolling and should be treated as such. See here where all the bruhaha comes from:
https://marc.info/?l=openbsd-misc&m=145589638702932&w=2 |
|
|||
Go build your own firmware then: https://github.com/qca/open-ath9k-htc-firmware
You'll need a dongle like this: http://www.ebay.com/itm/Mini-USB-AR9...0AAOSwwpdW5jE3 |
|
|||
Thanks for all your answers! I will see what I can do.
ocicat. Thanks for the tip. I will see in "/etc/firmware/" what I have installed, and I will take a look in the licenses of every firmware. Then I will delete all the BLOBS. ibara. To build my own firmware is possible, but I need more knowledge than I have right now. Thanks! slowtechstef. For people like me, that doesn't have english like native language, sometimes there are a lot of details that can't be see. Wikipedia in my language doesn't say this: "(however, OpenBSD distributes firmware blobs)". So, thank you for your time and all that good information. I did know about the relatively strong politic of OpenBSD for don't include BLOB drivers in the initial system, but I didn't know that they distribute non-free drivers in their compress packages. Dear kpa: Please, don't insult me calling me "troll". You are not my enemy, and also I am not your enemy. I just want my system without blobs (like everybody here, I think... Because we all defend free software). For me this was sad. I said that I feel like a stupid because I didn't known the total effect of that command. That can't be "trolling". Also I hate trolls, they are so violent, and so annoying. Thanks to all for your time! |
|
|||
Quote:
OpenBSD does offer third-party external packages for firmware that is non-free. Note that freely redistributable firmware is in the OpenBSD tree. What is firmware? Firmware is the code that runs only on the device (not your computer) that makes it work. Why has this become an issue in recent years? Manufacturers used to burn firmware directly on their hardware's ROMs (some still do: PCIe athn(4) cards immediately come to mind as still having firmware burnt-in, even though amusingly OpenBSD will still download the firmware). But they realized by removing the ROM, they could save a fraction of a penny on manufacturing costs per device, at the expense of the user's operating system loading the device firmware onto the device every time before use. So this is code your devices have always run, you were just never aware of it. The best things to do if you dislike this is to 1) not use those devices, 2) petition manufacturers to allow free redistribution of device firmware, 3) petition manufacturers to make their firmware open source so you can build it yourself, 4) as I stated before, purchase an AR9271 based device and build your own firmware (I've done it before, it's super easy. It does take one small OpenBSD-specific tweak to get it to build though. I can post the firmware if this is something people really want.) |
|
|||
¿De qué hablas tío?
Compañero ibara
I was talking about delete BLOBS (non-free drivers and non-free firmware), and you tell me: "Go build your own firmware then". If you were talking about running the source code, I don't get the point. Maybe you are answering this. Ok, I am not a engineer or a programmer, but I am not bobo. Thanks for your Wikipedia like definitions. I get the driver concept, and also the firmware concept and utility. When they are not free, I call them BLOBS. It's OK! I am not your enemy! This is what I know: OpenBSD does not distribute non-free drivers IN THE DEFAULT SYSTEM (remember: that is not the only way for distribute software). I was not who wrote: "The OpenBSD project has a notable policy of not accepting any binary blobs into its source tree (however, OpenBSD distributes firmware blobs), citing not only the potential for undetectable or irreparable security flaws, but also the encroachment onto the openness and freedom of its software." But If using the «ftp server» provided by the official page of OpenBSD and mirrors you can download non-free drivers, I am sorry, but then we can say that OpenBSD distribute BLOBS (non-free drivers, so: non-free software). Here says something that is confusing me: "Since firmware with acceptable licenses are already present in OpenBSD, fw_update exists purely to deal with firmware that may not be freely distributed with OpenBSD." So, when I use fw_update. By defect: Am I or not possible downloading non-free software? Like I said initially: "When I tried once the fw_update -a and some like commands, I was thinking that I would have just a updated for drivers..." Please, someone make this clear, if there is a mistake. I am not saying injuries about OpenBSD project. Why do I use that system then? I just was looking for delete the non-free drivers and non-free firmware (if is it there). Is just that. Don't make a scandal. Bye! |
|
|||||||||
No hablo español. Sin embargo, hablo francés.
Quote:
The BSDs understand blobs differently than the FSF people. For the BSDs, blobs only refer to drivers. It never refers to firmware. To say that you want to get rid of non-free drivers in OpenBSD makes no sense, because there are no non-free drivers in OpenBSD. Furthermore, it detracts from the hard work OpenBSD (and the other BSDs) have done to make sure that non-free drivers do not find their way into the operating systems. Your concern is that OpenBSD has a mechanism for getting non-free firmware onto wifi cards (and a few other things) in order for those peripherals to operate. Because firmware code is never run on the computer itself, only on the USB wifi peripheral, it is deemed unfortunate but as long as OpenBSD itself does not distribute such firmware images in the base system, it does not cause OpenBSD to violate its rules. For some, such as the FSF, even this is unacceptable. While I disagree with their stance, I do understand it. The command to remove all non-free firmware images from your computer is Code:
fw_update -da Quote:
Quote:
I never said that. It would be a weirdly juvenile thing to say. The world is never black and white. Quote:
Quote:
Quote:
One can, however, obtain non-free firmware images. The *BSD community does not consider these blobs, since this code that has always run on your peripherals, you just weren't aware of it (bringing it more in line with the FSF definition of a circuit, which the FSF has always argued is OK). This code never runs on your computer. Quote:
Quote:
Quote:
Code:
fw_update -da If you do that, the resulting firmware by definition will be free, since it was built entirely from free sources. |
|
||||
The confusion comes from three sources: the acronym "BLOB", and the definitions of the words "Firmware" and "Driver".
BLOB - "Binary Large OBject" or sometimes "Binary Large Object Block" The current definition refers to a closed-source component delivered to customers as a compiled or assembled binary object, typically, as device drivers. Driver - more completely, "Device Driver" A component of an Operating System kernel which interfaces with a device. Hardware vendors who develop kernel drivers for other operating systems (Windows, Linux, ...) will often deliver drivers as BLOBs. Some vendors will release sources to partners (such as to Microsoft or to Linux kernel developers) under Non-Disclosure Agreements ("NDAs"). Firmware - a device's control program, loaded into device memory from on-board ROM, or loaded into device memory from the system. Here's a picture, which might help. Code:
+----------+ | | | Device | | | | Firmware | | | +----------+ || (bus) || +----------+ | | | Kernel | | | | Driver | | | +----------+ Firmware is vendor-supplied and are either already included with the device hardware in ROM, so no action must be taken, or must be loaded onto the vendor's device by the OS in order to have the hardware function. Firmware is never executed by the OS. It is only loaded onto the appropriate device when that device requires it. |
|
|||
@Nureo. By the same logic you have applied to the downloadable firmwares you also should never trust wireless NICs and other add-on cards that have the firmware on a ROM chip. How do you know that the manufacturer hasn't put something nasty in there?
If it's not clear yet, a firmware on a ROM chip is as "non-free" as it gets. The manufacturer is actively blocking all attempts at using alternative "free" firmwares. Disgusting isn't it? Last edited by kpa; 26th June 2016 at 11:00 AM. |
|
|||
I was hoping this thread would settle down, but it didn't for various reasons. I'm not going to lock it yet, but I firmly ask future respondents to judiciously consider their text before posting. Accusatory responses may be deleted.
Remember, this site aims at helping newcomers to OpenBSD. Inclusion is the goal. If statements made are incorrect, help correct misstatements by explaining, not attacking. Everyone was a newbie at one time or another. |
|
|||
Thread locked.
|
Tags |
blob, blobs, drivers, firmware, non-free |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Delete all you like, but it won't free up space ; You've been (de)duped ... | J65nko | News | 2 | 15th February 2011 11:08 PM |
FreeBSD console delete key | graudeejs | FreeBSD General | 4 | 24th August 2008 01:37 PM |
Cannot delete it.... | graudeejs | FreeBSD General | 9 | 20th July 2008 12:45 PM |
How to delete account? | khdf | Feedback and Suggestions | 5 | 9th May 2008 09:05 PM |