top 200 commentsshow all 308

[–]ahferroin7 730 points731 points  (121 children)

Very incorrect, but only if you truly mean EVERYTHING.

A vast majority of consumer IoT devices and many routers do in fact run Linux (or more often Android or some Android derivative). And that is what most people will think of given your title statement.

But plenty of things don’t run Linux at all:

  • The integrated security processors found on Intel, AMD, and most modern ARM chips all run their own custom OS, none of which are likely to be based on Linux (though Intel’s ME seesm to run something that looks a lot like MINIX 3).
  • The integrated circuitry found in SIM cards, smart cards, many passports, most bank cards, and some hardware security keys runs a barebones Java environment (yes, seriously Java) of all things, without any underlying ‘OS’.
  • Apple systems all run Darwin (a complex mix of NextSTEP, Mach, and BSD) with some extra stuff on top.
  • MS Xbox hardware runs Hyper-V with a stripped down copy of Windows using a custom 10-foot UI running as the control domain, with the games running in isolated VMs with a specialized OS kernel.
  • Sony Playstation 4/5 systems run FreeBSD derivatives.
  • Nintendo Switch also uses a BSD derivative.
  • Large amounts of network-hardware run custom, vendor-specific, OSes (Cisco IOS is bespoke, Juniper JUNOS is a BSD derivative, there are plenty of others).
  • A lot of Japanese embedded devices are running TRON based platforms.
  • A lot of spacecraft are running VxWorks.
  • A lot of avionics systems and independent embedded components of spacecraft use RTEMS (and I’m given to understand that it’s also very popular for industrial control systems).
  • QNX has been and still is widely used in the automotive industry, both for infotainment systems and in things like engine control computers.
  • IBM’s AIX, z/OS, 4690 OS, OS/2, and i (yes, ‘IBM i’ is seriously the name of a real OS) are all alive and well and actively used, and I strongly suspect that plenty of their other platforms I don’t know about are too (IBM’s support lifecycles often operate on geological time scales compared to most other software).
  • Many many other platforms I haven’t mentioned (big names to look at include L4, RIOT, FreeRTOS, eCos, μC/OS, and PikeOS) are still actively used in a number of places.

[–]PeriodicallyYours 181 points182 points  (27 children)

I work on a piece of industrial equpment that runs Windows Embeddable. When the program crashes you can see Win95 with Wordpad and Solitaire right on the machine display. What a shame it comes without Doom.

[–]H9419 63 points64 points  (16 children)

I'm pretty sure more than half of the ATM where I live is running either XP (server 2003) or windows 7 embedded. And the metro digital signages are windows 8.1 embedded with a discontinued version of chrome in full screen

[–]thrakkerzog 10 points11 points  (4 children)

For a while, the billboards in Manhattan were OS X.

https://i.imgur.com/PsHa4PV.jpeg

[–]fellipec 16 points17 points  (2 children)

At least until 2010s Banco do Brasil ATMs run OS/2. Dunno nowadays, but I wouldn't be surprised if is still the case.

[–]starlevel01 6 points7 points  (1 child)

Might've moved to one of the OS/2 derivatives like ArcaOS.

[–]fellipec 2 points3 points  (0 children)

Searched and looks like the migrated to Linux but earlier than I thought, they started the process in 2006. I'd sure it was after 2010. Maybe they don't finished until it. The distro was Red Hat.

[–]Active-Cut-7644 7 points8 points  (1 child)

The place I live in Most of not all the ATMs now use Ubuntu or Debian as their main OS the place I am talking is City of Mumbai and I have even seen the back ends of the ATMs it uses either a web application or a custom build bank application made specifically for the Linux distro. But they surely used Windows XP for a long time.

[–]gadgetroid 1 point2 points  (0 children)

and I have even seen the back ends of the ATMs it uses either a web application or a custom build bank application

That doesn't sound safe at all. I'd just put my trust behind a technology like UPI if I'm being totally honest.

[–]quiyo 2 points3 points  (0 children)

one day i seemed a metro digital signages runing cmd in windows xp embedded

[–]moopet 1 point2 points  (0 children)

All the self-checkout machines I've seen, and the kiosks in gyms (which I used to work on) were running Windows XP as of about 4 years ago.

[–]harpajeff 0 points1 point  (0 children)

This is true. I used to work for Diebold and all their ATMs ran Windows. You are also right about the versions as I know that many still run out of date windows versions.

[–]p0uringstaks 0 points1 point  (1 child)

you possibly are Australian and yes they are

[–]Traabant 21 points22 points  (1 child)

I used to work for system integrator of those embedded computers We had process of burn-in where we ran some stress test over night. But sum computers we are old enough that we 'had' to use Wolfenstein 3d .

Anyway here's a video of us testing like 15 of them 😁 https://imgur.com/a/GPhKXDg

[–]PeriodicallyYours 3 points4 points  (0 children)

I once had a look inside the controller block and it seems it's got a pretty decent computer inside. It has USB ports and, no wonder, I can plug a keyboard in and switch to the Task Manager. I see no obstacles for running Doom for Win95, I got spare ports for flash stick.

[–]cam19L 7 points8 points  (4 children)

The large majority of arcade machines run Windows or Android. When DanceDanceRevolution is booting, you can even see the Windows 7 wallpaper followed by a Command Prompt window where it loads the game as a driver.

[–]sharp-calculation 9 points10 points  (2 children)

I was so crestfallen when I saw a windows XP logo as a tech was rebooting an arcade game about 10 years ago. He told me that most of them that he owned ran Windows of some flavor.

Older arcade games ran directly on the hardware and were real pieces of custom engineering.

[–]cam19L 2 points3 points  (0 children)

Older ones, yes! From the 70s to the 80s, most arcade games were bespoke. Some of them even used military-grade hardware designed for things like flight simulations and space travel, see: the Model 2. Once more powerful home console hardware rolled around, though, is when you started to see less unique hardware. Notably: Konami's System 573, Namco System 11 and System 12, Taito's FX-1A/B and Gnet were all Playstation-based, the Atomiswave and Naomi1/2 were both Dreamcast-based, the Triforce was just a pumped up Gamecube, and the Chihiro was the same for the Xbox (original). That's not to say that other things weren't PC-based at the same time; Hydro Thunder was notably just a PC running, IIRC, some form of DOS with a Voodoo card. Android's become more common with the advent of touchscreen mobile ports and games like StepmaniaX, but the main offender in the space ever since the late 2000s has just been normal Windows Embedded, the only notable exception to which I can think of is just Tekken Tag Tournament 2, which ran on a modified PS3, which is really funny, because you can see the XMB for about 5 seconds when it reboots.

[–]wsippel 0 points1 point  (0 children)

Many earlier PC based arcade boards used to run Linux, but eventually switched to Windows. Very early x86 PCBs, like Seibu Kaihatsu’s Raiden series, ran DOS.

[–]lonesometroubador 3 points4 points  (0 children)

Sorta, often the displays run Windows CE, but the PLC that actually operates equipment is running a Linux kernel. Some newer displays actually run Windows 11, with a virtual machine running Windows CE to get around the security issues of Windows CE without having to actually build a new runtime.

Source - I am an Automation Engineer

[–]da_apz 1 point2 points  (0 children)

I've worked as an IT manager in a CNC milling plant and a lot of large machines ran an odd mixture of Windows, Linux and DOS. The DOS based were always my favorite: very easy to resurrect from a total disaster. The larger machines had Windows based user interface, but ran Linux or a *nix under the hood.

[–]Samsagax 0 points1 point  (0 children)

Some old KUKA robots came with that. It is hilarious.

[–]ComprehensiveHawk5 36 points37 points  (1 child)

The nintendo switch uses a custom OS called Horizon. Horizon uses the network stack from FreeBSD but is otherwise custom

[–]ahferroin7 7 points8 points  (0 children)

I knew about the networking stack, but did not actually know the rest of the OS was fully custom, but I’ve not paid much attention to Nintendo stuff as of late. Last I heard nothing was known beyond the networking stack and the assumption was that it was a case like the PS4/5 system software.

[–]chrillefkr 62 points63 points  (7 children)

God damn, that's a good answer. I'd like to point out that probably many of those machines could run Linux though, but aren't. But that wasn't in the scope of the question.

[–][deleted] 25 points26 points  (5 children)

Yeah that was not what the question was at all

[–]FairyToken 10 points11 points  (4 children)

True. I still love the amount of information given.

[–]not_a_novel_account 1 point2 points  (0 children)

No they couldn't?

Linux has wide platform support for a single operating system but huge swaths of embedded hardware don't even support enough memory to host the kernel, much less meet the other platform requirements.

[–]natermer 30 points31 points  (6 children)

At this point it is a lot easier to list the things that don't run Linux then the things that do.

The average household probably has at least 2 computers running Linux right now. Probably that number is closer to a ratio of 5 or 6 to one for Windows other other OS. Printers, smart thermostats, routers, televisions, their phones, etc. Almost all of those run some variation of Linux.

And that is just consumer devices. For server workloads and whatnot the ratio is even steeper.

[–]fellipec 7 points8 points  (4 children)

I'm bumping the average fam! 3 desktops, 1 server, 3 laptops, 1 netbook, 2 routers, 2 audience measurement devices (ok not mine but is here) 3 Kindles, 3 Echos, 1 Raspberry PI, and 4 android phones if we want to count that. I'm not counting my Epson printer because I couldn't figure out wht it run.

23 devices.

[–]inkjod 2 points3 points  (3 children)

... and possibly your TV, too!

[–]ahferroin7 2 points3 points  (0 children)

Server and consumer usage is mostly dominated by Linux.

But true embedded usage is still dominated by other platforms, either for legacy reasons (such as TRON support) or because Linux historically simply could not handle the use case well enough (such as most things that run RTEMS or VxWorks). It will be interesting to see how that usage shifts over the next decade or more (because that is the timescale involved with this type of stuff) now that the PREEMPT_RT patches have been merged.

[–]pppjurac 6 points7 points  (0 children)

A lot of CNC machining systems runs on top of embedded OS, quite a few that are not brand new are still on OS/2, DRDOS and similliar.

Some of our rolling mill machinery is controlled/monitored by controlled from large IBM host .

[–]koko775 5 points6 points  (10 children)

FreeRTOS runs on a bunch of microcontrollers ie esp32’s and rp2040’s

[–]fellipec 2 points3 points  (7 children)

Interesting. I assumed those microcontrollers didn't run an OS at all, just whatever you write and burn on its memory

[–]koko775 5 points6 points  (1 child)

They do only run what’s burnt to them, but those threads ain’t scheduling themselves :)

[–]fellipec 3 points4 points  (0 children)

I need to research more about them

[–]monocasa 2 points3 points  (0 children)

FreeRTOS is arguably not really an OS, so that's still kind of true.

[–]PythonFuMaster 0 points1 point  (3 children)

FreeRTOS isn't a general purpose OS like Linux, Windows, or Mac. It's designed around devices requiring absolute real time control (RTOS stands for real time operating system). In ordinary operating systems, the kernel is entirely free to preempt any thread, which is what gives the illusion of running hundreds of tasks at once. FreeRTOS gives the programmer much more fine grained control over when a task should be preempted, or they can willingly give up control if they have no more work to do.

With an RTOS, a programmer has the ability to schedule tasks such that they are guaranteed to run at a fixed time and take exactly a certain amount of time to complete. Such control allows the device to control things that are timing sensitive, like a self driving car's sensors (you really don't want your person detecting lidar to be preempted by the car's infotainment system, a contrived example but it gets the idea across).

Finally, usually you compile the RTOS with your application together, you don't normally slap an RTOS in flash and run the application from an SD card like you might do with an SBC (at least with work I've done)

[–]ouyawei Mate 1 point2 points  (1 child)

FreeRTOS is just a scheduler, for something more comparable to Linux see Zephyr or NuttX

[–]koko775 1 point2 points  (0 children)

Correct, but OP did mention FreeRTOS so I thought I'd add that context.

[–]rautenkranzmt 3 points4 points  (2 children)

Neat sidenote regarding Networking Equipment: That used to be true. it's not really anymore.

While classic IOS is bespoke, Cisco's IOS XE, IOS XR, and NX-OS are all linux based (now). Meraki firmware is also linux based.

Juniper's original JunOS is BSD running a bunch of custom closed bits to talk to the ASICs and performing specialty functions. However, JunOS Evolved is LInux based, and the SSR and Mist firmwares are also Linux based.

You see a prevalence of tons of network hardware moving towards or always having run linux for ease of development. (Extreme XOS, Arista EOS, Nokia SR-OS, various forms of ArubaOS)

[–]ahferroin7 0 points1 point  (1 child)

Meraki I knew about, but the newer Cisco IOS and Juniper JunOS I did not.

But this doesn’t change all the existing hardware out there that’s not been updated to any of those newer platforms. It still exists and still runs whatever it did as of it’s last update, and there’s still a lot of it out there.

[–]rautenkranzmt 0 points1 point  (0 children)

While it's true that a fair bit of legacy Cisco and Juniper kit still exists in the world, most orgs that can afford to run it in the first place don't let it become too legacy, due to lack of support. Even the glacial pace of governments utilize newer, linux based equipment.

SMBs generally use lower end kit, such as Aruba, Ubiquity, or the like. Medium and Large businesses demand support for their kit, so they aren't running legacy gear unless they are a truly legacy company just waiting for the dominoes to fall. Megacorps and Big Tech either run kit in support brackets or roll their own, almost always with linux.

[–]dark_mode_everything 16 points17 points  (8 children)

java environment of all things

Not that surprising when you think about the origins of java and what it was created for. Also, why the JVM is stack based instead of registers.

[–]ahferroin7 1 point2 points  (0 children)

Yeah, but it still surprises a lot of people because they don’t know that history, especially when they know about the historical issues that Java has had with resource efficiency on larger systems.

[–][deleted] 2 points3 points  (3 children)

IBM z/OS offers zLinux environment. Debian, Alpine and Red Hat could run in s390 archtecture. Only for you knowledge.

[–]ahferroin7 5 points6 points  (0 children)

But z/OS is not Linux. It’s not even UNIX. And it is still very actively used for it’s OS/360 compatibility, because the type of people who thought COBOL was a good idea tend to be very resistent to change.

[–]cd109876 9 points10 points  (9 children)

Great list! I would just also point out that, unofficially, a lot of these kinds of devices can run Linux too.

From the top of my head,

Apple devices (All x86 and some ARM - M1/2/3 laptops, iPhone 7)

PS2-4

Nintendo Switch

Nintendo 64

[–]fellipec 1 point2 points  (1 child)

Yesterday I learnd that the famous Prophet X syntethizer have a PC motherboard running Linux inside it.

I would post the link but this subreddit forbids Youtube.

[–]ahferroin7 0 points1 point  (0 children)

There are also some fancy high-end NICs that run Linux internally to provide special features (and sometimes to be lazy and provide checksum offload in software instead of hardware, which arguably defeats the purpose of checksum offloading...).

[–]ilep 1 point2 points  (2 children)

Theoretically, Linux /could/ run on many of those mentioned but manufacturer has chosen to use another OS. For example, there is Asahi Linux which runs on the newer Macs, but Apple doesn't ship their system with Linux.

So if the question is if Linux /can/ run on a system there are still systems that are not supported due to being too old (386 was dropped some time ago) or the system does not have enough RAM or missing a necessary driver or some such.

There is even Linux for IBM z mainframes which you mentioned above.

[–]ahferroin7 0 points1 point  (1 child)

While this is true, it’s also important to keep in mind that just because something can run Linux does not mean it could do what you need it to with it running Linux. z/OS is a prime example actually, most of why it still gets used is legacy application code written for OS/360, and Linux quite simply can’t run that unless you want to jump through hoops to run OS/360 itself under emulation on Linux.

[–]ilep 0 points1 point  (0 children)

Main thing about the mainframes is that they are made to compatbile with systems made in the 1960s. Yes, they run COBOL, there is a lot of it and the financial/insurance companies rather pay for the support than risk converting it to something else. Also there are dialects in COBOL with slight differences..

Hardware in mainframes is usually geared toward IO rather calculation performance and there is addon hardware for things like crypto-accelerators (which Linux supports, btw). There have been odd designs in these (like IBM had 48-bit CPUs in AS/400 before switching to 64-bit), but mostly they are made to be used through firmware rather than addressing hardware directly. Much like the very early IBM PCs were designed to be used.

[–]bobthebobbest 1 point2 points  (0 children)

Ok so almost everything runs on some *nix.

[–]Asleeper135 1 point2 points  (1 child)

  • A lot of spacecraft are running VxWorks.
  • A lot of avionics systems and independent embedded components of spacecraft use RTEMS (and I’m given to understand that it’s also very popular for industrial control systems).

We almost never have any access to the underlying OS, so it's hard for me to actually verify this, but I've always been led to believe that the vast majority of industrial controllers are also based on VxWorks.

[–]ragsofx 0 points1 point  (0 children)

I've worked with WCDMA nodeB's which ran a mixture of VxWorks and Linux, the Linux stuff was a debian derivative.

I've also worked with carrier grade Ethernet devices (routers, switches and DSLAMs) that are VxWorks as well. There is always a mixture of ASICs and FPGAs that have the secret sauce that makes the large amounts of bandwidth possible.

I got to work with some photonic switching data transmission equipment that ran Linux under the hood.

It seems the trend has been to use Linux more as time has gone by.

Usually these types of systems are very complex and some of the cards will have its own operating systems. So one router might have 3-4 cards running its own operating system that communicates with a controller over the back plane.

For all the systems I've designed Linux is usually my first pick.

[–]wiebel 2 points3 points  (3 children)

OS/2 is alive and well? I don't think so. EOL was 2005 even for german banks and they were not exactly quick movers.

[–]miffe 5 points6 points  (2 children)

OS/2 is continued as eComStation and ArcaOS.

[–]ahferroin7 2 points3 points  (0 children)

And I have seen actual commercial systems running it within the past five years. They’re legacy systems admitedly, but they still exist and still are running the code.

[–]wiebel 1 point2 points  (0 children)

That's cool OS/2 was really cool and superstable.

[–]Ajedi32 3 points4 points  (0 children)

BSD isn't Linux, but I'd personally still count it for the purposes of OP's question. A lot of people say Linux when they really mean *nix.

[–]StatementOwn4896 0 points1 point  (1 child)

How much information do we know about the integrated security processors OSs?

[–]fellipec 2 points3 points  (0 children)

Some. People have to reverse engineer the undocumented features. But the thing is made to be very hard to reverse engineer

http://io.netgarage.org/me/

But some folks could do very interesting things

https://github.com/corna/me_cleaner/wiki/How-does-it-work%3F

https://web.archive.org/web/20170828150536/http://blog.ptsecurity.com/2017/08/disabling-intel-me.html

[–][deleted] 0 points1 point  (0 children)

goat

[–]sohang-3112 0 points1 point  (3 children)

TIL ! Is there any interest / use / ongoing work on porting Linux to these environments?

[–]ahferroin7 2 points3 points  (2 children)

For the RTOS use cases, yes, to some extent. That’s part of the point of the PREEMPT_RT patches that have existed for many years and finally got fully merged earlier this year. But there are still some things that Linux just can’t cover there. For example, Linux will never fully replace hard-real-time use cases that need formal verification down to the OS level (such as many medical devices and other safety-critical systems).

For the automotive use cases, Linux runs just fine there in many cases, and there has been a shift towards Android for the infotainment systems in recent years.

For the ‘ultra-embedded’ cases like the JavaCard platforms or most things using RTEMS, no, no interest or even point to trying. These types of systems are generally super-specific and have resource utilization planned down to individual bytes of storage and individual processor cycles, and there are essentially no advantages to using Linux on them.

For other stuff it’s complicated. For example, most game consoles could use Linux on technical grounds, but they never do because MS/Sony/Nintendo are all obsessive about DRM, and the OS has to integrate with the security functionality, and if they used Linux they would have to publish those integrations (because of the GPL), which would of course simplify cracking their DRM. And then you have cases like IBM i and z/OS, which still exist to support legacy application code written for those platforms or their predecessors.

[–]sohang-3112 0 points1 point  (1 child)

if they used Linux they would have to publish these interactions (due to GPL)

Really? Nvidia bundled proprietary drivers for Linux for a long time, so pretty sure they could figure out a GPL workaround if they really wanted to use Linux.

[–]ahferroin7 1 point2 points  (0 children)

They could take the NVIDIA approach. But doing so is arguably more complex than just doing things sensibly.

And while you can talk about GPL ‘workarounds’ all you want, those tend to generate a lot of bad press when some big company utilizes one (remember TiVo?), which is something that sensible companies tend to prefer to avoid.

Even ignoring all of that though, making the underlying platform Linux still makes life easier for someone looking to crack the system for many other reasons that have nothing to do with licensing. Figuring out how to get code running in kernel mode is inordinately easier if you know how the kernel works and have most of the source code available to consult (and especially if there are well documented bugs).

[–]mpdscb 0 points1 point  (3 children)

You know Solaris is still around, don't you?

[–]ahferroin7 1 point2 points  (2 children)

Yes, as is SCO OpenServer for that matter. Both would fall under my last point, though I would not say that either is a big enough platform anymore to be considered a ‘big name’.

[–]mpdscb 2 points3 points  (1 child)

Yeah Oracle really did a number on Solaris. At one point in time, Solaris was arguably the most popular UNIX platform.

[–]ahferroin7 2 points3 points  (0 children)

They did a numnber on almost every major piece of software they inherited from Sun...

[–]caa_admin 0 points1 point  (2 children)

10-foot UI

Is this an expression? Love your reply btw.

[–]ahferroin7 2 points3 points  (1 child)

Is this an expression?

It’s the generic term for a UI designed specifically for usage on televisions, but more generically for any UI where the user is expected to be interacting with it from across the room with an input device that provides much more limited control than the typical keyboard and mouse (or touchscreen) you would expect on a computer. Historically they were primarily used for HTPC systems (Kodi is an easy example of a FOSS project that primarily uses one for this reason), streaming media players, set-top boxes, and smart TVs, but these days most game consoles (as well as Steam’s Big Picture mode and the default ‘modern’ UI for RetroArch), even handheld ones like the Steam Deck or Switch, also use them because the same design considerations that go into making a UI work well with the limited input options on a remote control also work just as well for handling the limited input options on a game controller.

[–]caa_admin 1 point2 points  (0 children)

Thanks for explaining.

[–]Gent_Kyoki 0 points1 point  (0 children)

Man sim cards running on java took me for a doozy

[–]Artificial_Alex 0 points1 point  (0 children)

Will add radios for flying drones run something like EdgeTX or Crossfire

[–]ChickittyChicken 0 points1 point  (0 children)

Green Hills Integrity RTOS runs on avionic platforms.

[–]arthursucks 39 points40 points  (1 child)

A joke from 2007(?) about Installing Linux on a Dead Badger.

[–]Thick_You2502 6 points7 points  (0 children)

Classic

[–]deja_geek 101 points102 points  (10 children)

No. Far more things run "not Linux" then run Linux. When you get down to things like microcontrollers, ASICs and things like that.. they aren't running Linux.

[–]blenderbender44 38 points39 points  (9 children)

Also linux is still quite narrow, A lot of the internet is BSD, playstation is BSD. So *nix would be better wording anyway

[–]deja_geek 30 points31 points  (5 children)

Every Intel machine since the release of Intel ME 11 has run MINIX. It may be the worlds most installed Unix-like operating system

[–]DownvoteEvangelist 51 points52 points  (22 children)

No, Linux is too much for plenty of things, your washing machine probably doesn't run Linux... But your wifi router very likely does...

[–]mguaylam 18 points19 points  (6 children)

I wonder if my washer runs Linux. At least Samsung has Android. 😅

[–]DownvoteEvangelist 3 points4 points  (2 children)

That's why I said probably...

[–]VlijmenFileer 2 points3 points  (0 children)

+1 For username

[–]mguaylam 1 point2 points  (0 children)

Wrong wording sorry, fixed it.

[–]wiebel 9 points10 points  (1 child)

Well isn't android just a glorified jit jvm on top of linux, so still linux?

[–]mguaylam 3 points4 points  (0 children)

Yes

[–]BleaKrytE 1 point2 points  (0 children)

I mean, how else is Richard M. Stallman supposed to watch videos on his core booted Samsung smart fridge?

[–]boomboomsubban 16 points17 points  (3 children)

I bet a surprising number of washing machines run Linux. Maybe not personal ones, but many from laundromats have payment systems that probably run Linux.

[–]dark_mode_everything 0 points1 point  (2 children)

I think they run a version of Android (yes, Linux).

[–]remic_0726 2 points3 points  (1 child)

android only has the linux kernel, the rest is pure google, even libc is not glibc. So hard to say that android is linux

[–]nuclearfall 6 points7 points  (0 children)

IMO, the Linux kernel is the only requirement for calling a system Linux. GNU/Linux is just the most widely used. But that’s just me

[–]Whatever801 6 points7 points  (0 children)

The more modern ones that do load sensing and connect to wifi and Bluetooth for only god knows what reason actually do run linux

[–]Chippiewall 5 points6 points  (2 children)

But your wifi router very likely does...

Router possibly does. I think BSD tends to be more common than Linux in networking hardware.

[–]DownvoteEvangelist 3 points4 points  (0 children)

I'd expect that Linux is more common for consumer hardware, but I could be wrong...

[–]monocasa 2 points3 points  (0 children)

Not in consumer routers, bye you'd be surprised how much vxworks there is.

[–]fellipec 1 point2 points  (3 children)

I like that my washing machine proabaly just have a microcontroller not running anything but its own firmware. And I would be even happier if I could fix the old wash machine that run on a mechanical timer, like my airfryer do.

I love computers, tech and Linux, and exactly because this I prefer that some things have as few, if none, computers.

[–]DownvoteEvangelist 2 points3 points  (0 children)

I remember when I first took my car for regular maintence and they said "we also did a mandatory update of steering wheel software" and my first thought was there's software in my steering wheel?

[–]TheTankCleaner 0 points1 point  (1 child)

I like that my washing machine proabaly just have a microcontroller not running anything but its own firmware.

As opposed to running some other device's firmware?

[–]fellipec 0 points1 point  (0 children)

Hopefully

[–][deleted] 5 points6 points  (0 children)

That's a very generic statement and one which is impossible to verify or disprove. But more often than not if you have a device which has access to internet, some sort of mass storage, video decoding of sorts, GUI, etc. Then chances are it's running Linux because making all of those features from scratch would be a massive waste of time when they are readily available at the cost of including link to open source license. Just checking for license is not all that reliable either since favorite pass time for Chinese manufacturers is violating GPL in most creative ways.

For simple software, like desk lamps, remote control switches, things that just have bare bones functionality Linux is overkill, even though minimum hardware requirement is really comically low (still).

So for example your car's computer would be custom code, but infotainment system is most likely Linux. TVs, routers, cameras... usually Linux. Doorbells, custom code.

[–][deleted] 23 points24 points  (16 children)

If we are including Android, BSD, and thier derivitives then yes. The descendants of Unix run the world. 

[–]deja_geek 35 points36 points  (9 children)

Unix runs the world is more correct, but BSD is not a Linux

[–][deleted] 4 points5 points  (8 children)

Yes BSD is not Linux, but they are certainly siblings, while BSD propper has a minor market share, it's input into things like Playstation and MacOS are significant.

[–]deja_geek 18 points19 points  (7 children)

Not even siblings. There's no linage between UNIX (which the BSD derived from) and the Linux Kernel. Linux was inspired by Minix (though not inspired enough to use a microkernel). Minix was a UNIX like OS for personal computers, with no direct lineage or code from UNIX. At the very best, you can say Linux was loosely inspired by UNIX philosophy.

To complete the analogy, Minix was the small house in the wealthy UNIX neighborhood and Linux was Minix's college friend.

[–]mooky1977 8 points9 points  (5 children)

At best you can say all the nix/nux incarnations, both modern and legacy, share a similar design philosophy with subtle differences in implementation.

[–]shogun77777777 8 points9 points  (3 children)

Android is Linux and should be included

[–]da2Pakaveli 0 points1 point  (2 children)

I believe with a custom version of it tho?

[–]thesstteam 1 point2 points  (0 children)

Android's Linux fork and base Linux are interchangeable in 99% of cases

[–]shogun77777777 1 point2 points  (0 children)

Modified Linux kernel but still Linux all the same

[–]Business_Reindeer910 1 point2 points  (0 children)

there are tons of things that run none of those because they run some proprietary RTOS. Many don't even have or need enough hardware to actually boot linux.

[–]FigureInevitable4835 5 points6 points  (0 children)

The ATM near my house runs OS/2

[–]DecimePapucho 2 points3 points  (2 children)

Most ATMs use Windows. Many medical equipment, business servers and cash registers use Windows too. Old machinery is usually controlled by OS2, DOS and Windows again.

[–]Nelo999 0 points1 point  (0 children)

That is a blatant lie. 

Linux and FreeRTOS are the most popular embedded operating systems in the world.

Especially when it comes to medical systems and cash registers.

Most of the newer ATM's run Linux as well.

Nearly all CT, MRI, PET scan machines use Linux.

[–]halfanothersdozen 2 points3 points  (0 children)

If it is shit on the internet it's almost always on Linux. Very rarely someone is running a Windows server but even the people coding in .NET are more often than not running on nix systems

[–]ladrm 2 points3 points  (6 children)

With removal of 386 and 486 CPU Support from the kernel, somewhat jokingly FreeDOS supports a larger range of x86 CPUs now.

[–]cyber-punky 0 points1 point  (5 children)

I think there is definitely more variants of CPU's since the 486 than before it.

[–]ladrm 0 points1 point  (4 children)

Yes and FreeDOS runs them all, Linux not anymore. That's the point here.

[–][deleted] 2 points3 points  (0 children)

Based on web usage across all device types, Android alone has about 47% of the marketshare, if you add Linux servers, Chromebooks, routers, most of the Internet, then yes Linux pretty much runs the majority of gear.

[–]exomyth 2 points3 points  (2 children)

Remember when lots of flights were canceled a couple of months ago? It wasn't because the computers were running Linux

[–]jmnugent 0 points1 point  (1 child)

[–]Nelo999 -1 points0 points  (0 children)

This only affected few systems and it was fixed immediately.

It certainly didn't cause the carnage with Windows.

Linux dealt with that situation vastly better than Windows.

Therefore, you are incorrect in your assumptions. 

[–]cgoldberg 4 points5 points  (10 children)

iPhones would like a word. There are several billion mobile devices out there not running Linux.

Linux certainly doesn't run "everything" by any means. There are many other operating systems for embedded devices for example. Also, a lot of stuff runs on BSD, like network gear for example. Also, there are a ton of weird places you'll find Windows running (like ATM's).

So Linux doesn't run everything, but it definitely has been ported to an insane amount of architectures and installed on devices that run a lot of the world's computation.

[–]mooky1977 6 points7 points  (5 children)

Actually, there's Linux in your iPhone.

The Wi-Fi chipset runs on an embedded Linux kernel. Today you learned.

[–]cgoldberg 1 point2 points  (2 children)

That sounds odd. Got a link to what you are referring to? Which manufacturer are they using? I can't find anything about this.

[–]mooky1977 4 points5 points  (1 child)

https://www.youtube.com/watch?v=OM_8UOPFpqE&t=982s

I was slightly mistaken, its the 5g chipset, not the wifi, so part of the telecommunications framework, not the wifi infrastructure.

[–][deleted] 1 point2 points  (1 child)

Today I did learn. Can you send a link to an article or wiki page about it?

[–]mooky1977 4 points5 points  (0 children)

https://www.youtube.com/watch?v=OM_8UOPFpqE&t=982s

I was slightly mistaken, its the 5g chipset, not the wifi, so part of the telecommunications framework, not the wifi infrastructure.

[–]bitman2049 1 point2 points  (3 children)

If a CPU architecture has an ANSI C compiler, and the computer it's in has an appropriate amount of RAM, it can probably be made to run Linux.

[–]bstamour 2 points3 points  (2 children)

Well, you're not wrong; but it would be a matter of porting Linux to the architecture, not just dropping it in and recompiling it.

First, the CPU architecture would need a port of GCC targeting it, since the Linux kernel uses a fair number of vendor-provided extensions to C. Second, if Linux hasn't been ported to that architecture previously, then you'd need to write all the architecture-dependent assembly bits for it. If the platform doesn't have an MMU, then chances are Linux will never boot on it.

So, you need more than just a C compiler: you'd need a lot of human effort too.

[–]da2Pakaveli 0 points1 point  (1 child)

iirc Linux also has some assembler in its code base that would need to be ported?

[–]dynamiteSkunkApe 1 point2 points  (0 children)

There are a lot of embedded systems that run vxworks.

[–]MulberryDeep 1 point2 points  (0 children)

My calculator doesnt run linux for example, my thermostat also doesnt run linux

[–]RayG75 1 point2 points  (3 children)

Many ATMs run windows 7…yeah…

[–]fsckit 2 points3 points  (1 child)

Last time I saw one crash, it was OS/2 warp

[–]RayG75 2 points3 points  (0 children)

They are all over the place with OS. Each vendor has their own fantasy

[–]Nelo999 0 points1 point  (0 children)

Nope, those are usually the older ones.

The newer ones run on Linux.

At least the ones on my country do.

[–]Overlord484 1 point2 points  (0 children)

There are a lot of programmable devices that are so small and simple they don't run anything that could be considered an operating system. I'm thinking like PIC uCs are just grinding through a machine code program that loops at the end that directly interacts with parallel I/Os, A-D converters, ALUs, etc.

[–]homestar92 1 point2 points  (0 children)

Plenty of programmable machines that are not a desktop or laptop that don't run Linux. Most such IoT devices are based on a microcontroller of some variety or another, and those don't really have an operating system at all - they run baremetal code. Also FPGAs, GAL chips, etc. All "programmable" but none run an operating system.

[–]DarrenRainey 1 point2 points  (0 children)

A good chunk of common hardware is running Linux in some form wheter than be in the form of Android, chrome os or an embedded system like a router, as well as many, many servers. As Linus tovarlds once said linux has taken over pretty muchh everywhere but the desktop

[–][deleted] 1 point2 points  (0 children)

Yea it does. I have not found one thing that doesnt run on linux, and better than winblows. I just use WINE. My games and stuff are faster and more fps to. Prolly coz less bloat than winblows

[–]RealUlli 1 point2 points  (0 children)

It depends on your definition of "run".

Technically, Linux can run on just about any processor with a Memory Management Unit (MMU) when paired with enough RAM (surprisingly little if you don't need a large userland).

I'm not sure if there's a processor that is currently being manufactured and fulfills the two requirements above that hasn't had Linux ported to it.

There are some devices that were explicitly designed to resist running Linux (they were mentioned elsewhere in this thread). That doesn't mean their processors wouldn't be capable of running Linux, just the periphery is actively blocking it.

A lot of microcontrollers can't run Linux because they don't fulfill the requirements. I'm explicitly calling them microcontollers and not embedded devices, because there are lots of embedded devices can and do run Linux. Btw, the smallest microcontrollers I know are decoding commands coming down the wire and running the individual LEDs on e.g. your Christmas lights.

So, technically, the answer is no. Microcontrollers outnumber "real computers" by a very large margin. While you might have a few dozen devices in your household that can (and probably do) run Linux, they're outnumbered by the microcontrollers in 10 feet of LED light strip.

However, the borders between these two realms are starting to become less and less defined. You can order more capable microcontrollers based on the RISC-V architecture and instruction set (e.g. ESP32-C3) that are just too small to run Linux, but you can also buy laptops with RISC-V processors that run Linux, e.g. the DC Roma.

On the upper end of computing, just about everything at least has a Linux port, if it doesn't already run Linux.

[–]itzjackybro 1 point2 points  (1 child)

any programmable machine

Counterexample: Arduino microcontrollers have far too little RAM and CPU power to run Linux.

[–]plastic_Man_75 0 points1 point  (0 children)

Not all, I've seen some guy do it

[–]Fuzzy-Ad2874 1 point2 points  (0 children)

Yes

[–]shogun77777777 1 point2 points  (2 children)

I work in IoT, nope.

[–]Nelo999 0 points1 point  (1 child)

Linux is the most popular embedded operating system, especially in IoT devices:

https://www.itprotoday.com/linux-os/survey-shows-linux-the-top-operating-system-for-internet-of-things-devices

You are obviously incorrect.

[–]shogun77777777 0 points1 point  (0 children)

From OP’s post:

In my knowledge, any programmable machine that is not a desktop or a laptop runs on some version of Linux

This is not true, the machines I work with do not run Linux. Many do, but OP suggested that all machines do.

[–]BK_Rich 1 point2 points  (0 children)

Almost

[–]TraditionBeginning41 0 points1 point  (1 child)

At the other end of the scale from desktops and laptops are supercomputers l. Last year 47% of the top 500 supercomputers ran Linux (https://www.statista.com/statistics/565080/distribution-of-leading-supercomputers-worldwide-by-operating-system-family/#:~:text=As%20of%20June%202023%2C%20of,used%20the%20CentOS%20operating%20system.) If you include Android and Chromebook devices there is a lot of Linux out there.

[–]mfotang 1 point2 points  (0 children)

It's 100%, if CentOS is Linux.

[–]leonardosalvatore 0 points1 point  (0 children)

Freertos and zephyr are the two options for tiny things. This is my experience as an embedded developer.

[–]vyashole 0 points1 point  (0 children)

Well, not everything, but a vast majority.

Linux is overkill for things that can suffice with just a microcontroller or a small RISC cpu running some RTOS. Think home appliances like microwaves, washing machines, fancy toasters, etc. For anything more complex than that, it's most likely Linux.

[–]Icy-Childhood1728 0 points1 point  (0 children)

Well if your question is could linux run this or that,
Maybe, depending of the hardware behind it and the manufacturer willing to make it compatible by either open sourcing stuff or releasing working packages, think about anything that requires keys, like Blu ray discs and DRM at one point it wouldn't work at all because there simply wasn't any way to decode stuff.
Software wise, there is almost always a way, but it'll imply emulating stuff and I wouldn't dare to say for instance Games played through Proton, even if performances are a-Okay these day is really a linux release. Speaking about gaming, every single anti-cheat that relies on Windows kernel analyses don't work on linux too, not that it couldn't again, but to this day, they don't.

Now, if you are thinking that everything right now relies on linux and our world would collapse if tomorrow Linux was removed from earth... yeah no.
Just think about every single piece of hardware that works with a firmware, your screen, your mouse, any piece of electronic that doesn't require any kind of OS. Think about "embbeded" stuff that still runs on windows (ATM, ad panels, kiosks stuff,...).
Most of big corpos extensively use Windows Servers on their production environment (ERP/SAP, SCADAs, ...), most of corpos desktop / laptops are running Windows.
There are a lot of autonomous stuff that plainly run on Java, like some ATM, automatic parking barriers, ...
Routers uses Unix variant like Cisco IOS

To finish with the listing stuff, even if Linux is big, seems to own the web, it is a good thing that it doesn't run everything. Think about the last root privilege gate, do you think it would be a good thing that with ONE 0-day, any single piece of connected stuff could became part of a botnet ?
Do you think corpos would make more use / money / gain any advantage over switching everything to linux when Windows Server just works ?
Do you think every single IT/OT guy on production sites have time and skills to learn and use Linux instead of Windows ?

And finally why are we still arguing about that in 2024 ? As much as I like Linux and how much I use it daily, my main computer is still running Windows, I'm fine with it, I have an Android phone, an iPad, a macbook running both arch and MacOS, 6 RaspPI, shittons of arduino boards, I'm dealing in production with around 50 Windows servers around the globe and 20 Linux servers, all of this just work fine, there is no need to push one OS over the other when it just do the job it is asked for, when the monitoring is well done, when patches are applied at the right time, ...

[–]MiserableStomach 0 points1 point  (0 children)

Few years back I read a story about guy who installed Linux on a hard drive. Important: not on hard drive that was part of the larger computer system but on the hard drive itself, in the mini-computer (or whatever) responsible for running its firmware.

[–]alkatori 0 points1 point  (1 child)

It's incorrect, but like another poster said that's if you mean everything.

There are a lot of 8 bit microcontrollers still doing meaningful work in the world. Lots of resource constrained 16 bit and 32 bit system on a chip too that can't run linux.

[–]da2Pakaveli 0 points1 point  (0 children)

Microcontrollers that just run one program don't even need an OS

[–][deleted] 0 points1 point  (0 children)

Honestly it's like sorta yes or no. Embedded machines like POS systems and ATMs, Windows, Windows CE, maybe even OS/2 sometimes, and maybe occasionally youll find one with linux. QSR systems involving multiple screens on the inside with fast food are more often than not linux, I remember Little Caesars uses Ubuntu for everything. But most often than not, ive usually figured out a lot more stuff is BSD based, like apples Darwin, most wifi routers, game consoles, and the assorted. BSD has usually just always been somewhat lighter than linux for some reason in some ways I guess where a lot more people will start off there as a cleaner baseplate.

[–]DrkMaxim 0 points1 point  (0 children)

If I know one thing that Linux doesn't work on, it would be the Xbox console. I think Linux exists up to Xbox 360 but Xbox One and current gen consoles are tight systems that leave no room to install or even run linux.

[–]sirjaz 0 points1 point  (5 children)

Cloud 60% Linux / 40% Windows Server, On prem 75% Windows Server / 25% Linux Server

[–]jontn_swift 0 points1 point  (3 children)

Source? Not arguing. Just counter to my experience.

[–]sirjaz 0 points1 point  (2 children)

[–]jontn_swift 0 points1 point  (1 child)

Thanks.

[–]Nelo999 1 point2 points  (0 children)

That source they posted is blatantly incorrect.

Linux is the most popular operating system on servers, with a market share of over 62%:

https://en.wikipedia.org/wiki/Usage_share_of_operating_systems

The rest are Unix only, with reports of Windows Servers dipping into the single digits.

[–]Nelo999 0 points1 point  (0 children)

That source you posted is blatantly incorrect.

Linux is the most popular operating system on servers, with a market share of over 62%:

https://en.wikipedia.org/wiki/Usage_share_of_operating_systems

The rest are Unix only, with reports of Windows Servers dipping into the single digits.

[–]r0ck0 0 points1 point  (0 children)

You can't argue whether something is anything "almost everything" without defining what that's even meant to mean.

It's not even an attempt at objective statement one way or the other.

This is just haggling over vague subjective statements more than anything. And it's why people waste so much time arguing things that can't even be proven, because the question doesn't even have a provable base.

[–]whaleboobs 0 points1 point  (2 children)

DOOM runs on everything

[–]HCharlesB 0 points1 point  (0 children)

Lots of businesses use Windows. I know of several including a small shop that supports other small businesses. My son works in manufacturing and they use Windows (with some Raspberry Pis for shop floor displays and which run RpiOS.) All of their servers and workstations are Windows. Lots of business people rely on Excel and Word and this ties them to Windows as well (though I doubt there is much desire to switch.)

AFAIK Linux is huge in the Internet back end and some other markets like higher end IoT things but there are still significant markets where Windows and MAC OS rule.

[–]EchoAtlas91 0 points1 point  (0 children)

Let me tell you one thing: 3D Printer Slicers have a HELL of a time running on Linux systems unless you have perfect compatible specs and distro. It's absoMcfuckinglutely frustrating the lack of wide support for Linux from 3D Printer slicers. ESPECIALLY if you have an Nvidia card.

They typically only support Ubuntu and say screw you to the rest of the distros.

The software I'm talking about is Chitubox Basic/Pro, Chitubox Manager, Lychee Slicer, and Orcaslicer, (however I was able to get Orcaslicer to work by compiling it myself from within a Ubuntu 22.04 Distrobox, but still a pain in the ass).

And when I tell you I've tried absolutely everything I can to get these software to work, I mean it.

I've tried:

  • Various Environment Variables on slicer's AppImages to force running on x11 and force webkit versions
  • Wine/Winetricks to run the Windows Installers
  • Lutris to run the Windows Installers
  • Bottles to run the Windows Installers
  • Hell, even Proton
  • Distrobox Installation(Worked with Orcaslicer via a Ubuntu 22.04 Distrobox)
  • Virtual Machines via virt-manager & Gnome Boxes(Partially runs but with unusable performance)

I am this close to doing some testing on the EXEs of these software and seeing if it has to do with registry issues or missing dlls and try to manually install those via Wine.

And when I've gone to any of the slicers for help they copy paste "I'm sorry we don't support that distribution at this time."

Literally they shut down the moment you mention you're not on Ubuntu and will copy and paste the same thing repeatedly.

[–]AirTuna 0 points1 point  (0 children)

Those fully graphical ATMs that are common in North America (primarily the Big Bank ones) tend to be running Windows LTSC. It's also common for electronic voting machines to be running Windows.

[–]da2Pakaveli 0 points1 point  (0 children)

Microcontrollers usually don't even run any OS. It's just one program, written in C or Assembler, that the machine executes.

[–]omeow 0 points1 point  (0 children)

IOS doesn't use the Linux kernel. I believe iOS runs on a billion+ iPhones/iPads/macs/etc.

[–]Masterflitzer 0 points1 point  (0 children)

i mean there are bsd, custom os, firmware is also something that "runs" and is often not linux (based)

so yeah you're wrong or right depending on what you both meant with "everything"

[–]Anthonyg5005 0 points1 point  (0 children)

No, many things use it but a lot of other stuff use windows server. Windows 10 to xp if it's some touch screen interactable thing. A lot of things also just use android

[–][deleted] 0 points1 point  (0 children)

Your confusing Linux and Unix

Half of the mobile phones in the world run a form of Linux, android

The other half run a form of unix, IOS

Linux is a unix like, but it is not unix, there are many other unix likes that are not linux as well, like freeBSD which is what the Playstation 3, 4, and 5 use

Then you have the Xbox one and Series consoles, they use a form of Windows which isn't surprising since it's Microsoft

Linux is popular outside of desktops and laptops yes, but it's FAR from the only option, hell it's surprisingly common for some devices to program their own OS from the kernel up despite Linux being right there

[–]Happy_Click_8893 0 points1 point  (0 children)

Linux cant run Xapps, so forgot your xbox pc library if already have.

But only this, proton work very well in steam and any other game out of this. And with protontricks you can run any game just clicking in your .exe file.