• voluntaryexilecat@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    9
    ·
    1 year ago

    Well, NASA trusts Linux enough to send it to Mars. They build rockets, so it should be good enough for flying busses. Unless you don’t trust your software engineers, but then having them build a custom microkernel OS instead sounds not much better.

  • Skunk@sh.itjust.works
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    What ?

    I work in ATC (air traffic control) and everything runs on Linux, from radars correlation to flight data processing.

    And it’s not just us, most Air navigation service provider in the world works the same way.

  • taladar@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    I agree that a small, special purpose OS would probably be more suitable for safety-critical systems. On the other hand I highly doubt that the safety-culture is better at Boeing than in the Linux ecosystem.

  • fermuch@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    The only real “problem” would be the lack of certifications, which are quite hard to get.

    Real Time Operating Systems (RTOS) are normally used for these tasks, but, AFAIK there are already projects using linux with patches to make it run a RTOS kernel.

    In my opinion, I think it all depends on what part of the plane it is running. If it is a core sensor, providing real time data, it makes a lot of sense to use a RTOS. It needs to prove it can run its tasks on time, and the scheduler needs to be understandable. There’s also a lot of overhead with running a full OS with processes, which don’t make sense for a sensor which only function is to provide data over a CAN/LIN bus.

    But, for other things, like dashboard visualizations, music for the aircraft, entertainment, and those non-critical-realtime needs, then it makes a lot of sense to run linux. After all, you’d get access to a lot of already built software and a working dev environment.

    And don’t get me wrong, this is clearly BS from boeing to keep selling their closed source software. There are already open source RTOS systems, like FreeRTOS. I do not mean to keep those real time systems closed, but to use a full OS where it makes sense and a RTOS where that makes more sense. Both open source!

    • solidsnail@programming.devOP
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      That makes sense, and yeah I imagine the problem isn’t the entertainment system.

      I just don’t get the the last paragraph. I don’t know if using Linux affects their code being OS or not. If they’re just running it on top of Linux and not modifying it, it probably won’t be a GPL violation to keep it closed.

    • blarbasaurus@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      For avionics, I doubt that they would use a traditional os. As far as I’m aware, Microsoft doesn’t have safety-certified builds of Windows with a real time kernel. Certifying a Linux build would also be a huge and costly endeavor. What they are likely using is a certified RTOS, like Vxworks, RTEMS, ThreadX, SafeRTOS, etc., or even Ada with the Ravenscar profile. You don’t really “develop” applications for these, you instead incorporate them as libraries inside your application and compile the RTOS into your application, and then run it on bare metal. Infotainment systems on the other hand will use more traditional OSes.

      A lot of the presentation seems to be rather typical of the aerospace industry, which is all about safety. Im not too convinced that this is due to Boeing being Boeing, but rather that DO-178 compliance is a bitch, ITAR can be another bitch, and certifying not only a single build of the Linux kernel but also an entire distro build will be a superhuman effort. At best it’ll take a long time with a sizeable team. Not sure that would Boeing be filling to fund that.

      • a_statistician@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Yeah, coming from nuclear, all of the buzzwords make sense. Ofc, nuclear has decided blindly trusting windows for everything is cyber security so… 😂😭

    • solidsnail@programming.devOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I doubt they run on windows tbh. If they take issue with with monolithic design of Linux, then windows would be an even bigger problem.

      Also, most of the devices in question are probably small controllers, incapable of running windows. (Microsoft are struggling to run it on arm so…)