Navy giving its helicopter drones a Linux upgrade

Status
Not open for further replies.

jandrese

Ars Legatus Legionis
13,977
Subscriptor++
In theory it should be possible to port a Solaris app to Linux assuming nobody lost the source code. You'll have to go through the system fixing compiler quirks and whatnot, but that's probably only going to improve the code. Add in a little bit of driver writing for any of the custom hardware and you're done. Probably only cost the government half a billion dollars and take a decade.

This should be a lot less painful than trying to port some old Win16 or VMS application to Linux.
 
Upvote
22 (23 / -1)
Post content hidden for low score. Show…

boostu

Seniorius Lurkius
3
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796123#p26796123:1wvid5b5 said:
jandrese[/url]":1wvid5b5]In theory it should be possible to port a Solaris app to Linux assuming nobody lost the source code. You'll have to go through the system fixing compiler quirks and whatnot, but that's probably only going to improve the code. Add in a little bit of driver writing for any of the custom hardware and you're done. Probably only cost the government half a billion dollars and take a decade.

This should be a lot less painful than trying to port some old Win16 or VMS application to Linux.

I highly doubt they were running Solaris 8 x86, that architecture didn't get much attention from Sun until Solaris 10. Porting from Solaris SPARC to Linux x86 is going to be quite the undertaking and having worked with Raytheon in the past, it's going to be a giant CF. Good on the Navy for moving to port the code to Linux though. My group is still running SGI servers that are closing in on 20 years old.
 
Upvote
14 (15 / -1)

jandrese

Ars Legatus Legionis
13,977
Subscriptor++
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796371#p26796371:p83n5my8 said:
boostu[/url]":p83n5my8]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796123#p26796123:p83n5my8 said:
jandrese[/url]":p83n5my8]In theory it should be possible to port a Solaris app to Linux assuming nobody lost the source code. You'll have to go through the system fixing compiler quirks and whatnot, but that's probably only going to improve the code. Add in a little bit of driver writing for any of the custom hardware and you're done. Probably only cost the government half a billion dollars and take a decade.

This should be a lot less painful than trying to port some old Win16 or VMS application to Linux.

I highly doubt they were running Solaris 8 x86, that architecture didn't get much attention from Sun until Solaris 10. Porting from Solaris SPARC to Linux x86 is going to be quite the undertaking and having worked with Raytheon in the past, it's going to be a giant CF. Good on the Navy for moving to port the code to Linux though. My group is still running SGI servers that are closing in on 20 years old.

Depending on the language used that shouldn't matter much. I assume they didn't write the whole thing in SPARC assembly.

The custom drivers are probably less than you would expect too. A flight stick driver and whatever the output is (probably a serial link to a RF transmitter). I'd guess the UI was built in Motif, which has been ported to Linux.

This does assume a sane development model and that the source has not been lost. Both may be overly optimistic. The build system will almost certainly have to be reworked as well.
 
Upvote
13 (13 / 0)

beebee

Ars Tribunus Angusticlavius
8,865
Regarding linux at the DoD, two articles come to mind.

http://m.youtube.com/watch?v=gW1jgRVL2t4
This is a link to an old TWIT FLOSS weekly episode on Linux at the DoD.

This is a linux disty for thumb drive use. It even supports common access cards.
http://www.spi.dod.mil/lipose.htm
A civilian version is provided.

The article didn't mention what disty the Navy will be using, but I'm going to assume one of the commercial LTS versions.
 
Upvote
0 (0 / 0)

kebabbert

Wise, Aged Ars Veteran
100
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796371#p26796371:1ugu5rlw said:
boostu[/url]":1ugu5rlw]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796123#p26796123:1ugu5rlw said:
jandrese[/url]":1ugu5rlw]In theory it should be possible to port a Solaris app to Linux assuming nobody lost the source code. You'll have to go through the system fixing compiler quirks and whatnot, but that's probably only going to improve the code. Add in a little bit of driver writing for any of the custom hardware and you're done. Probably only cost the government half a billion dollars and take a decade.

This should be a lot less painful than trying to port some old Win16 or VMS application to Linux.

I highly doubt they were running Solaris 8 x86, that architecture didn't get much attention from Sun until Solaris 10. Porting from Solaris SPARC to Linux x86 is going to be quite the undertaking and having worked with Raytheon in the past, it's going to be a giant CF. Good on the Navy for moving to port the code to Linux though. My group is still running SGI servers that are closing in on 20 years old.
They are not using Linux for the critical avionics parts, they are using a RTOS. These systems are hard real time, not soft real time. That rules out Linux (Real time Linux does not cut it for serious applications). Solaris 8 (very old now) was used in the non critical avionics parts, as Linux is today. Solaris 8 support was end-of-line recently so they had to upgrade to later Solaris versions or Linux. Apparently they chose Linux over FreeBSD or Solaris.
 
Upvote
7 (7 / 0)

beebee

Ars Tribunus Angusticlavius
8,865
[url=http://meincmagazine.com/civis/viewtopic.php?p=26797279#p26797279:5sbixjw8 said:
kebabbert[/url]":5sbixjw8]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796371#p26796371:5sbixjw8 said:
boostu[/url]":5sbixjw8]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796123#p26796123:5sbixjw8 said:
jandrese[/url]":5sbixjw8]In theory it should be possible to port a Solaris app to Linux assuming nobody lost the source code. You'll have to go through the system fixing compiler quirks and whatnot, but that's probably only going to improve the code. Add in a little bit of driver writing for any of the custom hardware and you're done. Probably only cost the government half a billion dollars and take a decade.

This should be a lot less painful than trying to port some old Win16 or VMS application to Linux.

I highly doubt they were running Solaris 8 x86, that architecture didn't get much attention from Sun until Solaris 10. Porting from Solaris SPARC to Linux x86 is going to be quite the undertaking and having worked with Raytheon in the past, it's going to be a giant CF. Good on the Navy for moving to port the code to Linux though. My group is still running SGI servers that are closing in on 20 years old.
They are not using Linux for the critical avionics parts, they are using a RTOS. These systems are hard real time, not soft real time. That rules out Linux (Real time Linux does not cut it for serious applications). Solaris 8 (very old now) was used in the non critical avionics parts, as Linux is today. Solaris 8 support was end-of-line recently so they had to upgrade to later Solaris versions or Linux. Apparently they chose Linux over FreeBSD or Solaris.

QNX for controls? Not exactly linux though.
 
Upvote
0 (0 / 0)

vmjersey

Smack-Fu Master, in training
63
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796151#p26796151:11mye5as said:
StillNotATroll[/url]":11mye5as]Sad they are using Linux over FreeBSD
BSD sucks hard!!! The week I spent in BSD made me appreciate even Ubuntu with it's clunky Unity Desktop.

Reasons why any distro of Linux is better:
1. Linux is much faster.
2. Comunity is way bigger...Like way way way bigger.
3. So much of the newer software won't compile on BSD.
4. Linux repositories kick BSD's ass...like it's not even close.


So...Booo ya.
 
Upvote
-16 (6 / -22)

Petruchio

Ars Legatus Legionis
20,196
Subscriptor
[url=http://meincmagazine.com/civis/viewtopic.php?p=26797411#p26797411:2qjhegey said:
beebee[/url]":2qjhegey]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26797279#p26797279:2qjhegey said:
kebabbert[/url]":2qjhegey]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796371#p26796371:2qjhegey said:
boostu[/url]":2qjhegey]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796123#p26796123:2qjhegey said:
jandrese[/url]":2qjhegey]In theory it should be possible to port a Solaris app to Linux assuming nobody lost the source code. You'll have to go through the system fixing compiler quirks and whatnot, but that's probably only going to improve the code. Add in a little bit of driver writing for any of the custom hardware and you're done. Probably only cost the government half a billion dollars and take a decade.

This should be a lot less painful than trying to port some old Win16 or VMS application to Linux.

I highly doubt they were running Solaris 8 x86, that architecture didn't get much attention from Sun until Solaris 10. Porting from Solaris SPARC to Linux x86 is going to be quite the undertaking and having worked with Raytheon in the past, it's going to be a giant CF. Good on the Navy for moving to port the code to Linux though. My group is still running SGI servers that are closing in on 20 years old.
They are not using Linux for the critical avionics parts, they are using a RTOS. These systems are hard real time, not soft real time. That rules out Linux (Real time Linux does not cut it for serious applications). Solaris 8 (very old now) was used in the non critical avionics parts, as Linux is today. Solaris 8 support was end-of-line recently so they had to upgrade to later Solaris versions or Linux. Apparently they chose Linux over FreeBSD or Solaris.

QNX for controls? Not exactly linux though.


In the DoD systems I've worked on, VxWorks is what I see used most often for the RTOS.
 
Upvote
2 (2 / 0)
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796601#p26796601:dgxswaao said:
Disasterpiece_Theater[/url]":dgxswaao]Soooo ..... Does this mean penguins are no longer flightless birds? ;)
Well played sir, although these new drones didn't push it out of the nest, SpaceX has been using Linux since the start as far as I know.
 
Upvote
9 (9 / 0)

beebee

Ars Tribunus Angusticlavius
8,865
[url=http://meincmagazine.com/civis/viewtopic.php?p=26797483#p26797483:k083w6xj said:
Petruchio[/url]":k083w6xj]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26797411#p26797411:k083w6xj said:
beebee[/url]":k083w6xj]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26797279#p26797279:k083w6xj said:
kebabbert[/url]":k083w6xj]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796371#p26796371:k083w6xj said:
boostu[/url]":k083w6xj]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796123#p26796123:k083w6xj said:
jandrese[/url]":k083w6xj]In theory it should be possible to port a Solaris app to Linux assuming nobody lost the source code. You'll have to go through the system fixing compiler quirks and whatnot, but that's probably only going to improve the code. Add in a little bit of driver writing for any of the custom hardware and you're done. Probably only cost the government half a billion dollars and take a decade.

This should be a lot less painful than trying to port some old Win16 or VMS application to Linux.

I highly doubt they were running Solaris 8 x86, that architecture didn't get much attention from Sun until Solaris 10. Porting from Solaris SPARC to Linux x86 is going to be quite the undertaking and having worked with Raytheon in the past, it's going to be a giant CF. Good on the Navy for moving to port the code to Linux though. My group is still running SGI servers that are closing in on 20 years old.
They are not using Linux for the critical avionics parts, they are using a RTOS. These systems are hard real time, not soft real time. That rules out Linux (Real time Linux does not cut it for serious applications). Solaris 8 (very old now) was used in the non critical avionics parts, as Linux is today. Solaris 8 support was end-of-line recently so they had to upgrade to later Solaris versions or Linux. Apparently they chose Linux over FreeBSD or Solaris.

QNX for controls? Not exactly linux though.


In the DoD systems I've worked on, VxWorks is what I see used most often for the RTOS.

Thanks. The user list in the wiki is interesting.

http://en.m.wikipedia.org/wiki/VxWorks

I've done some hacking on Arm for an embedded application. When you can't expect the user to boot the system should things go south, the programming and OS gets a lot more interesting. I have hours invested in reading systemd documentation, or lack thereof.
 
Upvote
0 (0 / 0)
[url=http://meincmagazine.com/civis/viewtopic.php?p=26797413#p26797413:1cm0zat8 said:
vmjersey[/url]":1cm0zat8]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796151#p26796151:1cm0zat8 said:
StillNotATroll[/url]":1cm0zat8]Sad they are using Linux over FreeBSD
BSD sucks hard!!! The week I spent in BSD made me appreciate even Ubuntu with it's clunky Unity Desktop.

Reasons why any distro of Linux is better:
1. Linux is much faster.
2. Comunity is way bigger...Like way way way bigger.
3. So much of the newer software won't compile on BSD.
4. Linux repositories kick BSD's ass...like it's not even close.


So...Booo ya.

Let's assume that the Navy hasn't listed the ability to install Bastion as one of the requirements for their drone OS.
 
Upvote
4 (4 / 0)

kranchammer

Ars Tribunus Militum
2,106
[url=http://meincmagazine.com/civis/viewtopic.php?p=26797483#p26797483:31r5r46v said:
Petruchio[/url]":31r5r46v]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26797411#p26797411:31r5r46v said:
beebee[/url]":31r5r46v]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26797279#p26797279:31r5r46v said:
kebabbert[/url]":31r5r46v]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796371#p26796371:31r5r46v said:
boostu[/url]":31r5r46v]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796123#p26796123:31r5r46v said:
jandrese[/url]":31r5r46v]In theory it should be possible to port a Solaris app to Linux assuming nobody lost the source code. You'll have to go through the system fixing compiler quirks and whatnot, but that's probably only going to improve the code. Add in a little bit of driver writing for any of the custom hardware and you're done. Probably only cost the government half a billion dollars and take a decade.

This should be a lot less painful than trying to port some old Win16 or VMS application to Linux.

I highly doubt they were running Solaris 8 x86, that architecture didn't get much attention from Sun until Solaris 10. Porting from Solaris SPARC to Linux x86 is going to be quite the undertaking and having worked with Raytheon in the past, it's going to be a giant CF. Good on the Navy for moving to port the code to Linux though. My group is still running SGI servers that are closing in on 20 years old.
They are not using Linux for the critical avionics parts, they are using a RTOS. These systems are hard real time, not soft real time. That rules out Linux (Real time Linux does not cut it for serious applications). Solaris 8 (very old now) was used in the non critical avionics parts, as Linux is today. Solaris 8 support was end-of-line recently so they had to upgrade to later Solaris versions or Linux. Apparently they chose Linux over FreeBSD or Solaris.

QNX for controls? Not exactly linux though.


In the DoD systems I've worked on, VxWorks is what I see used most often for the RTOS.

and it's usually Green Hills INTEGRITY where it's not Wind River's stuff.
 
Upvote
0 (0 / 0)

RRob

Ars Scholae Palatinae
1,429
Subscriptor
Intel vs Sparc reverses endianess, and they may be jumping from 32 bit to 64. As a programmer who has tried to get a lot of "Linux" code to compile/run on Solaris 10... I can tell you there's a ton of shit code out there.

2. Comunity is way bigger...Like way way way bigger.
3. So much of the newer software won't compile on BSD
Yeah, that large community tends to write non portable code targeting one architecture. It's not portable unix any longer. That's one reason I prefer NetBSD.
 
Upvote
3 (3 / 0)

davolfman

Ars Scholae Palatinae
964
[url=http://meincmagazine.com/civis/viewtopic.php?p=26797483#p26797483:37z002qu said:
Petruchio[/url]":37z002qu]
In the DoD systems I've worked on, VxWorks is what I see used most often for the RTOS.
Wait? That crap router OS that runs on all those pieces of consumer network hardware that I have to cycle power on daily? That VxWorks?

It's official: we're doomed
 
Upvote
-6 (1 / -7)

fluxtatic

Ars Scholae Palatinae
634
[url=http://meincmagazine.com/civis/viewtopic.php?p=26797413#p26797413:1tbsjqbf said:
vmjersey[/url]":1tbsjqbf]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796151#p26796151:1tbsjqbf said:
StillNotATroll[/url]":1tbsjqbf]Sad they are using Linux over FreeBSD
BSD sucks hard!!! The week I spent in BSD made me appreciate even Ubuntu with it's clunky Unity Desktop.

Reasons why any distro of Linux is better:
1. Linux is much faster.
2. Comunity is way bigger...Like way way way bigger.
3. So much of the newer software won't compile on BSD.
4. Linux repositories kick BSD's ass...like it's not even close.


So...Booo ya.

So in the much much much smaller BSD community, is it also populated by assholes that are going to act like I'm stupid because I don't know the the Linux CLI inside and out?
 
Upvote
0 (3 / -3)

mycroftxxx

Ars Scholae Palatinae
848
[url=http://meincmagazine.com/civis/viewtopic.php?p=26797411#p26797411:2rm3gkjw said:
beebee[/url]":2rm3gkjw]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26797279#p26797279:2rm3gkjw said:
kebabbert[/url]":2rm3gkjw]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796371#p26796371:2rm3gkjw said:
boostu[/url]":2rm3gkjw]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796123#p26796123:2rm3gkjw said:
jandrese[/url]":2rm3gkjw]In theory it should be possible to port a Solaris app to Linux assuming nobody lost the source code. You'll have to go through the system fixing compiler quirks and whatnot, but that's probably only going to improve the code. Add in a little bit of driver writing for any of the custom hardware and you're done. Probably only cost the government half a billion dollars and take a decade.

This should be a lot less painful than trying to port some old Win16 or VMS application to Linux.

I highly doubt they were running Solaris 8 x86, that architecture didn't get much attention from Sun until Solaris 10. Porting from Solaris SPARC to Linux x86 is going to be quite the undertaking and having worked with Raytheon in the past, it's going to be a giant CF. Good on the Navy for moving to port the code to Linux though. My group is still running SGI servers that are closing in on 20 years old.
They are not using Linux for the critical avionics parts, they are using a RTOS. These systems are hard real time, not soft real time. That rules out Linux (Real time Linux does not cut it for serious applications). Solaris 8 (very old now) was used in the non critical avionics parts, as Linux is today. Solaris 8 support was end-of-line recently so they had to upgrade to later Solaris versions or Linux. Apparently they chose Linux over FreeBSD or Solaris.

QNX for controls? Not exactly linux though.

Nope, VxWorks is the embedded RTOS in the flight computer, running a custom NGC-proprietary middleware. QNX has zero penetration in the flight critical RTOS area; it's just about all either VxWorks or Green Hills Integrity.
 
Upvote
0 (0 / 0)

Chuck Wagon

Wise, Aged Ars Veteran
157
[url=http://meincmagazine.com/civis/viewtopic.php?p=26798285#p26798285:38o7g5m4 said:
dddddddd207[/url]":38o7g5m4]What kind of joysticks is he using? Does the military just use gaming stuff?

Often times yes. The Xbox controller is very popular for lots of robotic systems. It seems weird at first but it does work.

http://www.blogcdn.com/www.joystiq.com/ ... roller.jpg
 
Upvote
3 (3 / 0)
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796745#p26796745:vtlo33an said:
beebee[/url]":vtlo33an]The article didn't mention what disty the Navy will be using, but I'm going to assume one of the commercial LTS versions.

Just an educated guess here, but I can assure you that they will not be using any distribution, but rather using a top secret, highly modified, highly tested, highly secure, impossibly locked Linux kernal based on DoD guideline. Raytheon will then build B2VL based on TCS modularity.
 
Upvote
1 (2 / -1)

jandrese

Ars Legatus Legionis
13,977
Subscriptor++
[url=http://meincmagazine.com/civis/viewtopic.php?p=26800359#p26800359:3mzyvu7p said:
ImpliedConsent[/url]":3mzyvu7p]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796745#p26796745:3mzyvu7p said:
beebee[/url]":3mzyvu7p]The article didn't mention what disty the Navy will be using, but I'm going to assume one of the commercial LTS versions.

Just an educated guess here, but I can assure you that they will not be using any distribution, but rather using a top secret, highly modified, highly tested, highly secure, impossibly locked Linux kernal based on DoD guideline. Raytheon will then build B2VL based on TCS modularity.

Back in the real world, they're going to use commercial Redhat and apply the hardening procedures published by the NSA (example: http://www.nsa.gov/ia/_files/os/redhat/ ... E_v4.2.pdf) except where they break the mission critical applications.
 
Upvote
3 (3 / 0)
[url=http://meincmagazine.com/civis/viewtopic.php?p=26800757#p26800757:d9w7j3qa said:
jandrese[/url]":d9w7j3qa]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26800359#p26800359:d9w7j3qa said:
ImpliedConsent[/url]":d9w7j3qa]
[url=http://meincmagazine.com/civis/viewtopic.php?p=26796745#p26796745:d9w7j3qa said:
beebee[/url]":d9w7j3qa]The article didn't mention what disty the Navy will be using, but I'm going to assume one of the commercial LTS versions.

Just an educated guess here, but I can assure you that they will not be using any distribution, but rather using a top secret, highly modified, highly tested, highly secure, impossibly locked Linux kernal based on DoD guideline. Raytheon will then build B2VL based on TCS modularity.

Back in the real world, they're going to use commercial Redhat and apply the hardening procedures published by the NSA (example: http://www.nsa.gov/ia/_files/os/redhat/ ... E_v4.2.pdf) except where they break the mission critical applications.

Not arguing, remember, just a guess, I'm not involved in the project. Assuming that you are right about RHEL, that outdated NSA *guideline" (5.6 used 2.6.18) for Desktop, Server, and Advanced Platform link you provided does nothing to tell us that Raytheon absolutely will be using a "distribution". Again, my guess, they'll start with a DoD (or NSA) approved MRG Linux kernel, modify it, encrypt it, lock it and submit for approval. Assuming the kernel will be approved, they'll build the B2VL based on that modified kernel. I dunno - I don't know the details of the Navy/Raytheon agreement. If you know, enlighten us. You've got my attention now.
 
Upvote
1 (1 / 0)
Status
Not open for further replies.