Live data from Hacker News

How to avoid a BSOD on your 2B dollar spacecraft

clarkwakeland.com

21–30 of 160 posts

Re: How to avoid a BSOD on your 2B dollar spacecraft

#21
post #7

Earlier quoted context omitted.

Personally, I wouldn't be stoked to run Linux on them either to be honest. But both are being done. Practicality rules I suppose.

What's the practical benefit of using Windows here?

Easier to find developers who are comfortable with Windows.

Re: How to avoid a BSOD on your 2B dollar spacecraft

#22
Thee are a bunch of comments here asking why one would run Windows on a spacecraft.

I am a spacecraft engineer. I don’t see anything in the linked article indicating that they are actually running Windows - the BSOD claim is tongue-in-cheek, or at least that’s how I read it. I also don’t know of anyone anywhere that runs Windows on a spacecraft, with the exception of laptops used by astronauts. Typically one runs vxWorks, or maybe QNX. Some experimental (high risk, low cost) systems run Linux. Older spacecraft don't run any OS at all, everything is running on bare metal, and that may be true for a handful of current spacecraft as well.

Windows is used in some places by ground controllers, but these days they tend to be running Linux a lot more often.

Re: How to avoid a BSOD on your 2B dollar spacecraft

#26

One must have balls of steel to run windows on a spaceship.

Genuine question, what would you use instead and why?

Depending on the complexity of the satellite, a linux node, several linux nodes, or a LOT of linux nodes. Or a very small embedded SoC if your satellite is very simple or has a segregated payload.

Re: How to avoid a BSOD on your 2B dollar spacecraft

#27

One must have balls of steel to run windows on a spaceship.

Genuine question, what would you use instead and why?

Real Time Operating System(s) like VxWorks.

Commodity equipment running specialized distros of Linux is a growing thing however.

Re: How to avoid a BSOD on your 2B dollar spacecraft

#28

One must have balls of steel to run windows on a spaceship.

For anyone reading only headlines and comments, from TFA:

> If the watchdog timer has not been restarted and instead times out after ~30 seconds, the satellite enters something called safemode. Safemode is when all non critical functions are automatically shut down and the satellite becomes entirely focused on generating power by pointing its solar panels towards the Sun and trying to reestablish any communication that was lost. It’s a state the vehicle goes into when something bad happens [...] the satellite equivalent of a blue screen of death.

If only Windows would be so kind!

Re: How to avoid a BSOD on your 2B dollar spacecraft

#29

One must have balls of steel to run windows on a spaceship.

Genuine question, what would you use instead and why?

I'm forgetting the name of it, but there's a special OS designed for space. The main issue is that bits get flipped all the time once you leave the protection of the magnetosphere. On the surface of the earth, we generally trust memory a lot more than you can in space, even with special chips and shielding. It causes all sorts of weird problems and slow-downs.

Re: How to avoid a BSOD on your 2B dollar spacecraft

#30

Earlier quoted context omitted.

Genuine question, what would you use instead and why?

Real Time Operating System(s) like VxWorks. Commodity equipment running specialized distros of Linux is a growing thing however.

Linux just mainlined the RTOS patch that a lot of people have used. Including SpaceX - https://ntrs.nasa.gov/api/citations/20200002390/downloads/20...

Linux RT merge: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...

Post reply on HN