Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch.embedded > #23710 > unrolled thread

Remote "watchdog"s

Started byDon Y <blockedofcourse@foo.invalid>
First post2016-04-20 12:57 -0700
Last post2016-04-21 09:33 -0700
Articles 20 on this page of 26 — 6 participants

Back to article view | Back to comp.arch.embedded


Contents

  Remote "watchdog"s Don Y <blockedofcourse@foo.invalid> - 2016-04-20 12:57 -0700
    Re: Remote "watchdog"s Tim Wescott <seemywebsite@myfooter.really> - 2016-04-20 16:17 -0500
      Re: Remote "watchdog"s Don Y <blockedofcourse@foo.invalid> - 2016-04-20 15:30 -0700
        Re: Remote "watchdog"s Tim Wescott <tim@seemywebsite.com> - 2016-04-20 19:27 -0500
          Re: Remote "watchdog"s Don Y <blockedofcourse@foo.invalid> - 2016-04-20 17:42 -0700
    Re: Remote "watchdog"s Robert Wessel <robertwessel2@yahoo.com> - 2016-04-20 23:19 -0500
      Re: Remote "watchdog"s Don Y <blockedofcourse@foo.invalid> - 2016-04-20 22:10 -0700
        Re: Remote "watchdog"s Robert Wessel <robertwessel2@yahoo.com> - 2016-04-21 22:34 -0500
          Re: Remote "watchdog"s Robert Wessel <robertwessel2@yahoo.com> - 2016-04-21 22:53 -0500
            Re: Remote "watchdog"s lasselangwadtchristensen@gmail.com - 2016-04-22 04:23 -0700
              Re: Remote "watchdog"s Robert Wessel <robertwessel2@yahoo.com> - 2016-04-22 18:47 -0500
                Re: Remote "watchdog"s Don Y <blockedofcourse@foo.invalid> - 2016-04-22 17:48 -0700
                  Re: Remote "watchdog"s lasselangwadtchristensen@gmail.com - 2016-04-22 18:22 -0700
                    Re: Remote "watchdog"s Don Y <blockedofcourse@foo.invalid> - 2016-04-22 19:11 -0700
            Re: Remote "watchdog"s Don Y <blockedofcourse@foo.invalid> - 2016-04-22 13:35 -0700
              Re: Remote "watchdog"s upsidedown@downunder.com - 2016-04-23 09:29 +0300
                Re: Remote "watchdog"s Don Y <blockedofcourse@foo.invalid> - 2016-04-23 00:54 -0700
                  Re: Remote "watchdog"s upsidedown@downunder.com - 2016-04-23 13:46 +0300
                    Re: Remote "watchdog"s Don Y <blockedofcourse@foo.invalid> - 2016-04-23 04:08 -0700
                      Re: Remote "watchdog"s upsidedown@downunder.com - 2016-04-23 17:26 +0300
                        Re: Remote "watchdog"s Don Y <blockedofcourse@foo.invalid> - 2016-04-23 12:59 -0700
                          Re: Remote "watchdog"s lasselangwadtchristensen@gmail.com - 2016-04-27 15:25 -0700
                            Re: Remote "watchdog"s Don Y <blockedofcourse@foo.invalid> - 2016-04-27 15:49 -0700
          Re: Remote "watchdog"s Don Y <blockedofcourse@foo.invalid> - 2016-04-21 22:08 -0700
      Re: Remote "watchdog"s Tim Wescott <seemywebsite@myfooter.really> - 2016-04-21 11:25 -0500
        Re: Remote "watchdog"s Don Y <blockedofcourse@foo.invalid> - 2016-04-21 09:33 -0700

Page 1 of 2  [1] 2  Next page →


#23710 — Remote "watchdog"s

FromDon Y <blockedofcourse@foo.invalid>
Date2016-04-20 12:57 -0700
SubjectRemote "watchdog"s
Message-ID<nf8moq$khq$1@dont-email.me>
I have a distributed system.  As such, it is possible for parts of it
to crash, become unresponsive, suffer hardware failures, etc.

The "system" as a whole needs a way of coping with these.

In the normal course of operation, traffic between nodes gives some
reassurance that the nodes involved are "sane".

OTOH, if a node starts acting wonky, I can invoke recovery protocols
that (in an ideal world) will reset/restart the portions of the
node that appear to be misbehaving (e.g., if traffic to/from one
particular task is "odd", then perhaps that task has gone south;
but, the remainder of the node may be intact.  Or, some I/O that
the wacky task handles is misbehaving and the task is doing its
best to make sense of a broken environment).

If the node itself gets hosed, then a hardware watchdog on that
node *might* bring it back to nominal operating condition.

But, I still need a reliable way of making a (remote) node "safe",
"secure", etc.

I presently deliver PoE to each node and many of them live off that.
So, as a last ditch effort, I can command the switch to remove that
and unceremoniously bring the node down.

Except for the nodes that *aren't* dependent on that!

Rather than concoct some other mechanism that might work (less effectively),
perhaps it is easiest to codify this behavior in the hardware interface spec?
I.e., even if you don't RELY on PoE, you must still *honor* it AS IF you did!

In the simplest case, that means treating !PoE as a RESET state.  And,
ensuring that the hardware will remain safe/secure in perpetual reset
(i.e., not expecting RESET to be a *transient* state).

Of course, the downside is that I now must be able to deliver something
akin to a PoE signal on every port (though I could possibly skimp on
the load carrying capability for many ports?)

Any holes in this?  Or, better alternatives?

[toc] | [next] | [standalone]


#23711

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-04-20 16:17 -0500
Message-ID<l96dnVNe8u9ubIrKnZ2dnUU7-b_NnZ2d@giganews.com>
In reply to#23710
On Wed, 20 Apr 2016 12:57:06 -0700, Don Y wrote:

> I have a distributed system.  As such, it is possible for parts of it to
> crash, become unresponsive, suffer hardware failures, etc.
> 
> The "system" as a whole needs a way of coping with these.
> 
> In the normal course of operation, traffic between nodes gives some
> reassurance that the nodes involved are "sane".
> 
> OTOH, if a node starts acting wonky, I can invoke recovery protocols
> that (in an ideal world) will reset/restart the portions of the node
> that appear to be misbehaving (e.g., if traffic to/from one particular
> task is "odd", then perhaps that task has gone south;
> but, the remainder of the node may be intact.  Or, some I/O that the
> wacky task handles is misbehaving and the task is doing its best to make
> sense of a broken environment).

I would be more inclined to insist that each node has good built-in-test, 
and that it do it's own fault recovery -- i.e., to the extent possible it 
should recognize it's own problems, and at worst it should respond to 
requests for information with "I'm sorry, I'm sick right now and can't 
come to work."

Then if it goes _totally_ wonky, cut it off at the knees.

> If the node itself gets hosed, then a hardware watchdog on that node
> *might* bring it back to nominal operating condition.
> 
> But, I still need a reliable way of making a (remote) node "safe",
> "secure", etc.
> 
> I presently deliver PoE to each node and many of them live off that.
> So, as a last ditch effort, I can command the switch to remove that and
> unceremoniously bring the node down.
> 
> Except for the nodes that *aren't* dependent on that!
> 
> Rather than concoct some other mechanism that might work (less
> effectively), perhaps it is easiest to codify this behavior in the
> hardware interface spec?
> I.e., even if you don't RELY on PoE, you must still *honor* it AS IF you
> did!
> 
> In the simplest case, that means treating !PoE as a RESET state.  And,
> ensuring that the hardware will remain safe/secure in perpetual reset
> (i.e., not expecting RESET to be a *transient* state).
> 
> Of course, the downside is that I now must be able to deliver something
> akin to a PoE signal on every port (though I could possibly skimp on the
> load carrying capability for many ports?)
> 
> Any holes in this?  Or, better alternatives?

Sounds good.  For the pseudo-PoE idea, if you're worried about babbling 
nodes consuming all the bandwidth, you could insist that the Ethernet phy 
layer be powered by the PoE, even if nothing else is.  Or insist on a set 
of analog switches that effectively disconnect Ethernet at some point.

And -- keep in mind that you can't protect from EVERY fault.  You have to 
make a risk/reward tradeoff.

-- 

Tim Wescott
Wescott Design Services
http://www.wescottdesign.com

[toc] | [prev] | [next] | [standalone]


#23712

FromDon Y <blockedofcourse@foo.invalid>
Date2016-04-20 15:30 -0700
Message-ID<nf8vnt$r2v$1@dont-email.me>
In reply to#23711
On 4/20/2016 2:17 PM, Tim Wescott wrote:
> On Wed, 20 Apr 2016 12:57:06 -0700, Don Y wrote:
>
>> I have a distributed system.  As such, it is possible for parts of it to
>> crash, become unresponsive, suffer hardware failures, etc.
>>
>> The "system" as a whole needs a way of coping with these.
>>
>> In the normal course of operation, traffic between nodes gives some
>> reassurance that the nodes involved are "sane".
>>
>> OTOH, if a node starts acting wonky, I can invoke recovery protocols
>> that (in an ideal world) will reset/restart the portions of the node
>> that appear to be misbehaving (e.g., if traffic to/from one particular
>> task is "odd", then perhaps that task has gone south;
>> but, the remainder of the node may be intact.  Or, some I/O that the
>> wacky task handles is misbehaving and the task is doing its best to make
>> sense of a broken environment).
>
> I would be more inclined to insist that each node has good built-in-test,
> and that it do it's own fault recovery -- i.e., to the extent possible it
> should recognize it's own problems, and at worst it should respond to
> requests for information with "I'm sorry, I'm sick right now and can't
> come to work."

Nodes are up "forever".  So, the POST only happens occasionally.
I have some run-time diagnostics (e.g., testing RAM as I scrub it;
sanity tests on I/O values, etc.).  But, if the node is already
"compromised" in some way, I can't rely on *it* being able to
adequately vouch for itself.

OTOH, if a *process* goes wonky, I can shut it down (the assumption
being that the rest of the node is intact).  But, if the node doesn't
(or can't!) listen, then I can't "tell" it to do anything!

> Then if it goes _totally_ wonky, cut it off at the knees.

By pulling the plug (?)

>> If the node itself gets hosed, then a hardware watchdog on that node
>> *might* bring it back to nominal operating condition.
>>
>> But, I still need a reliable way of making a (remote) node "safe",
>> "secure", etc.
>>
>> I presently deliver PoE to each node and many of them live off that.
>> So, as a last ditch effort, I can command the switch to remove that and
>> unceremoniously bring the node down.
>>
>> Except for the nodes that *aren't* dependent on that!
>>
>> Rather than concoct some other mechanism that might work (less
>> effectively), perhaps it is easiest to codify this behavior in the
>> hardware interface spec?
>> I.e., even if you don't RELY on PoE, you must still *honor* it AS IF you
>> did!
>>
>> In the simplest case, that means treating !PoE as a RESET state.  And,
>> ensuring that the hardware will remain safe/secure in perpetual reset
>> (i.e., not expecting RESET to be a *transient* state).
>>
>> Of course, the downside is that I now must be able to deliver something
>> akin to a PoE signal on every port (though I could possibly skimp on the
>> load carrying capability for many ports?)
>>
>> Any holes in this?  Or, better alternatives?
>
> Sounds good.  For the pseudo-PoE idea, if you're worried about babbling
> nodes consuming all the bandwidth, you could insist that the Ethernet phy
> layer be powered by the PoE, even if nothing else is.  Or insist on a set
> of analog switches that effectively disconnect Ethernet at some point.

A process control system I worked on many years ago had a locally controlled
relay to allow a node to isolate it from the network.  And, fuses in-line.
If the network got compromised (a node chattering endlessly), "normal"
nodes would detect this and take themselves offline.  The network controller
(Master-Slave) would then apply a high voltage to the network blowing the
fuses of any node that had "lost its marbles".  After a prescribed delay,
the "sane" nodes would reconnect to the network.

But, here, each node is on its own segment.  So, I can simply choose to
block all traffic coming into the switch from that segment.  (a node can't
decide who it wants to talk to but, rather, the switch has to be configured
to explicitly pass *desired* traffic to/from the other nodes as the
fabric configuration is dynamically updated).

[The point was to ensure that an adversary having access to a node
or its drop can't flood the switch with bogus (or even forged) traffic
and compromise the operation of other nodes]

> And -- keep in mind that you can't protect from EVERY fault.  You have to
> make a risk/reward tradeoff.

Yes.  If it was a monolithic design, a single hardware "reset" circuit would
ensure EVERYTHING was held in a safe/secure state (by explicitly choosing
reset conditions to be such).  The distributed nature prevents me from
"distributing" that reset signal.

[Ages ago, I'd accomplished this with serially (EIA232) connected nodes
by driving TxD to a LONG SPACE condition... then, letting hardware
detect this (one shot) and drive the "local" RESET accordingly.  Not
quite as easy to do/detect with ethernet interfaces (without relying on
the interface itself being operational) -- for an EIA232 link, you could
just look at the incoming RxD signal coming out of the level translator]

[toc] | [prev] | [next] | [standalone]


#23713

FromTim Wescott <tim@seemywebsite.com>
Date2016-04-20 19:27 -0500
Message-ID<f7Wdndyj6bPwg4XKnZ2dnUU7-aGdnZ2d@giganews.com>
In reply to#23712
On Wed, 20 Apr 2016 15:30:12 -0700, Don Y wrote:

> On 4/20/2016 2:17 PM, Tim Wescott wrote:
>> On Wed, 20 Apr 2016 12:57:06 -0700, Don Y wrote:
>>
>>> I have a distributed system.  As such, it is possible for parts of it
>>> to crash, become unresponsive, suffer hardware failures, etc.
>>>
>>> The "system" as a whole needs a way of coping with these.
>>>
>>> In the normal course of operation, traffic between nodes gives some
>>> reassurance that the nodes involved are "sane".
>>>
>>> OTOH, if a node starts acting wonky, I can invoke recovery protocols
>>> that (in an ideal world) will reset/restart the portions of the node
>>> that appear to be misbehaving (e.g., if traffic to/from one particular
>>> task is "odd", then perhaps that task has gone south;
>>> but, the remainder of the node may be intact.  Or, some I/O that the
>>> wacky task handles is misbehaving and the task is doing its best to
>>> make sense of a broken environment).
>>
>> I would be more inclined to insist that each node has good
>> built-in-test,
>> and that it do it's own fault recovery -- i.e., to the extent possible
>> it should recognize it's own problems, and at worst it should respond
>> to requests for information with "I'm sorry, I'm sick right now and
>> can't come to work."
> 
> Nodes are up "forever".  So, the POST only happens occasionally.
> I have some run-time diagnostics (e.g., testing RAM as I scrub it;
> sanity tests on I/O values, etc.).  But, if the node is already
> "compromised" in some way, I can't rely on *it* being able to adequately
> vouch for itself.

POST is only part of BIT.  When I did pseudo-military stuff, BIT meant 
continuous built-in test, that would pop a fault condition if a sensor 
went out of range or if some combination of sensors were out of bounds.  
FIT (Fault Isolation Test) was something you commanded, and took that 
part of the system off line.  POST was FIT on steroids.

> OTOH, if a *process* goes wonky, I can shut it down (the assumption
> being that the rest of the node is intact).  But, if the node doesn't
> (or can't!) listen, then I can't "tell" it to do anything!

I'm not sure if by process you mean one thread of execution within the 
node's one processor, or if you mean that the node has multiple 
processors.

At any rate, you should consider having local BIT that can at least tell 
if a process has gone _really_ wonky and do something.

>> Then if it goes _totally_ wonky, cut it off at the knees.
> 
> By pulling the plug (?)

Yup.  It's cheaper than detonators on each node, and less alarming to the 
customer.

>>> If the node itself gets hosed, then a hardware watchdog on that node
>>> *might* bring it back to nominal operating condition.
>>>
>>> But, I still need a reliable way of making a (remote) node "safe",
>>> "secure", etc.
>>>
>>> I presently deliver PoE to each node and many of them live off that.
>>> So, as a last ditch effort, I can command the switch to remove that
>>> and unceremoniously bring the node down.
>>>
>>> Except for the nodes that *aren't* dependent on that!
>>>
>>> Rather than concoct some other mechanism that might work (less
>>> effectively), perhaps it is easiest to codify this behavior in the
>>> hardware interface spec?
>>> I.e., even if you don't RELY on PoE, you must still *honor* it AS IF
>>> you did!
>>>
>>> In the simplest case, that means treating !PoE as a RESET state.  And,
>>> ensuring that the hardware will remain safe/secure in perpetual reset
>>> (i.e., not expecting RESET to be a *transient* state).
>>>
>>> Of course, the downside is that I now must be able to deliver
>>> something akin to a PoE signal on every port (though I could possibly
>>> skimp on the load carrying capability for many ports?)
>>>
>>> Any holes in this?  Or, better alternatives?
>>
>> Sounds good.  For the pseudo-PoE idea, if you're worried about babbling
>> nodes consuming all the bandwidth, you could insist that the Ethernet
>> phy layer be powered by the PoE, even if nothing else is.  Or insist on
>> a set of analog switches that effectively disconnect Ethernet at some
>> point.
> 
> A process control system I worked on many years ago had a locally
> controlled relay to allow a node to isolate it from the network.  And,
> fuses in-line. If the network got compromised (a node chattering
> endlessly), "normal" nodes would detect this and take themselves
> offline.  The network controller (Master-Slave) would then apply a high
> voltage to the network blowing the fuses of any node that had "lost its
> marbles".  After a prescribed delay, the "sane" nodes would reconnect to
> the network.
> 
> But, here, each node is on its own segment.  So, I can simply choose to
> block all traffic coming into the switch from that segment.  (a node
> can't decide who it wants to talk to but, rather, the switch has to be
> configured to explicitly pass *desired* traffic to/from the other nodes
> as the fabric configuration is dynamically updated).
> 
> [The point was to ensure that an adversary having access to a node or
> its drop can't flood the switch with bogus (or even forged) traffic and
> compromise the operation of other nodes]
> 
>> And -- keep in mind that you can't protect from EVERY fault.  You have
>> to make a risk/reward tradeoff.
> 
> Yes.  If it was a monolithic design, a single hardware "reset" circuit
> would ensure EVERYTHING was held in a safe/secure state (by explicitly
> choosing reset conditions to be such).  The distributed nature prevents
> me from "distributing" that reset signal.
> 
> [Ages ago, I'd accomplished this with serially (EIA232) connected nodes
> by driving TxD to a LONG SPACE condition... then, letting hardware
> detect this (one shot) and drive the "local" RESET accordingly.  Not
> quite as easy to do/detect with ethernet interfaces (without relying on
> the interface itself being operational) -- for an EIA232 link, you could
> just look at the incoming RxD signal coming out of the level translator]





-- 
www.wescottdesign.com

[toc] | [prev] | [next] | [standalone]


#23714

FromDon Y <blockedofcourse@foo.invalid>
Date2016-04-20 17:42 -0700
Message-ID<nf97gj$h0i$1@dont-email.me>
In reply to#23713
On 4/20/2016 5:27 PM, Tim Wescott wrote:
> On Wed, 20 Apr 2016 15:30:12 -0700, Don Y wrote:
>
>> On 4/20/2016 2:17 PM, Tim Wescott wrote:
>>> On Wed, 20 Apr 2016 12:57:06 -0700, Don Y wrote:
>>>
>>>> I have a distributed system.  As such, it is possible for parts of it
>>>> to crash, become unresponsive, suffer hardware failures, etc.
>>>>
>>>> The "system" as a whole needs a way of coping with these.
>>>>
>>>> In the normal course of operation, traffic between nodes gives some
>>>> reassurance that the nodes involved are "sane".
>>>>
>>>> OTOH, if a node starts acting wonky, I can invoke recovery protocols
>>>> that (in an ideal world) will reset/restart the portions of the node
>>>> that appear to be misbehaving (e.g., if traffic to/from one particular
>>>> task is "odd", then perhaps that task has gone south;
>>>> but, the remainder of the node may be intact.  Or, some I/O that the
>>>> wacky task handles is misbehaving and the task is doing its best to
>>>> make sense of a broken environment).
>>>
>>> I would be more inclined to insist that each node has good
>>> built-in-test,
>>> and that it do it's own fault recovery -- i.e., to the extent possible
>>> it should recognize it's own problems, and at worst it should respond
>>> to requests for information with "I'm sorry, I'm sick right now and
>>> can't come to work."
>>
>> Nodes are up "forever".  So, the POST only happens occasionally.
>> I have some run-time diagnostics (e.g., testing RAM as I scrub it;
>> sanity tests on I/O values, etc.).  But, if the node is already
>> "compromised" in some way, I can't rely on *it* being able to adequately
>> vouch for itself.
>
> POST is only part of BIT.  When I did pseudo-military stuff, BIT meant
> continuous built-in test, that would pop a fault condition if a sensor
> went out of range or if some combination of sensors were out of bounds.

That's just common-sense validation of inputs.  I.e., if I command a
motor to "move right" and sense the LEFT limit switch engaging,
something is very wrong.  Or, if a temperature sensor indicates
25.3C on one sample and 42.5C on the next sample -- when the
thermal mass involved would otherwise prohibit such a change.

> FIT (Fault Isolation Test) was something you commanded, and took that
> part of the system off line.  POST was FIT on steroids.

I can invoke POST by cycling power to the node and letting it
go through its normal startup checks.  But, that takes the whole
node off-line for the duration.

Instead, I "poke at" various aspects of the system while it is running
to ensure that "as components" they appear to be operational.

>> OTOH, if a *process* goes wonky, I can shut it down (the assumption
>> being that the rest of the node is intact).  But, if the node doesn't
>> (or can't!) listen, then I can't "tell" it to do anything!
>
> I'm not sure if by process you mean one thread of execution within the
> node's one processor, or if you mean that the node has multiple
> processors.

"Process" being a container for threads and other resources.
"Job" being a collection of processes.

So, my statement is intended to mean "some planned activity is not
behaving in a 'nominal' manner".  E.g., if a process is supposed
to be reporting power consumption at 10 second intervals and
the numbers suddenly make no sense (e.g., -37, +JKLHKL, etc.)
or the update interval lengthens or quickens or it stops responding
to commands or synchronous RPC's to the process "hang indefinitely"...

These are things that a remote process/actor can discern from observations
FROM that other (remote) process.  They leak information regarding the
remote process's likely functionality (or lack thereof).

If you could observe ALL of the processes on a node, remotely, you might
be able to infer that there is some systemic failure on that node.

> At any rate, you should consider having local BIT that can at least tell
> if a process has gone _really_ wonky and do something.

The OS knows if a process isn't interacting with it, properly.
The process can't interact with anything else in the system (local
or remote) without the OS acting as intermediary.

But, the OS doesn't want to *know* how the process should behave.
That information is encoded in the interactions the process has
with other actors (local and remote) in the system.

Obviously, if a node "goes silent", it is highly suspect.  If this
happens to an isolated process, then (hopefully) SOMETHING on the
node is still sane and can help recover/restore that capability.

What I need is an "if all else fails" fallback.  So, I don't
have to worry that some I/O is being (erroneously) commanded
to do something that it shouldn't, etc.

[toc] | [prev] | [next] | [standalone]


#23716

FromRobert Wessel <robertwessel2@yahoo.com>
Date2016-04-20 23:19 -0500
Message-ID<n5kghbld2jtaihaqb0mf4gv7j3hch7se5m@4ax.com>
In reply to#23710
On Wed, 20 Apr 2016 12:57:06 -0700, Don Y
<blockedofcourse@foo.invalid> wrote:

>I have a distributed system.  As such, it is possible for parts of it
>to crash, become unresponsive, suffer hardware failures, etc.
>
>The "system" as a whole needs a way of coping with these.
>
>In the normal course of operation, traffic between nodes gives some
>reassurance that the nodes involved are "sane".
>
>OTOH, if a node starts acting wonky, I can invoke recovery protocols
>that (in an ideal world) will reset/restart the portions of the
>node that appear to be misbehaving (e.g., if traffic to/from one
>particular task is "odd", then perhaps that task has gone south;
>but, the remainder of the node may be intact.  Or, some I/O that
>the wacky task handles is misbehaving and the task is doing its
>best to make sense of a broken environment).
>
>If the node itself gets hosed, then a hardware watchdog on that
>node *might* bring it back to nominal operating condition.
>
>But, I still need a reliable way of making a (remote) node "safe",
>"secure", etc.
>
>I presently deliver PoE to each node and many of them live off that.
>So, as a last ditch effort, I can command the switch to remove that
>and unceremoniously bring the node down.
>
>Except for the nodes that *aren't* dependent on that!
>
>Rather than concoct some other mechanism that might work (less effectively),
>perhaps it is easiest to codify this behavior in the hardware interface spec?
>I.e., even if you don't RELY on PoE, you must still *honor* it AS IF you did!
>
>In the simplest case, that means treating !PoE as a RESET state.  And,
>ensuring that the hardware will remain safe/secure in perpetual reset
>(i.e., not expecting RESET to be a *transient* state).
>
>Of course, the downside is that I now must be able to deliver something
>akin to a PoE signal on every port (though I could possibly skimp on
>the load carrying capability for many ports?)
>
>Any holes in this?  Or, better alternatives?


There's the obvious solution of using the power from the PoE PSE to
drive an enable of some sort to the device's power supply.  Heck use
that to energize a relay you've put across the mains input (some way
of overriding that at the device would probably be prudent).

[toc] | [prev] | [next] | [standalone]


#23717

FromDon Y <blockedofcourse@foo.invalid>
Date2016-04-20 22:10 -0700
Message-ID<nf9n66$mj5$1@dont-email.me>
In reply to#23716
On 4/20/2016 9:19 PM, Robert Wessel wrote:

> There's the obvious solution of using the power from the PoE PSE to
> drive an enable of some sort to the device's power supply.  Heck use
> that to energize a relay you've put across the mains input (some way
> of overriding that at the device would probably be prudent).

If the device is NOT PoE powered, it's probably because it represents a
substantial load (25+W?).  I'm not sure it would be prudent to let
something remotely disconnect power (and possibly reapply it, moments
later) for large loads.

OTOH, holding the device "in reset" (possibly indefinitely or even
"repeatedly") should be safe(r?)

[toc] | [prev] | [next] | [standalone]


#23735

FromRobert Wessel <robertwessel2@yahoo.com>
Date2016-04-21 22:34 -0500
Message-ID<5n6jhb5it9ren15hhf8ndnv8f9p74muado@4ax.com>
In reply to#23717
On Wed, 20 Apr 2016 22:10:20 -0700, Don Y
<blockedofcourse@foo.invalid> wrote:

>On 4/20/2016 9:19 PM, Robert Wessel wrote:
>
>> There's the obvious solution of using the power from the PoE PSE to
>> drive an enable of some sort to the device's power supply.  Heck use
>> that to energize a relay you've put across the mains input (some way
>> of overriding that at the device would probably be prudent).
>
>If the device is NOT PoE powered, it's probably because it represents a
>substantial load (25+W?).  I'm not sure it would be prudent to let
>something remotely disconnect power (and possibly reapply it, moments
>later) for large loads.
>
>OTOH, holding the device "in reset" (possibly indefinitely or even
>"repeatedly") should be safe(r?)


Presumably this is for cases where the device is so far gone that you
want to hit the big-red-switch.  If you want more sophistication, you
can put a controlling microprocessor on the device, and have that
powered by PoE, and it could do things like force a reset, or actually
power the device off if necessary.

[toc] | [prev] | [next] | [standalone]


#23736

FromRobert Wessel <robertwessel2@yahoo.com>
Date2016-04-21 22:53 -0500
Message-ID<4v6jhbt43rknsogr902gm8h6p30sq84he7@4ax.com>
In reply to#23735
On Thu, 21 Apr 2016 22:34:06 -0500, Robert Wessel
<robertwessel2@yahoo.com> wrote:

>On Wed, 20 Apr 2016 22:10:20 -0700, Don Y
><blockedofcourse@foo.invalid> wrote:
>
>>On 4/20/2016 9:19 PM, Robert Wessel wrote:
>>
>>> There's the obvious solution of using the power from the PoE PSE to
>>> drive an enable of some sort to the device's power supply.  Heck use
>>> that to energize a relay you've put across the mains input (some way
>>> of overriding that at the device would probably be prudent).
>>
>>If the device is NOT PoE powered, it's probably because it represents a
>>substantial load (25+W?).  I'm not sure it would be prudent to let
>>something remotely disconnect power (and possibly reapply it, moments
>>later) for large loads.
>>
>>OTOH, holding the device "in reset" (possibly indefinitely or even
>>"repeatedly") should be safe(r?)
>
>
>Presumably this is for cases where the device is so far gone that you
>want to hit the big-red-switch.  If you want more sophistication, you
>can put a controlling microprocessor on the device, and have that
>powered by PoE, and it could do things like force a reset, or actually
>power the device off if necessary.


Aircraft systems have an interesting parallel.  Almost everything have
its power disconnected via a circuit breaking in the cockpit.  In ye
olde days, these were actually breakers wired into the circuit mounted
on a panel (or several) in the cockpit, or a simple remote-operated
breaker (usually for heavy loads).  On recent aircraft, most of this
is driven by the flight management system, which will pop up a little
message saying it's pulled a breaker (if it happens automatically), or
has a screen where you can pick a breaker to pull, and the breakers
themselves are often located in a more convenient physical location
(presumably near the circuit they're protecting), and they're
controlled remotely.

In the past is was not uncommon for the flight crew to attempt to
cycle a breaker after a failure, but the modern policy is to just
leave it alone (and powered off), and let maintenance deal with it on
the ground.  Obviously with exceptions where the loss of the system in
question can be considered more dangerous than the possibility of a
fire or other really bad result from the failing device.

[toc] | [prev] | [next] | [standalone]


#23738

Fromlasselangwadtchristensen@gmail.com
Date2016-04-22 04:23 -0700
Message-ID<7ff9324f-732b-453e-bb07-4454acc39efa@googlegroups.com>
In reply to#23736
Den fredag den 22. april 2016 kl. 05.53.11 UTC+2 skrev robert...@yahoo.com:
> On Thu, 21 Apr 2016 22:34:06 -0500, Robert Wessel
> <robertwessel2@yahoo.com> wrote:
> 
> >On Wed, 20 Apr 2016 22:10:20 -0700, Don Y
> ><blockedofcourse@foo.invalid> wrote:
> >
> >>On 4/20/2016 9:19 PM, Robert Wessel wrote:
> >>
> >>> There's the obvious solution of using the power from the PoE PSE to
> >>> drive an enable of some sort to the device's power supply.  Heck use
> >>> that to energize a relay you've put across the mains input (some way
> >>> of overriding that at the device would probably be prudent).
> >>
> >>If the device is NOT PoE powered, it's probably because it represents a
> >>substantial load (25+W?).  I'm not sure it would be prudent to let
> >>something remotely disconnect power (and possibly reapply it, moments
> >>later) for large loads.
> >>
> >>OTOH, holding the device "in reset" (possibly indefinitely or even
> >>"repeatedly") should be safe(r?)
> >
> >
> >Presumably this is for cases where the device is so far gone that you
> >want to hit the big-red-switch.  If you want more sophistication, you
> >can put a controlling microprocessor on the device, and have that
> >powered by PoE, and it could do things like force a reset, or actually
> >power the device off if necessary.
> 
> 
> Aircraft systems have an interesting parallel.  Almost everything have
> its power disconnected via a circuit breaking in the cockpit.  In ye
> olde days, these were actually breakers wired into the circuit mounted
> on a panel (or several) in the cockpit, or a simple remote-operated
> breaker (usually for heavy loads).  On recent aircraft, most of this
> is driven by the flight management system, which will pop up a little
> message saying it's pulled a breaker (if it happens automatically), or
> has a screen where you can pick a breaker to pull, and the breakers
> themselves are often located in a more convenient physical location
> (presumably near the circuit they're protecting), and they're
> controlled remotely.
> 
> In the past is was not uncommon for the flight crew to attempt to
> cycle a breaker after a failure, but the modern policy is to just
> leave it alone (and powered off), and let maintenance deal with it on
> the ground.  Obviously with exceptions where the loss of the system in
> question can be considered more dangerous than the possibility of a
> fire or other really bad result from the failing device.

https://en.wikipedia.org/wiki/Northwest_Airlines_Flight_255

-Lasse

[toc] | [prev] | [next] | [standalone]


#23747

FromRobert Wessel <robertwessel2@yahoo.com>
Date2016-04-22 18:47 -0500
Message-ID<kkdlhbt2mochj14pnsaafrij9q5sb7jqvl@4ax.com>
In reply to#23738
On Fri, 22 Apr 2016 04:23:55 -0700 (PDT),
lasselangwadtchristensen@gmail.com wrote:

>Den fredag den 22. april 2016 kl. 05.53.11 UTC+2 skrev robert...@yahoo.com:
>> On Thu, 21 Apr 2016 22:34:06 -0500, Robert Wessel
>> <robertwessel2@yahoo.com> wrote:
>> 
>> >On Wed, 20 Apr 2016 22:10:20 -0700, Don Y
>> ><blockedofcourse@foo.invalid> wrote:
>> >
>> >>On 4/20/2016 9:19 PM, Robert Wessel wrote:
>> >>
>> >>> There's the obvious solution of using the power from the PoE PSE to
>> >>> drive an enable of some sort to the device's power supply.  Heck use
>> >>> that to energize a relay you've put across the mains input (some way
>> >>> of overriding that at the device would probably be prudent).
>> >>
>> >>If the device is NOT PoE powered, it's probably because it represents a
>> >>substantial load (25+W?).  I'm not sure it would be prudent to let
>> >>something remotely disconnect power (and possibly reapply it, moments
>> >>later) for large loads.
>> >>
>> >>OTOH, holding the device "in reset" (possibly indefinitely or even
>> >>"repeatedly") should be safe(r?)
>> >
>> >
>> >Presumably this is for cases where the device is so far gone that you
>> >want to hit the big-red-switch.  If you want more sophistication, you
>> >can put a controlling microprocessor on the device, and have that
>> >powered by PoE, and it could do things like force a reset, or actually
>> >power the device off if necessary.
>> 
>> 
>> Aircraft systems have an interesting parallel.  Almost everything have
>> its power disconnected via a circuit breaking in the cockpit.  In ye
>> olde days, these were actually breakers wired into the circuit mounted
>> on a panel (or several) in the cockpit, or a simple remote-operated
>> breaker (usually for heavy loads).  On recent aircraft, most of this
>> is driven by the flight management system, which will pop up a little
>> message saying it's pulled a breaker (if it happens automatically), or
>> has a screen where you can pick a breaker to pull, and the breakers
>> themselves are often located in a more convenient physical location
>> (presumably near the circuit they're protecting), and they're
>> controlled remotely.
>> 
>> In the past is was not uncommon for the flight crew to attempt to
>> cycle a breaker after a failure, but the modern policy is to just
>> leave it alone (and powered off), and let maintenance deal with it on
>> the ground.  Obviously with exceptions where the loss of the system in
>> question can be considered more dangerous than the possibility of a
>> fire or other really bad result from the failing device.
>
>https://en.wikipedia.org/wiki/Northwest_Airlines_Flight_255


I'm not sure that exactly applies.  If the CB was pulled by
maintenance or the pilots, the flight should never have been started
in that condition (I don't think the configuration warning system is
MEL-able).  If it tripped because of an actual overload, well, what
else would you have it do?  You could make a case for lack of
redundancy.  And if it failed in such a way that it was open, but gave
no indication, again, that doesn't really apply, except perhaps to
suggest the need for additional redundancy.

In at least the first case, modern systems would likely have made it
much harder to miss the pulled breaker, and might well have helped in
the third case.

In any event, the configuration error was the cause of the accident,
not the failure of the configuration warning system.  And that
actually supports *my* point - let's say we were looking at the second
case, there could actually be a fire risk that the tripped breaker is
removing, vs. the pilots doing something really stupid, like taking
off without flaps.

[toc] | [prev] | [next] | [standalone]


#23748

FromDon Y <blockedofcourse@foo.invalid>
Date2016-04-22 17:48 -0700
Message-ID<nfeghv$mu2$1@dont-email.me>
In reply to#23747
On 4/22/2016 4:47 PM, Robert Wessel wrote:
> On Fri, 22 Apr 2016 04:23:55 -0700 (PDT),
> lasselangwadtchristensen@gmail.com wrote:
>
>> Den fredag den 22. april 2016 kl. 05.53.11 UTC+2 skrev robert...@yahoo.com:
>>> On Thu, 21 Apr 2016 22:34:06 -0500, Robert Wessel
>>> <robertwessel2@yahoo.com> wrote:
>>>
>>>> On Wed, 20 Apr 2016 22:10:20 -0700, Don Y
>>>> <blockedofcourse@foo.invalid> wrote:
>>>>
>>>>> On 4/20/2016 9:19 PM, Robert Wessel wrote:
>>>>>
>>>>>> There's the obvious solution of using the power from the PoE PSE to
>>>>>> drive an enable of some sort to the device's power supply.  Heck use
>>>>>> that to energize a relay you've put across the mains input (some way
>>>>>> of overriding that at the device would probably be prudent).
>>>>>
>>>>> If the device is NOT PoE powered, it's probably because it represents a
>>>>> substantial load (25+W?).  I'm not sure it would be prudent to let
>>>>> something remotely disconnect power (and possibly reapply it, moments
>>>>> later) for large loads.
>>>>>
>>>>> OTOH, holding the device "in reset" (possibly indefinitely or even
>>>>> "repeatedly") should be safe(r?)
>>>>
>>>>
>>>> Presumably this is for cases where the device is so far gone that you
>>>> want to hit the big-red-switch.  If you want more sophistication, you
>>>> can put a controlling microprocessor on the device, and have that
>>>> powered by PoE, and it could do things like force a reset, or actually
>>>> power the device off if necessary.
>>>
>>>
>>> Aircraft systems have an interesting parallel.  Almost everything have
>>> its power disconnected via a circuit breaking in the cockpit.  In ye
>>> olde days, these were actually breakers wired into the circuit mounted
>>> on a panel (or several) in the cockpit, or a simple remote-operated
>>> breaker (usually for heavy loads).  On recent aircraft, most of this
>>> is driven by the flight management system, which will pop up a little
>>> message saying it's pulled a breaker (if it happens automatically), or
>>> has a screen where you can pick a breaker to pull, and the breakers
>>> themselves are often located in a more convenient physical location
>>> (presumably near the circuit they're protecting), and they're
>>> controlled remotely.
>>>
>>> In the past is was not uncommon for the flight crew to attempt to
>>> cycle a breaker after a failure, but the modern policy is to just
>>> leave it alone (and powered off), and let maintenance deal with it on
>>> the ground.  Obviously with exceptions where the loss of the system in
>>> question can be considered more dangerous than the possibility of a
>>> fire or other really bad result from the failing device.
>>
>> https://en.wikipedia.org/wiki/Northwest_Airlines_Flight_255
>
>
> I'm not sure that exactly applies.  If the CB was pulled by
> maintenance or the pilots, the flight should never have been started
> in that condition (I don't think the configuration warning system is
> MEL-able).  If it tripped because of an actual overload, well, what
> else would you have it do?  You could make a case for lack of
> redundancy.  And if it failed in such a way that it was open, but gave
> no indication, again, that doesn't really apply, except perhaps to
> suggest the need for additional redundancy.
>
> In at least the first case, modern systems would likely have made it
> much harder to miss the pulled breaker, and might well have helped in
> the third case.
>
> In any event, the configuration error was the cause of the accident,
> not the failure of the configuration warning system.  And that
> actually supports *my* point - let's say we were looking at the second
> case, there could actually be a fire risk that the tripped breaker is
> removing, vs. the pilots doing something really stupid, like taking
> off without flaps.

I think it underscores the fact that handling MULTIPLE errors is
always problematic.  Had the preflight check been completed
(an error in itself), would the "problem" have gone unnoticed?

[toc] | [prev] | [next] | [standalone]


#23749

Fromlasselangwadtchristensen@gmail.com
Date2016-04-22 18:22 -0700
Message-ID<649dc064-e746-4f8d-ad2c-1cb46b19a864@googlegroups.com>
In reply to#23748
Den lørdag den 23. april 2016 kl. 02.48.15 UTC+2 skrev Don Y:
> On 4/22/2016 4:47 PM, Robert Wessel wrote:
> > On Fri, 22 Apr 2016 04:23:55 -0700 (PDT),
> > lasselangwadtchristensen@gmail.com wrote:
> >
> >> Den fredag den 22. april 2016 kl. 05.53.11 UTC+2 skrev robert...@yahoo.com:
> >>> On Thu, 21 Apr 2016 22:34:06 -0500, Robert Wessel
> >>> <robertwessel2@yahoo.com> wrote:
> >>>
> >>>> On Wed, 20 Apr 2016 22:10:20 -0700, Don Y
> >>>> <blockedofcourse@foo.invalid> wrote:
> >>>>
> >>>>> On 4/20/2016 9:19 PM, Robert Wessel wrote:
> >>>>>
> >>>>>> There's the obvious solution of using the power from the PoE PSE to
> >>>>>> drive an enable of some sort to the device's power supply.  Heck use
> >>>>>> that to energize a relay you've put across the mains input (some way
> >>>>>> of overriding that at the device would probably be prudent).
> >>>>>
> >>>>> If the device is NOT PoE powered, it's probably because it represents a
> >>>>> substantial load (25+W?).  I'm not sure it would be prudent to let
> >>>>> something remotely disconnect power (and possibly reapply it, moments
> >>>>> later) for large loads.
> >>>>>
> >>>>> OTOH, holding the device "in reset" (possibly indefinitely or even
> >>>>> "repeatedly") should be safe(r?)
> >>>>
> >>>>
> >>>> Presumably this is for cases where the device is so far gone that you
> >>>> want to hit the big-red-switch.  If you want more sophistication, you
> >>>> can put a controlling microprocessor on the device, and have that
> >>>> powered by PoE, and it could do things like force a reset, or actually
> >>>> power the device off if necessary.
> >>>
> >>>
> >>> Aircraft systems have an interesting parallel.  Almost everything have
> >>> its power disconnected via a circuit breaking in the cockpit.  In ye
> >>> olde days, these were actually breakers wired into the circuit mounted
> >>> on a panel (or several) in the cockpit, or a simple remote-operated
> >>> breaker (usually for heavy loads).  On recent aircraft, most of this
> >>> is driven by the flight management system, which will pop up a little
> >>> message saying it's pulled a breaker (if it happens automatically), or
> >>> has a screen where you can pick a breaker to pull, and the breakers
> >>> themselves are often located in a more convenient physical location
> >>> (presumably near the circuit they're protecting), and they're
> >>> controlled remotely.
> >>>
> >>> In the past is was not uncommon for the flight crew to attempt to
> >>> cycle a breaker after a failure, but the modern policy is to just
> >>> leave it alone (and powered off), and let maintenance deal with it on
> >>> the ground.  Obviously with exceptions where the loss of the system in
> >>> question can be considered more dangerous than the possibility of a
> >>> fire or other really bad result from the failing device.
> >>
> >> https://en.wikipedia.org/wiki/Northwest_Airlines_Flight_255
> >
> >
> > I'm not sure that exactly applies.  If the CB was pulled by
> > maintenance or the pilots, the flight should never have been started
> > in that condition (I don't think the configuration warning system is
> > MEL-able).  If it tripped because of an actual overload, well, what
> > else would you have it do?  You could make a case for lack of
> > redundancy.  And if it failed in such a way that it was open, but gave
> > no indication, again, that doesn't really apply, except perhaps to
> > suggest the need for additional redundancy.
> >
> > In at least the first case, modern systems would likely have made it
> > much harder to miss the pulled breaker, and might well have helped in
> > the third case.
> >
> > In any event, the configuration error was the cause of the accident,
> > not the failure of the configuration warning system.  And that
> > actually supports *my* point - let's say we were looking at the second
> > case, there could actually be a fire risk that the tripped breaker is
> > removing, vs. the pilots doing something really stupid, like taking
> > off without flaps.
> 
> I think it underscores the fact that handling MULTIPLE errors is
> always problematic.  Had the preflight check been completed
> (an error in itself), would the "problem" have gone unnoticed?

From the TV documentary about the crash it wasn't uncommon for pilots 
to pull the breaker on configuration warning system because of false warnings
while taxing a bit fast. If that was why it wasn't on we'll never know

afaiu the outcome was a change to warming system so there would be less false warmings and the checklist split in smaller sections so it wasn't such much work to start over with a section, as you are supposed to when disturbed in the middle 

-Lasse

[toc] | [prev] | [next] | [standalone]


#23750

FromDon Y <blockedofcourse@foo.invalid>
Date2016-04-22 19:11 -0700
Message-ID<nfeleb$1da$1@dont-email.me>
In reply to#23749
On 4/22/2016 6:22 PM, lasselangwadtchristensen@gmail.com wrote:
> Den lørdag den 23. april 2016 kl. 02.48.15 UTC+2 skrev Don Y:
>> On 4/22/2016 4:47 PM, Robert Wessel wrote:
>>> On Fri, 22 Apr 2016 04:23:55 -0700 (PDT),
>>> lasselangwadtchristensen@gmail.com wrote:
>>>
>>>> Den fredag den 22. april 2016 kl. 05.53.11 UTC+2 skrev
>>>> robert...@yahoo.com:
>>>>> On Thu, 21 Apr 2016 22:34:06 -0500, Robert Wessel
>>>>> <robertwessel2@yahoo.com> wrote:
>>>>>
>>>>>> On Wed, 20 Apr 2016 22:10:20 -0700, Don Y
>>>>>> <blockedofcourse@foo.invalid> wrote:
>>>>>>
>>>>>>> On 4/20/2016 9:19 PM, Robert Wessel wrote:
>>>>>>>
>>>>>>>> There's the obvious solution of using the power from the PoE
>>>>>>>> PSE to drive an enable of some sort to the device's power
>>>>>>>> supply.  Heck use that to energize a relay you've put across
>>>>>>>> the mains input (some way of overriding that at the device
>>>>>>>> would probably be prudent).
>>>>>>>
>>>>>>> If the device is NOT PoE powered, it's probably because it
>>>>>>> represents a substantial load (25+W?).  I'm not sure it would be
>>>>>>> prudent to let something remotely disconnect power (and possibly
>>>>>>> reapply it, moments later) for large loads.
>>>>>>>
>>>>>>> OTOH, holding the device "in reset" (possibly indefinitely or
>>>>>>> even "repeatedly") should be safe(r?)
>>>>>>
>>>>>>
>>>>>> Presumably this is for cases where the device is so far gone that
>>>>>> you want to hit the big-red-switch.  If you want more
>>>>>> sophistication, you can put a controlling microprocessor on the
>>>>>> device, and have that powered by PoE, and it could do things like
>>>>>> force a reset, or actually power the device off if necessary.
>>>>>
>>>>>
>>>>> Aircraft systems have an interesting parallel.  Almost everything
>>>>> have its power disconnected via a circuit breaking in the cockpit.
>>>>> In ye olde days, these were actually breakers wired into the circuit
>>>>> mounted on a panel (or several) in the cockpit, or a simple
>>>>> remote-operated breaker (usually for heavy loads).  On recent
>>>>> aircraft, most of this is driven by the flight management system,
>>>>> which will pop up a little message saying it's pulled a breaker (if
>>>>> it happens automatically), or has a screen where you can pick a
>>>>> breaker to pull, and the breakers themselves are often located in a
>>>>> more convenient physical location (presumably near the circuit
>>>>> they're protecting), and they're controlled remotely.
>>>>>
>>>>> In the past is was not uncommon for the flight crew to attempt to
>>>>> cycle a breaker after a failure, but the modern policy is to just
>>>>> leave it alone (and powered off), and let maintenance deal with it
>>>>> on the ground.  Obviously with exceptions where the loss of the
>>>>> system in question can be considered more dangerous than the
>>>>> possibility of a fire or other really bad result from the failing
>>>>> device.
>>>>
>>>> https://en.wikipedia.org/wiki/Northwest_Airlines_Flight_255
>>>
>>>
>>> I'm not sure that exactly applies.  If the CB was pulled by maintenance
>>> or the pilots, the flight should never have been started in that
>>> condition (I don't think the configuration warning system is MEL-able).
>>> If it tripped because of an actual overload, well, what else would you
>>> have it do?  You could make a case for lack of redundancy.  And if it
>>> failed in such a way that it was open, but gave no indication, again,
>>> that doesn't really apply, except perhaps to suggest the need for
>>> additional redundancy.
>>>
>>> In at least the first case, modern systems would likely have made it
>>> much harder to miss the pulled breaker, and might well have helped in
>>> the third case.
>>>
>>> In any event, the configuration error was the cause of the accident, not
>>> the failure of the configuration warning system.  And that actually
>>> supports *my* point - let's say we were looking at the second case,
>>> there could actually be a fire risk that the tripped breaker is
>>> removing, vs. the pilots doing something really stupid, like taking off
>>> without flaps.
>>
>> I think it underscores the fact that handling MULTIPLE errors is always
>> problematic.  Had the preflight check been completed (an error in itself),
>> would the "problem" have gone unnoticed?
>
> From the TV documentary about the crash it wasn't uncommon for pilots to
> pull the breaker on configuration warning system because of false warnings
> while taxing a bit fast. If that was why it wasn't on we'll never know

    "The National Transportation Safety Board determines that the probable
    cause of the accident was the flightcrew’s failure to use the taxi
    checklist to ensure that the flaps and slats were extended for takeoff."

Error #1 which MASKS error #2 (or, which allows error #2 to be fatal):

    "Contributing to the accident was the absence of electrical power to the
    airplane takeoff warning system which thus did not warn the flightcrew
    that the airplane was not configured properly for takeoff. The reason
    for the absence of electrical power could not be determined."

> afaiu the outcome was a change to warming system so there would be less
> false warmings and the checklist split in smaller sections so it wasn't such
> much work to start over with a section, as you are supposed to when
> disturbed in the middle

This is the same sort of reasoning that goes into the installation of
other warning devices.

E.g., you would *think* that The Kitchen would be a great place to locate
a smoke detector (as there are ignition sources, there).   But, doing
so causes too many false alarms -- which leads to folks disabling the
detector.

[toc] | [prev] | [next] | [standalone]


#23746

FromDon Y <blockedofcourse@foo.invalid>
Date2016-04-22 13:35 -0700
Message-ID<nfe1o9$6oo$1@dont-email.me>
In reply to#23736
On 4/21/2016 8:53 PM, Robert Wessel wrote:
> On Thu, 21 Apr 2016 22:34:06 -0500, Robert Wessel
> <robertwessel2@yahoo.com> wrote:
>
>> On Wed, 20 Apr 2016 22:10:20 -0700, Don Y
>> <blockedofcourse@foo.invalid> wrote:
>>
>>> On 4/20/2016 9:19 PM, Robert Wessel wrote:
>>>
>>>> There's the obvious solution of using the power from the PoE PSE to
>>>> drive an enable of some sort to the device's power supply.  Heck use
>>>> that to energize a relay you've put across the mains input (some way
>>>> of overriding that at the device would probably be prudent).
>>>
>>> If the device is NOT PoE powered, it's probably because it represents a
>>> substantial load (25+W?).  I'm not sure it would be prudent to let
>>> something remotely disconnect power (and possibly reapply it, moments
>>> later) for large loads.
>>>
>>> OTOH, holding the device "in reset" (possibly indefinitely or even
>>> "repeatedly") should be safe(r?)
>>
>>
>> Presumably this is for cases where the device is so far gone that you
>> want to hit the big-red-switch.  If you want more sophistication, you
>> can put a controlling microprocessor on the device, and have that
>> powered by PoE, and it could do things like force a reset, or actually
>> power the device off if necessary.
>
>
> Aircraft systems have an interesting parallel.  Almost everything have
> its power disconnected via a circuit breaking in the cockpit.  In ye
> olde days, these were actually breakers wired into the circuit mounted
> on a panel (or several) in the cockpit, or a simple remote-operated
> breaker (usually for heavy loads).  On recent aircraft, most of this
> is driven by the flight management system, which will pop up a little
> message saying it's pulled a breaker (if it happens automatically), or
> has a screen where you can pick a breaker to pull, and the breakers
> themselves are often located in a more convenient physical location
> (presumably near the circuit they're protecting), and they're
> controlled remotely.
>
> In the past is was not uncommon for the flight crew to attempt to
> cycle a breaker after a failure, but the modern policy is to just
> leave it alone (and powered off), and let maintenance deal with it on
> the ground.  Obviously with exceptions where the loss of the system in
> question can be considered more dangerous than the possibility of a
> fire or other really bad result from the failing device.

In my case, "just waiting" (i.e., for the plane to land) isn't a
practical option -- the system is intended to run 24/7/365 so there's
no "scheduled down time" or "end of flight"  :>

As reset is, conceptually, the only time when a system's state can
be "known", getting to that state seems to be the safest course of
action.

What I *should* probably do is figure out how to hold PD's *in* RESET,
though powered.  That'll require yet another modification to the
negotiation protocol.  <frown>

[toc] | [prev] | [next] | [standalone]


#23751

Fromupsidedown@downunder.com
Date2016-04-23 09:29 +0300
Message-ID<ni4mhbpjj9lod0hjd06c4e9eggppuae93a@4ax.com>
In reply to#23746
On Fri, 22 Apr 2016 13:35:27 -0700, Don Y
<blockedofcourse@foo.invalid> wrote:

>On 4/21/2016 8:53 PM, Robert Wessel wrote:
>> On Thu, 21 Apr 2016 22:34:06 -0500, Robert Wessel
>> <robertwessel2@yahoo.com> wrote:
>>
>>> On Wed, 20 Apr 2016 22:10:20 -0700, Don Y
>>> <blockedofcourse@foo.invalid> wrote:
>>>
>>>> On 4/20/2016 9:19 PM, Robert Wessel wrote:
>>>>
>>>>> There's the obvious solution of using the power from the PoE PSE to
>>>>> drive an enable of some sort to the device's power supply.  Heck use
>>>>> that to energize a relay you've put across the mains input (some way
>>>>> of overriding that at the device would probably be prudent).
>>>>
>>>> If the device is NOT PoE powered, it's probably because it represents a
>>>> substantial load (25+W?).  I'm not sure it would be prudent to let
>>>> something remotely disconnect power (and possibly reapply it, moments
>>>> later) for large loads.
>>>>
>>>> OTOH, holding the device "in reset" (possibly indefinitely or even
>>>> "repeatedly") should be safe(r?)
>>>
>>>
>>> Presumably this is for cases where the device is so far gone that you
>>> want to hit the big-red-switch.  If you want more sophistication, you
>>> can put a controlling microprocessor on the device, and have that
>>> powered by PoE, and it could do things like force a reset, or actually
>>> power the device off if necessary.
>>
>>
>> Aircraft systems have an interesting parallel.  Almost everything have
>> its power disconnected via a circuit breaking in the cockpit.  In ye
>> olde days, these were actually breakers wired into the circuit mounted
>> on a panel (or several) in the cockpit, or a simple remote-operated
>> breaker (usually for heavy loads).  On recent aircraft, most of this
>> is driven by the flight management system, which will pop up a little
>> message saying it's pulled a breaker (if it happens automatically), or
>> has a screen where you can pick a breaker to pull, and the breakers
>> themselves are often located in a more convenient physical location
>> (presumably near the circuit they're protecting), and they're
>> controlled remotely.
>>
>> In the past is was not uncommon for the flight crew to attempt to
>> cycle a breaker after a failure, but the modern policy is to just
>> leave it alone (and powered off), and let maintenance deal with it on
>> the ground.  Obviously with exceptions where the loss of the system in
>> question can be considered more dangerous than the possibility of a
>> fire or other really bad result from the failing device.
>
>In my case, "just waiting" (i.e., for the plane to land) isn't a
>practical option -- the system is intended to run 24/7/365 so there's
>no "scheduled down time" or "end of flight"  :>

Use a redundant system with at least two identical units, say A and B.
If A needs to be reseted, doing some self test or do some application
or OS upgrade, switch control to B, do the required maintenance
operation (including hardware replacement) on A. Check that A is up
and running, then you can switch back to A.

If updates are required on both units, it is preferable to start with
he passive unit (say B in this example), When B is up and running
again, try switching control to B. If B is not working properly after
the update, switch back to A and fix B before trying to switch again.

When B has been verified to be properly in charge, do the maintenance
on A and preferably switch back to A and verify that the maintenance
on A also went OK.

>As reset is, conceptually, the only time when a system's state can
>be "known", getting to that state seems to be the safest course of
>action.
>
>What I *should* probably do is figure out how to hold PD's *in* RESET,
>though powered.  That'll require yet another modification to the
>negotiation protocol.  <frown>

Of course, when doing redundant system, the redundancy should be
designed into the system from the beginning and not just try to stick
on some redundancy, if/when the reliability of a non-redundant system
is found to be too bad.
 

[toc] | [prev] | [next] | [standalone]


#23752

FromDon Y <blockedofcourse@foo.invalid>
Date2016-04-23 00:54 -0700
Message-ID<nff9ib$jf4$1@dont-email.me>
In reply to#23751
On 4/22/2016 11:29 PM, upsidedown@downunder.com wrote:
>> In my case, "just waiting" (i.e., for the plane to land) isn't a
>> practical option -- the system is intended to run 24/7/365 so there's
>> no "scheduled down time" or "end of flight"  :>
>
> Use a redundant system with at least two identical units, say A and B.
> If A needs to be reseted, doing some self test or do some application
> or OS upgrade, switch control to B, do the required maintenance
> operation (including hardware replacement) on A. Check that A is up
> and running, then you can switch back to A.

The problem comes with I/O's.  Not only do you have to "duplicate"
the field interface -- but, you also have to provide a RELIABLE means
to switch between any actuators driven by those two "duplicates".

I.e., if A has an output set ON and B thinks it *really* should be OFF,
how is the controlled device to know who to listen to?

I consider physical I/O replication to be too troublesome.  So, I
only provide redundancy on "virtual" entities (processes, state, etc.).
In that way, all I need are spare CPU's...

> If updates are required on both units, it is preferable to start with
> he passive unit (say B in this example), When B is up and running
> again, try switching control to B. If B is not working properly after
> the update, switch back to A and fix B before trying to switch again.
>
> When B has been verified to be properly in charge, do the maintenance
> on A and preferably switch back to A and verify that the maintenance
> on A also went OK.
>
>> As reset is, conceptually, the only time when a system's state can
>> be "known", getting to that state seems to be the safest course of
>> action.
>>
>> What I *should* probably do is figure out how to hold PD's *in* RESET,
>> though powered.  That'll require yet another modification to the
>> negotiation protocol.  <frown>
>
> Of course, when doing redundant system, the redundancy should be
> designed into the system from the beginning and not just try to stick
> on some redundancy, if/when the reliability of a non-redundant system
> is found to be too bad.

[toc] | [prev] | [next] | [standalone]


#23753

Fromupsidedown@downunder.com
Date2016-04-23 13:46 +0300
Message-ID<ruimhbt7kbo5enq7117olnqlb7a4gse4i2@4ax.com>
In reply to#23752
On Sat, 23 Apr 2016 00:54:56 -0700, Don Y
<blockedofcourse@foo.invalid> wrote:

>On 4/22/2016 11:29 PM, upsidedown@downunder.com wrote:
>>> In my case, "just waiting" (i.e., for the plane to land) isn't a
>>> practical option -- the system is intended to run 24/7/365 so there's
>>> no "scheduled down time" or "end of flight"  :>
>>
>> Use a redundant system with at least two identical units, say A and B.
>> If A needs to be reseted, doing some self test or do some application
>> or OS upgrade, switch control to B, do the required maintenance
>> operation (including hardware replacement) on A. Check that A is up
>> and running, then you can switch back to A.
>
>The problem comes with I/O's.  Not only do you have to "duplicate"
>the field interface -- but, you also have to provide a RELIABLE means
>to switch between any actuators driven by those two "duplicates".

This is often done with a voting system or majority logic systems with
three or more controllers. The final output state is the one most
controllers can agree on. There can be different forms of voters, from
logic gates to relays to hydraulics etc. 

One very simple mechanical voter is a horizontal bar connected to some
mechanical control point with three coils on the bar driven by three
control systems. The mechanical bar moved in that direction that at
least two control systems are actively ordered to move left or right.
The disagreeing unit and coil is overridden by the other system and
the third does the actual movement.

Simpler methods exists, when there is one "safe" state and an other
"dangerous" state which should not be entered by mistake or hardware
failure is to use a vertical bar with some weight to pull it down to
the safe state. A coil is then driven to the "dangerous" state. Both
ends could be driven separately preferably from different systems.

One other approach is to use the select/execute method, in which one
separate signal is needed to activate the relay power supply and an
other to activate the actual relay. A timer is needed to deactivate
the relay power supply, if no actual relay command is received. Thus,
a separate Select or separate Execute can not do  any action. Cross
feeding select and execute from different controllers in a redundant
system reduces the risk of spurious activity.

>
>I.e., if A has an output set ON and B thinks it *really* should be OFF,
>how is the controlled device to know who to listen to?
>
>I consider physical I/O replication to be too troublesome.  So, I
>only provide redundancy on "virtual" entities (processes, state, etc.).
>In that way, all I need are spare CPU's...

Relays and hydraulic valves may also fail, so you should look at the
big picture and not just software.

[toc] | [prev] | [next] | [standalone]


#23754

FromDon Y <blockedofcourse@foo.invalid>
Date2016-04-23 04:08 -0700
Message-ID<nffktb$o99$1@dont-email.me>
In reply to#23753
On 4/23/2016 3:46 AM, upsidedown@downunder.com wrote:
> On Sat, 23 Apr 2016 00:54:56 -0700, Don Y
> <blockedofcourse@foo.invalid> wrote:
>
>> On 4/22/2016 11:29 PM, upsidedown@downunder.com wrote:
>>>> In my case, "just waiting" (i.e., for the plane to land) isn't a
>>>> practical option -- the system is intended to run 24/7/365 so there's
>>>> no "scheduled down time" or "end of flight"  :>
>>>
>>> Use a redundant system with at least two identical units, say A and B.
>>> If A needs to be reseted, doing some self test or do some application
>>> or OS upgrade, switch control to B, do the required maintenance
>>> operation (including hardware replacement) on A. Check that A is up
>>> and running, then you can switch back to A.
>>
>> The problem comes with I/O's.  Not only do you have to "duplicate"
>> the field interface -- but, you also have to provide a RELIABLE means
>> to switch between any actuators driven by those two "duplicates".
>
> This is often done with a voting system or majority logic systems with
> three or more controllers. The final output state is the one most
> controllers can agree on. There can be different forms of voters, from
> logic gates to relays to hydraulics etc.

Yes, and the voting logic is also subject to failure.

And, of course, the actuators being controlled, etc.

You've got a "loose thread" on a garment and tugging on it just
keeps unraveling the next layer.

There's a point at which you say "what is the value of redundancy"
compared to the *cost*?

What "extra" redundancy would have saved Columbia?

[toc] | [prev] | [next] | [standalone]


#23755

Fromupsidedown@downunder.com
Date2016-04-23 17:26 +0300
Message-ID<qb0nhb1mniqkvplodil2s3v8c406m2825b@4ax.com>
In reply to#23754
On Sat, 23 Apr 2016 04:08:32 -0700, Don Y
<blockedofcourse@foo.invalid> wrote:

>On 4/23/2016 3:46 AM, upsidedown@downunder.com wrote:
>> On Sat, 23 Apr 2016 00:54:56 -0700, Don Y
>> <blockedofcourse@foo.invalid> wrote:
>>
>>> On 4/22/2016 11:29 PM, upsidedown@downunder.com wrote:
>>>>> In my case, "just waiting" (i.e., for the plane to land) isn't a
>>>>> practical option -- the system is intended to run 24/7/365 so there's
>>>>> no "scheduled down time" or "end of flight"  :>
>>>>
>>>> Use a redundant system with at least two identical units, say A and B.
>>>> If A needs to be reseted, doing some self test or do some application
>>>> or OS upgrade, switch control to B, do the required maintenance
>>>> operation (including hardware replacement) on A. Check that A is up
>>>> and running, then you can switch back to A.
>>>
>>> The problem comes with I/O's.  Not only do you have to "duplicate"
>>> the field interface -- but, you also have to provide a RELIABLE means
>>> to switch between any actuators driven by those two "duplicates".
>>
>> This is often done with a voting system or majority logic systems with
>> three or more controllers. The final output state is the one most
>> controllers can agree on. There can be different forms of voters, from
>> logic gates to relays to hydraulics etc.
>
>Yes, and the voting logic is also subject to failure.

Yes, the horizontal bar with three actuator coils is subject to
earthquakes :-).

>And, of course, the actuators being controlled, etc.

The voting is done in the solid mechanical bar. Of course, this could
brake, but in such situations, how much is alive anyway ?
 
>You've got a "loose thread" on a garment and tugging on it just
>keeps unraveling the next layer.
>
>There's a point at which you say "what is the value of redundancy"
>compared to the *cost*?

Usually customers with a daily production volume  more than 1 million
USD/EUR each day require redundant systems. In other cases, when there
is a risk to human life or there are a risk of ending into CNN main
news :-), redundant systems are often used.


In the nuclear industry, there is not a point of using more than a few
_identical_ units, since in Fukushima, all the diesels required by the
emergency cooling system got wet by the tsunami. Using 3+3 different
emergency cooling systems would have saved the plant.


>What "extra" redundancy would have saved Columbia?

The STS was an idiotic design (due to weight constraints), so no
redundancy would have saved the crew.
 

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | comp.arch.embedded


csiph-web