comp.lang.ada
 help / color / mirror / Atom feed
From: "Alexander E. Kopilovich" <aek@VB1162.spb.edu>
To: comp.lang.ada@ada-france.org
Subject: Re: Would You Fly an Airplane with a Linux-Based Control System?
Date: Fri, 26 Nov 2004 06:11:11 +0300 (MSK)
Date: 2004-11-26T06:11:11+03:00	[thread overview]
Message-ID: <mailman.122.1101438719.10401.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <20619edc.0411251028.3e249bf3@posting.google.com>; from Mike Silva at 25 Nov 2004 10:28:24 -0800

Mike Silva wrote:

> A small but, I think, important correction.  The hardware at the
> center of the failure was apparently built around the Motorola
> 68020/68881 chips, not the MIL-STD-1750.  The "Operand Error" that
> triggered the failure is a hardware exception generated by the FPU
> when, among other conditions, a float-to-integer conversion exceeds
> the capacity of the integer, exactly as occurred.  The reason this is
> important is because it shows that the exception was not generated by
> the Ada compiler code but by the hardware, and would therefore have
> occurred regardless of the programming language used.  If that's the
> case then the "it wouldn't have exploded if it were written in C"
> argument evaporates, unless they want to argue that the exception
> handler behavior would have been specified differently if the
> implementation language was C -- not likely!

I think that the fact that the chain of events was initiated by FPU exception
really deserves to be mentioned. Therefore I'm going to update my own
Ariane 5 FAQ appropriately. Currently, 8th Q-A pair of it reads as follows:

----------------------------------------------------------------------------

Q. Can you explain in several words what was the actual cause of the launch
failure, technically?

A. There are several points which are different for Ariane 5 vs. Ariane 4,
one of which was instrumental to the events: Ariane 4 is a vertical launch
vehicle where as Ariane 5 is slightly tilted.
  Ariane 4 software was developed to tolerate certain amount of inclination
but not as much as required by Ariane 5. The chain of events were as follows:

- The on-board software detects that one of the accelerometers is out of range,
this was interpreted as hardware error and caused the backup processor to take
over;
- The backup processor also detects that one of the accelerometers is out of
range (the same way), which caused the system to advice an auto destruction.

----------------------------------------------------------------------------

It seems that the following modification of the description of the chain of
events takes your suggestion into account:

----------------------------------------------------------------------------

- The on-board software detects that one of the accelerometers is out of
range (actually, there was FPU exception generated when float-to-integer 
conversion exceeded the capacity of the integer), this was interpreted as
hardware error and caused the backup processor to take over;
- The backup processor also detects that one of the accelerometers is out of
range (the same way), which caused the system to advice an auto destruction.

----------------------------------------------------------------------------

Do you agree that this addition is enough there? Or particular processor
model is of some importance also?





Alexander Kopilovich                      aek@vib.usr.pu.ru
Saint-Petersburg
Russia





  parent reply	other threads:[~2004-11-26  3:11 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-22 11:44 Would You Fly an Airplane with a Linux-Based Control System? Preben Randhol
2004-11-22 13:23 ` Simon Clubley
2004-11-22 22:36   ` Brian May
2004-11-22 23:07     ` Ed Falis
2004-11-22 23:29       ` David Botton
2004-11-23  4:11         ` Alexander E. Kopilovich
2004-11-23  9:24           ` Martin Krischik
2004-11-25 18:28         ` Mike Silva
2004-11-25 20:15           ` David Botton
2004-11-26  3:11           ` Alexander E. Kopilovich [this message]
2004-11-26 10:11           ` Alex R. Mosteo
2004-11-26 11:51             ` Marius Amado Alves
2004-11-26 12:32               ` Alex R. Mosteo
2004-11-26 13:40             ` Adrien Plisson
2004-11-26 13:54               ` Marius Amado Alves
2004-11-26 22:22                 ` Adrien Plisson
2004-11-27  0:24                   ` Marius Amado Alves
2004-11-29  1:23                     ` Georg Bauhaus
2004-12-04 18:58               ` Enrique Laso Leon
2004-12-05  1:29                 ` Alexander E. Kopilovich
2004-12-05 13:50                   ` Would You Fly an Airplane with a Linux-Based Control Larry Kilgallen
2004-12-06 13:20                 ` Would You Fly an Airplane with a Linux-Based Control System? Simon Clubley
     [not found]           ` <oSFxff11_F@VB1162.spb.edu>
2004-11-26 11:40             ` Marius Amado Alves
2004-11-26 12:21               ` Jean-Pierre Rosen
2004-11-26 13:00               ` Vinzent 'Gadget' Hoefler
2004-11-26 19:25               ` Jeffrey Carter
2004-11-26 19:50                 ` Marius Amado Alves
2004-11-26 22:58                   ` Simon Wright
2004-11-27 20:24                   ` Jeffrey Carter
2004-11-29  1:09                   ` Georg Bauhaus
2004-11-29 20:06                   ` Preben Randhol
2004-11-26 20:58               ` Mike Silva
2004-11-27  0:06                 ` Marius Amado Alves
2004-11-27  0:55                   ` Rod Haper
2004-11-27  1:31                     ` Marius Amado Alves
2004-11-27  8:07                       ` Martin Krischik
2004-11-27  9:16                       ` Dmitry A. Kazakov
2004-11-27  9:51                         ` Marius Amado Alves
2004-11-27 13:44                           ` Dmitry A. Kazakov
2004-11-29 20:13                             ` Preben Randhol
2004-11-27 20:31                           ` Jeffrey Carter
2004-11-27  7:59                   ` Martin Krischik
2004-11-27  8:24                   ` Pascal Obry
2004-11-27 19:36                   ` Mike Silva
2004-11-26 21:09               ` Mike Silva
2004-11-27  0:15                 ` Marius Amado Alves
2004-11-27 19:41                   ` Mike Silva
2004-11-27  7:47               ` Martin Krischik
2004-11-29 20:04               ` Preben Randhol
2004-11-30  3:11                 ` Alexander E. Kopilovich
2004-11-30 15:20                   ` Mike Silva
2004-12-01  2:51                     ` Alexander E. Kopilovich
2004-11-30 13:24                 ` Martin Krischik
2004-11-30 17:28                   ` Preben Randhol
2004-12-01  9:27                     ` Martin Krischik
2004-12-01 16:59                       ` Preben Randhol
2004-12-01 18:53                         ` Martin Krischik
2004-12-02 21:07                           ` Preben Randhol
2004-12-05  6:52                         ` Brian May
2004-11-23 12:28       ` Georg Bauhaus
2004-11-23 10:35     ` Robert Kaiser
2004-11-23 12:36       ` Martin Krischik
2004-11-23 21:16       ` Simon Wright
2004-11-23 22:09         ` Brian May
2004-11-24  6:07           ` Simon Wright
2004-11-24 14:39   ` Mike Silva
  -- strict thread matches above, loose matches on Subject: below --
2004-11-29  6:33 Christoph Karl Walter Grein
2004-11-29  6:45 Christoph Karl Walter Grein
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox