News for hackers. Stuff that matters.
Re:Running unmodified Linux programs on Fuchsia by swiley on Thursday February 11, 2021 @02:05PM (#26105726)
Android putting graphics drivers outside the kernel and not under the GPL has created enough of a disaster. I don't look forward to the day when everyone is running a kernel that doesn't force SoC manufactures to share even the most basic drivers.
Re:Running unmodified Linux programs on Fuchsia by spijdar on Thursday February 11, 2021 @02:54PM (#26106288)
We're already there, anyway. Proprietary drivers are super common not just in Android, but across embedded devices everywhere.

Some companies just flagrantly violate the GPL, and little ever comes of it.

Others ship minimal shims in the kernel, and put the proprietary bits in userland code or some such. This seems to be more common, where vendors will technically release their kernel fork, but the code will be obfuscated or just generally useless without the proprietary blob that goes with it.

I'd much rather the kernel just have a stable ABI so these kernels could at least be freely updated instead of being stuck with the hacked together fork with its proprietary shims.

Re:Running unmodified Linux programs on Fuchsia by pabs3 on Friday February 12, 2021 @06:39AM (#26112599)
If you are aware of a particular Linux kernel violation, please report it to the Software Freedom Conservancy, who recently announced a new strategy for achieving GPL compliance.

https://sfconservancy.org/copyleft-compliance/ https://sfconservancy.org/copyleft-compliance/enforcement-st... https://sfconservancy.org/copyleft-compliance/firmware-liber... https://sfconservancy.org/news/2020/oct/01/new-copyleft-stra...

Re:Running unmodified Linux programs on Fuchsia by bscphil on Thursday February 11, 2021 @07:35PM (#26109482)
> We're already there, anyway. Proprietary drivers are super common not just in Android, but across embedded devices everywhere. Some companies just flagrantly violate the GPL, and little ever comes of it.

Sometimes I wonder if Linus could go back and do it over, if he would license Linux under the BSD license instead of GPL. He's never seemed like a particular stickler for free software ideology, and has welcomed connections between Linux and industry. I don't know that it bothers him that much to see Linux used in proprietary software.

Not trying to start a flame war over licenses here, just speculating. And maybe this could be easily refuted by a link to one of his email rants, who knows.

Re:Running unmodified Linux programs on Fuchsia by ByTheBook on Thursday February 11, 2021 @08:26PM (#26109817)
His own words: "I love the GPL and see it as a defining factor in the success of Linux"

So I very much doubt he would license it under BSD or similar.

Having said that, he has also stated that he is glad he stuck to GPLv2, as he is not a proponent of the TIVO clause, IIRC his words were something to the effect of 'I just want the code contributed back to the kernel'.

Re:Running unmodified Linux programs on Fuchsia by jsmith45 on Friday February 12, 2021 @08:43AM (#26113539)
My own impression has been that he does not really care one way or the other about tivoization. If that clause had been present in the GPL since the beginning, it would not have stopped him from using it.

However, he sees things like adding it as being a pretty significant change to the GPL, and does not like the fundamentally changing the deal. If GPL v3 consisted only of wording clarifications to ensure it worked properly in more regions and perhaps to allow apache license compatibility, he would presumably have had no objections, but of course, would be unlikely to have been able to relicense the kernel, given the kernel's numerous contributors and lack of "or later version" clause.

Re:Running unmodified Linux programs on Fuchsia by captainmuon on Thursday February 11, 2021 @02:22PM (#26105911)
It's not a problem in the Windows world that drivers are not open source. I think rather than forcing them to put the drivers under GPL, we should fix the fact that embedded systems always need custom images.

On x86, you can just grab a Windows or Linux .iso and it will enumerate all hardware via PnP and install the appropriate drivers. This is something that is sorely missing in the Arm world. Instead you get semi-closed BSPs, source code thrown over the wall, and you have to write your own device-tree files and often kernel code to get something to run. SSBA is a start but only targeting the server market.

Re:Running unmodified Linux programs on Fuchsia by scaladev on Thursday February 11, 2021 @02:49PM (#26106208)
Maybe it's not a problem for you if you upgrade your hardware frequently (and don't care that it stops working on newer versions of Windows because the vendor couldn't give a shit about keeping the driver up to date), and buy exclusively high quality (and high price) parts. I had enough fun with Realtek / GPU drivers (from all three major vendors) on Windows to hate the very concept of a proprietary driver to the end of my life.

The very same hardware somehow works perfectly fine on Linux. No kernel panics (not a single one in 12+ years of running it on Realtek crap), no intermittent connectivity problems, no weird GPU bugs, nothing of the sort.

Re:Running unmodified Linux programs on Fuchsia by captainmuon on Thursday February 11, 2021 @06:10PM (#26108756)
I forget that you have to hedge every comment on HN :-P Of course there are not zero problems on Windows. I had a bunch of trouble when Windows 10 came out with a laptop I bought just before, I never got the touchpad working as expected. With Linux the touchpad works fine, but then yellow looks like mustard on the screen...

What I mean is: I can go to the store and buy a random thing, and I can just assume there will be a driver at all and my PC will find it.

I work for a company which manufactures industrial PCs with touch interfaces, and one thing we noticed with our X86 line is that we can just stop caring about drivers. Although everything down to the touch panel and the mainboard is custom, you can just throw a windows OR a Linux (Ubuntu) iso at it and it will work 99%. This is not about Windows vs. Linux, but about PnP vs. no PnP.

Re:Running unmodified Linux programs on Fuchsia by pjmlp on Thursday February 11, 2021 @05:57PM (#26108593)
My netbook still has working drivers for Windows 10 with DX11 and GL 4.1 support, whereas the super cool open source AMD driver doesn't offer anything better than GL 3.3 with hardware video decoding that kind of works on full moons.
Re:Running unmodified Linux programs on Fuchsia by philliphaydon on Thursday February 11, 2021 @11:31PM (#26110758)
Yet if you want to keep up with hardware then running linux is a real pain. Want to use vanilla Debian on a 5900x and 6800xt. HAHA. Issues galore.

(Still not reason enough for me to go back to Windows tho)

Re:Running unmodified Linux programs on Fuchsia by broodbucket on Friday February 12, 2021 @12:07AM (#26110934)
Well yeah, trying to use modern hardware on ancient software is going to suck. It's like trying to run a RTX3090 on Windows XP. Debian stable is not a sensible choice for new shiny things, especially GPUs, and that's not really a "Linux" problem, it's a Debian problem.
Re:Running unmodified Linux programs on Fuchsia by jraph on Thursday February 11, 2021 @03:32PM (#26106711)
> It's not a problem in the Windows world that drivers are not open source

Yes it is. Let alone the inability to study the source code and other goodness of open source, there are old drivers that are not maintained anymore and that can't run on newer versions of Windows, where hardware that is not maintained anymore by the manufacturer still works on Linux because the open source driver can still be adapted to run on newer versions.

Re:Running unmodified Linux programs on Fuchsia by pjmlp on Thursday February 11, 2021 @05:58PM (#26108603)
Pity it doesn't apply to all cards supported by AMD open source drivers.
Re:Running unmodified Linux programs on Fuchsia by dleslie on Thursday February 11, 2021 @02:30PM (#26105996)
> It's not a problem in the Windows world that drivers are not open source.

It absolutely is a problem. There is plenty of not-that-old hardware that will only work on previous versions of windows.

There's also _mountains_ of _terrible_ binary drivers that cause serious stability concerns.

Re:Running unmodified Linux programs on Fuchsia by adambyrtek on Thursday February 11, 2021 @03:00PM (#26106345)
Broken binary drivers was also one of the main causes of the "blue screen of death" which gave certain versions of Windows such a bad reputation.
Re:Running unmodified Linux programs on Fuchsia by catern on Thursday February 11, 2021 @07:15PM (#26109352)
I'd say the reason generic kernels/images are missing in the ARM world is because people generally don't run their own software on the ARM hardware they own. And the reason for that in turn is that often people don't have the ability to run their own software on their ARM hardware. Which brings us back to the GPL - this is standard "Tivoization", something that the GPLv3 tried to prevent, but unfortunately Linux is GPLv2... Still, for drivers that are open source and upstream, a practical consequence is typically that people are allowed to run their own kernels on the associated devices - which I think would give the PnP, generic image world you want.

This is all just to say, I don't think "GPL drivers" and "PnP generic images" are as separate as you're suggesting.

Re:Running unmodified Linux programs on Fuchsia by diegocg on Thursday February 11, 2021 @03:53PM (#26107004)
I have working hardware that is no longer usable under Windows because drivers no longer work. Hardware companies have no interest supporting old hardware and they drop support in a few years. I recently got a new computer at work with a part that it's already considered "legacy" in the vendor's web site.

Closed source drivers are a nightmare for users.

Re:Running unmodified Linux programs on Fuchsia by d1zzy on Thursday February 11, 2021 @05:19PM (#26108183)
Hmm, makes me wonder if it's feasible (for really popular hardware where there is sufficient interest) to just port the open source Linux drivers over to Windows kernel and release it under GPL. Maybe even charge some money for the effort/to be able to download the installation kit (as I think there may be costs involved in getting access to the Windows kernel driver development kit that would allow to build the driver).
Re:Running unmodified Linux programs on Fuchsia by marcodiego on Thursday February 11, 2021 @03:36PM (#26106765)
It is a problem on windows too. I've seem various devices that simply stopped working when you updated from win9x to XP, from XP to 7 from 7 to ...

Proprietary drivers are a problem wherever they exist.

Re:Running unmodified Linux programs on Fuchsia by d1zzy on Thursday February 11, 2021 @05:16PM (#26108136)
Spoken as someone that is not struggling to run older hardware on modern Windows. Windows 10 likes to screw up my audio (Creative X-Fi Titanium) every major update. No problems on Linux with updating the kernel almost every week for many years now.
Re:Running unmodified Linux programs on Fuchsia by swiley on Saturday February 13, 2021 @09:34AM (#26123796)
There are arm phones you can buy now that will boot the aarch64 defconfig kernel from mainline. If a phone doesn't do that it's because the manufacturer doesn't want it to, not because there's something special about arm that prevents it.
Re:Running unmodified Linux programs on Fuchsia by fctorial on Thursday February 11, 2021 @06:59PM (#26109218)
How does apple m1 implement PnP?
Re:Running unmodified Linux programs on Fuchsia by saagarjha on Friday February 12, 2021 @04:53AM (#26112027)
It largely does not.
Re:Running unmodified Linux programs on Fuchsia by marcodiego on Thursday February 11, 2021 @02:17PM (#26105858)
Android has been a mostly positive thing for linux, but it could be much more if so google desired. Google had the influence and power position to force many important drivers to become blob-free or open source (GPU, VPU, GSM modems, wifi, bluetooth), but it looks like they just didn't care.
Re:Running unmodified Linux programs on Fuchsia by dleslie on Thursday February 11, 2021 @02:32PM (#26106014)
Android has been one of the most negative contributors to general computing.

We entered the new millennium with the concept that most computers could use most extension hardware with (relatively) little effort, and you could upgrade your computer's basic operating system at will; even change it to another one entirely.

I'd love to update my still-decent Android phones that have long since stopped receiving security updates, but I can't. This is objectively inferior, a massive regression from general computing.

Re:Running unmodified Linux programs on Fuchsia by znpy on Thursday February 11, 2021 @03:00PM (#26106348)
> We entered the new millennium with the concept that most computers could use most extension hardware with (relatively) little effort, and you could upgrade your computer's basic operating system at will; even change it to another one entirely.

> I'd love to update my still-decent Android phones that have long since stopped receiving security updates, but I can't. This is objectively inferior, a massive regression from general computing.

this is one of the smelliest BS i've read on hn in the last year or two. phones before android were not upgradable AT ALL. if you were lucky, you could put a bigger memory card, and that was it.

nowadays you can access most of the sources of the os for your average android smartphone, you can rebuild the os and reflash it yourself. doing such thigs was a basically just wet dream in early 2000s.

Re:Running unmodified Linux programs on Fuchsia by dleslie on Thursday February 11, 2021 @04:04PM (#26107155)
> phones before android were not upgradable AT ALL.

They weren't general computing devices. They were for making phone calls, sending SMS messages, and tracking contacts. The security risk profile did not include access to social media accounts and/or online banking.

For many folks, and a growing many folks, their phones are now their primary computing devices. For many folks, their primary computing devices no longer receive security updates.

> you can rebuild the os and reflash it yourself.

Tell me how I do that if I cannot root the phone.

Re:Running unmodified Linux programs on Fuchsia by shawnz on Friday February 12, 2021 @08:21AM (#26113311)
You don't need root access to an OS to replace that OS with something else.

What you need is a bootloader that is not locked so you can boot a different OS instead.

In my experience most major Android vendors do support bootloader unlocking.

Re:Running unmodified Linux programs on Fuchsia by swiley on Friday February 12, 2021 @08:33AM (#26113416)
You also need drivers, otherwise all you can really do is change the launcher and remove some of the malware.
Re:Running unmodified Linux programs on Fuchsia by 533474 on Thursday February 11, 2021 @05:12PM (#26108081)
He did not say that phones were upgradable; he mentioned 'computing devices'. Calling another comment dumb does not help your argument.
Re:Running unmodified Linux programs on Fuchsia by kaba0 on Friday February 12, 2021 @02:27AM (#26111413)
Please tell me an android phone that upon flashing will not null out the proprietary camera firmware and other things? I want a truly open OS but android just hides behind AOSP being open and it can only exist on certain phones with quite some negatives.

If you show me such a device, I would instantly ditch my iphone, pretty much the only reason I have one is the great hardware and the lack of google supervision. I even bought a pinephone, but it needs a lot of work (and a new hardware iteration) before it can become truly usable.

Re:Running unmodified Linux programs on Fuchsia by edent on Thursday February 11, 2021 @03:06PM (#26106417)
Err... The Nokia N series received frequent updates before Android ever came along. Blackberry constantly updated its OS.

Sure, some carriers restricted updates - but that's still a problem Android faces.

Re:Running unmodified Linux programs on Fuchsia by Mediterraneo10 on Thursday February 11, 2021 @03:18PM (#26106570)
The Nokia N900 got its last official update in November 2010, if I recall correctly. It had only been launched a year and a half before. Yes, there was then a community effort to improve some of the userspace, but the device was eternally stuck on a 2.6 kernel due to blobs. I loved my N900, but let's not pretend Nokia made their hardware future-proof.
Re:Running unmodified Linux programs on Fuchsia by swiley on Thursday February 11, 2021 @04:58PM (#26107949)
PostmarketOS still runs on it.
Re:Running unmodified Linux programs on Fuchsia by magikaram on Thursday February 11, 2021 @06:29PM (#26108939)
All the more reason to choose an unlocked phone over a carrier locked device.
Re:Running unmodified Linux programs on Fuchsia by marcodiego on Thursday February 11, 2021 @06:56PM (#26109190)
An unlocked phone is as locked as a non-unlocked one if it depends on proprietary drivers of blobs.
Re:Running unmodified Linux programs on Fuchsia by pjmlp on Friday February 12, 2021 @02:11AM (#26111359)
Another one living under a rock before iPhone make it into the world.

Apparently I dreamed of doing Series 30, Series 40, Symbian and Windows CE updates.

Re:Running unmodified Linux programs on Fuchsia by est31 on Thursday February 11, 2021 @09:31PM (#26110152)
> We entered the new millennium with the concept that most computers could use most extension hardware with (relatively) little effort, and you could upgrade your computer's basic operating system at will; even change it to another one entirely.

And who enabled that? Not everyone wants to admit it, but it was IBM together with Microsoft which made this possible. This openness was thanks to a proprietary vendor wanting to make one operating system that ran on a wide variety of hardware.

The chaos of the embedded world is Linux's doing.

Re:Running unmodified Linux programs on Fuchsia by morsch on Friday February 12, 2021 @03:14AM (#26111644)
IBM was as surprised by the "open platform" IBM PC as everybody else. They tried to fix that mistake with PS/2, but it was too late.

https://www.filfre.net/2012/05/the-ibm-pc-part-1/

https://www.filfre.net/2016/08/ibms-new-flavor/

Re:Running unmodified Linux programs on Fuchsia by dathinab on Thursday February 11, 2021 @02:55PM (#26106291)
> but it looks like they just didn't care.

Which is the funny thing, given how much closed source drivers have hurt android as far as I can tell.

Re:Running unmodified Linux programs on Fuchsia by swiley on Thursday February 11, 2021 @02:41PM (#26106122)
It had the opportunity to be a positive thing for Linux but I would argue it really hasn't been. Your comment makes a good point: Google had the power to fix a lot of this but didn't.
Re:Running unmodified Linux programs on Fuchsia by coldtea on Thursday February 11, 2021 @02:47PM (#26106193)
Do they seem like caring otherwise?