News for hackers. Stuff that matters.
Re:Debian 12 “Bookworm” Released by bayindirh on Saturday June 10, 2023 @09:35AM (#36270342)
I was involved in the discussion, and I'm also torn on that issue, but at least you can disable installation of non-free firmware and install Debian without any non-free software.

On the other hand, firmware is a convoluted issue. It was always present, but became increasingly visible over the years. While I'm a strong Free Software supporter, firmware is one of the hardest parts to convert, because of the IP it entails and trade secrets it embodies.

Re:Debian 12 “Bookworm” Released by jacquesm on Saturday June 10, 2023 @09:42AM (#36270387)
That and the simple fact that without it the hardware you've invested in won't work. So this is very much an individual choice, if you don't have such hardware you are fine but shouldn't be voting on whether or not someone who does have hardware that won't work without proprietary blobs has to go out to buy new gear. There are all kinds of considerations that go in to this decision (for instance: environmental impact) and I'm all for compromise when it helps out others.

At the same time, you have a good point, these decisions are difficult and need to be very carefully weighted. Debian and RedHat are the two distributions that everybody else always ends up following so a major departure from established policy there has potentially huge impact downstream.

Re:Debian 12 “Bookworm” Released by enriquto on Saturday June 10, 2023 @10:34AM (#36270814)
> the simple fact that without it the hardware you've invested in won't work

How is that different from the "if you want to run linux don't buy a winmodem" that we said convincingly twenty years ago ? Would you have approved that linux 2.0 added binary blobs to the kernel in order to correctly work with the hardware that you had invested in (some random winmodem) ?

Re:Debian 12 “Bookworm” Released by boricj on Saturday June 10, 2023 @10:48AM (#36270952)
Usually, people first buy a computer and then hear about Linux later, not the other way around.
Re:Debian 12 “Bookworm” Released by 5e92cb50239222b on Saturday June 10, 2023 @10:52AM (#36271010)
It's also close to impossible to choose fully Linux-compatible hardware for some of us. Whatever decent Thinkpads there are left are practically unavailable in my country, unless you're willing to buy from foreign sellers without any warranty and pay hundreds of dollars for shipping. Things like Framework are completely unavailable and probably will be for the foreseeable future. I use desktops exclusively so I can pick and choose, but I am in the minority of a minority.
Re:Debian 12 “Bookworm” Released by jacquesm on Saturday June 10, 2023 @11:17AM (#36271262)
Winmodems had plenty of alternatives, for PCs the choice is usually limited to 'what you were given' or 'what you recycled from a dumpster'. Linux is typically not the first OS to be installed on any given piece of hardware (even if brand new plenty of people pay either the MS or the Apple tax). And because those are exactly the people that benefit from having a working PC I'm all for maximizing their chances. Choice is a luxury.
Re:Debian 12 “Bookworm” Released by Karellen on Saturday June 10, 2023 @04:08PM (#36274550)
> Linux is typically not the first OS to be installed on any given piece of hardware. And because those are exactly the people that benefit from having a working PC I'm all for maximizing their chances. Choice is a luxury.

But they don't have to choose Debian.

If Debian had maintained a strict "Free" stance, people could still use their troublesome hardware out-of-the-box simply by picking another distro that did include non-Free firmware in the installer. There are plenty of them. Like, 99% of all other distros.

Not all distros have to be everything to everyone. It's OK to have a niche.

Re:Debian 12 “Bookworm” Released by jacquesm on Saturday June 10, 2023 @04:12PM (#36274595)
Fortunately Debian recognized that being a 'niche' would sooner or later spell the end of Debian and that would be a loss.
Re:Debian 12 “Bookworm” Released by bayindirh on Saturday June 10, 2023 @06:01PM (#36275619)
When you are one of the biggest “root” distributions, and the template of countless big and small time derivatives, you don’t have the luxury to have niche.

When thought with a clear and unbiased mind, Debian did the absolute best they can do.

Add firmware, be open about it, install only when necessary, allow people to opt out when they know what they are doing.

Re:Debian 12 “Bookworm” Released by realitythreek on Saturday June 10, 2023 @09:05PM (#36276955)
> If Debian had maintained a strict "Free" stance, people could still use their troublesome hardware out-of-the-box simply by picking another distro that did include non-Free firmware in the installer.

This isn’t Debian’s niche though. Like many distros, Debian came with the free repos configured by default, but its had non-free packages available forever and they already had a non-free installation iso hidden away. The line had been crossed forever ago. Now it’s just a friendlier experience.

This is a good thing.

Re:Debian 12 “Bookworm” Released by Karellen on Sunday June 11, 2023 @05:17AM (#36279608)
> This isn’t Debian’s niche though.

Point 1 of the Social Contract[0] is literally "Debian will remain 100% Free"

Please explain how championing Software Freedom would not be Debian's niche.

[0] https://www.debian.org/social_contract

Re:Debian 12 “Bookworm” Released by jacquesm on Sunday June 11, 2023 @05:29AM (#36279680)
You are entirely free to use the narrow FOSS interpreted distribution. And other people are just as free to use the ones that include the blobs they need to get their hardware to work where there is no alternative available. And hopefully over time all of those blobs will go the way of the Dodo, but in the meantime Debian keeps mind and marketshare, which unlike absolutist stances are just as important to the long term survival of the distribution as is the core philosophy.

Because you wouldn't be pushing those users to an alternative linux distro, you'd be pushing them to Apple and Windows and that's far more damaging to FOSS than to include some firmware blobs. The issue was debated at considerable length, I've followed the debate (because I use Debian and Debian derived distros on all of my machines, including laptops, servers and desktops) and I'm happy to see this outcome because it shows a certain level of maturity. The world isn't easily defined in terms of black and white. Debian is doing a great job and this minor concession is only going to strengthen its position as the FOSS distro of choice because more people will end up being able to use it successfully.

Note that far more people care about whether or not a distro works on their machine than whatever narrow reading of 'The Word' causes it to malfunction. Builders are few, consumers are many and I'd much rather see Debian succeed in the long term than die on the hill of FOSS purism.

Re:Debian 12 “Bookworm” Released by realitythreek on Sunday June 11, 2023 @06:46AM (#36280096)
I already did explain. You stopped reading after the first sentence. :)
Re:Debian 12 “Bookworm” Released by nunesvn on Saturday June 10, 2023 @12:21PM (#36271852)
We’re on the laptop age, most people can’t pick and choose the components of their computers.
Re:Debian 12 “Bookworm” Released by arp242 on Saturday June 10, 2023 @10:37AM (#36270846)
As I understand it "firmware" is essentially just the same as an EEPROM, except that using volatile memory is cheaper and easier to upgrade. No one seems to have great issues with EEPROMs (FSF doesn't anyway), but uploading that same code to the device when it starts is a huge problem? I never understood this, and especially given the huge practical trade-offs the entire thing seems fighting windmills.

The Linux-libre people even removed the warning that the CPU is vulnerable to spectre/meltdown if you don't update the microcode. But ... your CPU already comes with that microcode out of the factory, just a different version of it. How is running an older known to be buggy microcode better?

Re:Debian 12 “Bookworm” Released by jasomill on Saturday June 10, 2023 @04:57PM (#36275037)
Debian distributes firmware stored in volatile RAM because it is either required to use the hardware, or, as is the case for CPU microcode updates, highly recommended for most users.

As far as I know, Debian does not distribute proprietary EEPROM firmware updates at all, as these are generally not required to use the hardware (and, depending on the device and update in question, may or may not be recommended for most users).

In other words, the difference is practical, not ideological.

Re:Debian 12 “Bookworm” Released by arp242 on Saturday June 10, 2023 @06:27PM (#36275842)
Organisations like the FSF recommend that you don't use devices that require "non-free firmware" at all. They don't recommend anything like this for devices with "non-free EEPROMs at all". Stallman himself has stated he has no problem with such devices (I can't find a direct quote on this right now, but I'm 100% sure I've seen Stallman write or say this at time point).

My point was that the entire position just doesn't make any sense: either you reject all non-free software no matter how it's loaded (which means there are very few computers you can actually use), or you just use your hardware with "non-free firmware" that would be baked in anyway and stop worrying about the entire thing.

Re:Debian 12 “Bookworm” Released by pabs3 on Sunday June 11, 2023 @03:52AM (#36279221)
Debian distributes fwupd, which accesses the Linux Vendor Firmware Service, which distributes updates for proprietary firmware stored on devices:

https://fwupd.org/ https://wiki.debian.org/Firmware/Updates

Re:Debian 12 “Bookworm” Released by blihp on Saturday June 10, 2023 @12:29PM (#36271924)
While I'm glad to see proprietary firmware both included and segregated in its own repo, I'm wondering why RISC-V wasn't added as a supported architecture in Debian 12? It seems like that supporting at least an open ISA would move closer to the possibility of what Debian wants to see happen... so why isn't it as a distro helping to make it happen?
Re:Debian 12 “Bookworm” Released by teddyh on Saturday June 10, 2023 @12:38PM (#36272042)
Re:Debian 12 “Bookworm” Released by blihp on Saturday June 10, 2023 @12:44PM (#36272107)
That doesn't answer the question. It's still 'unofficial' per https://wiki.debian.org/SupportedArchitectures

If you want the maintain the status quo you support the hardware that has the most users, if you want to change it you also support the hardware you want them to use.

Re:Debian 12 “Bookworm” Released by bayindirh on Saturday June 10, 2023 @04:16PM (#36274628)
In Debian, there's no single entity which decides on things. There are rules, and processes.

The relevant documentation is here: https://wiki.debian.org/PortsDocs/New

Also, the rules for becoming an official port is here: https://ftp-master.debian.org/archive-criteria.html

When RISC-V satisfies the relevant criteria, they can become official.

Also, maintaining a port is tremendous amount of work. Debian users only see the tip of the iceberg. There's so much beneath that.

Re:Debian 12 “Bookworm” Released by teddyh on Saturday June 10, 2023 @04:51PM (#36274978)
Who is the actor in this scenario who wants to change the status quo and therefore support the RISC-V platform in Debian? I.e. who are the people with the motivation to do that?
Re:Debian 12 “Bookworm” Released by blihp on Saturday June 10, 2023 @09:51PM (#36277169)
The Debian project has been historically a vocal proponent for open hardware/firmware/drivers etc. and here we are in 2023 having Debian somewhat controversially acknowledging that proprietary firmware may be required at least by some users, to some degree. So I am suggesting that if they really want to get there that they might need to help facilitate the change they would like to see.

Is RISC-V the be-all, end-all? No, but it could help them get a lot closer than they're likely to get with any of the proprietary ISAs.

Re:Debian 12 “Bookworm” Released by teddyh on Saturday June 10, 2023 @10:18PM (#36277305)
Debian is not a general advocacy organization. Debian produces the Debian GNU/Linux distribution, and that’s mostly it. The incentive to do the work necessary to add a new architecture to Debian must, in general, come from outside Debian itself. Debian will probably not, as a project, go around looking for new architectures to add. Debian depends on other people doing the work and presenting it to Debian, which will then distribute it if it is good enough. Debian will only have the motivation to work on including a new architecture if it is an obvious lacking feature of Debian – say, if every other Linux distributions supported an architecture, and it was widely used, but Debian did not support it, then the Debian project would have an incentive to work on it. But not before.

This is just like Debian generally does not write new useful software to put into Debian, and instead depend on outside, “upstream” authors to write software. Some other organizations, like FSF and its GNU project, will have advocacy roles, and do have the incentives to write new software and to help porting to new architectures. It is there that the motivations for this work must be found. Of course, individual people can be involved in more than one organization, and many Debian people happen to be enthusiastic advocates, and will in fact often do this work. But the reason for them doing this work is not, mostly, rooted in them being a part of Debian.

Therefore, and this is my point, if you want this work to be done, you can’t exhort Debian to do it. It will not work. Ask instead why someone else, whom you think should be motivated to do the work, does not do it.

Re:Debian 12 “Bookworm” Released by pabs3 on Sunday June 11, 2023 @04:01AM (#36279270)
The RISC-V port of Debian was driven by internal Debian contributors, not by external actors. Similarly for Debian kFreeBSD and some other ports. OTOH, for LoongArch and ARC, those ports are driven almost entirely by the companies selling those chips. So I would say it is a mix.
Re:Debian 12 “Bookworm” Released by teddyh on Sunday June 11, 2023 @09:55AM (#36281394)
> The RISC-V port of Debian was driven by internal Debian contributors, not by external actors.

Yes, but my point is, they weren’t doing that work just because they were Debian contributors; they had their own additional reason for doing it. They were not assigned the work by Debian central command. Therefore, asking Debian why Debian does not do some work or other is usually the wrong way to get something done.

Re:Debian 12 “Bookworm” Released by pabs3 on Monday June 12, 2023 @02:36AM (#36289236)
Yes, there isn't much of a Debian central command, apart from the technical committee, but they can't force/direct people to do things, only to say what Debian will do in specific circumstances.

That said, the community of contributors are what makes up the Debian project, so in a sense it is Debian deciding to do things when Debian does things :)

Re:Debian 12 “Bookworm” Released by pabs3 on Sunday June 11, 2023 @04:06AM (#36279295)
Even the open firmware that does exist has some major issues (like needing a proprietary compiler) or the hardware that it can run on it checks for Intel signatures, or only exists on archive.org, or is packaged in Debian but not properly built from source code, or exists but is only useful for obscure/ancient hardware that only people who want libre firmware buys, requires a forked compiler/toolchain to build, etc. Basically, open firmware is a hard problem and there aren't a lot of people with the skills and interest in doing it. I'm trying to at least document what exists on the wiki, anyone know of more projects?

https://wiki.debian.org/Firmware/Open

Re:Debian 12 “Bookworm” Released by pjmlp on Sunday June 11, 2023 @01:31PM (#36283453)
RISC-V doesn't close the door on proprietary extensions.
Re:Debian 12 “Bookworm” Released by snvzz on Sunday June 11, 2023 @09:27PM (#36287484)
Proprietary extensions need to live in the opcode space reserved for custom extensions, where it'll overlap with other vendors' own custom extensions.

If they conflict with RISC-V's own space, the chip can't use RISC-V trademarks.

And, of course, the RISC-V Consortium will never adopt proprietary extensions, as that goes against its core values.

Re:Debian 12 “Bookworm” Released by pjmlp on Monday June 12, 2023 @02:27AM (#36289165)
What matters is what is on the market, and how it is made available.

Everything else matters as much as FSF point of view on something being free or not.

Re:Debian 12 “Bookworm” Released by snvzz on Monday June 12, 2023 @04:34AM (#36290172)
That's why there are licenses and agreements.

So that we do not have to rely on anybody's goodwill.

Re:Debian 12 “Bookworm” Released by pjmlp on Monday June 12, 2023 @05:09AM (#36290485)
And since RISC-V allows for extensions, all bets are off regarding successful deployments being extension free.

Just like many open core products that really need the full deal for being usable in a proper way.

Expecting otherwise is whishful thinking, or academia/maker community focus.

Re:Debian 12 “Bookworm” Released by snvzz on Monday June 12, 2023 @03:26PM (#36299561)
There already are. As long as they're in custom space, there's no issue.
Re:Debian 12 “Bookworm” Released by seba_dos1 on Saturday June 10, 2023 @10:33PM (#36277404)
It's simple - because the port is not ready yet.

The plan is to have it ready for Debian 13: https://lists.debian.org/debian-devel-announce/2023/06/msg00...

Re:Debian 12 “Bookworm” Released by pabs3 on Sunday June 11, 2023 @03:59AM (#36279257)
At the end of the day, this was because the hardware ecosystem (and the hardware support in Linux/bootloaders/etc) isn't really "ready" yet, and also there was slow and unclear communications between the porting team, the core Debian teams and one of the hosting providers. Eventually the teams provisionally approved the port, but after that the needed actions weren't done in time for the archive-wide rebuild that happens during the process of an unofficial port becoming official. I'm not on the porting team, but am on the Debian sysadmin team, and tried to speed up the process and make it more transparent. Debian contributors are mostly volunteers, so things take time.
Re:Debian 12 “Bookworm” Released by blihp on Sunday June 18, 2023 @03:44PM (#36383698)
Sorry for the lag in my reply (I just noticed your response)... I very much appreciate the info as I found the lack of official RISC-V support in 12 surprising. I hadn't read about the blockers to being ready for the release which makes perfect sense. Looking forward to seeing in in 13!
Re:Debian 12 “Bookworm” Released by mikae1 on Saturday June 10, 2023 @03:29PM (#36274142)
> you can disable installation of non-free firmware and install Debian without any non-free software.

Including but making it optional was an excellent decision. Those who need will get what they want, those who don't will have the same result as with Bullseye.