Changing PCI cards without switching off?

  • Thread starter Thread starter Franklin
  • Start date Start date
From the little bit I was able to piece together, the USB
hardware standard was properly developed (Intel, et al). But
the software standard was flawed. So flawed that the NT
Operating System group refused to put USB drivers into NT
4.0. This is why USB never really worked reliably until and
after Windows 98SE.

Appreciate how much more complex a hardware interface
becomes once you add 'hot popping' abilities and other simple
improvements. Based upon the text in that USB standard, the
USB serial bus alone is as complicated as the entire DOS
operating system. One would be amazed how complex that silly
little USB port really is. The ability to hot pop is but one
reason by USB is so complex.
 
I don't want to kick a dead horse, but I must ask you a question: Are
you saying then that assuming no damage was done in removing and
re-installing the PCI modem with power on, that the system would still
think it had the same modem as before it was removed? I have not pulled
many such cards, but I seem to recall that even disconnecting a HD from
the IDE bus caused the drive to be removed from the hardware it thought
it had. Needless to say I did not do this often enough to be certain of
the outcome. I look forward to your reply.


Ken -

Why don't you tell us the "end result" you're after here - maybe we
can help you get it. It seems like you're trying to accomplish
something (troubleshooting a modem problem?), and are going about it
the wrong way.


M
 
I usually switch off my PC before I change a PCI card but a recent
case I wanted to remove a modem card, then inspect the markings and
then restore it in the PC.

If I don't switch off the PC then what sort of damage might I cause?

Try it. Then let us know the damage.
 
....
There is one reason why hardware interrupts were invented, and that
is so that polling wouldn't be necessary anymore.

Can you please provide a citation for that.

Apparently the acronym IRQ means Interrupt ReQuest.

An IRQ is probably just a logic input that is either zero or one. The
integrated circuit would have to poll that pin/input from time to time.

But maybe you are talking about some other form of polling? It sounds
important (for trivia).
 
Why don't you tell us the "end result" you're after here - maybe we
can help you get it. It seems like you're trying to accomplish
something (troubleshooting a modem problem?), and are going about
it the wrong way.

You aren't replying to the original poster, and the person you are
replying to isn't really asking for help IMO.



M



Path: newssvr30.news.prodigy.com!newsdbm05.news.prodigy.com! newscon03.news.prodigy.com!newsmst01a.news.prodigy.com!prodigy.com!
newsswing.news.prodigy.com!prodigy.net!news.glorb.com!tdsnet-transit!
newspeer.tds.net!sn-xit-02!sn-xit-06!sn-post-01!supernews.com!
news.supernews.com!VCM.TecWorx.com
From: mhaase-at-springmind.com <mhaase-at-springmind.com@>
Newsgroups: uk.comp.homebuilt,alt.comp.hardware,alt.comp.hardware.pc-homebuilt
Subject: Re: Changing PCI cards without switching off?
Approved: I think so!
Date: Fri, 24 Dec 2004 16:39:26 -0800
Organization: My House
Message-ID: <[email protected]>
Reply-To: mhaase-at-springmind.com (Mark Haase)
References: <[email protected]> <fMDyd.1148917
[email protected]> <H7Syd.415$I83.370
@fe61.usenetserver.com> <Tt%yd.1155744$Gx4.834369@bgtnsc04-
news.ops.worldnet.att.net>
 
John Doe said:
...


Can you please provide a citation for that.

Apparently the acronym IRQ means Interrupt ReQuest.

An IRQ is probably just a logic input that is either zero or one. The
integrated circuit would have to poll that pin/input from time to time.

Uhm, no... There is no polling. When the interrupt fires a circuit is
triggered.
 
John Doe wrote, in response to my question on whether hot-plugging PCI
cards has been known to cause damage:
I read that some have.

Thanks, that looks like the information I am seeking. Could you give
some details and references, please?
If you want electrical/electronic explanations, maybe you should post
to (sci.electronics...) groups.

I DON'T want any explanations, I'm seeking empirical, observational,
factual evidence that this problem, rather than just being a
possibility, actually does occur. the mechanism is very simple and quite
clear. If a card is plugged into a live system, the connections are made
in some sequence, not virtually simultaneously. If certain connections
are made before others, non-standard currents will flow (e.g., through
semiconductor junctions in signal circuits, instead of directly to
earth). If the magnitude and duration of these currents is such as to
generate more energy than can be dissipated, junctions will be
destroyed. If the junctions can, in fact, withstand the currents applied
for long enough, they will not be destroyed.

Best wishes,
 
w_tom said:
Doing something is just fine only because it did not cause
failures previously? What kind of logic is that?

I originally raised the question of whether hot-plugging standard PCI
cards has actually been known to cause damage, so had better point out
that I have always been careful to pointout that I don't advocate the
even if it doesn't actually appear to cause damage; and nobody posting
here has implied that hot-plugging is fine.
Some
darkening of the first O'ring was the only apparent effect
when launching a space shuttle in sub freezing weather...

Funnily enough, I had thought of the exact same example in this context.
An O-ring which was not getting eroded at all was getting eroded to one-
third of its thickness, so the project managers said that there was a 3-
to-1 safety factor, rather than that something unexpected was happening,
See Richard Feynman's report. Similar in principle, though not in
consequences, to hot-plugging, getting away with it, and adopting it as
standard practice.

The second fatal shuttle disaster was due to exactly the same attitude:
bits of foam come off and bash into the structure, though they're not
supposed to; we've got away with every time; so let's keep doing it.


I have simply asked whether damage has been observed without giving any
reasons. My reasons for asking the question are in fact:

a. Simple curiosity: is this actually seen to happen in practice?

b. If hot-plugging is done accidentally, what are likely to be the
consequences?

c. If there are legitimate reasons for hot-plugging: how dangerous
actually is it to motherboard and card?

A legitimate reason: an Adaptec 2940U2W PCI SCSI card has its BIOS
flashed unsuccessfully. The card is not recognised by the operating
system, and hence can't be re-flashed (in some case the machine will not
boot); the BIOS is soldered in; and the manufacturer cannot repair. The
card (fairly expensive to replace) is junk.

Possible attempt to repair: boot the machine with a good card, or with
no card; hot-unplug good card; hot-plug bad card; try running flash
procedure.

This issue has been discussed on Usenet, and hot-plugging has been done
and not caused damage. I have Googled for, but not found, instances of
damage.

[detailed comments on why not to hot-swap]

If these comments are for my benefit rather than a contribution to the
general discussion (as I raised the question) don't feel you need to
explain: I have designed and repaired circuitry and know and play by the
rules of the game, even if I ask questions about them.

As I keep on saying: I don't disagree with you in any way, I would just
be interested to hear about any actual observed consequences (or non-
consequences) of hot-plugging PCI. Even if it is usually harmless, there
are very few reasons to hot-plug in a machine which doesn't need to run
with zero downtime -- it would at best save a bit of rebooting time.

Best wishes,
 
John said:
That makes at least the third time you have said that in this
thread. And that disagrees with what I have read.

Many thanks, that is precisely the information I seek, and the answer to
my question. What did you read, and where, please?
 
Troll.
Path: newssvr11.news.prodigy.com!newscon03.news.prodigy.com!newsmst01a.news.prodigy.com!prodigy.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Michael Salem <[email protected]>
Newsgroups: uk.comp.homebuilt,alt.comp.hardware,alt.comp.hardware.pc-homebuilt
Subject: Re: Changing PCI cards without switching off?
Date: Sat, 25 Dec 2004 04:16:45 -0000
Lines: 9
Message-ID: <[email protected]>
References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]>
Reply-To: (e-mail address removed)
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net PE5rs+q8rz+TE7h94UvvbAKx/bh5vtdo1x98x6DJoPx5ji56Yn
User-Agent: MicroPlanet-Gravity/2.60.2060
Xref: newsmst01a.news.prodigy.com alt.comp.hardware:265390 alt.comp.hardware.pc-homebuilt:425340



Many thanks, that is precisely the information I seek, and the answer to
my question. What did you read, and where, please?
 
John Doe said:
Can you please provide a citation for that.

Apparently the acronym IRQ means Interrupt ReQuest.

An IRQ is probably just a logic input that is either zero or one. The
integrated circuit would have to poll that pin/input from time to time.

In effect, yes, interrupt lines are polled in hardware. Often, pending
interrupts are acted upon at the start of the next instruction executed by
the processor.
But maybe you are talking about some other form of polling? It sounds
important (for trivia).

Rene refers to polling in software, where the processor periodically
executes instructions to read a hardware register which indicates when the
hardware needs attention.

Alex
 
I thought one card was damaged by hot popping. Apparently
user did not suffer damage from a previous hot pop, so wildly
assumed hot popping was completely acceptable.

Another here had posted a modem was hot popped, reinstalled,
and it worked just fine. Well yes. The modem may be a low
current device and only uses one voltage. A card can be hot
popped on a PCI bus and not be damaged. But then we look
closer at the technical details. This does not say all cards
can be hot popped.

To say with certainty that the card was damaged by the hot
popping, one first requires schematics to trace damage to
individual components. As you probably know, schematics are
no longer distributed - oh, for the good old days of Sams
Photofacts. So I cannot say whether hot popping actually was
done and then caused damage.

For other's benefit, an example of hot popping is the
telephone switching computer. Obviously, the system cannot
shut down to replace a subscriber line card. Everything in
that computer system must be hot popped. In a military
system, it gets more interesting. A card is hot popped. The
system recognizes a configuration change, and another card
takes over that function - automatically. It was a rather
informative demonstration where numerous cards in the rack
were changed while the system continued to perform its many
tasks.

Hot popping also tends to encourage bad technician
techniques. The tech kept hot popping new cards into the
machine until he was left with only one good spare. Only then
did he decide the problem was not in the card.

Hot popped cards often have one characteristic. The ground
pin may be longer and is placed at ends of the bus. Therefore
ground will always be first to make and last to break no
matter how skewed the technician slides that card.

Michael said:
w_tom said:
...
[detailed comments on why not to hot-swap]
If these comments are for my benefit rather than a contribution to the
general discussion (as I raised the question) don't feel you need to
explain: I have designed and repaired circuitry and know and play by
the rules of the game, even if I ask questions about them.

As I keep on saying: I don't disagree with you in any way, I would just
be interested to hear about any actual observed consequences (or non-
consequences) of hot-plugging PCI. Even if it is usually harmless, there
are very few reasons to hot-plug in a machine which doesn't need to run
with zero downtime -- it would at best save a bit of rebooting time.
 
w_tom said:
I thought one card was damaged by hot popping. Apparently
user did not suffer damage from a previous hot pop, so wildly
assumed hot popping was completely acceptable.

Another here had posted a modem was hot popped, reinstalled,
and it worked just fine. Well yes. The modem may be a low
current device and only uses one voltage. A card can be hot
popped on a PCI bus and not be damaged. But then we look
closer at the technical details. This does not say all cards
can be hot popped.

To say with certainty that the card was damaged by the hot
popping, one first requires schematics to trace damage to
individual components. As you probably know, schematics are
no longer distributed - oh, for the good old days of Sams
Photofacts. So I cannot say whether hot popping actually was
done and then caused damage.

For other's benefit, an example of hot popping is the
telephone switching computer. Obviously, the system cannot
shut down to replace a subscriber line card. Everything in
that computer system must be hot popped. In a military
system, it gets more interesting. A card is hot popped. The
system recognizes a configuration change, and another card
takes over that function - automatically. It was a rather
informative demonstration where numerous cards in the rack
were changed while the system continued to perform its many
tasks.

Hot popping also tends to encourage bad technician
techniques. The tech kept hot popping new cards into the
machine until he was left with only one good spare. Only then
did he decide the problem was not in the card.

Hot popped cards often have one characteristic. The ground
pin may be longer and is placed at ends of the bus. Therefore
ground will always be first to make and last to break no
matter how skewed the technician slides that card.

You do not seem to distinguish clearly between external pluggable
devices and internally mounted devices. Many external devices are
often hot pluggable in an electrical sense (power contacts are
longer than signal contacts). PCI cards do not have this feature.
 
I must say that I often don't manage to get a PCI card in anything like
straight first time. Result must be that half of the connectors on the card
are bridging across two connectors on the socket. Which half depends on
whether the front or back of the card goes in further.

I don't see how you design a card/bus to cope with that sort of
ham-fistedness when the system is live. Obviously it would help if it was
all very high impedance, but I thought that at least the power connectors
provide a few watts, no?

At the least, to hot-swap PCI cards, you would need some sort of mechanical
system to ensure they go in more or less straight?

Geoff
 
mhaase-at-springmind.com said:
Ken -

Why don't you tell us the "end result" you're after here - maybe we
can help you get it. It seems like you're trying to accomplish
something (troubleshooting a modem problem?), and are going about it
the wrong way.


M
What I am after is an explanation of how certain he is of his
statement. I AM NOT SURE OF MINE, but my experiences led me to believe
the computer would drop the device pulled from the socket if done so
with power on, and not work if inserted again without rebooting. If he
IS SURE OF HIS statement, then I trust he is correct. My question is
one of curiosity and NOT criticism. THAT is what I am trying to
accomplish. If YOU have the ability to answer the question I posed, by
all means answer it. So to answer your question, I am after KNOWLEDGE.

I have worked on hundreds of computers, and I AM STILL LEARNING. I DO
NOT HAVE ALL THE ANSWERS, AND NEVER WILL. One of the great things about
the news groups is that you can learn from the experiences of others if
you are willing to listen and ask questions. That is, unless some other
poster who has nothing to add but criticism turns off those willing to
add their experiences and comments. Lighten up!!
 
Ken said:
[...]
What I am after is an explanation of how certain he is of his
statement. I AM NOT SURE OF MINE, but my experiences led me to believe
the computer would drop the device pulled from the socket if done so
with power on, and not work if inserted again without rebooting. If he
IS SURE OF HIS statement, then I trust he is correct. My question is
one of curiosity and NOT criticism. THAT is what I am trying to
accomplish. If YOU have the ability to answer the question I posed, by
all means answer it. So to answer your question, I am after KNOWLEDGE.

I appreciate that you're after knowledge, but this is not the way to go
about it. There is no merit or purpose or interest in hot plugging a PCI
card from/to it's socket. KNOWLEDGE: Learn how it's supposed to done the
right way.
 
I must say that I often don't manage to get a PCI card in anything like
straight first time. Result must be that half of the connectors on the card
are bridging across two connectors on the socket. Which half depends on
whether the front or back of the card goes in further.

I don't see how you design a card/bus to cope with that sort of
ham-fistedness when the system is live. Obviously it would help if it was
all very high impedance, but I thought that at least the power connectors
provide a few watts, no?

At the least, to hot-swap PCI cards, you would need some sort of mechanical
system to ensure they go in more or less straight?
[/QUOTE]
Not really. There are buffer ICs that can handle the spikes/shorts
generated by bad insertion.
 
Johannes said:
Ken wrote:

[...]
What I am after is an explanation of how certain he is of his
statement. I AM NOT SURE OF MINE, but my experiences led me to believe
the computer would drop the device pulled from the socket if done so
with power on, and not work if inserted again without rebooting. If he
IS SURE OF HIS statement, then I trust he is correct. My question is
one of curiosity and NOT criticism. THAT is what I am trying to
accomplish. If YOU have the ability to answer the question I posed, by
all means answer it. So to answer your question, I am after KNOWLEDGE.


I appreciate that you're after knowledge, but this is not the way to go
about it. There is no merit or purpose or interest in hot plugging a PCI
card from/to it's socket. KNOWLEDGE: Learn how it's supposed to done the
right way.

I agree with your point about hot plugging, but perhaps you were not
able to read my first post? I said:

" It is not certain that you will do any damage, but you certainly
won't do any good. If you are hoping to remove it and replace it and
still have the modem recognized as it was before you removed it, I don't
believe that will happen."

I respectfully disagree with your point that asking questions serves no
purpose. I was asking if it would even work if one was foolish enough
to do it. How can asking a question about the way hardware is handled
by the computer be wrong? I have no intention of becoming an astronaut,
but I still find the subject interesting and seek information about the
topic.
 
Ken said:
[...]

I respectfully disagree with your point that asking questions serves no
purpose. I was asking if it would even work if one was foolish enough
to do it. How can asking a question about the way hardware is handled
by the computer be wrong? I have no intention of becoming an astronaut,
but I still find the subject interesting and seek information about the
topic.

I don't find the question particularly interesting. I have build electronics
with valves many years ago, then the components were large and fairly robust.
Obviously, with nm circuits we have today, any error is not so easily forgiven.
Hence it is best to stick to the design envelope for handling such components.

Happy Christmas

Johannes
 
Back
Top