linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RE: Linux is not reliable enough?
@ 2004-07-27 14:41 Wells, Charles
  2004-07-27 15:20 ` Mark Chambers
  0 siblings, 1 reply; 17+ messages in thread
From: Wells, Charles @ 2004-07-27 14:41 UTC (permalink / raw)
  To: 'Mark Chambers'; +Cc: linuxppc-embedded


Mark,

A couple of comments on your comments (sorry for keeping this going).

> One point I was trying to make is that assuming the underlying hardware
> is good, all software is theoretically perfect.

I can't imagine this statement being true.  It's true that if the hardware
is bad, the software may not operate correctly, but the converse isn't true.
The following code is incorrect, regardless of the state of the hardware it
runs on:

  int a[100], b = 123;
  a[b] = 0;

I guess I'm taking exception to your use of the phrase "all software".


> That is, given the same set of input conditions it will always produce
> the same output.

If ...

0. Asynchronous interrupts are enabled, or
1. Your code reads an A/D converter and acts on that data, or
2. Your code acts on operator input, or
3. One of several other normal situations hold,

then this statement, while true, just doesn't apply. In my experience,
real-world situations that allow the assumption of software determinism
are remarkably rare.


Ultimately what were talking about here is: who has to be convinced of
the reliability of the chosen OS?  I personally spent many years
designing and deploying hospital-grade medical monitors.  If human
life is at stake, there are regulatory agencies looking over your shoulder.

In the medical business, there is our own FDA as well as a number of other
agencies (including the German TUV (IMHO the toughest taskmaster of
them all)).  You simply aren't going to sell your device until you get
approval from the appropriate regulatory agency. It is the regulatory
agencies you need to convince.

What the agencies are looking for in your submission for approval to
sell your device is extensive test data that your company is willing
assert is accurate and that demonstrates this reliability.  This is
a huge task.  So, what you do is "pass the buck."  You find a vendor
of a commercial OS that already has done this testing and you include
their test data (and their assertions) in your submission to the
regulatory agencies.


I suppose I've wandered a bit off-topic here, but it seemed relevant.

Regards,
Charlie


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 17+ messages in thread
* RE: Linux is not reliable enough?
@ 2004-07-27 15:59 Mészáros Lajos
  2004-07-27 17:10 ` Oliver Korpilla
  0 siblings, 1 reply; 17+ messages in thread
From: Mészáros Lajos @ 2004-07-27 15:59 UTC (permalink / raw)
  To: Mark Chambers, Wells, Charles; +Cc: linuxppc-embedded


> >   int a[100], b = 123;
> >   a[b] = 0;
> >
> > I guess I'm taking exception to your use of the phrase "all
> software".
> >
> >
>
> What I mean is, if &a = 0x10000, then a[b] will always write
> 0 to 0x101ec.
> That may not be smart, may not be what you intended to do,
> but the uP will
> always do the exact same thing.  (Does this mean 'C' is
> unreliable because
> it lets you do things like that?)

Yes, 'C' is unreliable because writing beyond the
"maxindex" lets you overwrite other's data, other's
code and DOES make backdoor for viruses.

On the other hand testing every index every time
for min and max slowes the executing.

So what?

    Ludwig

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: random ramblings on 8xx patches (long and tedious :-)
@ 2004-07-23 17:22 Wolfgang Denk
  2004-07-23 21:06 ` Linux is not reliable enough? Kevin P. Dankwardt
  0 siblings, 1 reply; 17+ messages in thread
From: Wolfgang Denk @ 2004-07-23 17:22 UTC (permalink / raw)
  To: Pantelis Antoniou; +Cc: Robert P. J. Day, Embedded Linux PPC list


In message <410123EE.4000602@intracom.gr> you wrote:
>
> IMHO we shouldn't even bother.

oops???

> Then everything should be automatically set up at run-time, based
> on probing code which should detect the rest.

You must be joking. This is for embedded systems, and code  size  and
especially boot time are critical.

Also, this suggestion does not coder Robert's intention of preventint
the user from selecting bogus configuration options for  stuff  which
doesn't exist on his chip.

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
"Life sucks, but it's better than the alternative."
- Peter da Silva

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2004-07-27 23:08 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-27 14:41 Linux is not reliable enough? Wells, Charles
2004-07-27 15:20 ` Mark Chambers
  -- strict thread matches above, loose matches on Subject: below --
2004-07-27 15:59 Mészáros Lajos
2004-07-27 17:10 ` Oliver Korpilla
2004-07-27 23:08   ` Conn Clark
2004-07-23 17:22 random ramblings on 8xx patches (long and tedious :-) Wolfgang Denk
2004-07-23 21:06 ` Linux is not reliable enough? Kevin P. Dankwardt
2004-07-24  3:02   ` Linh Dang
2004-07-24  6:29     ` Der Herr Hofrat
2004-07-25 16:23     ` Wolfgang Denk
2004-07-24 11:35   ` Mark Chambers
2004-07-26  7:49     ` Marius Groeger
2004-07-26 13:46       ` Mark Chambers
2004-07-26 14:31         ` Der Herr Hofrat
2004-07-26 15:42         ` Marius Groeger
2004-07-27 11:20         ` Robert Kaiser
2004-07-27 13:29           ` Mark Chambers
2004-07-24 21:44   ` Sylvain Munaut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).