martyb writes:
"Remember that one bug that had you tearing your hair out and banging your head against the wall for the longest time? And how it felt when you finally solved it? Here's a chance to share your greatest frustration and triumph with the community.
One that I vividly recall occurred back in the early 90's at a startup that was developing custom PBX hardware and software. There was the current development prototype rack and another rack for us in Quality Assurance (QA). Our shipping deadline for a major client was fast approaching, and the pressure level was high as development released the latest hardware and software for us to test. We soon discovered that our system would not boot up successfully. We were getting all kinds of errors; different errors each time. Development's machine booted just fine, *every* time. We swapped out our hard disks, the power supply, the main processing board, the communications boards, and finally the entire backplane in which all of these were housed. The days passed and the system still failed to boot up successfully and gave us different errors on each reboot.
What could it be? We were all stymied and frustrated as the deadline loomed before us. It was then that I noticed the power strips on each rack into which all the frames and power supplies were plugged. The power strip on the dev server was 12-gauge (i.e. could handle 20 amps) but the one on the QA rack was only 14-gauge (15 amps). The power draw caused by spinning up the drives was just enough to leave the system board under-powered for bootup.
We swapped in a new $10 power strip and it worked perfectly. And we made the deadline, too!
So, fellow Soylents, what have you got? Share your favorite tale of woe and success and finally bask in the glory you deserve."
(Score: 2, Interesting) by SuperCharlie on Saturday March 08 2014, @05:01AM
This one stumped everyone for a couple months.. while it wasnt code, I think it fits in here in spirit.
We had a client with an old PC that had their POS system on it. I was the 2nd tech on the site. The first one noted that the client's mouse had died and had replaced it a few weeks earlier. I arrived again to another dead mouse, which I replaced talked with them about their old machine, and left with everything in order again. Once more, a few weeks passed and again I went onsite to find their mouse was dead. At this point I decided it must be motherboard or some hardware issue, so I replaced the system, reloaded the software, and went on my way. A few weeks later.. Ill be gotdayam if the mouse hadnt died again. w T F. Ok. Something just isnt right here.. so I broke out the multimeter and testing voltage found 120V from neutral to ground at the plug. I told the client to get an electrician out, left a new mouse and never had another call from them again.
(Score: 1) by Hank the Lion on Tuesday March 11 2014, @09:18AM
Why should that have been a problem?
Here in Europe, mains plugs are symmetrical.
You cannot know in advance which pin will be live, and which will be neutral.
If a device only works correctly with the plug in one direction, then that device is defective (and could cause safety problems if it is not properly grounded).
The power supply must, under all circumstances, provide sufficient isolation between ground and live, but also between ground and neutral.
How is this different in the USA?
(Score: 1) by SuperCharlie on Tuesday March 11 2014, @05:41PM
Here in the US, Hot, Ground, and Neutral are always discreet and seperate as well as in modern wiring specifically positioned in the wall plug. While I am not sure exactly what was wrong, I suspect that the hot wire was intermittently shorting to neutral, like one strand of wire occaisonally, which I managed to catch.