From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,87627bdc747a0287 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 06 Sep 2006 17:44:00 -0500 Newsgroups: comp.lang.ada Subject: Re: Martian Rover Spirit's mulitasking software reset. References: <12fsfpic0ccq16b@corp.supernews.com> <9YadnSb_QKCM-GPZRVnytQ@bt.com> From: Mark Lorenzen Date: 06 Sep 2006 23:43:55 +0100 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 86.135.159.6 X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-3pyTwXlXgvQ/aTcj5G+mceEgcCCfBcXTGGPLr6yODvTaorRNrnmJC+7oc/V+ObNCrLSin3rBPVYAfOw!QmTPVWBVt6eOJ6llk8IhWdhbq/NtqfJmKiyXm6lNtnqv3oDlcdyCKVxj/xZwiG/2i7QLIg== X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:6486 Date: 2006-09-06T23:43:55+01:00 List-Id: Martin Dowie writes: > ME wrote: > > The mars rover Spirit suffered a software reset as a result of a > > multitasking problem. > > "The apparent cause was that the rover's central processing unit was > > overworked as several tasks were running in parallel at the time." > > The rover uses VX works and I believe C. Testing obviously did not > > catch this fault. Would the use of Ada made any difference? > > > > My understanding is that there was a "priority inverstion", so had That is also my understanding. > they used "pragma Locking_Policy (Ceiling_Locking);" (RM D.3 Priority > Ceiling Locking) then the problem could have been avioded. > > Of course, they might not have used it even if they were using Ada. :-) As far as I know, they were aware of the priority inversion problem before launch, but did not consider it important enough to warrant a fix. I guess that a watchdog device simply kicks in and reboots the system, should it hang for too long. - Mark