Slashdot Mirror


Toyota Acceleration and Embedded System Bugs

An anonymous reader writes "David Cummings, a programmer who worked on the Mars Pathfinder project, has written an interesting editorial in the L.A. Times encouraging Toyota to drop claims of software infallibility in their recent acceleration problems. He argues that embedded systems developers must program more defensively, and that companies should stop relying on software for safety. Quoting: 'If Toyota has indeed tested its software as thoroughly as it says without finding any bugs, my response is simple: Keep trying. Find new ways to instrument the software, and come up with more creative tests. The odds are that there are still bugs in the code, which may or may not be related to unintended acceleration. Until these bugs are identified, how can you be certain they are not related to sudden acceleration?'"

499 comments

  1. Toyota: by dushkin · · Score: 5, Funny

    Always going forward.

    --
    o hai
    1. Re:Toyota: by RyanCheeseman · · Score: 0, Redundant

      sometimes just a bit too fast.

    2. Re:Toyota: by Anonymous Coward · · Score: 0
    3. Re:Toyota: by TheLink · · Score: 1

      The car in front is a Toyota. And guess why ;).

      --
    4. Re:Toyota: by Afforess · · Score: 2, Funny

      "The race for quality has no finish line- so technically, it's more like a death march."

      Not my quote, so I'll give them props: http://www.despair.com/quality.html

      --
      If our elected representatives no longer represent us, do we still live in a Democracy?
    5. Re:Toyota: by Anonymous Coward · · Score: 1

      At least 3 mod points will be wasted on this post.

      Dumbasses.

      His or yours? At least his contributes.

    6. Re:Toyota: by Z00L00K · · Score: 2, Insightful

      There will always be another bug.

      And even more important - the bug may be a combination of software and hardware. Just ask what may happen if the code suddenly jumps to the wrong address. Do they use ECC memories in the electronics? What about a voltage spike? Driver has wrong socks/pants causing a spark that jumps to the OBD-II connector and messes up the CAN bus?

      If anything can go wrong - it will. Think outside the box of how bad it can be, then multiply with PI to get a value closer to reality.

      And more examples of how wrong things can get can be found here: http://thedailywtf.com/

      --
      If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    7. Re:Toyota: by bytesex · · Score: 1

      Still can't find reverse.

      --
      Religion is what happens when nature strikes and groupthink goes wrong.
    8. Re:Toyota: by mmontour · · Score: 2, Informative

      And more examples of how wrong things can get can be found here: http://thedailywtf.com/

      There are some good examples there, but you'll find more on comp.risks.

    9. Re:Toyota: by mpe · · Score: 4, Insightful

      And even more important - the bug may be a combination of software and hardware. Just ask what may happen if the code suddenly jumps to the wrong address. Do they use ECC memories in the electronics? What about a voltage spike? Driver has wrong socks/pants causing a spark that jumps to the OBD-II connector and messes up the CAN bus?

      Other questions would be "What kind of transducer is measuring the input?"; "How many transducers are there?" and "What output do you get in the case of a failure?"
      Note that there are applications where an unknown throttle setting resulting in full power being applied is the right thing to do. Maybe Toyota through they were building a light aircraft rather than a car...

    10. Re:Toyota: by Anonymous Coward · · Score: 0

      Always going forward.

      Even if you don't want to.

    11. Re:Toyota: by flappinbooger · · Score: 3, Funny

      Maybe they need to deploy g-locked memory, it's in a car after all. Too many jolts and bumps and it gets the bits all jostled up! Think of the children!

      --
      Flappinbooger isn't my real name
    12. Re:Toyota: by Junior+J.+Junior+III · · Score: 1

      I Can't Stop Driving My Toyota!

      --
      You see? You see? Your stupid minds! Stupid! Stupid!
    13. Re:Toyota: by jhd · · Score: 1

      Probably just a "race" condition.

    14. Re:Toyota: by IsNoGood · · Score: 1

      Main Problem that all looks to ignore is that Toyota is using a ECU that is close sources and have never given anybody the rights to read it, In US and EUR most ECU use the J1939 protocol that well documented and supported, I believe if Toyota opend its ECU's we find the issues and it will help guys like me.

    15. Re:Toyota: by gringer · · Score: 1

      More appropriately for Toyota and despair.com: http://despair.com/toyota.html

      Toyota — once you drive one, you'll never stop.

      --
      Ask me about repetitive DNA
    16. Re:Toyota: by Anonymous Coward · · Score: 0

      Static would explain the age aspect. Older people are more likely to wear static generating wool and polyester.

    17. Re:Toyota: by gad_zuki! · · Score: 1

      >And more examples of how wrong things can get can be found here: http://thedailywtf.com/

      Or in my sig.

    18. Re:Toyota: by buzzilo · · Score: 1

      yep. it's a casper playing with bits in chips ..

    19. Re:Toyota: by IsNoGood · · Score: 1

      Open Access to ECU's and free the power of the car's

    20. Re:Toyota: by onemorechip · · Score: 1

      Chevy had the Nova. Toyota should name one of their models the Nopara.

      --
      But, I wanted socialized health insurance!
    21. Re:Toyota: by onemorechip · · Score: 1

      A Toyota race car. A Toyota!

      --
      But, I wanted socialized health insurance!
    22. Re:Toyota: by Anonymous Coward · · Score: 0

      so software can fail. Who did not know? But hardware can fail too you know ...

      Isn't all this about getting non US cars out of the US?

  2. Impossible to test by Darkness404 · · Score: 4, Informative

    Most software is nearly -impossible- to test under flawless conditions. Especially embedded systems with small amounts of CPU power and memory.

    Plus, all this hype around these Toyota acceleration problems is just that, hype.

    --
    Taxation is legalized theft, no more, no less.
    1. Re:Impossible to test by Anonymous Coward · · Score: 5, Insightful

      Right, just hype. Except for those families were killed by the Toyota acceleration problems.

    2. Re:Impossible to test by DeadPixels · · Score: 4, Insightful

      By and large, it would seem that Toyota should probably be looking for exceptional conditions rather than typical ones. Correct me if I'm wrong, but if a relatively small number of vehicles have actually exhibited the acceleration issue, it would seem like any bugs related to that would be in conditions that may not occur very often during typical driving. Seems to me that "outlier" cases or unusual methods of testing would be the best way to start; testing with typical driving conditions might not show anything.

    3. Re:Impossible to test by Anonymous Coward · · Score: 1, Insightful

      Most software is nearly -impossible- to test under flawless conditions. Especially embedded systems with small amounts of CPU power and memory.

      Plus, all this hype around these Toyota acceleration problems is just that, hype.

      Its not just software. This is an embedded system, the software is highly dependent on the hardware involved. When I say hardware, I mean the entire system of boards, wires, and connectors in the vehicle. Embedded systems have a tight couple of software and hardware unlike your average computer application. A slight error in the hardware systems would also send the software in some unknown behavior if not tested correctly/fully. Its a fairly difficult feat to ensure complete software/hardware compliance in an embedded system.

    4. Re:Impossible to test by Anonymous Coward · · Score: 0

      By and large, it would seem that Toyota should probably be looking for exceptional conditions rather than typical ones. Correct me if I'm wrong, but if a relatively small number of vehicles have actually exhibited the acceleration issue, it would seem like any bugs related to that would be in conditions that may not occur very often during typical driving. Seems to me that "outlier" cases or unusual methods of testing would be the best way to start; testing with typical driving conditions might not show anything.

      *DING*DING*DING*DING* These problems are the outliers, hence nobody should expect to find them under "typical" driving conditions.

    5. Re:Impossible to test by Darkness404 · · Score: 5, Informative

      ...And if you look at the facts, you can see that all of the symptoms could easily be caused by driver error. Look at this http://www.nytimes.com/2010/03/11/opinion/11schmidt.html?scp=1&sq=driver%20error&st=cse (currently the page doesn't need registration, your results may change in the coming days/hours).

      --
      Taxation is legalized theft, no more, no less.
    6. Re:Impossible to test by WrongSizeGlass · · Score: 4, Interesting

      Exactly. Even a minor revision in a FPGA could result in unforeseen consequences. Who knows, maybe a chip manufacture failed to document a very small change to a product line (or had a typo in the docs). The problem may not be in Toyota's code, just in their cars.

    7. Re:Impossible to test by twisteddk · · Score: 1

      Nothing is impossible. It's simply a matter of cost vs. benefit. Coding is many more lines today than it was 15 years ago. And a lot of copy paste of libraries you haven't coded or tested yourself. So ofcourse problems occur. But testing SHOULD be more than simply compiling the code.

      Back in the day when I took my masters in computer science, we were forced to show how we tested EVERY loop, if, while or orhter "choice" or iteration of a possiblity. Simply to ensure that the code was 100% stable. Using closed libraries, like say a predefined definition of the type "string" or "integer" that was at your own peril. Programmers today just give up too easily, and companies cut costs by scriping on testing, ducumentation and verification.

      --
      --- To err is human... Am I more human than most ?
    8. Re:Impossible to test by Anonymous Coward · · Score: 1, Insightful

      Right. Driver error. You mean it wasn't the floormats (first excuse), brake pedals (second excuse) and now something else? Why are you apologizing for Toyota? They have killed a number of people now, including children. Unacceptable. And yes, other manufacturers have issues too.

    9. Re:Impossible to test by david.emery · · Score: 1

      "Impossible to test", but that does not mean that it's impossible to write bug-free software. It requires a substantially different approach to specification and construction than most people/companies currently use. Model Checking (http://en.wikipedia.org/wiki/Model_checking) and SPARK (http://en.wikipedia.org/wiki/SPARK_(programming_language) ) are two approaches that work. It's worth looking at what the commercial avionics industry requires for its embedded software, where 10 ^ -9 is the requirement for safety-critical avionics (http://en.wikipedia.org/wiki/DO-178B )

      Note though, that no amount of 'construction by correctness' approach for software will make up in deficiencies in specifications. See the work of Nancy Leveson (http://en.wikipedia.org/wiki/Nancy_Leveson or http://sunnyday.mit.edu/ ) and John Knight (http://www.cs.virginia.edu/~jck/ ) for both discussions and analysis of safety-critical software approaches and analysis of how some of these approaches have not worked as well as expected (e.g. Leveson's critique of N-version programming.)

    10. Re:Impossible to test by The+End+Of+Days · · Score: 5, Insightful

      "Unacceptable" is strong. Sad, yes, but this is real life. There is no such thing as zero risk. Taking the attitude that it is somehow achievable despite the utter impossibility is something that makes for a good trial lawyer but a terrible human.

    11. Re:Impossible to test by zappepcs · · Score: 5, Interesting

      There are a couple of things that should be mentioned here. NASA has shown what it takes to make very small, very good code. Sure, they too have failures, but 'nearly' bug free code is quite expensive. Second, writing code is not quite like trying to create a hand crafted dashboard, if the dashboard fades, no one dies. Embedded software is quite a different beast from your normal desktop applications. When you add motion control and interaction with the code, it difference between them gets even more complex. Software in vehicles should be two things:

      Open - let lots of folk see what could be wrong
      Audited - audited to meet specific standards of safety and operation. Not quite the self-defeating government regulations, but more of a case by case issue: if the software has control or input to the control mechanism for the engine, braking system, suspension etc. it must meet minimum standard testing requirements. Any action that _could_ arbitrarily apply mechanical action must be tested and controlled beyond all reasonable testing/doubt. Everything should be tested, down to a pet chewing on the control cable harness.

      Consumers are encouraged to think the vehicles they buy are safe and require no special knowledge of engineering or mechanics to operate. As long as they are given to think that, then passenger vehicles should be made to be just this way.

      The problem for Toyota now is multifaceted. One, they have a PR shitstorm to deal with. Two, there is a dollar effect of this problem. Three, it's now on the shoulders of Toyota to get this part right for the rest of the passenger vehicle making industry.

      It's possible that they might walk away from this fire with only minor long term burns and the reputation for building the safest vehicles. BUT, reading the article of this post and paying attention while doing so is necessary... IMO

    12. Re:Impossible to test by The+End+Of+Days · · Score: 2, Insightful

      Programmers today just give up too easily, and companies cut costs by scriping on testing, ducumentation and verification.

      I'll start with the cheap joke - apparently you didn't learn the lesson too well.

      And then the actual point - this is the real world, sir. Academics may have the luxury of taking as much time as they like to never produce result. That's not how things actually work for the rest of us.

    13. Re:Impossible to test by Anonymous Coward · · Score: 1, Insightful

      What Toyota is doing is unacceptable. They have had this issue since 1986. 1986! In 2003 this problem surfaced in the Sienna, but they hid it for 5 years. They now are blaming the aftermarket floormats, the drivers, the pedals, whatever. UNACCEPTABLE. And then ridiculous people are defending them.

      Get this people: we are in a economic war with Asia, which we are currently losing. It affects you and your future in a very real way. Supporting/defending crappy foreign companies doesn't do you any good, so stop it.

    14. Re:Impossible to test by Grendel70 · · Score: 1

      And of course, there is absolutely zero possibility it is a software issue. http://tech.slashdot.org/article.pl?sid=10/02/02/1458230

      --
      Perhaps you mean a different thing than I do when you say "science."
    15. Re:Impossible to test by Anonymous Coward · · Score: 0

      And yes, other manufacturers have issues too.

      The prevailing form of idiocy is that if you don't specifically disclaim something, then you must be suggesting it. So I'm glad you threw that in there. Otherwise there'd probably be a whole new thread created by some well-meaning individual who knows little or nothing about argumentation. The thread would be all about manufacturer errors and defects found in vehicles made by Ford, Chrysler, GM, and other manufacturers, as though that had any relevance in a discussion about Toyota's problems, as though it could possibly excuse or further condemn Toyota. That's the only reason you felt a need to add that line.

      Such uselessness that your line there is intended to prevent would be another instance of fanboyism. Like Thoreau said, if you're familiar with the concept and the principles, why the need for a myriad of instances and iterations? "I like Toyota and identify with them in some way or another, so your constructive criticism about them is like insulting my TEAM man! Saving face is the only thing that matters, so now I have to insult some of the OTHER teams so that they're no better! Hey, I can do that by bringing up irrelevant crap about other manufactuers!"

      The same principle applies to most discussions around here about Microsoft, Apple, and Linux. It's why you can't discuss the fact that most spam-spewing zombies are infected Windows machines, and look at options that might realistically address this problem, without some fool saying "but if Linux had the same marketshare it'd be a virus-ridden spam-factory too!" A, people who are skilled with both Linux and Windows (and therefore, can make educated comparisons) generally do not say this. B, the potential future compromisability of Linux if it had a hypothetical position might be interesting but doesn't address the growing problems we have RIGHT NOW with Windows. C, it's a tired old argument that is always rehashed in those discussions, page-from-playbook style, and contributes absolutely nothing. It's just Windows fanboys who feel slighted and want to save face for "their team" by equating it with others.

      If we could collectively get over this and realize what silly shit it is, maybe we could find productive solutions for previously insoluable problems. Imagine what it would do to politics if people cared about rational solutions that realistically address known problems, based on evidence, and stopped caring about what the other guy is doing or what he will think. Crazy, isn't it?

    16. Re:Impossible to test by Anonymous Coward · · Score: 0

      One, they have a PR shitstorm to deal with.

      More accurately, they are fighting Government's propaganda.

    17. Re:Impossible to test by causality · · Score: 4, Insightful

      [Some action] doesn't do you any good, so stop it.

      Since when did that ever prevent anyone from doing anything? You must have us confused with some society that generally considers the full implications and long-term repercussions of our decisions...

      --
      It is a miracle that curiosity survives formal education. - Einstein
    18. Re:Impossible to test by The+End+Of+Days · · Score: 2, Insightful

      Toyota's reaction may well be unacceptable to you, but I find it highly unlikely that they were aware of the cause of the problem and left it alone anyway. Even assuming your economic war theory is true, there are no economic gains to be had by killing your customers.

      In any case, this isn't me defending Toyota. Don't argue like a teenage girl.

    19. Re:Impossible to test by Anonymous Coward · · Score: 0

      Very good point. The reason I put that line in there is to stop the whole "but, but, but GM has issue X and Ford has issue Y and Hyundai has issue Z". My point is, WHY THE HELL ARE PEOPLE DEFENDING TOYOTA? They are a massive company which has had a history of trying to hide and downplay safety issues. In the same vein, why would anyone defend GM, Ford, whatever? There are no "teams" here, just massive corporations whose goal is to make as much profit as possible.

    20. Re:Impossible to test by noidentity · · Score: 0, Troll

      Plus, all this hype around these Toyota acceleration problems is just that, hype.

      Your statement is a tautology. "All the X around these Y problems is just that, X." Well duh!

    21. Re:Impossible to test by Z00L00K · · Score: 1

      In exceptional conditions I would certainly include what the driver is wearing.

      Synthetic material causing ESD sparks is something that can't be ignored.

      And be aware that the trigger may be in a box that resides on the CAN bus, but is for something completely different. Like power windows or central locking. Cars are so complex these days that you can never be sure what's wrong - and the workshops have been degraded to code readers and component replacers.

      --
      If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    22. Re:Impossible to test by cynyr · · Score: 3, Interesting

      I'm still failing to see how the cars got locked in gear? every car i have driven has allowed the driver to shift the car into neutral regardless of everything else. This is both in automatics and definitely in my manual transmission cars(does anyone make a drive by wire clutch, outside of performance/race cars?) I fail to see why this is a huge issue that needs to be solved in the next 10 minutes and be 100%? how is a sticky peddle (software or otherwise) any different from the throttle body getting stuck in the wide open position? what would these people do in that case? The handling after the problem occurs seems to be 100% driver error. TBH the first that that would happen if my car started doing that would be for me to press on the clutch, regardless of it not having one or not, thats a very hard habit to break after driving manuals(not this behavior in an auto usually results in the the break being depressed all the way to the floor). After that i'd put it in neutral and then use the break to slow down and pull over. somewhere in there i'd hopefully get the 4 ways on, but thats a long long way down the list of things that would happen.

      The "PR shitstorm" is way way over-hyped, it would be simple for the news to simply state "Toyota has confirmed an issue effecting the engine speed controls, and have issued a recall. If this happens to you while driving Toyota advises drivers to shift the car into neutral and engage the 4 ways and pull over in a safe location. If your car has a push button start be aware that you will need to hold it down for up to 5 seconds to shut down the engine." The fact that some people have died as a result of poor driving ability is no different than every fall here when it snows and some dumb person forgets that snow is slippery, a terrible thing to have happen, but usually 100% their fault.

      I think the driving tests in this country need to be much more rigorous. They should be done in an unfamiliar car, setup for simulating things like sudden loss of engine power, loss of 90% of the breaks, etc. There should also then be a road test(with other real cars if the closed course goes well.) to see how the driver can handle the conditions of real driving. Places with snow/ice need to have some driving on a slippery surface(rear wheels that can be allowed to rotate would work.) This sort of testing should be repeated every 3-5 years, to ensure that drivers maintain a certain level of driving skill. There needs to also be a raw reflexes/object tracking with a fairly high level of skill needed, anything below a certain level will see that you fail your driving exam. Fines for driving without a license should be steep and the test facilities need to be open at least 2 shifts of the day, if not 2.5 shifts.

      --
      All of the above was encrypted with a Quad ROT-13 method. Unauthorized decryption is in violation of the DMCA.
    23. Re:Impossible to test by Loconut1389 · · Score: 5, Informative

      Indeed. I've done some embedded work myself. I wrote a power supply controller that used DACs to trim the voltage using some analog control ports on the DC to DC converter modules- it also monitored the PowerGood lines on the DC:DC's and linears and was programmed to shut down if one deasserted without a prior command telling it to do so. It had an I2C control network that could request status of bunch of aspects of the board including temperature, voltages, etc. Not wanting to risk blowing out a $10k FPGA with a $4.00 MCU, we had test boards with no FPGA on and some with cheaper FPGAs, and I also had a dev kit with the board on it hooked to a logic analyzer so we could emulate all sorts different scenarios and hopefully protect the FPGAs. Ultimately, a few problems emerged. With a particular combination of testing apparatus and polling rate, the I2C would receive interference and miss or corrupt some data. It was almost impossible to replicate reliably. This in turn exposed an oversight/bug where because of the skipped (as far as the power supply MCU was concerned) bytes, the wrong DAC values were being written, overvolting or undervolting the supplies- but it really only surfaced on the fully populated boards. This lead to a change in the I2C wiring/termination and a move to a keyed and transactional approach that required writing a key value to an address, writing the new data, then optionally reading back the data again, and lastly writing another key to a different address to either commit or roll back. Point is exactly what the parent said, it's very difficult to test some of these things because the problems may be an unusual chain of events or due to very specific circumstance in what's hooked to what and how much power is being drawn in the circuit at the time, etc.

      The other portions of the code that performed monitoring and emergency shutdown caught the overvoltages very quickly and shutdown the FPGA in the span of a couple clocks. In the end we only lost one board, and it was due to ESD despite using proper handling techniques and equipment.

    24. Re:Impossible to test by cynyr · · Score: 1

      smart pedels won't help if the throttle body gets stuck open.

      --
      All of the above was encrypted with a Quad ROT-13 method. Unauthorized decryption is in violation of the DMCA.
    25. Re:Impossible to test by b4dc0d3r · · Score: 4, Insightful

      "Toyota Knew About Sticking Pedals In Europe A Year Before U.S. Accidents"
      http://consumerist.com/2010/02/toyota-knew-about-sticking-pedals-in-europe-a-year-before-us-accidents.html

      "NEW YORK (CNNMoney.com) -- Toyota has known about brake problems in its popular Prius cars for some time, going so far as to fix it in new production vehicles, but has kept Prius drivers in the dark about the problem until the Japanese government called for an investigation."
      http://money.cnn.com/2010/02/04/autos/prius_timeline/index.htm

      "Toyota says it knew there were problems with accelerator-pedal assemblies from supplier CTS late last year, but not enough to warrant a recall."
      http://www.usatoday.com/money/autos/2010-01-25-toyotalong_st_N.htm

      Your opinion of its likelihood is not relevant. Not only is it likely, evidence points to it being true. You are being disingenuous by phrasing it "no economic gains to be had by killing your customers." A product has a flaw, people die, that happens sometimes. If you issue a recall, you draw attention to the problem and cost yourself money in lost sales, repair costs, and possible lawsuits. "Killing your customers" is a bit different from "hoping that driver error is the official cause, not faulty cars," and you deciding to phrase it that way is an appeal to emotion, not a logical argument.

      You can say we're just arguing semantics, but you're going to have to back up your unlikely opinion with links to convince me.

    26. Re:Impossible to test by cynyr · · Score: 2, Insightful

      driver error in the way the effects were handled. why are drivers that don't know what to do in the case the car provides more power than intended allowed to drive? Yes, I expect people to know what that little N just above D means. Can't be bothered, I guess you don't need to drive.

      --
      All of the above was encrypted with a Quad ROT-13 method. Unauthorized decryption is in violation of the DMCA.
    27. Re:Impossible to test by The+End+Of+Days · · Score: 3, Insightful

      The articles you linked indicate that Toyota has attempted a number of different fixes for what it believed were several separate acceleration related issues. I don't have to find links to make my case, you made it for me.

    28. Re:Impossible to test by Anonymous Coward · · Score: 0

      Isn't it more than hype?

      Isn't it convenient at this time when the economy is in such a bad state and when American car companies have a hard time selling their cars that the attention is brought onto Japanese makers and the problems they have?

      I think the timing is more than coincidence.

    29. Re:Impossible to test by Anonymous Coward · · Score: 0

      Yeah, it's just some stupid dead people desperate for attention!

    30. Re:Impossible to test by DarkOx · · Score: 4, Insightful

      The is a component of moral empowerment though, you have to consider. Most people are more willing to accept risk if they control the situation, even if the risk is greater. Other people are more accepting of an inherent justice of in the results when something bad happens to someone else who they feel was in control of the situation than when they were not.

      Consider on a per person per mile of travel basis a drunk "walker" is more likely to cause a traffic related fatality than a drunk driver. They do things like stumble off sidewalks into traffic, misjudge the rate of on cumming traffic and run out into busy highways, sit an take a rests on unlit rural roads and more. Still we vilify the drunk driver because when they cause a traffic fatality chances are they are not the individual contributing to the statistic, where as with the walkers they are usually the one killed.

      If we really minimizing risk we would be more condemning of drunk walking than driving because someone is more likely to die. We don't operate that way though, we don't think that way. Many people would take a friends keys, few would forcibly restrain them if they could not be convinced to stay a little longer and sober up, even though that friend would be safer behind the wheel.

      The same thing applies, most of us would be more willing to accept our loved one died because they were not able to control a set of mechanical and hydrolic linkages correctly and quickly enough to avoid and auto accident than we are when a software system fails to do the same, even though the later was far less likely.

      I am not saying that makes sense in moral terms, statistical terms, or anything. In fact the more objectively you look at it the less sense it makes to not use drive by wire and computerized systems but "we" still don't "feel" that way about it.

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    31. Re:Impossible to test by colfer · · Score: 2, Informative

      Automatic trannies in these cars use the shifter as advice only. If shifted into neutral at speed, the engine would spin out, which is very damaging. So the software prevents that. Oops. Note, most cars in the US have automatic transmissions.

      Still, the best steps are check the pedal, try neutral, try cutting the engine (tap tap tap, hold, or whatever it takes if it is a button), and use the brake forcefully and completely, before the pads have a chance to heat up. Assuming you have the /!right/ pedal.

    32. Re:Impossible to test by qazwsx · · Score: 1

      > Open - let lots of folk see what could be wrong

      I second this. For safety, all control source code inside a car should be able to be studied, tested and analyzed by the market, academia, competitors, and even worried customers.

    33. Re:Impossible to test by AigariusDebian · · Score: 4, Informative

      If a driver dials 911 on his cell phone before even trying to put the car in Neutral, then yeah - it is a driver error.

      (The last case on the news - a driver called 911 on his cell phone because his car was accelerating out of control. When prompted by the operator if he had tried putting the car in Neutral, he said no and even refused to do so when ordered to do it by the operator.)

    34. Re:Impossible to test by zappepcs · · Score: 2, Insightful

      The "PR shitstorm" is way way over-hyped, it would be simple for the news to simply state "Toyota has confirmed an issue effecting the engine speed controls, and have issued a recall. If this happens to you while driving Toyota advises drivers to shift the car into neutral and engage the 4 ways and pull over in a safe location. If your car has a push button start be aware that you will need to hold it down for up to 5 seconds to shut down the engine." The fact that some people have died as a result of poor driving ability is no different than every fall here when it snows and some dumb person forgets that snow is slippery, a terrible thing to have happen, but usually 100% their fault.

      You don't know much about the main stream media in the US, do you?

    35. Re:Impossible to test by vux984 · · Score: 1

      Nothing is impossible. Write a program that can determine whether another arbitrary program will halt on a given set of inputs, or run forever. You can't do it. Its impossible. We can't even generally prove a software function will return, and you are arguing that we can prove not only that it will return, but that it will be bug free? That's absurd. It's simply a matter of cost vs. benefit. Up to a point yes. Proving its zero is impossible for arbitrary software, but we certainly can put more resources into it and produce software with fewer bugs. The main problem with cost v benefit as an argument is that its trite. I'd like to buy a 2010 Toyota for $25,000 in 2010. Not for 1.2 Billion dollars in 2050. And more pragmatically, any manufacturer that went down this road wouldn't sell any cars, and would rapidly go bankrupt. For all that consumers say they want perfect cars, they don't. They mostly want cheap cars.

    36. Re:Impossible to test by konohitowa · · Score: 1

      Most software is nearly -impossible- to test under flawless conditions. Especially embedded systems with small amounts of CPU power and memory.

      That's why aircraft software development has extensive procedures that start with requirements all the way through delivery (see: DO-178). Which is also why aircraft critical software bugs are rare (although certainly not unheard of). The automotive manufacturers should be developing to similar standards. Perhaps this incident will put more pressure down that path. It wasn't all that long ago (maybe 15 years or so) that medical software also had no development requirements - they eventually went to something patterned after DO-178b, as I recall. But not before some deaths.

      Plus, all this hype around these Toyota acceleration problems is just that, hype.

      So... 52 people hyped to death. That might be some kind of record.

    37. Re:Impossible to test by RightwingNutjob · · Score: 1

      Automatic trannies in these cars use the shifter as advice only. If shifted into neutral at speed, the engine would spin out, which is very damaging.

      That's the thing. Somehow or other, before the days of computers, cars had all-mechanical transmissions that would let you do all sorts of damage to them but let you have all the control you could want. (within reason of course. You can obviously do more with software that senses everything than you can with a single cable that's pulled by your foot). The point is, there's always a tradeoff between control (operator safety) and stupidity (equipment safety). The only solution so far has been operator awareness and the simple truth that safety is a state of mind. Time to dial back the machine intelligence and rely more on the intelligence between the ears.

      As an aside, this prius stuff is only an issue because the drive train is tied to both the engine and the electric motor. Things like the (supposedly) soon-to-be-in-production Volt just have a direct drive electric motor. It'd be much easier to put an E-stop in there (just disconnect the drive motor leads, and let the gas engine controller do whatever it wants) than it is to try to coordinate the gas engine, the electric motor, and an automatic transmission. Lower complexity=higher reliability.

    38. Re:Impossible to test by TooMuchToDo · · Score: 1

      My 2008 Tundra, covered under the recall due to the mechanical pedal, can dump into neutral at 6000rpm (right below red line) without a problem (with several hundred ft-lbs of torque on the transmission). Automatic transmission. In our Camry Hybrid, the solution is to hold the power button for 3 seconds to shut the car down in the event the transmission refuses to shift to neutral, which I have yet to see.

    39. Re:Impossible to test by John+Jamieson · · Score: 1

      No wonder someone posted as AC. He is currently rated as Score:0 Troll

      The poster makes a valid point.
      "It is always hype" unless the acceleration killed your family, unless SARS killed your child, unless second hand smoke or asbestos killed your spouse. Once it becomes personal, perspective changes.

    40. Re:Impossible to test by calidoscope · · Score: 1

      And if you look at the facts, you can see that all of the symptoms could easily be caused by driver error.

      There's a big difference between could be caused by driver error and actually being caused by driver error.

      The aviation industry has recognized that many examples of "pilot error" were caused more by poor design decisions by the manufacturer than by poor decisions by the pilot. Similarly, the TMI accident of 1979 was as much caused by poor control room design as it was by poor training of the operators.

      --
      A Shadeless room is a brighter room.
    41. Re:Impossible to test by X0563511 · · Score: 1

      It also doesn't help that people are afraid of it. Yes, it sounds scary when you tach up in N. Is your engine worth more than your life?

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    42. Re:Impossible to test by X0563511 · · Score: 1

      If shifted into neutral at speed, the engine would spin out, which is very damaging. So the software prevents that.

      A good idea at face value. But as you already know, not really that good.

      I think that, if they want to keep doing that, they really should install an override that's easy to see and use in an emergency.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    43. Re:Impossible to test by Anonymous Coward · · Score: 0

      No organization that crashes a spacecraft into a planet because they forgot to convert from English to Metric in the course of their programming (or in a second instance, because they installed the explosive parachute release backwards) gets an A for quality assurance.

      QA is hard, and QA for embedded software that people depend on for their safety is even harder. But even so, it's hard to call NASA a shining example.

    44. Re:Impossible to test by Gordonjcp · · Score: 5, Informative

      Every production car on the road has sufficient braking power to stall the engine in any gear at any throttle setting. Put your foot on the brake, and the car will stop. You may need new discs and pads after that.

    45. Re:Impossible to test by richlv · · Score: 1

      that was probably software qa engineer who had reproduced an error and simply wanted debugging instructions.

      on the other hand, talking about reproduction, that also sounds like aiming for a darwinaward.

      --
      Rich
    46. Re:Impossible to test by dbug78 · · Score: 3, Informative

      Here's Mike Allen of Popular Mechanics demonstrating what happens when you shift an automatic Camry into neutral with the gas pedal floored.

      http://www.youtube.com/watch?v=NOMYjiCiTYg

      It doesn't, in fact, prevent you from shifting to neutral as you can tell by the sound of the engine butting heads with the rev-limiter.

    47. Re:Impossible to test by richlv · · Score: 1

      Software in vehicles should be two things:Open - let lots of folk see what could be wrong

      this is actually interesting. we have this bunch of computer wunder-childs purchasing cars with software they can't even look at. software that their lives might depend on some day, if not every day.

      overall i'd expect safety to increase dramatically if there was a requirement to ship/provide code for any non-entertainment stuff in a car (or any other transportation vehicle).

      i mean, woz hopefully has some steam left to look at these things, and even if not so, it should b enough for him to point out a suspicious subroutine for hundreds of great experts to look at it, which toyota or any other manufacturer could never achieve with the current model, even if they wanted to

      --
      Rich
    48. Re:Impossible to test by dzfoo · · Score: 1

      >> That's not how things actually work for the rest of us.

      Obviously, and so, as they say, here we are. Somehow this proves his point.

              -dZ.

      --
      Carol vs. Ghost
      ...Can you save Christmas?
    49. Re:Impossible to test by RAMMS+EIN · · Score: 3, Funny

      ``In exceptional conditions I would certainly include what the driver is wearing.''

      I can see it now. Recall those drivers who called 911 when their vehicle accelerated out of control?

      Driver: Help! My car is accelerating out of control!
      911-person: What are you wearing?

      --
      Please correct me if I got my facts wrong.
    50. Re:Impossible to test by cynyr · · Score: 1

      being born in the USA and still here 25 years later, i'm confadant that i know it. The story gets more eyeballs this way. stupid news orgs.

      --
      All of the above was encrypted with a Quad ROT-13 method. Unauthorized decryption is in violation of the DMCA.
    51. Re:Impossible to test by cynyr · · Score: 1

      really? i though a simple rev limiter would be better than a neutral gear lockout. there are times (like when these acceleration problems happen) that you need to remove power from the wheels now, engine be damned. to be honest, i wonder how many driving problems would be solved simply as defining the automatic transmission as a "for disabled persons" only, like the handicapped parking spots, and making everyone drive a manual transmission. it's really hard to do makeup and shift and steer all at the same time.

      --
      All of the above was encrypted with a Quad ROT-13 method. Unauthorized decryption is in violation of the DMCA.
    52. Re:Impossible to test by xiong.chiamiov · · Score: 1

      Still, the best steps are check the pedal, try neutral, try cutting the engine (tap tap tap, hold, or whatever it takes if it is a button), and use the brake forcefully and completely, before the pads have a chance to heat up. Assuming you have the /!right/ pedal.

      Why would I want to tap hard on the wrong pedal?

    53. Re:Impossible to test by Anonymous Coward · · Score: 2, Interesting

      I have done similar type of power sequencer design monitoring ~15 rails. I had worked on the idea on using a microcontroller a year before that, but I realized the problem is how to verify the design to work correctly.

      When finally I was actually tasked at the design, I did not use a microcontroller. It uses a special chip with PAL logic and programmable analog comparators. I even have to fake a state machine using time delays. It was very primitive, but it worked exactly as intended. It even save a few board during the initial prototype stages.

      Oh yes, it also work beautifully on sequencing down all the power rails when you pull the card out or the 2 main power fails. I can do that in a few microseconds, but your typical software type cannot guarantee their interrupt latency to do.

    54. Re:Impossible to test by Hurricane78 · · Score: 1

      Wrong. It’s called Haskell with QuickCheck. And it offers mathematical PROOF of correctness!
      If your life depends on it, you better demand mathematical proof.

      --
      Any sufficiently advanced intelligence is indistinguishable from stupidity.
    55. Re:Impossible to test by sjames · · Score: 2, Insightful

      Actually, these days the engine won't blow if you suddenly shift into neutral due to rev limits in the engine controller, but that just makes any refusal to shift into neutral at speed even less excusable.

      Defensive programming would include making a shift into neutral at speed override the accelerator position much like Toyota is doing (after the fact) with the brakes. Of course if the part of the software dealing with driver input is wedged, that won't help.

      The other issue is the start button. Apparently you have to press and hold it for 3 seconds. We all know that now, but apparently that info is buried in the owners manual. It also defies psychology. In a panic situation where time is badly distorted for the driver, they are to patiently press and hold the button. The natural behavior is to press rapid fire.

      I have had the throttle stick open on an old car once. Not wide open, but I released the accelerator and it had no effect. I turned the car off and pulled over. The ignition switch (being a mechanical device) behaved the same way it always does when turned, so there was no confusion. There's a lot of good in a positive action user interface. I was easily able to unstick the throttle cable and continue on my way.

    56. Re:Impossible to test by sonnejw0 · · Score: 1

      This call to find bugs in Toyota's ECUs is like finding WMDs in Iraq ... good luck with that. As the trite saying goes, "you can't prove a negative," and that's really bad for PR.

      Statistically, Toyotas are still the safest cars, and there are a larger percentage of complaints to the NHTSA of unintended acceleration in Fords than there are in Toyotas.

    57. Re:Impossible to test by The+End+Of+Days · · Score: 1

      It only proves his point if you throw away the fact that reality doesn't allow for perfection, no matter how hard you wish for it. Academics are famous for discarding real-world constraints to achieve particular theoretical results. It's when we poor sloppy regular humans have to do things in the real world that such dreams evaporate like soap bubbles.

      What I'm saying is sure, this proves his point, and all you have to do is discard reality for it to be useful.

    58. Re:Impossible to test by Anonymous Coward · · Score: 0

      If it seems impossible to test, the only way is to read the code very carefully and run things in your mind. I actually solved quite a few bugs this way in my code with a sophisticated threading model.

    59. Re:Impossible to test by dzfoo · · Score: 1

      Well, I think his point implied that there is a huge gap between unattainable perfection and let's do as little as possible to get it out the door quickly, and that the latter seems to be the norm.

      Surely you can concede that.

              -dZ.

      --
      Carol vs. Ghost
      ...Can you save Christmas?
    60. Re:Impossible to test by Anonymous Coward · · Score: 0

      Not only that, he claimed that with the car accelerating past 90mph on the highway he bent down and tried to pull the pedal up by hand.

    61. Re:Impossible to test by Anonymous Coward · · Score: 1, Informative

      bzzzt.... wrong. What happens to your vacuum assisted brakes when the throttle is wide open? I'll give you a hint... they are no longer vacuum assisted. At that point, however hard you push on the pedal is how hard the brakes are applied. Perhaps your assertion is true if the car is starting at rest (where the brakes would be combating off-idle torque) but, at speed, a manual set of brakes would have difficulty overcoming 600 lb-ft of torque (200 engine torque X 3:1 final drive) plus vehicle inertia. The pads would quickly overheat and out-gas reducing braking force. Continued application of brakes would then cause the fluid to boil causing complete brake failure.

    62. Re:Impossible to test by Anonymous Coward · · Score: 0

      NASA has shown what it takes to make very small, very good code.

      Yeah, yeah, the very same NASA proclaimed that the Mars Pathfinder mission was "flawless". Their audit systems are so great that they couldn't detect a priority inversion. You know, one of those obscure concepts/problems they explain in Real time programming 101.

      Considering that they have also in the past problems converting from Miles to Kilometers resulting in probes crashing to the ground and they wonderful audit again failed miserably and do not think they are a good example about how a braking or acceleration system has to be implemented...

    63. Re:Impossible to test by Anonymous Coward · · Score: 0

      Automatic trannies in these cars use the shifter as advice only. If shifted into neutral at speed, the engine would spin out, which is very damaging.

      Define "spin out"? Exactly what damage is done to an engine that's generally warranteed for several years by beating against the rev limiter for 30 seconds? None whatsoever, I would wager.

    64. Re:Impossible to test by Anonymous Coward · · Score: 0

      You just made that up, and somehow got Informative moderation. Intersting, Dr. Watson... very interesting. If you want to help, give us links with citations and that jazz, and not your day dream.

    65. Re:Impossible to test by wildsurf · · Score: 1

      Write a program that can determine whether another arbitrary program will halt on a given set of inputs, or run forever. You can't do it. Its impossible.

      Yep, Toyota is definitely having a Halting Problem.

      --
      Weeks of coding saves hours of planning.
    66. Re:Impossible to test by konaforever · · Score: 4, Informative

      Automatic trannies in these cars use the shifter as advice only. If shifted into neutral at speed, the engine would spin out, which is very damaging..

      It doesn't seem you know much about cars. First of all, "spin out" isn't an automotive term. And 2nd, what do you mean by "spin out"? Modern cars have a rpm limiter which limits the RPM of the engine to some preset RPM limit. Have you ever driving a manual and hit the RPM limiter? It'll cut power to the engine. Same thing with neutral. An engine will not be damaged if you gas it in neutral, even to the RPM limit.

    67. Re:Impossible to test by daver00 · · Score: 1

      I'm really not so sure about that, from a standstill, perhaps, running at highway speeds? Thats another story. You run into brake fade issues very quickly unless you are running highly exotic ceramic brakes (which they are not). Some Aurions have really got obscene amounts of power too. Whilst it is probably true that you *can* apply enough force to stop a car at WOT, the question is can most average drivers actually pull this off before their brakes overheat and become quite useless? I personally remain unconvinced.

    68. Re:Impossible to test by NeuralAbyss · · Score: 1

      Development of a single ECU (from inception through to production) takes in the order of USD$500k-20m.. I doubt you'll see manufacturers opening up their software investments to the public eye any time soon. Most MCUs have flags set after programming to disable readout of the flash over programming channels.

    69. Re:Impossible to test by Animaether · · Score: 3, Informative

      You're one of those types that hit a wikipedia page, see some claimed fact without attribution, slap a [citation needed] on it, and then bugger off, aren't you?

      You could just hit a search engine with some key words to see if you can find any corroborating source(s), of course:
      http://news.google.com/news?q=toyota%20911%20neutral

      Oh hey, look at that.

      uring the 911 call, the operator urged Mr. Sikes to shift the car into neutral. He later said he was afraid doing so might cause the car to "flip" or shift into reverse.

      - http://online.wsj.com/article/SB10001424052748704734304575120001542947616.html?mod=googlenews_wsj

    70. Re:Impossible to test by dokebi · · Score: 3, Interesting

      You do realize that Prius's gear level is just a joystick, right? There is nothing mechanically connected, which means that if the computer is confused, then _there is nothing the driver can do_, except stomp on the breaks.

      Actually there is. The car turns itself off if you hold the power button for 3 seconds. But in a panic situation, a person would most likely press the button repeatedly, instead of holding it steady for 3 long seconds. Other manufactures turn off on rapid button press in a short time, instead, which seems better.

      --
      In Soviet Russia, articles before post read *you*!
    71. Re:Impossible to test by Anonymous Coward · · Score: 0

      I think the driving tests in this country need to be much more rigorous. They should be done in an unfamiliar car, setup for simulating things like sudden loss of engine power, loss of 90% of the breaks, etc.

      Agreed. In fact, let's also have the same setup for pilots: stick them in an unfamiliar airplane and simulate a sudden loss of power. What could go wrong?

      This sort of testing should be repeated every 3-5 years, to ensure that drivers maintain a certain level of driving skill. There needs to also be a raw reflexes/object tracking with a fairly high level of skill needed, anything below a certain level will see that you fail your driving exam. Fines for driving without a license should be steep and the test facilities need to be open at least 2 shifts of the day, if not 2.5 shifts.

      This would certainly lower insurance rates. Of course, the DMV would become the largest government entity in the country, so the tax hikes alone would easily outstrip any drop in premiums.

      Personally, I don't care about testing skill or reflexes. I think we should only give licenses to people who know that breaks are what happen to your bones when your car doesn't brake fast enough.

    72. Re:Impossible to test by Anonymous Coward · · Score: 0

      Unfortunately, this is only true if the brakes are cold. Warm brakes, after a long day of driving, will be warm; you may not be able to stop the car at that point.

    73. Re:Impossible to test by Darinbob · · Score: 1

      Sometimes a good approach is just to say "what's the worst thing that can happen here, and if it happens what I can I do to mitigate it." That works even if you can't find a bug in the code. It's always good to have a plan B.

    74. Re:Impossible to test by Darinbob · · Score: 1

      Until the brakes burn out and you're still accelerating. Which has happened. Though putting it in neutral and letting the engine burn out is a good option.

    75. Re:Impossible to test by Anonymous Coward · · Score: 0

      Bullshit! Every modern car that could possibly be affected by this problem has a rev limiter, so there's no possibilty of damaging the engine from the transmission going into neutral. Stop talking about things where you have no idea what you're talking about.

    76. Re:Impossible to test by Anonymous Coward · · Score: 0

      Not quite true. I had a '92 Camaro whose cruise control would not disengage. I happened to be driving along I-70 during the evening rush hour. As I was coming up on some slower traffic, I stepped on the brakes. When I stepped off of the brake pedal, the car sped up. Next, I turned the cruise control switch to the OFF-position, but the cruise control did not disengage. I tried punching the gas a bit to see if would shake things loose. It didn't, and I was going even faster now. At this point, I was pondering my options: continue on I-70 hoping to run out of gas somewhere in West Virginia (w/o causing any accidents), or get off at the next exit and try somehow to stop the car. So, I took the next exit, *STOOD* on the brakes, ran through a red light because I could not stop the car. It was only then that I thought about putting the car in Neutral. Don't know why it took me 5 minutes to think of the correct action to take. It seems so obvious now...

      But the point is, I was able to slow the car down to about 25 mph by standing on the brakes, but the car had absolutely no intention of stalling.

      By the way, the root cause of my unintended acceleration was a kinked cruise control cable. A little lubrication fixed it right up.

    77. Re:Impossible to test by MechaStreisand · · Score: 0

      Except that drive-by-wire systems have absolutely no possibility of making the operation of the car safer (more efficient, sure, but that's it) and many many ways in which to make it less safe, so you're wrong about it making more sense to use drive-by-wire. I can't figure out what you're thinking with that statement.

      --
      Disclaimer: IANAL. This post is, however, legal advice, and creates an attorney-client relationship.
    78. Re:Impossible to test by Anonymous Coward · · Score: 0

      It was all over the news, in which case it's seems pretty reasonable that the intended audience would be aware of it. And if not, you can fucking use Google too, you know.

    79. Re:Impossible to test by Anonymous Coward · · Score: 0

      Ok, I'll bite:

      Consider on a per person per mile of travel basis a drunk "walker" is more likely to cause a traffic related fatality than a drunk driver

      /citation needed....

      Besides....such a statistic is meaningless, the distance walked by all drunks is much less than the distance driven by them. You are not looking objectively at things, you are distorting the issue.

    80. Re:Impossible to test by toddestan · · Score: 3, Insightful

      Judging by how the power button appears to work in the Prius, I would guess all that it does is tell the computer to shut down the engine. It's not like a typical car where the turning the key to Acc or off would cut the power to several critical systems. So if the computer is messed up to the point where the gear shift selector is not working, I wouldn't count on the power button to help you either.

    81. Re:Impossible to test by toddestan · · Score: 1

      I'm really not so sure about that, from a standstill, perhaps, running at highway speeds? Thats another story. You run into brake fade issues very quickly unless you are running highly exotic ceramic brakes (which they are not). Some Aurions have really got obscene amounts of power too. Whilst it is probably true that you *can* apply enough force to stop a car at WOT, the question is can most average drivers actually pull this off before their brakes overheat and become quite useless? I personally remain unconvinced.

      Car and Driver put it to the test, and found that with full throttle and full brakes the car would come to the stop:
      http://www.caranddriver.com/features/09q4/how_to_deal_with_unintended_acceleration-tech_dept

      Granted, it does appear that brakes heating up is a concern, and can be an issue if the car is moving at around 120MPH or more. Probably the big mistake many drivers will make is to not apply the full brakes at first, or partially let up on them when they start to smell - all this is going to accomplish is heating the brakes without getting the full stopping power out of them. The key is to apply full brakes and to not let up until the car stops.

    82. Re:Impossible to test by Anonymous Coward · · Score: 0

      Unless the car is brake-by-wire, in which case software errors can prevent that simple (and 100% true) rule from applying.

    83. Re:Impossible to test by sincewhen · · Score: 1

      I think you are incorrect on this point. Modern electronically-controlled transmissions will over-ride user inputs to prevent damage to the engine or transmission - but I believe that is limited to not downchanging until the road speed has decreased sufficiently, or not upchanging if the car is going too slowly. Perhaps also not changing into reverse while the car is in motion.

      I don't know if the car will ignore you putting it into neutral - I suspect that would be left in as a safety feature. You wouldn't immediately damage the engine by shifting into reverse since it should also have a rev limiter on it.

      So the procedure of shift to neutral, brake and slow to a stop, then shut off engine should work. And not cause serious damage to the car.
      Anyone with a modern auto (preferably a Prius) want to try it?

      --
      -- Braden's law of data: All data spends some of its lifetime in an excel spreadsheet.
    84. Re:Impossible to test by einhverfr · · Score: 0

      Is there a driver-accessible circuit-breaker or main fuse box available inside the cabin?

      That's always a good fallback....

      --

      LedgerSMB: Open source Accounting/ERP
    85. Re:Impossible to test by Anonymous Coward · · Score: 0

      Automatic trannies in these cars use the shifter as advice only. If shifted into neutral at speed, the engine would spin out, which is very damaging. So the software prevents that. Oops.

      No, they don't. Cars have had rev limiters for ages. It will not go above the redline, even if you shift into neutral. Try it yourself.

    86. Re:Impossible to test by FleaPlus · · Score: 4, Interesting

      (The last case on the news - a driver called 911 on his cell phone because his car was accelerating out of control. When prompted by the operator if he had tried putting the car in Neutral, he said no and even refused to do so when ordered to do it by the operator.)

      It's starting to look increasingly likely that this latest case was a hoax:

      http://en.wikipedia.org/wiki/Toyota_Prius#Brake_fix_and_acceleration

      On March 8, 2010, a 2008 Prius allegedly uncontrollably accelerated to 94 miles per hour on a California Highway (US), and the Prius had to be stopped with the verbal assistance of the California Highway Patrol as news cameras watched [86]. Subsequent to the event, media investigations uncovered suspicious information about the alleged runaway Prius driver, 61-year old James Sikes, including false police reports, suspect insurance claims, theft and fraud allegations, television aspirations, and bankruptcy.[87][88] Sikes was found to be US$19,000 behind in his Prius car payments and had $US700,000 in accumulated debt.[87] Sikes stated he wanted a new car as compensation for the incident.[87][89] Analyses by Edmunds.com and Forbes found Sikes' acceleration claims and fears of shifting to neutral implausible, with Edmunds concluding that "in other words, this is BS",[90] and Forbes comparing it to the balloon boy hoax.[88]

    87. Re:Impossible to test by metaforest · · Score: 1

      Having watched Mr. Toyoda and his US operations exec get raked over the coals on C-SPAN was painful. Very little of the questioning was relevant beyond a cursory "clarification" of the record, and calling on Toyota to make it right. Most of it was political grandstanding. If Mr. Toyoda knew then what he knows now about how Congress conducts hearings, I doubt he would have made his voluntary appearance. On the other hand... how many American execs can stand before the US Congress and say "Every product we make has my family name on it." Add to that the Japanese cultural value of family legacy and honor. Maybe he would have come to stand before that Congressional circus-act with a heavy infantry unit, rather than a translator and the American COO.

      It was very interesting to see the Congressional reaction to his understanding English far better than he could speak it. He probably should have let his translator do more of the leg work. I got the sense that the Reps thought he was messing with them. And yet anyone who knows a second language less than fluently might understand far more than they can comfortably speak, especially if there is serious consequences for being misunderstood.

      On the issue of developing embedded systems where Safety-of-Life is a factor... legacy code is probably the most dangerous element to deal with. However this is an issue that is going to haunt any manufacturer that builds many generations of evolutionary systems. At some point testing becomes frightfully difficult because in complex, deeply embedded systems the test process is very invasive. Also with corporate fears of IP leakage, a system that fails in the field often cannot be completely tested, or diagnosed. Many of the diagnostic features have been deliberately, and permanently disabled by "burning off" the security fuses in the chips when the system completes final testing. While traditionally automakers have kept "backdoors" in their systems, any sensible security conscious system designer who hasn't been living in a cave for the last 20 years is going to make damn sure their system is locked down. No backdoors, no exposed debugging tools.... nothing left to examine a failed system from it's last known state because the cost of not locking the system down is IP leakage and potentially dangerous tampering that would be difficult or impossible to detect.

      Getting automakers to start designing systems that have more transparency -even for authorized investigations- is going to be an uphill battle. They don't want the risk of IP leakage, they don't want unauthorized 3rd party development/support on their platforms, or having their own products rat them out when they do make a blunder.

      On the first two points how is this any different than what Boeing, Apple, Sony, Nintendo, and Microsoft, and many other companies do on their closed-platform products?

      Laws like DMCA only make the situation worse in that attempts to independently examine the system might lead to criminal prosecution.

    88. Re:Impossible to test by HuckleCom · · Score: 1

      YES! THANK YOU FOR POSTING THIS! I've been wondering if these people had the common sense to try neutral; is it possible you could provide a link to this statement?

    89. Re:Impossible to test by HuckleCom · · Score: 1

      It's called a rev limiter. almost all semi-modern cars are rpm limited; and who gives a crap if it's very damaging, you'd be alive and much safer than wrapping your car around a tree with you in it; or worse, another driver on the road.

    90. Re:Impossible to test by StarsAreAlsoFire · · Score: 1

      Having had a throttle cable break on a car leaving me to drift powerless across rural highway, I respectfully disagree. Had I chosen to gun it to cross in front of someone, I'd likely be dead. Had *anyone* been approaching from the East of this particular (nearly blind) intersection, I would likely be dead.

      I know how both systems work, in general, from pedal to engine. Give me drive by wire any day. But for the love of #&(*# make sure that there is a kill switch in BOTH software and hardware. E.g. full application of brakes physically grounds the throttle input - beyond the controller, *all* modern cars are drive by wire, as the fuel injection system determines how much fuel to add. Long past are the days that a cable rotated the air intake baffle on the carburetor.

    91. Re:Impossible to test by metaforest · · Score: 2, Interesting

      could be any number of causes.
      Here's an example from my own experience:

      I once had some embedded CODE that failed only when the system was off, and exposed to sub-freezing temps for several days.
      If it was off under any other conditions it would start up and work correctly.

      Turns out it was an uninitialized global variable, the compiler was not warning me about it, though it would for local variables.

      Now one might expect that this would fail randomly on power up since the contents of SRAM is undefined... most programmers will assume it's random. It's not really random. There's often only a few values that a SRAM cell will take on typically at room temperature. Additionally as others have noted, SRAM can have a slight "memory effect" it also will sip holding current from decoupling capacitors long after other devices around it are well below their minimum forward Vth voltage. So in every case during in house testing the functions that used this variable managed to see a positive value on power-up which caused their first calculation on power-up to be wrong, but had no material impact on the output since it wasn't ever wrong enough to be noticed, or cause the system to mis-operate.

      Then the system was deployed. The first few weeks the system was fine. It was late summer at the customer's site. The customer feedback was that it was working perfectly. We deployed another few units. Also working fine. Then summer ended. Fall First cold-snap of fall took place over a weekend. On monday morning all of the systems were started by their operators and crashed. Then restarted normally.

      Lots of head scratching. No more failures that whole week. But something was clearly up. We couldn't reproduce the problem in the lab... We didn't know about the cold snap either. A week went by. No one spotted the bum variable. The following Monday no failures. No failures for a few more weeks. Still no one spotted the bum variable, code and hardware passed review.

      Then the site got their second sub-freezing cold-snap on a weekend... This one we knew about before hand... our on-site rep mentioned during a conference call that it might snow over the weekend. Internally our team was still looking for answers, but without more failures we just didn't know what to look for. We'd left systems off for weeks at a time and they never failed to start.
      The hardware guys froze them, and over heated them. Kicked them around the lab.... none of them showed the failure seen by the customer.

      The Rep called on monday and said all of the units failed to start the first time. The rest of the week they were fine.

      Hardware team put three units in the freezer and left them there for three days. To replicate the weekend conditions. All three failed to boot. Hardware probed the frozen boards... code checksum was fine.... everything looked fine. The code was crashing though, and we got a call chain out of the device.

      So I went in and looked again.... this time I spotted the uninitialized variable.

      Turns out it could only crash when the variable had a negative value in it. Turns out if really cold AND the system was left off long enough for all the capacitors to drain then on power-up the SRAM in this particular device would come ready with a majority of it's bits set high. If it was above freezing... the majority of bits were low. In over-night freezes there was enough capacitance on the board to keep the RAM holding.

      We had the on-sight rep re-flash the systems with the new code.... bug killed.

      This was not a complex system and it was not required to meet Safety-of-Life standards. It had about 8K of code and 2K of active data, and three active IC packages.

    92. Re:Impossible to test by Sycraft-fu · · Score: 1

      Just because it is computer controlled doesn't mean that it won't do anything. You have to remember that not everything is controlled by the same system, not everything is the same priority, not everything relies on the same sensors, etc. So you try it. If it doesn't work you are back to where you started.

      However as you said, there is the stomp on the brakes thing which is what you should do. Cars have more powerful breaking systems than they do acceleration systems. So stomp on the brakes and its a good bet they'll stop your car. For wheel disc anti-lock breaks have some real breaking force.

    93. Re:Impossible to test by w0mprat · · Score: 1

      Not at speed. Your average road car has enough peak braking power, yes, but road car brakes don't handle heat well. Even without a engine at full rpm fighting against it, decelerating from much above the speed limit dumps serious heat into common disk brakes, if the driver doesn't brake hard enough quick enough. It all depends on how braking is applied -. Most drivers don't apply the full potential of braking in an emergency anyway, let alone have any experience pulling up from high speed, with a engine fighting against them. They might also be inclined to pump the brakes trying to give the car the impression you might want to slow down, which is the worst thing you could do in a runaway acceleration scenario.

      Throw some panic on top of that also.

      The only way to beat this kind of thing is to jam on the brakes HARD, with both feet, and do not let up. While searching for neutral or something.

      --
      After logging in slashdot still does not take you back to the page you were on. It's been that way for 20 years.
    94. Re:Impossible to test by phantomfive · · Score: 1

      http://lmgtfy.com/?q=help+me! is a good site for idiots who can't help themselves to research even the most basic facts, like the person you were replying to.

      --
      Qxe4
    95. Re:Impossible to test by Bill+Dog · · Score: 1

      I might've hit the brakes and then got out and tried to push the car off the highway in whichever was the shortest direction -- at least then you'd have a chance to dive out of the way if a car was coming. I know, easier to judge in hindsight. I've heard of throttle cables sticking, but hadn't heard of one breaking until your story. Guess if I had to choose I'd prefer the former, but with total manual control over the coupling of the engine with the transmission.

      --
      Attention zealots and haters: 00100 00100
    96. Re:Impossible to test by Anonymous Coward · · Score: 0

      Why is it that Toyota drivers are so much more prone to driver error than people who drive other cars? I have read that over the last several years the number of complaints of sudden acceleration by Toyota drivers has been greater than the number of complaints for all other cars combined. I conclude from this that most of the problems must be due to the cars not the drivers.

    97. Re:Impossible to test by Gordonjcp · · Score: 1

      bzzzt.... wrong. What happens to your vacuum assisted brakes when the throttle is wide open? I'll give you a hint... they are no longer vacuum assisted.

      Oh right, so as soon as you open the throttle all the vacuum rushes out of the soup-pot-sized brake servo? You have faulty brakes. Get them fixed.

      Cars hae ample vacuum assist for a couple of brake applications even after the engine has been off for several hours. If they don't, your vacuum servo has a serious fault and should be replaced.

    98. Re:Impossible to test by Gordonjcp · · Score: 1

      The only way to beat this kind of thing is to jam on the brakes HARD, with both feet, and do not let up.

      You shouldn't need to use both feet. You shouldn't even need to press that hard, unless you have badly worn or faulty brakes.

      I don't know if Toyota deliberately degrade their brakes for the American market, to match the incredibly poor brakes that American cars have. I'd be surprised if they do.

    99. Re:Impossible to test by MechaStreisand · · Score: 1

      *all* modern cars are drive by wire, as the fuel injection system determines how much fuel to add. Long past are the days that a cable rotated the air intake baffle on the carburetor.

      Utter lies! Most cars still have a mechanical throttle, and that controls the airflow. Just because the computer controls the fuel injection on all cars made in the past 20 years doesn't take away the driver's total control over the airflow, and thus it is not drive-by-wire by any sensible definition.

      --
      Disclaimer: IANAL. This post is, however, legal advice, and creates an attorney-client relationship.
    100. Re:Impossible to test by arkenian · · Score: 3, Informative

      Except that drive-by-wire systems have absolutely no possibility of making the operation of the car safer (more efficient, sure, but that's it) and many many ways in which to make it less safe, so you're wrong about it making more sense to use drive-by-wire. I can't figure out what you're thinking with that statement.

      That's flat-out not true. Traction Control and brakes and power synchronizing together (which is a lot of what drive-by-wire DOES) absolutely, in most cases, makes the average driver safer. Personally, I'm inclined to think that as drive-by-wire improves (until eventually, hopefully, the really dangerous part (i.e. the driver) will go away), we will in general progress to fewer accidents per car-mile but, unfortunately, far more catastrophic ones.

    101. Re:Impossible to test by Alex+Belits · · Score: 1

      Write a program that can determine whether another arbitrary program will halt on a given set of inputs, or run forever. You can't do it. Its impossible.

      That's irrelevant. The task is not to take an arbitrary program and determine if it will perform a particular action. It's to take GIVEN piece of software and determine if it can be proven to perform a particular action, and if not, determine how to modify that piece of software so it will be possible to prove that it will perform that particular action.

      While this is likely to produce inefficient software, and it may require more time and effort than just writing "what seems right", this is nowhere close to the halting problem.

      --
      Contrary to the popular belief, there indeed is no God.
    102. Re:Impossible to test by vadim_t · · Score: 1

      Wouldn't zeroing the memory on start make things more predictable? If memory persists across reboots you could also have weird bugs due to bad state being kept after a crash, if the voltage unexpectedly drops for instance.

      Also, it is my understanding that it's common practice to test after initializing memory with different values (all 0s, all 1s, etc) to see if that makes anything go wrong.

    103. Re:Impossible to test by indiechild · · Score: 1

      Did you apply the handbrake as well? That's one of my fears too, that the brakes will slow the car but not enough to actually stop it.

    104. Re:Impossible to test by Rick17JJ · · Score: 1

      I read somewhere, that there would be enough reserve vacuum for several applications of the brakes, but that if the throttle remained wide open, all power braking would eventually be lost. It would then require about four times the pedal pressure for the same braking effect.

      Under normal conditions that would not be a problem, since you do not normally apply the brakes with a wide open throttle. But if the throttle were stuck open, power braking could eventually be lost.

    105. Re:Impossible to test by kybred · · Score: 1

      Every production car on the road has sufficient braking power to stall the engine in any gear at any throttle setting. Put your foot on the brake, and the car will stop. You may need new discs and pads after that.

      Are you sure about that?

      Afterward, investigators said that it appeared the brakes had been applied for so long that the brake pads melted, according to a report by the National Highway Traffic Safety Administration.

    106. Re:Impossible to test by shadowfaxcrx · · Score: 1

      Look, every car that's computerized to that level has software bugs. The 4 Ford Escapes we have at work have a TCS bug that activates when you go around a corner and there's dust on the outside of the corner, and no dust on the inside of the corner. It detects the difference in traction and freaks out, slamming on the brakes. Ford engineers recommended, when I had the vehicle in for diagnosis "Just turn the traction control off."

      3rd gen Acura TLs have a 2nd gear bug, where if you get wheelspin at full throttle in 2nd gear under very specific (and thus far unknown) speeds and conditions, it'll lock the transmission in 2nd gear until you pull over and slow to below 10mph.

      You could go through any of the drive-by-wire cars and find bugs in the code. Guaranteed. Some are relatively benign, like the TL's, and some are dangerous as hell, like the Fords.

      And there are bugs in the code because the development cycle for cars is too fast for bugfree code to be even a remote possibility. They do a total redesign on cars what, once every 5 years or so? Talk to software engineers and they'll tell you it takes a good 10 or so years to develop software to the point of really good utility and non-bugginess. And that's just talking about relatively easy stuff like MS Word. Unlike critical safety systems like the programming in cars, no one's going to die if they BSOD while typing in their word processor.

      A recent study said that the average new car has more lines of code than the F22 fighter (and the cars don't even come with missiles, dammit!) - and the F22 had a much longer development cycle - they started designing that airplane in 1981. Lots more time to get everything right, with less code.

      --
      "I disagree with you" does not equal "flamebait."
    107. Re:Impossible to test by mindbooger · · Score: 1

      I don't think it's applicable in the Prius case, but worth noting in general:

      At WOT, the vacuum-assist for many power-assist brake systems just isn't there. You'll get one, maybe two applications from the vacuum reserve system. At that point, you have to be a little bit strong (and your seat has to be positioned properly) to generate that kind of braking force.

      I'm not excusing it (your seat _should_ be positioned correctly, and you _should_ be strong enough to work the brakes without the assist), just pointing out that it's not quite that trivial.

    108. Re:Impossible to test by traindirector · · Score: 1

      Has there actually been a confirmed case of one of these cars not shifting to neutral after the driver has tried?

      At best, I hear this fear expressed as "But the transmission is electronically controlled, and input is only a suggestion! This could prevent the car from responding to the driver!" At worst, I've seen some of the dodgier news reports supplement the original story they've copied suggesting/assuming that this happens as a fact. But I've never seen this claim in any official report or from a source I would trust to accurately report this information.

      I drive a Prius, and I can tell you that doing just about anything with the shifter while at speed (moving it to netural, throwing it in reverse, hitting the park button) will actually put the car in the neutral. Of course adding a software layer introduces the possibility of bugs to the already-existing chance of mechanical failure. But if the software is well written, the way my Toyota handles this seems very well-conceived. It will refuse to go into reverse or try to park, yes--it does the safest thing and moves into neutral instead.

      For both the accelerator to electronically be stuck at wide open throttle, the brakes not to work, and the transmission to neglect to use its failsafe of switching to neutral could only be either coincidental to the point of obscurity or a massive system-wide failure. If these systems are connected in a way that would allow such a failure to happen, it's a horrible design. I'm not saying it's not possible, but as far as I'm aware no technically-trained person has found evidence of this in examining any of the vehicles whose drivers have reported unintended acceleration.

    109. Re:Impossible to test by pommiekiwifruit · · Score: 1

      Which language is that in? I thought C and C++ initialize global variables (.bss section) to zero as standard in the startup sequence. It's on the manufacturers programming checklist for chips I have worked on also (for assembly code or other languages). (Check that all SRAM is initialised to known values on startup). That seems a pretty basic thing to check (much easier than uninitialised local variables, and less overhead than checking for stack overflow). Also see 0xDEADBEEF. Is there a reason why you would not have done that on your system?

    110. Re:Impossible to test by StarsAreAlsoFire · · Score: 1

      I had unstrapped and opened the door by the time I'd fully crossed the yellow line. I had enough motive power to coast about a car-length past the intersection, very slight incline - power stopped before the front of the car had made it to the middle of the 2-lane highway.

      Believe me, I was _absolutely_ not intending to stick around to witness a T-bone collision from the inside. But it was a timing thing. Closing speed at 65mph ( average *actual* speed on that road ) is disconcertingly fast.

      Not sure about that manual control over the engine/transmission coupling: I've had automatics where it took a real force of will to shift from '2nd' into drive or vice-versa. Trying it when the engine is actually revved would have probably taken a sledge hammer. A manual, of course, you just push in the clutch and let the engine blow up.

    111. Re:Impossible to test by StarsAreAlsoFire · · Score: 1

      Interesting. I wish I had time to look into this further. I haven't had to strip down a newer car engine, so I don't have the first hand knowledge I would like. Visual inspection of a few newer cars, combined with the 'dear god, low-hanging fruit for fuel economy' aspect had me convinced that the direct control of airflow was long since past.

      I completely agree, of course; if you physically control the air intake, it most certainly isn't drive by wire.

    112. Re:Impossible to test by JasterBobaMereel · · Score: 1

      This is being blown out of all proportion to the actual problem?

      The news stories that worry me are where people have sat in their Toyota while it accelerates out of control and have not thought to turn the engine off ....!

      Your car may be faulty but it is still your responsibility to drive it ..in all cases without exception simply turning off the engine will stop the car ...in all reported cases safely

      There are no verified cases of this problem killing anyone ... and the number of cases of the accelerator sticking is very small, the number of people killed due to badly maintained cars last week is much higher, and the number of people killed due to poor driving is much much higher

      --
      Puteulanus fenestra mortis
    113. Re:Impossible to test by Leon+Buijs · · Score: 1

      What he means is that it just isn't realistic that only Toyotas have such problems. After Toyota made it public, suddenly other brand dared to do the same..

    114. Re:Impossible to test by Anonymous Coward · · Score: 0

      Absolutely and unequivocally NOT TRUE. Why was this modded +5 informative? The whole problem is that some cars DO NOT have the braking power to overcome a continuous full throttle situation. Furthermore, you're relying on more than just the brakes, you're relying on the tires as well, which (if the braking doesn't go well) will essentially glaze over and be useless.

    115. Re:Impossible to test by Gordonjcp · · Score: 1

      Uh, why would you be relying on the tyres? First off, if a car's brakes do not have enough power to overcome the engine, then they do not have enough power to stop the car quickly enough even with the engine behaving itself. Such a car would be illegal to use on public roads. Furthermore - and this might have escaped your attention - the vast majority of cars on the road are front wheel drive. Those big brake discs will stop the engine without the tyres having any effect at all.

    116. Re:Impossible to test by Askmum · · Score: 1

      There is a reason why rallycars have a BRS. Even several potentialy dangerous pieces of industrial equipment have one. Maybe we need things like that if car manufacturers persist in solving hardware solutions in software.

  3. Infallible fail. by jeckled · · Score: 5, Insightful

    Drive by wire is great and all, but I'd feel much better with a physical fail-safe than their "infallible" software. I am aware of the physical remedies for the issue, but I'd like to see the brake pedal override the accelerator.

    1. Re:Infallible fail. by shrimppesto · · Score: 4, Informative

      i'd feel much better with drivers who know they should pop the car into NEUTRAL if it starts accelerating out of control for any reason, rather than trying to stand on the brake pedals while dialing 911 ...

    2. Re:Infallible fail. by Anonymous Coward · · Score: 0

      This is true. A lot of older cars have computers that control the engine. So the software factor is not new. We've been doing this part since the 1980's, and pretty much every car from the 1990's on has it. Yet the older cars typically still have a mechanical link here and there to the engine. So even if the ECU managed to wig out and decide to tell the fuel management system to make the engine go faster, the gool ol' fashioned butterfly valve throttle plate with a decent spring holding it shut and pulled open mechanically by a cable going to the gas pedal says "NO!" And rather than the car taking off like a cat with its ass lit on fire, instead you get an overly rich condition and rough idle because there is no air allowed in the mix. Thus the most likely damage is an engine light coming on because an emissions problem was detected by the O2 sensor getting a sudden too rich fuel condition.

      So what is new is either the complete physical removal of the throttle valve, or deciding to let the computer control how far it opens instead of the pull cable going to the driver's gas pedal. You can say what you want about improving efficiency and responsiveness by doing that, but you should also admit how much such a simple change can effectively remove a proven fail-safe from the system. This is common sense here. Anyone that has had at least one course on automotive in high school or at a community college should be able to see and realize this. So how it gets through a high-level team of engineers (with masters and PhD's even) at a large automotive company is beyond me. But I suppose too much confidence or egos or other motive-driven politics can put the blinders on even the best out there, and now we see the result.

      And it may be true that the software in the ECU may not be at fault. (Under the "normal" ideal conditions.) It could be wiring somewhere else in the car. It could be a bad input, or it could be noise from elsewhere in the sytem managing to find its way into the ECU. I'm sure people working on computers have had crashes or odd glitches from bad power supplies or poor quality mains electricity or bad connections, but those results are usually minor and just annoying. Now you have the similar problem in a car with many interconnected electrical systems and potential for things like noise, crosstalk, or ground faults occuring within - any one of those making it to a safety critical computer potentially has dire consequences.

    3. Re:Infallible fail. by MachDelta · · Score: 1

      It's ok, there's a PSA for that. (NSFW)

    4. Re:Infallible fail. by NewtonsLaw · · Score: 1

      I don't think the Prius has a neutral does it?

      And in some other cars, the gear-selection is also electronic so if the computer has gone all "i-robot" then it will ignore requests to shift out of drive anyway.

    5. Re:Infallible fail. by MachDelta · · Score: 1

      ALL cars have neutral. Park is just neutral with a pin or block to keep the transmission (and by extension, the wheels) from moving.

    6. Re:Infallible fail. by davester666 · · Score: 1

      And possibly with better brakes. Electric Motors may not have great horsepower, but they tend to have a great amount of torque, requiring more powerful brakes to actually stop the vehicle if both 'gas' and brake are applied [vs a similarly sized gas-powered vehicle].

      --
      Sleep your way to a whiter smile...date a dentist!
    7. Re:Infallible fail. by sparky555 · · Score: 1

      Unless it is a software problem, and neutral doesn't work. I'm not sure if its the case on all of their vehicles now, but I know that the Prius' gear selector isn't mechanical.

    8. Re:Infallible fail. by timeOday · · Score: 3, Informative
      You could be referring specifically to last week's incident, which I found fishy from the start:

      Skeptics of Sikes also cite the 911 tape that was released shortly after the incident. During the tape, the dispatcher repeatedly told Sikes to put the car in neutral in order to stop it from accelerating. Sikes did not comply with her instructions or the instructions of the officer on the scene who told him to do the same thing via his public address system as they tore down the highway.... Sikes claimed he thought that would "flip the car."

      Beyond the call itself, the Associated Press reports that Sikes's car was equipped with a brake override system, something that should have slowed the car down once he stomped on the brake pedal.

    9. Re:Infallible fail. by colfer · · Score: 1

      Open the pod bay doors, Hal.

    10. Re:Infallible fail. by mpapet · · Score: 1

      The transmission shifts to neutral just fine under full acceleration. I tested this scenario early one morning. (very early)

      --
      http://www.maxineudall.com/2010/02/should-economists-be-sued-for-malpractice.html
    11. Re:Infallible fail. by jc42 · · Score: 2, Interesting

      i'd feel much better with drivers who know they should pop the car into NEUTRAL if it starts accelerating out of control for any reason, ...

      Except we have testimony from any number of the Toyota acceleration victims that they had put the transmission into the "N" position, but the car just ignored it and kept accelerating. They also claimed that they knew how to use the brake, but the car also ignored that.

      As a software guy, I'm quite familiar with ways that software will do things like this, and I find the testimony quite credible. But we might consider that the victims might be lying to us. Or that the auto company might be lying. Or both.

      Myself, I'd believe them all better if there were "black box" recording devices with logs of the incidents. Rumors have it that some auto manufacturers are considering such gadgetry. But of course it would add to the price of a car and make it less competitive in a price-conscious market. So we might not see such recording devices soon, or if we do, they'll be very limited and won't be able to answer the sorts of questions that people are asking here.

      In any case, it's a bit bemusing to see people automatically attributing failures of a "drive-by-wire" vehicle to 100% driver error. The cars we're talking about are controlled by computers, not by people; the driver is just there to give advice to the computers. How often have you pressed a button on your computer, and seen nothing happen in response? We're hearing the testimony of people saying that this happened with their computer-controlled car. Anyone with any experience at all with commercially-built computer systems would believe the "user", not the manufacturer, because we have far too much experience with commercially-built computers to believe otherwise.

      OTOH, the CS guys will tell us that are a lot of really stupid computer users out there. And most of them are also drivers ...

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
  4. Another interesting statistic by homer_s · · Score: 5, Interesting
    From here :

    In the 24 cases where driver age was reported or readily inferred, the drivers included those of the ages 60, 61, 63, 66, 68, 71, 72, 72, 77, 79, 83, 85, 89—and I’m leaving out the son whose age wasn’t identified, but whose 94-year-old father died as a passenger.

    These “electronic defects” apparently discriminate against the elderly, just as the sudden acceleration of Audis and GM autos did before them. (If computers are going to discriminate against anyone, they should be picking on the young, who are more likely to take up arms against the rise of the machines and future Terminators).

    Some more data here

    1. Re:Another interesting statistic by maxume · · Score: 4, Insightful

      Be careful to note that the 24 cases discussed there are only the ones that have led to serious incidents.

      --
      Nerd rage is the funniest rage.
    2. Re:Another interesting statistic by jeckled · · Score: 1

      I have a feeling that if you adjusted those numbers for the distribution of Toyota owner's ages, the numbers would look more reasonable. I'm not trying to say age is not a factor, just mentioning there are other variables influencing that research.

    3. Re:Another interesting statistic by WrongSizeGlass · · Score: 3, Funny

      Now, come on. We can't blame age for this. I plan to be that old one day ... as long as I don't buy a Toyota, that is.

    4. Re:Another interesting statistic by f16c · · Score: 2, Informative

      Something to understand about those statistics: This is a self selected group based largely on income. Camrys may be everywhere but Prius' tend to be expensive.

      --
      bob@Osprey:~>
    5. Re:Another interesting statistic by Lehk228 · · Score: 1

      also, since this is the group of serious accidents, older people are less likely to react correctly and in a timely manner to the problem.

      --
      Snowden and Manning are heroes.
    6. Re:Another interesting statistic by mister_playboy · · Score: 1

      2010 Camry base price: $19,595 - most expensive trim starts at $26,400
      2010 Prius base price: $22,800 - most expensive trim starts at $28,070

      Even a fully optioned Prius couldn't be described as expensive by new car standards. The price difference isn't enough to expect it would impact the type of owners very much... they fall in the same price range.

      --
      Do what thou wilt shall be the whole of the Law ::: Love is the law, love under will
    7. Re:Another interesting statistic by Anonymous Coward · · Score: 0

      Yeah, the past generations of elderly had problems with Audis, the actual generation of elders has problems with the poorman's car, the Toyotas, and our generation, if we become elders, will have problems with the chains of our India made bicycles, as our economy keeps falling down and our 401ks are just evaporating...

    8. Re:Another interesting statistic by DeadCatX2 · · Score: 1

      Would that suggest a potential correlation between reaction time and general seriousness of the possible incidents?

      --
      :(){ :|:& };:
    9. Re:Another interesting statistic by Skapare · · Score: 1

      Exactly. I can sense what my car is doing while driving it, such as gear changes in the automatic transmission, and when the tires are on the edge of small narrow roads. But my father, 25 years older, can't. He also has much slower reaction times. I'm glad he's not driving a Toyota, but I'm still not comfortable with him driving either car we do have.

      --
      now we need to go OSS in diesel cars
    10. Re:Another interesting statistic by maxume · · Score: 5, Informative

      To me it suggests that older drivers are having more difficulty coping with the situation once it arises.

      Forbes says that the guy who got himself plastered all over cable last week was 'afraid' to put the vehicle into neutral, or to turn off the engine:

      http://www.forbes.com/2010/03/12/toyota-autos-hoax-media-opinions-contributors-michael-fumento.html?boxes=financechannelforbes

      (They link the 911 recording:

      http://www.thetruthaboutcars.com/the-jim-sikes-911-call-23-minutes-of-unintended-acceleration/

      )

      So apparently being an idiot is also a likely factor in the failing to cope with the incident before it becomes lethal.

      But they key observation is that the higher number of fatalities among older drivers doesn't really point to the source of the problem being driver error (rather, the driver error is in failing to deal with the situation once it arises).

      --
      Nerd rage is the funniest rage.
    11. Re:Another interesting statistic by Idbar · · Score: 1

      Another interesting data from that page is if they know how to use pie charts. From the same article apparently less than 50% of the accidents occur when in motion, while the rest... I guess relate to piano rains, earthquakes and who knows other "non-motion" related accidents.

    12. Re:Another interesting statistic by placatedmayhem · · Score: 1

      It is purdent to note the paragraph describing the exact data before the age statistic:

      The Los Angeles Times recently did a story detailing all of the NHTSA reports of Toyota “sudden acceleration” fatalities, and, though the Times did not mention it, the ages of the drivers involved were striking.

      In the 24 cases where driver age was reported...

      The key here is that the statistic is about fatalities, not occurances. When put into dangerous situations requiring strength (to push hard on a break pedal in this case), and good reaction timing (to avoid people on the road at 90mph or more), the elderly are always going to perform worse as age generally reduces both strength and reaction time, thus increasing the likelihood of crashes and thus fatalities.

      This statistic isn't as glaring as the defense lawyer author wants us to believe.

    13. Re:Another interesting statistic by noidentity · · Score: 1

      In the 24 cases where driver age was reported or readily inferred, the drivers included those of the ages 60, 61, 63, 66, 68, 71, 72, 72, 77, 79, 83, 85, 89--and I'm leaving out the son whose age wasn't identified, but whose 94-year-old father died as a passenger.

      Any chance the driver age directly affected the likelihood that the age was reported or readily inferred? If so, you're measuring this, rather than any effect driver age had on occurrence.

    14. Re:Another interesting statistic by T+Murphy · · Score: 1

      You don't have to be old to hit the wrong pedal or respond poorly to a sticking pedal- you would expect some younger drivers mixed in there. This would imply the age trend has other causes (although age-related deterioration of driving skills can still be a factor).

    15. Re:Another interesting statistic by causality · · Score: 4, Insightful

      To me it suggests that older drivers are having more difficulty coping with the situation once it arises.

      Forbes says that the guy who got himself plastered all over cable last week was 'afraid' to put the vehicle into neutral, or to turn off the engine:

      That part is strange. Uncontrolled acceleration is a much greater risk to life and limb than the red-lined/blown engine you might get if it were put into neutral with the throttle wide open. Being "afraid to try neutral" makes no sense.

      They link the 911 recording

      Just an irrelevant side note: I've always found it low-class and tacky that phone calls made to 911 become publically available, especially when you hear them on the news. The message is, "hey sir or madam, remember that moment when you were highly emotional and had no idea if you were going to live or die? Well, we've got great news! That highly personal moment of reflection on your own mortality is now a public spectacle for millions of people! It's okay, we make a profit from this! No we won't share that profit with you..."

      I realize it's a government service funded by taxpayer dollars. That explains how this is possible. It fails to explain how this is the best or most honorable thing to do.

      So apparently being an idiot is also a likely factor in the failing to cope with the incident before it becomes lethal.

      That part generally shouldn't be a surprise. I'd imagine it also helps if you can keep calm and avoid panicking, as panicky people often fail at things they could do easily if they were not in a state of deer-in-headlights fear.

      But they key observation is that the higher number of fatalities among older drivers doesn't really point to the source of the problem being driver error (rather, the driver error is in failing to deal with the situation once it arises).

      Nor does it explain why older drivers were disproportionately affected. Possibly the Toyota brand is more popular among older drivers because it historically has retained a decent resale value. While nothing the driver does should ever cause this kind of uncontrollable automatic acceleration, perhaps older drivers tend to have habits that somehow manifest whatever the actual underlying problem is. There are a lot of coincidences and correlations being pointed out in this discussion but unfortunately there seems to be little certainty about whether they are more than that.

      --
      It is a miracle that curiosity survives formal education. - Einstein
    16. Re:Another interesting statistic by Anonymous Coward · · Score: 0

      The rest, meaning the majority, relate to acceleration from rest, such as at a stoplight or when parked. This is important, since the incident begins with the driver's foot on the brake or moving from the brake to the accelerator pedal. The in-motion cases, however, pretty clearly start with the driver's foot on the accelerator.

    17. Re:Another interesting statistic by Idbar · · Score: 1

      While I really want to make the same sense you do to this chart. That means that "entering the freeway" requires no involvement of the gas pedal.

      A "when" do accidents happen would make more sense if they clarify other conditions, such as rain, boring environments (freeways), parking. A "50%" of in-motion accidents, provide absolutely no insight on what conditions may caused the accident, and let's be clear here, that all the maneuvers performed during driving require: A. the car being in-motion B. full attention of the driver.

      My argument remains that "in-motion" is quite ambiguous to accidents while driving.

    18. Re:Another interesting statistic by Concerned+Onlooker · · Score: 1

      Funny! Wish I had a mod point for ya.

      --
      http://www.rootstrikers.org/
    19. Re:Another interesting statistic by ortholattice · · Score: 1

      These "electronic defects" apparently discriminate against the elderly, just as the sudden acceleration of Audis and GM autos did before them.

      Could it also be that the software was designed and tested for "typical" driving? Perhaps there is be a bug such as an overflow error on a timer or arithmetic operation, a race condition, etc. that is only triggered by a certain timing pattern that occurs more often with elderly drivers.

      If there are really "100 million lines of code" as I have read so often, then a tiny such mistake buried deep inside wouldn't be surprising. Indeed it would be surprising if there weren't quite a few such tiny mistakes, waiting to be discovered in the future at the worst possible moment.

      Of course, we will never know, since the code is secret. So have fun playing Russian roulette with your car's software.

    20. Re:Another interesting statistic by BOFslime · · Score: 1

      Forbes later published an article calling the guy out. The whole incident was just a hoax, and there's more holes in his story than cheese (he was able to reach down and pull on the pedal for instance, but didn't want to turn the car off for fear of taking his hands off the wheel). Sikes was more than 700k in debt, 20k of which was for said Prius. http://www.forbes.com/2010/03/12/toyota-autos-hoax-media-opinions-contributors-michael-fumento_2.html

    21. Re:Another interesting statistic by maxume · · Score: 1

      That's page 2 of the article that I pointed out.

      --
      Nerd rage is the funniest rage.
    22. Re:Another interesting statistic by sjames · · Score: 1

      Nice cherry picking there. One of the earlier reports that kicked the whole thing off was a 45 year old CHP officer.

    23. Re:Another interesting statistic by jc42 · · Score: 1

      To me it suggests that older drivers are having more difficulty coping with the situation once it arises.

      To me it suggests that the author of the article should learn a bit of basic statistics. Drawing conclusions from a sample of 24, in which the highest and lowest numbers are all single digits, is merely a case of using bogus statistics to meet your publishing deadline.

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    24. Re:Another interesting statistic by maxume · · Score: 1

      I don't think 'suggests' implies that a conclusion has been drawn.

      --
      Nerd rage is the funniest rage.
    25. Re:Another interesting statistic by John+Hasler · · Score: 1

      > That part is strange. Uncontrolled acceleration is a much greater risk to
      > life and limb than the red-lined/blown engine you might get if it were put
      > into neutral with the throttle wide open. Being "afraid to try neutral"
      > makes no sense.

      Sure it does. "Blown engine" -> "explosion".

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    26. Re:Another interesting statistic by Anonymous Coward · · Score: 0

      I agree, also why is it that these problems seem to be occurring almost solely in the US? I know that with the Audi's it was eventually attributed to driver error.

  5. Testing. by Ihlosi · · Score: 4, Insightful

    Testing only confirms the absence of known bugs. Never forget that.

    1. Re:Testing. by Anonymous Coward · · Score: 0

      Before this goes too far forward--I'd like to object. If the hardware or system I deploy on doesn't meet spec, it isn't a bug--it's user error. If my compiler, or the microcode it runs on top of have a failing--it's not a bug, it's a vendor failure. Admittedly, the user will never know the difference. But the purchaser should.

      Now--I'll admit, *I* can never detect the absence of all bugs in something the size of an operating system. But on an embedded piece of hardware--if people supply the power they said they would supply, if they run it in the temperature they said they would run it at, if my chip and compiler run according to spec (if they even HAVE a spec). Then yes, I can build a system and run a test of all possible legal inputs. You go and throw 5 amps over a 10 milliamp input device, and there'll be magic smoke. You throw 20 over it, and maybe it will start lying to you as it de-calibrates... but those are hardware failings, and also out of spec.

      But when I've got 1024 inputs, and I'm just reprocessing and presenting them--I *can* guarantee an absence of bugs if you agreed to the specification.

      When I've got a "mere" 50,000 lines of code, I *can* write something without bugs--although most nobody wants to pay for it. If the behavior was properly identified. Of course, a huge chunk of that will probably be error detection and a big array of messages. Specification doesn't mean "compute the area of a circle"--it means "compute the area of a circle, whereby a circle is specified as a radius in units of [UNITS], you shall be accurate to within [MARGIN]. User input shall be a positive, real number in american ascii via stdin with a total representation of length no greater than [LEN]. If it is not, you will return message [MESSAGE] and exit with status code 1. The program will be executed on the bourne shell via command "areacircle" and be installed in /usr/local/bin", with any dependencies installed [...] and will run on kernel [version] with libc [version]"

      Unfortunately, most people never write or agree to a specification in their entire life--and when they do, they come back in three weeks and say "this isn't what I needed." Software free of bugs is possible--it's just very difficult and costly.

      But speaking as a programmer who does test on his own and other projects--it's time to stop calling most bugs bugs, and time to start calling them "specification faults" If people actually indicate what they wanted, there'd be a lot less bugs. Unfortunately, people lie--they say "I just want the area of a circle". What they think they mean is "I just want an easy way to get the area of a circle, and I want it to [just work] like Apple products. Don't give me any errors, and don't make me think about it. Just do the right thing already, you can usually tell anyway". And then the programmer sits down, comes up with the 55 different ways this can obviously fail, comes back with a list--and the user complains the project is over budget and adds that they'd only ever want to represent at most 5 digits anyway, why did we even ask? (Until next Wednesday, when they forgot about this). And why the heck didn't you cross-compile it for Win98, and make sure that you statically linked it against the requisite libraries--this thing breaks my spywaretoolbar...?

      Spec. Fault.

      Not. The Programmers. Fault.

      Call this crap what it is: "specification fault"

    2. Re:Testing. by Anonymous Coward · · Score: 0

      Mod parent up (even more)!

      This is what I call the problem of the mosquito in the room. You kill one, you feel great (yes, I have phobia to mosquitoes, poor creatures), but you cannot be certain that there are no more left.

      So when bugs that have to do with unintended acceleration are identified and corrected, bear in mind that the problem still hangs in the realm of statistics. That is, there is a non-zero probability that the problem is still completely unsolved. On that matter, cars that have not experience that problem are also suspect, and will probably be for a long time. On that matter, anything that is based on software can be faulty and nobody can assure the contrary so far in any case.

    3. Re:Testing. by Cassini2 · · Score: 1

      If the hardware or system I deploy on doesn't meet spec, it isn't a bug--it's user error. If my compiler, or the microcode it runs on top of have a failing--it's not a bug, it's a vendor failure. Admittedly, the user will never know the difference. But the purchaser should.

      These are safety critical user-interfaced systems, and people are dying. It doesn't matter who caused the issue or why. It matters that the purchaser lives to be told about the problem.

      You go and throw 5 amps over a 10 milliamp input device, and there'll be magic smoke. You throw 20 over it, and maybe it will start lying to you as it de-calibrates... but those are hardware failings, and also out of spec.

      You cannot depend on the hardware performing to specification. If I put 5 amps on a 10 milliamp output, does that mean it will turn on? turn off? turn on then off? turn on until the power is toggled, then appear to work normally, and then turn on by itself at a later time? Will the 5 amps bypass to a power supply, and affect other inputs? Will the system clock oscillator continue to function? properly? Will the analog inputs continue to function properly? Will the power bypass into the Flash EPROM fusing on the watchdog circuit, and disable the hardware watchdog circuit?

      What makes safety systems hard, is acquiring detailed knowledge of how the systems fail. Normally, this information is not part of any specification. The result is that in many embedded systems, no one knows for sure what happens when failures start occuring. You have to design embedded systems with the assumption that when failures occur, failures are happening. What does it mean to the software when the hardware is not working correctly? For most practical applications, software is completely dependent on the hardware performing to a specification, and only in the best predicted, most optimistic, and most common failure scenarios, will the hardware meet specification. Design software accordingly.

    4. Re:Testing. by b4dc0d3r · · Score: 1

      To support you - there was a grounding of airplanes a while back when I was about to travel for business. Some of us had flights on the type of plane which was grounded, so I was following this quite closely. I jokingly sent a link to my brother, asking him if these were the planes he was making oil pumps for, expecting him to interpret it as "your little brother is blaming you for airplane accidents, ha ha you litle snot."

      His reply was, paraphrased, actually yes. We keep getting failure reports, but when the company returns the part to us we can't make it fail unless we operate it out of spec. Customer said the oil pump has to operate in this temperature and pressure range, and all of the other details. When we look at other parts in the same plane they look like they are operating above temperature spec, leading us to think you're operating our pumps outside of the spec. Raise the temperature and it fails in exactly the way you describe. Customer of course says no, the temperature is controlled and doesn't exceed the spec, your part is faulty.

      Not sure of the resolution, but it was several months of back and forth, and either there isn't a temperature sensor there or the customer wouldn't release that data or something.

    5. Re:Testing. by origin2k · · Score: 1

      Testing can only prove the presence of bugs, not their absence. --Dijkstra

    6. Re:Testing. by jbengt · · Score: 1

      If the spec is wrong, it might not be the programmer's fault, but it's still a software fault.

    7. Re:Testing. by JamesP · · Score: 1

      Correct

      Also, testing does not fix bugs

      Also, and often forgot, if your testing is lacking, the product will be lacking as well.

      --
      how long until /. fixes commenting on Chrome?
    8. Re:Testing. by Anonymous Coward · · Score: 0

      No, testing confirms the absence of expected bugs. Expecting bugs before they happen is tricky business.

    9. Re:Testing. by Anonymous Coward · · Score: 0

      Testing only confirms the absence of known bugs. Never forget that.

      What The F....

      That's as dumb as saying you always find the lost keys in the last place you look.

      The fact that can be modded insightful is another indication that the web needs a new tech site
      Digg and Slashdot are really going to Shit!

    10. Re:Testing. by Anonymous Coward · · Score: 0

      Then you are doing your testing wrong. Where I work we skip tests all the time. We prioritize one 'common path'. Then the 'other' stuff gets cut. Guess where it usually blows up?

      You can test all conditions. But you better be willing to pay for it in time.

      http://en.wikipedia.org/wiki/All-pairs_testing

    11. Re:Testing. by sl149q · · Score: 1

      About 20000 people die on the roads in North America every year.

      Would you be willing to pay (for example) double the current price for new cars that where guaranteed to solve this problem and save about (it appears) 5 people every year?

      What exactly do you think the appropriate increase in price should be to save this estimated 5 people a year?

      And why are you not worried about the other 19995 people? Shouldn't we be trying to save their lives as well?

      We have the current rate of deaths because as a society we have assumed that the cost of driving versus the number of people being killed is acceptable. Agitating about the .025% extra deaths due to a problem that might (or might not) actually exist is just stupid.

    12. Re:Testing. by Anonymous Coward · · Score: 0

      No!!! Testing is also used to find UNKNOWN bugs!! Duhh!!

      The real question is have you found all Fatal bugs.
      And how do you know that you hit them all.

  6. Of course, there is an alternative theory... by Anonymous Coward · · Score: 1, Insightful

    Driver error, much like the Audi "unexplained acceleration" problem.

    When Audi came up with a new automatic transmission interlock that forced drivers to put their foot on the brake before they could shift out of park, the problem went away.

    The US government and its friends in the not-so-big three are using this as an excuse to pick on Toyota. No other car recall has had anything close to this level of government intervention.

    Of course, my car has a fail-safe mechanism to disconnect the engine from the wheels - it's called a clutch. You should get one on your next car.

    1. Re:Of course, there is an alternative theory... by 0123456 · · Score: 1

      Driver error, much like the Audi "unexplained acceleration" problem.

      The problem with your theory is that it doesn't fit the facts in this case; as far as I'm aware there's no evidence that the drivers were pressing the gas pedal instead of the brake, and plenty of evidence that the cars were accelerating without the gas pedal being pressed.

      As for the clutch, how long do you think it will be before car companies decide to remove the direct link from the clutch pedal to the clutch and replace it with electronic control to improve reliability and shifting?

    2. Re:Of course, there is an alternative theory... by calidoscope · · Score: 1

      As for the clutch, how long do you think it will be before car companies decide to remove the direct link from the clutch pedal to the clutch and replace it with electronic control to improve reliability and shifting?

      Don't forget emissions control reasons. There have been times in the past where manual trannies weren't available in California specifically due to the tighter reg's in CA.

      --
      A Shadeless room is a brighter room.
  7. Maybe it's not a bug, maybe it's an Easter Egg. by kurt555gs · · Score: 0

    I haven't heard much about this, but disgruntled employee(s) that work for some blood sucking temp agency writing this control code could have easily hidden an Easter Egg that activates on some obscure set of triggers like changing the temperature while the left turn signal is on, etc.

    I am thinking this is actually the most likely scenario to why these problems are happening with Toyota.

    Toyota: Treat your code monkeys better!

     

    --
    * Carthago Delenda Est *
    1. Re:Maybe it's not a bug, maybe it's an Easter Egg. by Anonymous Coward · · Score: 2, Insightful

      The type of people that purposely hide bugs that will likely kill several people are the same type of people you can't really "appease" no matter what you do.

    2. Re:Maybe it's not a bug, maybe it's an Easter Egg. by mat128 · · Score: 1

      I can't believe they dont do code reviewing by peers and stuff like that. They have a pretty good mentality about things and I guess that applies to software coders as well.

    3. Re:Maybe it's not a bug, maybe it's an Easter Egg. by mysidia · · Score: 1

      Wow... I'll make it a point to never turn on my left turn signal.

      Thanks!

    4. Re:Maybe it's not a bug, maybe it's an Easter Egg. by Mateorabi · · Score: 1
      --
      "You saved 1968." - Ms. Valerie Pringle to the crew of Apollo 8

  8. Logic of Testing by Renegade+Lisp · · Score: 4, Insightful

    David Cummings does seem to know what he's talking about, but as it is written, there is some strange logic in the article.

    If Toyota has indeed tested its software as thoroughly as it says without finding any bugs, my response is simple: Keep trying.

    Testing cannot prove the absence of bugs, only their presence. There are two things that do not follow from this:

    • If you don't find any bugs, then your software doesn't have any.
    • If you don't find any bugs, then there must be some left in your software.

    It sounds to me as if Toyota is saying the former, while Cummings says the latter. Neither is a correct conclusion.

    1. Re:Logic of Testing by marcansoft · · Score: 4, Insightful

      Given practical software engineering conditions though, a) is highly unlikely while b) is highly likely.

    2. Re:Logic of Testing by Renegade+Lisp · · Score: 3, Insightful

      I'll grant you that, but what I don't understand is this:

      If you test, and do find some bugs, does that allow you to put any more trust in your software than if you tested and didn't find any?

    3. Re:Logic of Testing by $RANDOMLUSER · · Score: 1
      How about this howler:

      The only viable theory we could come up with was that an interrupt (an external hardware stimulus such as a timer going off) had occurred at just the right microsecond within the execution of Stolper's software. Furthermore, we theorized, the operating system (the equivalent of Windows on the flight computer) had a bug that caused it to misremember whether an arithmetic carry had occurred just before the interrupt. Although highly unlikely, it was the only credible explanation we could come up with. Because this was a new version of the operating system built for Pathfinder, still not yet fully tested itself, this theory had some credibility.

      So they speculate that code they wrote had an interrupt routine that was not bracketed with PUSHF/POPF instructions!!! Which is like Assembly 101.

      --
      No folly is more costly than the folly of intolerant idealism. - Winston Churchill
    4. Re:Logic of Testing by Anonymous Coward · · Score: 0

      Every sufficiently complex piece of software has at least one bug. Every sufficiently complex piece of software can be reduced by at least one line. It follows that every sufficiently complex piece of software can be reduced to a single line that doesn't work.

    5. Re:Logic of Testing by Renegade+Lisp · · Score: 1

      So they speculate that code they wrote had an interrupt routine that was not bracketed with PUSHF/POPF instructions!!! Which is like Assembly 101.

      I didn't read it that way. He's talking about an arithmetic carry condition being misremembered across an interrupt. This sounds to me like a CPU-internal hardware condition that might not have been included in the regular set of data that you save across an interrupt. Maybe the wrong type of PUSHF/POPF was used. It certainly doesn't sound like Assembly 101.

    6. Re:Logic of Testing by marcansoft · · Score: 1

      That's a tricky question. Testing and finding bugs ought to allow you to put more trust in your testing methodology, which subsequently can increase your trust in your software once you stop finding bugs. Testing and finding no bugs, hard as you try, quite likely means you aren't trying hard enough. Very rarely will software reach a ceiling of reasonable test-proofness before being shipped that cannot be improved with subsequent, more dedicated, more specific testing after some issues are detected in the field.

      The more (and better) you test without finding bugs (or the bugs you want), the higher your chances of the target bugs not existing. Finding other, unrelated bugs helps ascertain that you are, in fact, performing a useful level of testing. If Toyota had found, say, three or four controlled panic style bugs (caused by defensive programming) that would cause engine shutdown (which is probably safer than unintended acceleration) but nothing related to acceleration, then in my mind it would be better evidence against the acceleration bug existing in software. The types of bugs do matter though - finding flimsy memory corruption or race condition type bugs might instead mean that the code has been written without proper programming practices and might lower my trust on it.

      Ultimately though, it's true that no level of testing can conclusively prove the absence of bugs.

    7. Re:Logic of Testing by bughunter · · Score: 1

      If you don't find any bugs, then there must be some left in your software.

      No, Cummings is not saying that.

      Cummings is saying "There are always bugs. Therefore, if you don't find any, then you're not looking hard enough."

      My SQA days for NASA manned space subcontractors taught me that no software is bug-free, unless it's trivially simple ("Hello World!"). The best you can hope for is to remove the critical ones. And the more you do to try and secure the software, make it safer and more error-tolerant, the more bugs you introduce. So you can never be 100% positive that there's not another critical bug hiding somewhere, even when you think you've found the "last one."

      Especially when you think you've found the last one.

      --
      I can see the fnords!
    8. Re:Logic of Testing by mysidia · · Score: 1

      The second statement follows from a different logical proposition.

      The proposition is: all software has bugs, you just have to look hard enough.

      And as far as we know, it is a true proposition, and the 2nd conclusion above follows from it.

      What's not certain is that the acceleration issues come from (those) bugs, rather than a defect.

      If the code burnt to the ROM/PROMs don't exactly match the code they developed and tested, there could still be a "software" issue in the final product.

      An issue that can only be detected by analyzing and attempting to verify/validate actual units known to have the issue.

    9. Re:Logic of Testing by Alanonfire · · Score: 1

      The way I interpreted what he said is this.

      "Just because you don't see any bugs, doesn't mean there are, and in the case where human life is at stake you should assume there are bugs and attempt to find them whether they exist or not. But don't rule out software bugs just because you don't see them or feel you've tested 'enough'."

      In general people think because they do something a lot, they think its enough. Take drinking water for instance, "well, I drank a lot of water, but I'm still dehydrated."

      I think this is what he's alluding to. But again I might be wrong and we may not actually exist, this could all just be a hiccup in the cosmos.

    10. Re:Logic of Testing by Anonymous Coward · · Score: 0

      All software always has one more undiscovered bug, and all software can always optimized by removing one more line of code. Therefore, all software can be reduced to one line of code that doesn't work.

    11. Re:Logic of Testing by mc6809e · · Score: 1

      So they speculate that code they wrote had an interrupt routine that was not bracketed with PUSHF/POPF instructions!!! Which is like Assembly 101.

      You're not reading that correctly. They didn't have and interrupt routine. They had a simple process. The problem was that the interrupt handler of the operating system wasn't saving the state of the carry bit. No one should have to block interrupts just to do an addition in a process that has no shared state.

    12. Re:Logic of Testing by snowgirl · · Score: 1

      Given practical software engineering conditions though, a) is highly unlikely while b) is highly likely.

      Anyone who is properly aware of programming should realize that (a) is almost impossible, while (b) is almost guaranteed.

      Unless you've been programming like the people who program for the Space Shuttles, then bugs are a certainty, especially in uncertain hardware.

      Toyota defended against the ABC story where the guy caused unintended acceleration by damaged a wiring harness with "this is a condition that we don't feel that we have to test for." Such a statement is absurd! Why is your software NOT prepared to deal with something like that? Do you have any fault detection at all?

      People have a tendency to assume that their software will always be running on pristine hardware, and in cases where a failure will not result in a danger to life or limb, that's a perfectly reasonable assumption. If your hardware fails so bad that your software won't work, then no big loss, buy a new one. But in situations were people are trusting their lives and safety on computers, you should never make the assumption that your hardware is "pristine"... check for faults, check for the "two plus two equals five condition", check for EVERYTHING YOU CAN.

      But this won't actually happen, because 4 incidents resulting in death will cost the company less than the time required to ensure that they would get 0 incidents.

      --
      WARNING! This girl exceeds the MAXIMUM SAFE standards established by the FDA for BRATTINESS
    13. Re:Logic of Testing by Anonymous Coward · · Score: 0

      To get anything out of the test results you have to see the test specification.
      How would I know anything about the results without knowing the following: what was tested, how was it tested and why was it tested?
      The test results without context are just as good as the number 42. Without knowing the question behind it the answer is worthless.

    14. Re:Logic of Testing by Drum+D. · · Score: 1

      That's something I very much doubt.
      Let's take an assembler example:
      MOV al, 1
      Please reduce this, by one line keeping the code functional.

      --
      Not what you do not know will break our neck, but what you believe to know.
    15. Re:Logic of Testing by Anonymous Coward · · Score: 0

      Testing helps you get confidence that the software works the way you expect it to, under the kind of conditions you tested. Of course it can't prove the absence of bugs.

      If testing DOES find a bug, then now you know about the bug, which is great! You can investigate and fix the bug, and resume testing, hoping to find OTHER bugs (and to get confidence that the one you already found has probably been fixed.. at least under the kind of conditions you are able to test). Obviously this puts you in a better situation than if you had not done the testing in the first place and had not discovered the bug.

      There are certainly tradeoffs to make between testing effort and improvement in quality (i.e. number of bugs found and fixed). For a safety-critical application (like software that drives your car), you hope the manufacturer is testing that software as extensively as they can, under as wide a variety of conditions as they can think of.

      A bug like the Toyota acceleration bug (if it really IS a software bug, which has not even been proven yet) could be a one-in-a-billion bug that only happens when a VERY specific set of circumstances happens to occur at the same time. This kind of bug is almost impossible to discover through normal testing efforts, and can lurk undiscovered until the product reaches end users. Then, because there are millions of drivers who spend hundreds of hours each year driving their Toyotas, a few of them will eventually be unlucky enough to experience the specific set of circumstances that triggers the bug. That is my theory as to what has happened here. This bug has apparently been occurring in Toyota vehicles a few times a year (a dozen?) for maybe 10 years now. During that time, literally MILLIONS of safe car trips have been made in Toyota vehicles, and thousands (or tens of thousands) of "normal" car accidents involving Toyota vehicles have occurred.

    16. Re:Logic of Testing by sjames · · Score: 1

      No, Cummings is saying that either way, there's probably still bugs in your code. He says that as part of a team that went to extraordinary efforts to avoid any bugs in code (well beyond the level of effort any commercial entity ever would) and they had some anyway. Non trivial software with no bugs would be quite extraordinary and so requires extraordinary proof. Software having bugs is probably one of the safest bets in the history of gambling.

      Software can exist in two states, containing a mixture of known and unknown bugs or containing only unknown bugs.

    17. Re:Logic of Testing by sjames · · Score: 1

      No, code another team wrote had an interrupt routine that somehow corrupted the carry flag. Since the bug was only triggere once in all the lab testing, it seems unlikely that the corruption happened every time. It could even have been a buggy compiler re-ordering instructions that couldn't (in that case) be safely re-ordered.

    18. Re:Logic of Testing by Anonymous Coward · · Score: 0

      More likely the interrupt routine updated a value the interrupted procedure was using.
      On small datasets these are easy to find, after that - well, have fun.....

      On the upside, interrupt errors are widely known and discussed in depth on all embedded system sites (along with appropriate cursing in forums)
      The usual solution is to use as few interrupts as possible

      On a side note, when the article mentioned JPL, pathfinder and testing I immediately figured his example would be an interrupt error.

    19. Re:Logic of Testing by tcgroat · · Score: 1

      * If you don't find any bugs, then your software doesn't have any.

      * If you don't find any bugs, then there must be some left in your software.

      It sounds to me as if Toyota is saying the former, while Cummings says the latter. Neither is a correct conclusion.

      I agree with that, but it comes down to a principal of safety engineering (related to what goombah99 was saying). If the design has not, or cannot, be shown safe and reliable, you should assume that it is not safe. Such designs should have a truly independent back-up system that can be shown to be safe and reliable. While software that disables the electrical throttle control when the brake is pressed and shuts down the engine when the button is held for 3 seconds is helpful, it does not guard against single points of failures ( control computer, various sensor, wiring failures, as well as the software). With literally millions of affected vehicles on the road, each for hundreds of hours per year, even highly unlikely events cannot be ignored. Safety engineering is a rather paranoid profession, and for good reason!

      Keith Armstrong [MS Word doc file] discusses many possible failure mechanisms that could cause the run-away Toyotas, in ways that would leave no clue as to the actual cause. His key point: It is impossible to prove, by testing alone, that electronics are reliable enough for safety-critical systems such as throttle control. That doesn't mean to not test, only that testing alone is never enough.

    20. Re:Logic of Testing by BroncoInCalifornia · · Score: 1

      "If our testing does not find any bugs, then our software doesn't have any bugs."

      I am trying to reconstruct what is going on at Toyota.

      Toyota management is telling the world what is in the above quoted sentence. There is a good chance they believe what they are saying.

      Are they hearing this from engineering. If so they are hearing it from the incompetent engineers. Are these engineers merely courtiers? Are they just telling management what they want to hear. Is management not listening to the engineers who have a clue?

      Inquiring minds want to know.

      --

      Religion is the main cause of atheism.

  9. The horror scenario for Toyota by Anonymous Coward · · Score: 0

    Notice that they always emphasise that 'there is no evidence that embedded software contains flaws'. Actually, Cummings notes it as well.

    Remember also the statement of president Toyoda, mentioning that focus has been on speed more than quality.

    There is a theoretical possibility that software development has exceeded the bounds of where you can have total overview of the code at all times (as in military and life critical applications). For example, if you develop 50 different software components controlling each of 50 components in car 1, it is very attractive to reuse 45 of those in car 2 and only rewrite the software for the 5 components that have changed. There is no need to test a module that has worked in all your previous cars, right?

    And when you plug these together at the shipping stage and discover that it works 100% of the time (rounded up to the nearest thousand tests), you are set to go.

    If the problem WAS in software, Toyota would have to either 1) invest a lot very quickly in bug testing which may or may not be successful, 2) rebuild the software from the ground up, 3) scrap all the cars. In the meantime they would have to absorb the costs of A) providing full refunds for the purchase to all customers, or B) providing rental cars to every owner of a Toyota for the months it takes to do these things.

    Both of those options are unimaginably costly.

    Therefore, if you so much as start going down the path that the problems COULD lie in the embedded software, it's pretty much total game over for Toyota.

  10. Help me benefit from media hype by Kohath · · Score: 1

    I'm in the market for a car and everyone is picking on Toyota now.

    I don't believe in stupid media hype. I don't believe cars rewire themselves. And I know how to hit the breaks, shift into neutral, and/or turn off the key when I want the car to go slower (so far, hitting the breaks has always proven adequate).

    Are there any really good deals on Toyotas available?

    1. Re:Help me benefit from media hype by thewils · · Score: 1

      Be careful about switching off the ignition while you're still moving. It could cause loss of steering and/or braking ability. That's b-r-a-k-i-n-g, not b-r-e-a-k-i-n-g.

      --
      Once I was a four stone apology. Now I am two separate gorillas.
    2. Re:Help me benefit from media hype by sir_eccles · · Score: 1

      Not quite true. You may lose "power assisted" braking and steering but the wheel will still steer the car and the brakes will still work, it will just take a little more effort. Those old enough will remember a time before power assisted steering and braking.

    3. Re:Help me benefit from media hype by Kohath · · Score: 1

      Yeah, it has never actually been necessary to turn off the ignition. But my engine has killed while moving before. Steering and brakes still function, not as well, but good enough for a safe stop.

      Software failed to fix my spelling of "brakes"! Someone call David Cummings!

    4. Re:Help me benefit from media hype by WrongSizeGlass · · Score: 1

      That's b-r-a-k-i-n-g, not b-r-e-a-k-i-n-g.

      Lack of one leads to the other. I'm sure he'll figure it out ... I hope.

      Since the actual problem hasn't been identified yet, who knows if all Toyotas have it or just a select few? Maybe it's a date/time bug? Integer overflow bug? I don't know what the problem is, but I know where it is and I'm not willing to put my family at risk in order to secure a deal on a car that may be more dangerous than most.

    5. Re:Help me benefit from media hype by WrongSizeGlass · · Score: 1

      If they turn the key all the way off the steering wheel can lock. At least it does on my car.

    6. Re:Help me benefit from media hype by simp · · Score: 1

      careful with that line of reasoning. The gear shift has no mechanical linkage to the actual gearbox. So when you shift to neutral you just send an electronic command to the gearbox computer to change to N. And the sometimes the gearbox will ignore that and NOT switch to neutral. This was originally done by design to protect the engine and gearbox under specific circumstances (full load and high rpms).

    7. Re:Help me benefit from media hype by John+Hasler · · Score: 3, Informative

      > And I know how to hit the brakes...

      With the engine past the redline there is very little vacuum to operate the power brakes. Without power assist the brakes may not be able to overcome the engine (this is, IMHO, a fundamental design defect).

      > ...shift into neutral...

      The computer may not let you do that with the car moving and the engine at high rpm. After all, the engine and/or transmission might be damaged (another design defect).

      > ...and/or turn off the key...

      Some of these vehicles don't have keys: just a radio remote. The emergency shutdown procedure is to hold a button down for three seconds (another design defect).

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    8. Re:Help me benefit from media hype by bitingduck · · Score: 2, Interesting

      I used to have a car where the engine would suddenly turn off for no reason while driving, often at exciting moments like getting onto the freeway. It was pretty easy to put it into neutral (it was an automatic), turn the key to "acc" and try to restart the engine (usually with success) without accidentally locking the steering wheel.

      It went on for some time until I convinced the repair guys to clean all the electrical connections from the computer to the fuel pump. The car had lived most of it's life in cold places with salty roads, and then the problem appeared in california where mechanics don't think of the effects of salt water. Once the connections were clean it behaved fine.

    9. Re:Help me benefit from media hype by sir_eccles · · Score: 1

      My experience is that the wheel doesn't lock until the key is actually removed though that may vary between manufacturers.

    10. Re:Help me benefit from media hype by sideshow · · Score: 1

      In SoCal, a bunch of models have 0% interest on 60 month loans. I'm holding out for this deal to extend to 4Runners so hopefully this hype goes on a bit longer.

      --

      Hollow words will burn and hollow men will burn.

    11. Re:Help me benefit from media hype by Anonymous Coward · · Score: 0

      Are there any really good deals on Toyotas available?

      Dunno, if you can call this a deal. Google news, "toyota financing".

      Looks like they're offering zero-percent financing. Your call if you want to wait until they start offering negative interest (aka rebates).

      This does reminds me of the $25 flights to Las Vegas in late 2001/early 2002.

    12. Re:Help me benefit from media hype by Black+Gold+Alchemist · · Score: 1

      Make sure you test drive one. My family went car shopping recently (we have two pre-1990 Toyota Camrys). The problem with the Toyotas is that their new styling is just awful, because the windows are really small. I could not see out of the Corollas and Camrys we sat in (kind of a problem for driving). The dashboard is too tall, the roof too low, and the hood too long. IMO, the new styling is just ugly. Toyota ain't what it use to be. The result of our car shopping expedition was that Hyundai was the winner.

      They might be fine for you, but make sure you test drive (or at least sit in one), before you buy.

      --
      Responsibility is an addiction
      Virtue is a temptation
      Community is a cartel
    13. Re:Help me benefit from media hype by MachDelta · · Score: 2, Informative

      Any vehicle built in the last thirty or fourty years will not allow the steering column to lock unless the transmission is in park. If you're in drive (or neutral) you can only turn it to "off", not all the way to "lock". This was to prevent an errant knee from locking the steering while you're doing 70 on the freeway. Happened to me once, except I was only doing 45 on a bumpy ass gravel road when my knee smacked into my keychain. It was startling, but not particularly dangerous.

    14. Re:Help me benefit from media hype by MachDelta · · Score: 1

      ignore that and NOT switch to neutral. This was originally done by design to protect the engine and gearbox under specific circumstances (full load and high rpms).

      Could you please cite this statement, or provide evidence to support it?
      In all of my years working on cars and working as a mechanic, I have never ever heard of a case where a transmission would refuse to shift to neutral. Yet I keep seeing people say that electronic-control transmissions will prevent a shift to neutral at high rpms in order to "protect" the transmission, which makes absolutely NO sense to me. The gearsets in a transmission are selected and held together by hydraulic clutches and bands. Shifting to neutral is a simple matter of releasing hydraulic pressure to unlock everything, which allows the gearsets to freewheel. How could this cause damage, other than a split second of friction as the bands loosen and the clutches disengage?
      So im curious, where do these rumours get started?

    15. Re:Help me benefit from media hype by NewtonsLaw · · Score: 3, Informative

      > With the engine past the redline there is very little vacuum to operate the power brakes. Without power assist the brakes may not be able to overcome the engine

      apparently not true

    16. Re:Help me benefit from media hype by Kohath · · Score: 1

      I'll buy one of these "defective" cars from you. Just give me a 50% discount because of the "defects".

    17. Re:Help me benefit from media hype by Anonymous Coward · · Score: 0

      Not quite true. You may lose "power assisted" braking and steering but the wheel will still steer the car and the brakes will still work, it will just take a little more effort.

      If you have fly-by-wire brakes, pushing harder won't help.

    18. Re:Help me benefit from media hype by SeaFox · · Score: 1

      How about simply having a rule that the throttle run in "idle" position if the brake pedal is depressed regardless of he position of the gas pedal? That way even if the pedal was "stuck down" according to the engine it would ignore it from the driver having their foot planted on the brake trying to slow the car down.

      Is there a real world situation were someone would be pushing the brake pedal down while simultaneously needing the throttle open legitimately?

    19. Re:Help me benefit from media hype by Urkki · · Score: 1

      Not quite true. You may lose "power assisted" braking and steering but the wheel will still steer the car and the brakes will still work, it will just take a little more effort. Those old enough will remember a time before power assisted steering and braking.

      Though generally a power-assisted steering without power needs quite a bit more muscle than steering that was designed to be non-power-assisted. And same for braking, drum brakes are actually sort of "self-assisting" and non-power-assisted brakes generally were drums I think, while these days power-assisted disc brakes are more common, and braking effectively without power assist is much harder with disk brakes (no "self-assist"), especially if you at the same time are trying to steer without power assist...

    20. Re:Help me benefit from media hype by snowgirl · · Score: 1

      > And I know how to hit the brakes...

      With the engine past the redline there is very little vacuum to operate the power brakes. Without power assist the brakes may not be able to overcome the engine (this is, IMHO, a fundamental design defect).

      The police officer who helped stop the guy in California remarked on camera that he definitely knew that the brakes were being applied/had been applied enough to heat them up to the point that he could smell them.

      --
      WARNING! This girl exceeds the MAXIMUM SAFE standards established by the FDA for BRATTINESS
    21. Re:Help me benefit from media hype by calidoscope · · Score: 1

      Some of these vehicles don't have keys: just a radio remote. The emergency shutdown procedure is to hold a button down for three seconds (another design defect).

      I would use a stronger term, it was an incredibly stupid design decision. I wouldn't be opposed to a federal regulation specifying that there is some method of shutting off an engine within one second - really easy to do with a traditional ignition switch.

      --
      A Shadeless room is a brighter room.
    22. Re:Help me benefit from media hype by TrancePhreak · · Score: 1

      Isn't that part of how you burn-out for a quick take-off?

      --

      -]Phreak Out[-
    23. Re:Help me benefit from media hype by DaTrueDave · · Score: 0

      With the engine past the redline there is very little vacuum to operate the power brakes. Without power assist the brakes may not be able to overcome the engine (this is, IMHO, a fundamental design defect).

      Are you sure about this? I've messed around with a lot of different cars and have never had a problem braking while flooring the accelerator.

      Hmmm, Car and Driver calls BS on this, too: http://www.caranddriver.com/features/09q4/how_to_deal_with_unintended_acceleration-tech_dept

    24. Re:Help me benefit from media hype by fizzup · · Score: 1

      A car that does not have power steering is much easier to steer than a can with broken power steering. The same goes for braking as well.

    25. Re:Help me benefit from media hype by Gnavpot · · Score: 1

      With the engine past the redline there is very little vacuum to operate the power brakes. Without power assist the brakes may not be able to overcome the engine

      apparently not true

      In your link, they say "Break once". That is precisely because the engine doesn't produce vacuum with the throttle fully open. So the GP is partially correct.

      The wrong assumption here is that engine vacuum is not used until you hit the brakes. It is. The brake booster is "charged" with vacuum when the throttle is closed. But this charge can only be used once. So if you hit the brakes, release them and hit them again, you will not get much help from the brake booster.

      A vacuum brake booster does not get vacuum when you hit the brakes. It is already "charged" with a vacuum before that. When you hit the brakes, a valve opens and s

    26. Re:Help me benefit from media hype by Gnavpot · · Score: 1

      And this is what you get when you don't use preview.

      Please disregard the last paragraph in the parent post.

    27. Re:Help me benefit from media hype by SeaFox · · Score: 1

      A burn out would require modifying the proportioning valve on the brakes wouldn't it? So the drive wheels aren't held.

      The majority of people don't do burn outs. I'm talking about "normal" driving.

    28. Re:Help me benefit from media hype by petit_robert · · Score: 1

      Well, as a total non-mechanic, I can testify that it's not obvious at all that one can shift safely to neutral while at high rpms, and I would have fallen for the rumour.

      I'm glad you gave us this explanation, which might serve.

    29. Re:Help me benefit from media hype by Anonymous Coward · · Score: 0

      >> And I know how to hit the brakes...

      > With the engine past the redline there is very little vacuum to operate the
      > power brakes. Without power assist the brakes may not be able to overcome the
      > engine (this is, IMHO, a fundamental design defect).
      Fortunately, this is just a severe lack of understanding of Bernoulli's principle. With air traveling at high velocity through the intake pipe, any pipe connected to the intake pipe will be pumped mostly empty by dynamic (under)pressure. In the case of an almost closed throttle, the static vacuum keeps the power brakes powered. There is no obvious design defect here.

      Some anonymous cow^Wphysicist.

         

    30. Re:Help me benefit from media hype by Radio_active_cgb · · Score: 1

      I saw a video this morning from Edmunds (via cnet) that showed what happens in a Prius when you shift to neutral (and reverse). When shifting to neutral (with the gas pedal floored), the engine is disengaged and idled and the car started slowing. Shifting to reverse does the same thing and the car beeps at you. For these to work, you have to hold the shifter for a second or two.

      http://news.cnet.com/8301-13924_3-10468020-64.html?part=rss&subj=news&tag=2547-1_3-0-20

    31. Re:Help me benefit from media hype by John+Hasler · · Score: 1

      > The police officer who helped stop the guy in California remarked on camera
      > that he definitely knew that the brakes were being applied/had been applied
      > enough to heat them up to the point that he could smell them.

      Hard enough to drag and heat up but not hard enough to stop the car despite the driver exerting all his strength on them. Exactly my point.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    32. Re:Help me benefit from media hype by John+Hasler · · Score: 1

      For these to work, you have to hold the shifter for a second or two.

      Emphasis added.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    33. Re:Help me benefit from media hype by John+Hasler · · Score: 1

      > Toyota ain't what it use to be.

      And never was.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    34. Re:Help me benefit from media hype by sjames · · Score: 1

      So switching off breaks the brakes?

    35. Re:Help me benefit from media hype by nmos · · Score: 1

      I don't know about newer cars but on older cars the power steering is driven off the engine via a belt so as long as the car is moving and the transmission is in gear then you should still have power steering regardless of the state of the ignition.

    36. Re:Help me benefit from media hype by Anonymous Coward · · Score: 0

      Even with zero vacuum, it is physically possible (though clearly much more difficult) to apply full braking force. You need to really, really stand on the pedal, but there is no limiting factor other than your leg strength.

      Also, there is no car that I know of that has a shift interlock that prevents the transmission from shifting into neutral under any conditions (other than the brake interlock that prevents shifting out of park, but if you're in park already you obviously don't have much to worry about). Modern cars generally use rev limiters to protect the engine from overspeed conditions, not transmission interlocks. Some may prevent you from shifting into reverse when you're at speed, but that won't affect you shifting into neutral.

      Your only decent point is the pushbutton shutdown procedure, which most drivers are unfamiliar with. Some customer education would go a long way towards making this issue irrelevant, though.

    37. Re:Help me benefit from media hype by winwar · · Score: 1

      "Hard enough to drag and heat up but not hard enough to stop the car despite the driver exerting all his strength on them."

      More likely he partially applied the brakes over a long period with no intent of stopping. Just because his brakes were hot does not mean he applied them at full force. In any case, if his car was operating at wide open throttle his car had plenty of vacuum. So if he couldn't stop it was because he didn't want to or because he was an idiot.

    38. Re:Help me benefit from media hype by zenaida_valdez · · Score: 1

      Heel and toe braking. Downshifting for a corner, if you just drop it into the next lower gear, the engine inertia causes the rear wheels to lose traction while the engine is sped up. You'll go sideways on the entrance to a corner. You have to blip the throttle while shifting to raise the engine speed to match the next lower gear. Left foot on clutch, ball of right foot on brake, heel of right foot on throttle.

    39. Re:Help me benefit from media hype by Mspangler · · Score: 1

      "Some of these vehicles don't have keys: just a radio remote. The emergency shutdown procedure is to hold a button down for three seconds (another design defect)."

      What makes this ironic is that motorcycles are required to have kill switches on the handlebar in case the mechanical clutch or throttle cables break. Evidently the time has come for a Big Red Button that shuts down the engine/motor, Now. No argument. I don't care what the computer thinks I want, shut it down right effing now.

      I drove a Prius on a business trip once. The user interface is odd enough that it was a bear to figure out, especially after the long plane ride. I remember the funny little joystick to shift, I remember a Park, forward, and reverse. I don't remember if there was a neutral. The "key" wasn't really a key either.

      Keep your finger on a dashboard button for three seconds while dodging traffic at 90 MPH? Not easy to do.

      I wonder what Nissan is doing with their electric car? It better come with a positive shutdown of some sort, and the shut down had better not be an input pin into the engine control computer either.

    40. Re:Help me benefit from media hype by John+Hasler · · Score: 1

      > if his car was operating at wide open throttle his car had plenty of vacuum.

      A gasoline engine has little or no vacuum at wide open throttle. It's the pistons pumping air out of the manifold while the throttle limits the rate at which it can flow in that creates the vacuum. If you'd ever driven a really old car you'd know this: the vacuum-operated windshield wipers quit when you floor the accelerator.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    41. Re:Help me benefit from media hype by toddestan · · Score: 1

      Will it let you lock the steering wheel when the transmission selector is any gear other than park? Because the car I own has an interlock to enforce this. Basically I can't turn the key all the way back or remove the key if the transmission is not in park.

      On the other hand, cars with a manual transmission don't seem to have an equivalent feature so you could look the steering and even remove the key while the car is moving. But on the other hand, with a manual you shouldn't have a problem disengaging the engine from the wheels in the first place.

    42. Re:Help me benefit from media hype by kasparov · · Score: 1

      The computer may not let you do that with the car moving and the engine at high rpm. After all, the engine and/or transmission might be damaged (another design defect).

      This is just completely wrong. I drive a 2007 Toyota Prius and I tested it the other day by flooring it and then shifting into neutral. Worked like a champ. The Prius transmission doesn't have discrete gears. Shifting into neutral will not harm the transmission. Also keep in mind that the engine routinely shuts off and on and that cutting electric power to the drive is also quite simple. I did have to hold the shifter in the neutral position for about a second to get it to do the shift--I assume because they want to make sure the joystick-like shifter wasn't accidentally bumped into the wrong position.

      --
      There's no place I can be, since I found Serenity.
    43. Re:Help me benefit from media hype by gknoy · · Score: 1

      For what it's worth, the Nissan hybrid rental car that I drove was very nice. Aside from a keyless ignition, the controls felt very "normal".

    44. Re:Help me benefit from media hype by muridae · · Score: 1

      If you own a Prius, you know that this is how the shifter behaves all the time. To get it into engine braking you have to hold it in place. Same for neutral since it is in the middle of the pattern between drive, park, and reverse. It may be easy to forget that in an emergency, but it is not because of the throttle being wide open.

    45. Re:Help me benefit from media hype by Anonymous Coward · · Score: 0

      Absolutely not true, the servo is connected to the inlet manifold which creates the vacuum, the higher the rpm, the greater the vacuum.

    46. Re:Help me benefit from media hype by calidoscope · · Score: 1

      What if the Prius is a rental or loaner car? I had a recent experience with a rental Subaru - both the headlight switch and windshield wiper switches were in non-standard locations - took me a lot of fiddling to find where each was.

      --
      A Shadeless room is a brighter room.
    47. Re:Help me benefit from media hype by snowgirl · · Score: 1

      > if his car was operating at wide open throttle his car had plenty of vacuum.

      A gasoline engine has little or no vacuum at wide open throttle. It's the pistons pumping air out of the manifold while the throttle limits the rate at which it can flow in that creates the vacuum. If you'd ever driven a really old car you'd know this: the vacuum-operated windshield wipers quit when you floor the accelerator.

      In a new car with power-breaks tough, it would be a hydraulic system, not a vacuum system though, right?

      *she says ramming her nose into boy talk*

      --
      WARNING! This girl exceeds the MAXIMUM SAFE standards established by the FDA for BRATTINESS
    48. Re:Help me benefit from media hype by Dragee · · Score: 1

      It does break the brakes, but not fully. The goal of switching off is that you will (hopefully) also brake the breaks.

      --
      dragée (n): a sugarcoated nut
    49. Re:Help me benefit from media hype by onemorechip · · Score: 1

      Move it to neutral and release, it goes to neutral. Move it through neutral to B, and release, and it goes to B mode. I've not experienced having to hold it in place.

      --
      But, I wanted socialized health insurance!
  11. There is only so much you can do.. by Anonymous Coward · · Score: 0

    Well you can always assume that your real time code is buggy and write checks to ensure exact conditions before a critical assignment or operation. But given the limited amount of CPU there arent too many checks you can build into firmware.

  12. I agree on non-software fail-safes by mrflash818 · · Score: 1

    My thought is that the car should have either:

    1. A hand brake, and the handbrake have a physical cutout switch (relay) that shuts off the fuel pump and disconnects the motor controller from the motor if pulled, and the car is in any but 'park' or 'neutral.'

    2. A force sensor on the brake pedal, and if pushed hard (panic stop), would also trip the breaker for fuel pump and motor controller.

    The concept is not new, in terms of overrides. For example: Many cars require the clutch pedal be depressed to start the car, or foot on the brake pedal.

    There may be better ways to do it, but seems like an 'intuitive' way for the driver, and reasonably easy for an automotive engineer to add into the design.

    --
    Uh, Linux geek since 1999.
    1. Re:I agree on non-software fail-safes by peragrin · · Score: 2, Informative

      technically that is what part of the update does. It forces the computer to always choose the brake over the accelerator when both pedals are registering. So if the car does accelerate a tap on the brakes should disengage it.

      --
      i thought once I was found, but it was only a dream.
    2. Re:I agree on non-software fail-safes by mat128 · · Score: 1

      Cutting the fuel pump isnt the right solution, what if you need to accelerate right after you braked hard? You're doomed, you just killed the engine!
      They should just implement a huge red panic button to shut everything off :)

    3. Re:I agree on non-software fail-safes by WrongSizeGlass · · Score: 3, Funny

      They should just implement a huge red panic button to shut everything off :)

      They could even buy them at Staples. Need to stop your out of control Toyota? That's easy.

    4. Re:I agree on non-software fail-safes by KarmaMB84 · · Score: 4, Insightful

      Unfortunately the update assumes the computer will actually respond to the brake being pressed or any input for that matter. Toyota doesn't know for certain what is causing all of these sudden acceleration problems in which fiddling with the gas pedal, brake and even putting the vehicle in neutral won't stop the vehicle. The software update, while a sensible modification that should've been in the software all along, is sort of a hail mary toward preventing any new cases in updated vehicles.

    5. Re:I agree on non-software fail-safes by Vegeta99 · · Score: 1

      My VW doesn't care about the clutch being in OR the transmission being in neutral - you can use the starter to smash out the car in front of you in the parking lot.

      Now the drive-by-wire? Any funkyness in input or measured output (throttle angle), and bam, I'm on the side of the road.

    6. Re:I agree on non-software fail-safes by profplump · · Score: 1

      You're making this complicated. Yes, it's worthwhile to have some validity checks on your data to see if the operator is providing conflicting inputs, and to try to infer their meaning when they do something abnormal. But you will get into trouble trying to detect the difference between "unusual but intended operation" and "unusual and unintended operation", which is not trivial. For example, slamming on the brakes is not necessarily an indication that I want my car to be disable -- maybe something ran into the road, or I simply wasn't paying attention -- and disabling the vehicle altogether could be undesired, unexpected, and even dangerous.

      There only needs to be one emergency cutout, a big, red, locking emergency-off button, just like we see on all sorts of other equipment. When you add 4 different ways to e-off they car, or try to have it guess at what constitutes an emergency, all you've done is increase the complexity (and therefore decrease the reliability and safety) of the e-off system.

    7. Re:I agree on non-software fail-safes by DarkOx · · Score: 1

      Right you certainly don't want to kill the engine on a panic stop situation, you might in may case lose the break booster as well doing that, the thing is that most cars have had an ignition switch that operates a mechanical relay that is inline with the coil(s). Where Toyota went wrong here is they have drive by wire combined with at least in the Prius case start by wire and not way for the driver to "SHUT IT DOWN NOW". Holding a button for 3 secs is not a good mechanism in an emergency.

      It takes to long and is likely dependent of software to interpret that input too, which might not work if the electronics are really in a messed up state. I think traditional key style ignition is a good design, you can't operate it accidentally but you can operate it quickly. It should be a hard requirement that a machine as large and powerful as an automobile have a hard kill switch that the human operate can use, if they decide. Most of the time its not the right decision but for a stuck throttle it certainly is what you want.

      I just can't imagine any good argument for not having an electromechanical kill switch on all cars.

               

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    8. Re:I agree on non-software fail-safes by PakProtector · · Score: 1

      A much better solution is to get rid of the lazy people and their automatic transmissions and go back to manual transmissions.

      I drive a car with a manual transmission, and I don't have to worry about my car accelerating without my approval -- I can put it in neutral.

      Also, if anyone complains that manual is too hard to use/learn, FUCK THEM. THROW THEM ON THE FIRE. MORE MEAT FOR THE OTHER MEAT EATERS.

      Ahem. Sorry.

      --

      Edward@Tomato - /home/Edward/ man woman
      man: no entry for woman in the manual.
      "Qua!?"

    9. Re:I agree on non-software fail-safes by AigariusDebian · · Score: 1

      Putting in Neutral does stop the car, the paniced people with automatic transmission just forget that they had such mode.

    10. Re:I agree on non-software fail-safes by ColaMan · · Score: 1

      the update assumes the computer will actually respond to the brake being pressed or any input for that matter.

      An unresponsive engine computer is not an issue. Remember that this is the same computer that has to output 360,000 ignition and fuel injection pulses every minute using data read from half a dozen sensors at the same rate.

      Anyway, that's what hardware watchdogs are for.

      --

      You are in a twisty maze of processor lines, all alike.
      There is a lot of hype here.
    11. Re:I agree on non-software fail-safes by Anonymous Coward · · Score: 0

      They should just implement a huge red panic button to shut everything off :)

      You smile to indicate a joke, but it is a very good idea. Most industrial machinery have emergency stop buttons. I used one very recently during a (minor) earthquake. Sometimes cutting power is the best thing you can do.

  13. Obama's solution by ebonum · · Score: 1

    It seems he wants more software. This time to check for both pedals being depressed at the same time. One more thing to break.

    The less these embedded systems have to do, the better.

    1. Re:Obama's solution by KarmaMB84 · · Score: 1

      Toyota is already doing this. It's rather odd that the computer will willingly burn the brakes completely off a vehicle that has both pedals down to start with.

    2. Re:Obama's solution by John+Hasler · · Score: 1

      It could be done with a bit of electronics involving no computers (or better yet a mechanical linkage). Easy enough to shove in a valve forcing the engine to idle when the brake is floored regardless of what the computer is calling for.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  14. Also a witch by Anonymous Coward · · Score: 0

    Toyota may also have witches on staff, which may cause the unintended acceleration. If Toyota has indeed searched its personnel as it says without finding any witches, my response is simple: Keep trying. Find new ways to find witches, and come up with more creative tests, possibly involving a duck and a scale. Until these witches are identified, how can you be certain they are not related to sudden acceleration?

  15. pay for QA and don't over work coders that makes b by Joe+The+Dragon · · Score: 1

    pay for QA and don't over work coders that makes bugs. When people are working 80+ hours they make more bugs then people doing 40. Also pay for QA and don't cut back there. Look at the xbox 360 to see what that left them with.

  16. Failsafe software by Anonymous Coward · · Score: 0

    All practically sized software has bugs, but that doesn't mean it has to be dangerous. Mechanical devices fail too and therefore the engineers add failsafe-mechanisms. If something breaks, something else must absorb the problem. Consistency checks and redundancy are indispensable even when the code is perfect, because hardware is never infallible.

  17. Smaller Systems Solution? by Manip · · Score: 1

    Didn't we already "solve" this problem in the airline industry by breaking down larger more complex software into separate physical components that can be more easily verified? Can we do the same with cars?

    Just split one computer into half a dozen much smaller, simpler, little units and set the valid IO conditions for them, then have the components around them sanity check their output.

  18. Are the brakes totally drive-by-wire as well? by onionman · · Score: 1

    Pardon my laziness for not investigating this myself, but doesn't the Prius have a mechanical (hydraulic) link to the brakes that engages when the pedal is pushed down far enough? I realize that the first portion of the braking is done electronically (for the regenerative braking system), but in an emergency wouldn't a full application of the brakes slow down the vehicle?

    1. Re:Are the brakes totally drive-by-wire as well? by KarmaMB84 · · Score: 0

      It may temporarily prevent the vehicle from reaching it's top speed but I doubt there's an automobile on the planet that is designed to have the brakes applied while the gas is at full throttle without just burning the brakes down to the bare metal then continuing to accelerate.

    2. Re:Are the brakes totally drive-by-wire as well? by The+End+Of+Days · · Score: 1

      You're lucky this hasn't happened to you, that's the silly mistake all the people who have wrecked keep making.

    3. Re:Are the brakes totally drive-by-wire as well? by Sponge+Bath · · Score: 1

      I doubt there's an automobile on the planet that is designed to have the brakes applied while the gas is at full throttle without just burning the brakes down to the bare metal then continuing to accelerate.

      From this article:
      "And despite dramatic horsepower increases since C/D's 1987 unintended-acceleration test of an Audi 5000, brakes by and large can still overpower and rein in an engine roaring under full throttle."

    4. Re:Are the brakes totally drive-by-wire as well? by flyingfsck · · Score: 1

      Yup, and the parking brake is a cable system to the rear wheels.

      --
      Excuse me, but please get off my Pennisetum Clandestinum, eh!
    5. Re:Are the brakes totally drive-by-wire as well? by colfer · · Score: 1

      Once the brakes heat up they're useless. But if used strongly right away, they can stop the car at full throttle, according to the articles.

    6. Re:Are the brakes totally drive-by-wire as well? by uncqual · · Score: 1

      It's possible that a driver will initially brake less aggressively because they're afraid of "locking up" the brakes or something like that (perhaps over generalizing past driver training). If they only press lightly on the brakes for too long with the engine at full power, I would think that brake fade would begin to become a factor. If the driver waits until the brakes are too hot, "standing on" the brakes may not be nearly as effective.

      --
      Why is there an "insightful" mod and why isn't it "-1"? If I wanted insight, I wouldn't be reading /.
    7. Re:Are the brakes totally drive-by-wire as well? by John+Hasler · · Score: 1

      > ...doesn't the Prius have a mechanical (hydraulic) link to the brakes that
      > engages when the pedal is pushed down far enough?

      Yes, it does. The problem is that the vehicles have power brakes which rely on vacuum. The engine generates no vacuum when the throttle is wide open. The brakes do work without the power assist but are then too wimpy to overcome the engine.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    8. Re:Are the brakes totally drive-by-wire as well? by Anonymous Coward · · Score: 0

      On a Prius the engine isn't a concern. It has a motor that produces more torque the slower it goes, peaking at 300 ft-lbs at 0 rpm. Because of gear reduction, the actual torque at the wheels is over 600 ft-lbs! There's absolutely no way your brakes can stand up to that. Remember, the slower you go, the more effort the brakes go into opposing you.

      There are stories of people trying to stop their Priuses talking about the smell of the burning brake pads. In fact, one story was from a guy test-driving a Prius with a Toyota salesman in the passenger seat.

      dom

  19. From the days of "winmodems" by A_Non_Moose · · Score: 2, Interesting

    I've said time and time again, "Never replace hardware with software" because
    something dedicated to the task will always work better, or be less failure
    prone (more often than not).

    Would Toyota be having these problems with an accelerator cable vs electronic?

    99% sure the answer is "no"...heck the solution is add some grease, make sure
    it isn't pinched/looped too tightly and/or add tension to the pedal side.

    Or, replace the damn cable with a new one...a 20 to 30 minute task.
    (less than 10min on a motorcycle)

    Oh, well, what do I know? I'm just a CS major with real world experience, pay
    no attention to the man behind the keyboard!!!

    --
    Have you read the moderator guidelines? Well, have you, PUNK? (and I want a Karma: Gnarly option)
    1. Re:From the days of "winmodems" by goldaryn · · Score: 1

      "Never replace hardware with software"

      That's what she said

      heck the solution is add some grease

      That's what I said

    2. Re:From the days of "winmodems" by Anonymous Coward · · Score: 0

      Electronic ignition is more reliable than a distributor. Hence your opinion is false.

    3. Re:From the days of "winmodems" by DerekLyons · · Score: 3, Insightful

      I've said time and time again, "Never replace hardware with software" because
      something dedicated to the task will always work better, or be less failure
      prone (more often than not).

      On the flip side, the USN replaced complicated and heavy hardware analog computing systems for [SSBN] missile guidance systems with software running on a digital computer, and MTBF went through the roof and maintenance man hours and MTTR through the floor. The same thing happened when they replaced the analog torpedo fire controls with digital ones. The same thing happened again when the hovering system controls were upgraded to digital.
       
      Now, before you claim that is a limited set of examples, I invite you to consider the millions of incident free flight hours accumulated by fly-by-wire aircraft. Or the replacement of DIP switches in PC's with software configuration. Etc... Etc...

    4. Re:From the days of "winmodems" by petit_robert · · Score: 1

      Well, it's a good thing some of those missile guidance systems never got into action :

      http://www.foo.be/docs/tpj/issues/vol2_1/tpj0201-0004.html

    5. Re:From the days of "winmodems" by DerekLyons · · Score: 1

      Well, it's a good thing some of those missile guidance systems never got into action :

      http://www.foo.be/docs/tpj/issues/vol2_1/tpj0201-0004.html

      Nike went out of service by 1974 - Perl was developed in 1987. You do the math.

    6. Re:From the days of "winmodems" by John+Hasler · · Score: 2, Interesting

      > Would Toyota be having these problems with an accelerator cable vs
      > electronic?

      GM once had a very similar problem with a 70s car with a cable. An engine mount failure would allow the engine to rotate under acceleration in such a way as to yank the cable to full throttle and then jam it, causing the car to run away. The resulting collision would knock the cable free and as collisions often break engine mounts, the evidence disappeared.

      Computerized systems are usually more reliable than mechanical ones, but they must be competently engineered.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    7. Re:From the days of "winmodems" by Anonymous Coward · · Score: 0

      Correct functioning of the system is required.

      How many torpedo and nuclear cruise missile launches off those "upgraded" SSBNs have we had, that we may verify the correct functioning of the new computerized system?

      If it was tested with "dummy" torpedoes and missiles, how closely did the dummies replicate the live ones?

      Customers (in this case, serving military personnel) always hate it when engineers respond to trouble reports by saying, "It worked perfectly in our laboratory simulations."

    8. Re:From the days of "winmodems" by Anonymous Coward · · Score: 0

      A bit alarmist but not totally out of line with the sort of things that happen. Instead of listening to the very person who knows the bug best (the dude who wrote it) they have someone else fix it and hope they find all the spots.

      One dude I worked with wrote a decent supply chain management program in the early 90's. Ran on a couple of commodity PC's. His program was pulled because it would put 250 people out of a job. He was reassigned to a quiet place somewhere else watching boots. The military works by favors during peace time. Now that before you feel sorry for this dude. He wrote *THE* damn worst code I have ever used. Had the worst attitude for everything. So that his project was pulled for the 'people would loose their jobs' was merely an excuse to get rid of him because he was crummy at everything he did.

    9. Re:From the days of "winmodems" by Anonymous Coward · · Score: 0

      Hardware has bugs too.
      I test MicroProcessor design rtl for a living.
      How about a Cache writing zeros to memory instead of the actual data?
      All due to buffers controls being mis-timed for a transaction 1000 clocks earlier.
      Seen literally 1000's of bugs this bad and worse (like dead-lock and live-lock).
      Last CPU and memory subsytem had over 5000 bugs from start to finish.

  20. Boeing versus Airbus by goombah99 · · Score: 5, Insightful

    I'm loving this conversation here because I've gotten crucified in slashdot before for making simmilar comments to the whole thread here. I grew up in a family of top managers of Boeing systems engineers. They hated computers. My dad never even learned how to turn one on. He hired other monkey to use the computers. As A child I was regailed with wonderful stories of every hard lesson in safety my dad had learned over his lifetime. He loved world war II because they got to use cutting edge designs for balls out performance yet at the same time learned how to make things reliable by disecting the accident. He would tell me about the accident that taught them that the engine pumps need to be at full speed but flow stalled on take off so that there's no lag when you hot swap after a pump fails. He told me of the accident where they learned not to route 100% of the control system wiring through any one junction box. etc...

    Probably because of all these hard won lessons boeing for years insisted on fully mechanical or hydraulic flight surface controls. Whereas Airbus and other jumped on the fly-by-wire concept early. My dad would spit after hearing some youg person tout all the advantages of fly by wire. He knew them perfectly well. He was big on accepting new innovations to reduce fuel costs and increas performance. He was not a luddite. But he had a safety background that told him these electonic systems were hard as hell to validate and hard as hell to make truly independent from each other.

    For example they often used triple redundant computers and if one of them disagreed the other two would vote it off the island and stop listening to it. From what I've read it's now suspected that the latest airbus crash in the pacific had one of it's root problem in the voting nexus where a superior computer over ruled a more primitive safety system.

    While we all know that computer software validation is hard if not impossible. It's not something we readily admit here on slash dot. It's because for years people like my dad would throttle the innovations the computer engineeers wanted to implement. I think as a result there became this culture of computer engineers that presented the case that embedded computing could be made safer than it really could be to offset that.

    So now we come full circle and have to admit there is this middle ground. Just because a computer can improve perfromance does not mean it's reliable and safe. The old guys had a point after all when it came to safety.

    Next week I'll tell you about how the ancient shocking lesson of the British Commet aluminum aircraft wings falling off led to the unanticipated discovery of metal fatigue and probably was the reason Boeing was slow to move to composite materials in commercial aircraft (but not in military aircraft). In hind sight we have heard of many tales of the composite tails of plane falling off as the reason for the loss of control before a crash. Conversely, composite wings on UAVs allow them to absorb a lot of bullet holes with no loss of control and to operate under higher perfromance conditions.

    The point is that safety and performance are trade offs when both are pushed to the limit. The old guys know a lot more about safety than you might expect. The young guys are all about performance.

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re:Boeing versus Airbus by DeadPixels · · Score: 1

      For example they often used triple redundant computers and if one of them disagreed the other two would vote it off the island and stop listening to it.

      Sounds a little like Minority Report, doesn't it?

      Each of the three precogs generates its own report or prediction. The reports of all the precogs are analyzed by a computer and, if these reports differ from one another, the computer identifies the two reports with the greatest overlap and produces a majority report, taking this as the accurate prediction of the future.

    2. Re:Boeing versus Airbus by roman_mir · · Score: 5, Interesting

      A year ago I was watching one of Discovery programs I think and they had a couple of guys who supposedly implemented a piece of software, that would allow an airplane to fly and land safely if for some reason, while in the air, the tale would brake off or rudder would just stop working. They relied on a fly by wire airplane of-course and controlled the yaw with all other surfaces by applying very slight changes to the motion. They were saying a human could do this if extremely lucky, but software was able to do it almost always.

      Just something to think about.

    3. Re:Boeing versus Airbus by noidentity · · Score: 1

      Your post is appreciated. I seem to have taken up a similar position with regarding technology and being realistic on the limits of its reliability, and putting that above shinyness.

    4. Re:Boeing versus Airbus by MaskedSlacker · · Score: 1

      Software is great when it works as intended. What you just outlined is a textbook example of the advantages of software--but software doesn't always work as intended, and it is virtually impossible to prove that a given piece of (non-trivial) code will function exactly as intended. Or worse, even properly functioning software cannot deal with unanticipated scenarios.

    5. Re:Boeing versus Airbus by pRtkL+xLr8r · · Score: 1

      You see? We give the machines a small amount of AI and they rise against us, even in such primitive states. God forbid we ever give one a fully functional AI brain...it'll be Skynet all over again...which never happened, but still could again...err...

    6. Re:Boeing versus Airbus by MartinSchou · · Score: 4, Insightful

      I'm pretty sure that the tail of an airplane falling off is an unanticipated scenario that humans cannot deal with either ;)

    7. Re:Boeing versus Airbus by timeOday · · Score: 4, Insightful

      You make it sound as computers killed a golden era of safe engineering, as if perhaps we should go back. Let's keep some perspective here. Were cars back then simple, predictable, and solid? Perhaps. They were also death traps. How do the deaths with a suspected link to throttle software stack up statistically to those saved by anti-lock brakes? How does Toyota safety - on any model you choose - stack up to the competition when measured in deaths per millions of miles? I doubt this problem is even enough to appear in those big-picture statistics.

    8. Re:Boeing versus Airbus by roman_mir · · Score: 2, Informative
    9. Re:Boeing versus Airbus by DerekLyons · · Score: 4, Informative

      Next week I'll tell you about how the ancient shocking lesson of the British Commet aluminum aircraft wings falling off led to the unanticipated discovery of metal fatigue and probably was the reason Boeing was slow to move to composite materials in commercial aircraft (but not in military aircraft).

      This one comment makes me wonder about the veracity of the balance of your account.

      1. Metal fatigue was known about long before the Comet took wing in 1949.
      2. The fatigue cracks on the Comet's occurred at skin penetrations (windows and hatches).

      In hind sight we have heard of many tales of the composite tails of plane falling off as the reason for the loss of control before a crash.

      Then there is crunchy bit of FUD, which fails to mention that more than a few of those accidents are also associated with extreme control surface movements (inducing extreme stresses) prior to the failure.

    10. Re:Boeing versus Airbus by Midnight+Thunder · · Score: 1

      I'm pretty sure that the tail of an airplane falling off is an unanticipated scenario that humans cannot deal with either ;)

      I know you meant that as a joke, but people generally have one advantage over a computer: the urge to want to survive the accident, which makes people more creative out of desperation. If a computer runs into unexpected scenario, then how it deals with it depends on how it was programmed. In some cases you can think of a default behaviour kicking in, or maybe even a reboot. There may be other creative solutions, but the chances are the computer will run out of ideas before the pilot does.

      In fact all this reminds me of chess, in that we make a big thing about computers beating humans, but I haven't heard of human vs computer flight competitions. The way I see it is to present both the pilot and the simulator similar conditions and challenges and see which one recovers the best.

      --
      Jumpstart the tartan drive.
    11. Re:Boeing versus Airbus by b4dc0d3r · · Score: 2, Insightful

      Justifying something based on its performance on outlier conditions has never been a good idea. The number of accidents where the tail falls off is probably greater than the number of accidents where the tail falls off and the software would be able to compensate.

      Maybe having the "oh shit" button turn this on would be a good idea, but I think if you look at the number of crashes and their causes, you'd want to build redundancy in the rudder or strengthen the tail.

    12. Re:Boeing versus Airbus by Vellmont · · Score: 1

      I agree with much of your general statements, but they seem to based on stereotypes, hero worship, and personal bias rather than actual facts. It's no wonder you get crucified since those are generally weak arguments around here.

      To play devils advocate to anyone wishing to respond, does a fly-by-wire system (specifically in an airplane) offer any safety advantages over a mechanical or hydraulic system? The whole system is what matters, not individual components.

      --
      AccountKiller
    13. Re:Boeing versus Airbus by silviumc · · Score: 1

      What if they would open source the software and offered rewards for bug discoveries? That would reveal bugs quite fast, but boo hoo they would lose the "competitive edge". Couldn't they differentiate from competition with something else than software?

    14. Re:Boeing versus Airbus by AigariusDebian · · Score: 1

      Yeah, a pilot would not be able to safely turn a 747-sized airplane without a fly-by-wire. Yeah, one could try to construct a direct feed hydraulic link, but it would be much heavier and more complex than fly-by-wire and subject to all kinds of problems of its own.

    15. Re:Boeing versus Airbus by MaskedSlacker · · Score: 2, Informative

      No, it was an example of one the computer CAN deal with (if it's anticipated in the programming.

      A computer is limited by the creativity of the guy writing the IF THEN statements (setting aside the possibly of adaptive AI, but that raises other issues).

    16. Re:Boeing versus Airbus by TooMuchToDo · · Score: 1

      On another Discovery show program regarding airline incidents, there was one where a piece of debris destroyed the hydraulic lines running to the rudder, and the plane was landed with a passenger pilot simulating rudder with engine thrust. The failure case was not expected before, and this ability was built into future versions of the code. I believe this is the code you're referring to. I don't recall the airline name or flight number, but some googling should find it.

    17. Re:Boeing versus Airbus by Anonymous Coward · · Score: 0

      uh dude, 747s are not fly by wire.

    18. Re:Boeing versus Airbus by goombah99 · · Score: 2, Informative

      Derek, as you might have noticed I was keeping it short on the comet disaster. But to expand. yes of course metal fatigue as a phenomena was known before the Comet disaster. What my Dad told me was they learned that they did not know about how to design for it yet. They did not have any computer modeling to know what flight stress really did to winds and to metal. they hardly had any way to measure material strength changes in-place. The people who built the Comet we no dummies so clearly they discovered a scaling issue in metal no one had encountered before nor new how to design for at that time. The point I was making was that just because you can't foresee a problem in something new does not mean you cant anticipate there might be problems you can't foresee. The switch to composites opened up the same sort of issues that the comet did.

      --
      Some drink at the fountain of knowledge. Others just gargle.
    19. Re:Boeing versus Airbus by Anonymous Coward · · Score: 0

      The old guys know a lot more about safety than you might expect. The young guys are all about performance.

      And, more importantly, about making things cheaper.

    20. Re:Boeing versus Airbus by goombah99 · · Score: 1

      The first anti lock breaks were developed for air planes. My brother worked on those. My original comment was not a screed against technology. My dad had many innovations in air plane design. I'm just saying that he was a walking encyclopedia of examples of how even when you think you have thought of everything you haven't. Since it's harder to validate computers than physical systems it should make you think twice.

      --
      Some drink at the fountain of knowledge. Others just gargle.
    21. Re:Boeing versus Airbus by X0563511 · · Score: 2, Interesting

      I have an example.

      In a simulator (yes, a simulator) I was flying a VTOL type aircraft. Pulled a turn at too great a speed and broke off a few control surfaces. Maddening spin, completely unrecoverable (at least for me).

      Tapped the button to enable "artificial stabilization" - which in this craft, enabled "puffers" charged with compressed air (driven by the engines, which still worked) - the computer control algorithms managed to use the remaining control surfaces and these puffers to level the craft and reduce the yaw spin to about 5 degrees/second.

      Because of the VTOL nature of this craft, I was able to land it with a very survivable sink rate (gear even survived the landing).

      My point? Good luck doing that manually. This simulation anecdote should help back-up your thoughts :)

      (simulator: X-Plane 9)
      (craft: Verticopter)
      (note that a scale model actually flies, it's not just a pipe dream)

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    22. Re:Boeing versus Airbus by JamesP · · Score: 1

      But he had a safety background that told him these electonic systems were hard as hell to validate and hard as hell to make truly independent from each other.

      You see, that's the problem

      High pressure tubes going around the plane are very fragile

      http://en.wikipedia.org/wiki/JAL_flight_123
      http://en.wikipedia.org/wiki/American_Airlines_Flight_96

      It's good to be skeptic but Hydraulic planes are not THAT safe either.

      Yes, computers can go haywire, and how to deal with that is a challenge, but it's the way to go.

      After all they say the F-117 is unflyable without computers.

      --
      how long until /. fixes commenting on Chrome?
    23. Re:Boeing versus Airbus by jamesh · · Score: 2, Insightful

      Amen. Fly by wire can never be perfectly safe - no matter how well a system is designed it can still fail. As long as its safer than the mechanical systems we're still ahead though.

    24. Re:Boeing versus Airbus by caseih · · Score: 1

      Since Boeing is only just barely starting to use composites in commercial aircraft (the 787), I highly doubt the Comet has anything to do with it. And the Comet's wings didn't fall off. Rather the aircraft suffered explosive decompression of the cabin itself because of metal fatigue around the square windows. Like almost all Boeing's current planes, the comet's fuselage was constructed of riveted and epoxied aluminum. But aluminum metal fatigue was not well understood back then. It took several mysterious Comet crashes before the true cause of the Comet failures was discovered. As I recall they immersed an entire Comet fuselage in a tank and simulated hundreds of pressurization cycles until a failure occurred. Thanks to the Comet, Boeing has now been flying aluminum airplanes with windows successfully for more than 40 years. Nothing to do with composites.

      Finally, even if you could prove that a computer problem brought down the Air France flight, that still doesn't prove that fly-by-wire is inherently flawed. The failure rate of Airbus fly-by-wire aircraft is no different than Boeing's failure rate. And actually the different between Airbus and Boeing isn't so much fly-by-wire (the 777 is fly by wire) but rather the control feedback (airbus has none) and the control law that the computers implement. Airbus flight law sets hard limits that the computer will not let the pilot exceed whereas Boeing flight law sets soft limits at which the airplane will complain (feedback through the stick, for example), but will let the pilot do anything he wants, even if it will bring the plane down.

      In the case of the Air France flight, there is evidence supporting pilot error. It appears that the pilots chose to not change their flight path around the storm because that might add too many miles on the trip, which would violate ETOPS flight rules. Had they diverted, and had the airspeed sensor still failed, it is unlikely the plane would have crashed as it is entirely possible to fly an Airbus plane manually without airspeed information, although it's obviously dangerous.

      Another somewhat controversial article suggested that despite the fact that Scully was a good pilot, the safe water landing was exactly because of Airbus's fly-by-wire system.

    25. Re:Boeing versus Airbus by Anonymous Coward · · Score: 0

      You are totally right. It's really too bad the "old guys" and the "new guys" still lack the balanced perspective of a woman. Anonymous Cowards ftw!

    26. Re:Boeing versus Airbus by Anonymous Coward · · Score: 0

      Years ago we had a physical linkage from the gas pedal to the carburetor. Maybe the question isn't about bug free software, but about something else.
      Yeah, linkages failed, but not like the extreme examples we have today.

    27. Re:Boeing versus Airbus by Anonymous Coward · · Score: 0

      We may have to learn the hard lessons to improve the safety of computer control system as we did for the mechanical system before. But it does not mean that we should hold on to the mechanical system forever.

    28. Re:Boeing versus Airbus by Anonymous Coward · · Score: 0

      With respect to your Father's WW2 era experience, his war stories are a bit out of date. FWIW, I am a PhD in Mechanical/Aerospace Engineering, with 25 years experience in aerospace, much of it in software (it's a long story). Analog computing, including all mechanical control schemes, are generally much less reliable than digital control laws for the same level of complexity. This is inherently true because analog control systems (mechanical, electro-mechanical, etc) carry both the possibility of design flaws, plus the certainty of eventual failure due to manufacturing variance, wear, etc. Software carries only design flaws (bugs); they do not experience manufacturing or wear faults (although the underlying computational hardware may), and we have much better tools to validate software than analog control systems. The main reason software still isn't perfect is because, in most applications, we tend to hold reliability constant, and keep making the actual functionality more complex. Exercise for the reader - try to implement a braking system, meeting all current DOT safety requirements, including ABS, autonomous real-time adjustments for stability & traction, etc, using only analog systems. Good luck, and how's that reliability looking?

    29. Re:Boeing versus Airbus by timeOday · · Score: 2, Insightful

      I'm just saying that he was a walking encyclopedia of examples of how even when you think you have thought of everything you haven't.

      I agree with that wholeheartedly. Statements like "question all assumptions" are about as helpful as "foresee everything and never make mistakes."

      Since it's harder to validate computers than physical systems it should make you think twice.

      I question that. It's just that the most complex tasks require software because they are beyond what can be done with mechanical systems alone. For an example of a complex mechanical and software system, look at the Space Shuttle. What brought it down, twice? Mechanical problems, not software glitches.

    30. Re:Boeing versus Airbus by DerekLyons · · Score: 3, Insightful

      Derek, as you might have noticed I was keeping it short on the comet disaster.

      One can be short without being wrong. You were both short *and* wrong.
       

      The people who built the Comet we no dummies so clearly they discovered a scaling issue in metal no one had encountered before nor new how to design for at that time.

      No, actually they discovered (as is widely documented in aviation histories) that they failed to correctly account for the stresses caused by multiple pressurization and depressurization cycles. They knew perfectly well how to design for metal fatigue, but lacked information on how that fatigue would manifest itself.
       

      The point I was making was that just because you can't foresee a problem in something new does not mean you cant anticipate there might be problems you can't foresee. The switch to composites opened up the same sort of issues that the comet did.

      I merely pointed out how you have the story wrong, not that your point was false.

    31. Re:Boeing versus Airbus by fotoguzzi · · Score: 1

      Mother fuck! Their brakes!

      --
      Their they're doing there hair.
    32. Re:Boeing versus Airbus by RzUpAnmsCwrds · · Score: 1

      Then there is crunchy bit of FUD, which fails to mention that more than a few of those accidents are also associated with extreme control surface movements (inducing extreme stresses) prior to the failure.

      Incidentally, those are exactly the kind of accidents that fly-by-wire systems with flight envelope protection (like every Airbus aircraft) are supposed to prevent.

    33. Re:Boeing versus Airbus by TapeCutter · · Score: 1

      "While we all know that computer software validation is hard if not impossible. It's not something we readily admit here on slash dot."

      Rubbish, anyone trained in CS (such as myself) will tell you that, what is less commonly heard is that the same theory applies to mechanical systems and since mechanical sytems are analog by nature it makes the task of validation even more impossible.

      "For example they often used triple redundant computers and if one of them disagreed the other two would vote it off the island and stop listening to it. From what I've read it's now suspected that the latest airbus crash in the pacific had one of it's root problem in the voting nexus where a superior computer over ruled a more primitive safety system."

      I'm not saying a computer glitch didn't cause the accident, but what I will say is that you do not understand what the term "triple redundant computer" means. There is no "superior" computer in such a system. It's designed to overcome hardware failures not software failures. Basically it works as follows, there are three identical computers running identical software, all three computers "vote" on the correct output and compare their vote to the other two, if one computer goes insane (has a different answer to the the other two) the other two sane computers shut it down.

      The odds of two computers going insane in exatly the same manner at exactly the same time and voting to shut down the sole sane computer are such that the pilot winning the lottery every week for a year is more plausible. The few occassions where these sysytems have been known to fail were all due to external factors such as non-redundant power supply systems failing and taking all three computers offline.

      To summarise your post you are saying that "new systems designed to overcome old problems may run into new problems". That has always been the price of progress and the comet (the first true airliner) is a perfect example.

      I'm sure your dad has forgotten more about aircraft safety than I ever knew but if safety was the only concern then monkeys wouldn't fly and your dad would be out of a job. For relatively safe progress to take place you also need people who concentrate on performance, economy, efficientcy, infrastructure, communications, and all the other things that got us from the Wright brothers to jumbo jets in less than 100yrs.

      --
      And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
    34. Re:Boeing versus Airbus by Sardaukar86 · · Score: 1

      He hired other monkey to use the computers.

      Nor is being a snob. Too bad he didn't hired other monkey teach you English.

      Who are you to question his English?

      Your reply lost its credibility at this point and I read no further.

      --
      ..Mullah or Pope, Preacher or Poet, who was it wrote: "Give any one species too much rope and they'll fuck it up"?
    35. Re:Boeing versus Airbus by CG_Man · · Score: 0

      I had read and heard that the Comet problem was metal fatigue at the corners of the passengers' windows -- they had made perfectly square corners which created stress concentrations instead of having rounded corners which avoid that problem. Was there a wing problem too?

    36. Re:Boeing versus Airbus by bertok · · Score: 1

      A year ago I was watching one of Discovery programs I think and they had a couple of guys who supposedly implemented a piece of software, that would allow an airplane to fly and land safely if for some reason, while in the air, the tale would brake off or rudder would just stop working. They relied on a fly by wire airplane of-course and controlled the yaw with all other surfaces by applying very slight changes to the motion. They were saying a human could do this if extremely lucky, but software was able to do it almost always.

      Just something to think about.

      I've heard about this. What's even more impressive is that it's possible to control jumbo jets (or any multi-engine plane) by complex time-varying throttle manipulation, even if all of the control surfaces are dead. The issues is that the 'turbo lag' makes this extremely challenging for humans.The pilots have to anticipate actions seconds in advance, instead of reacting to feedback. I hear it's like driving really drunk.

      Computers on the other hand can use a theoretical model of the plane's behaviour to compute the ideal time to alter the throttle.

    37. Re:Boeing versus Airbus by Anonymous Coward · · Score: 0

      talk about a blast from that past... that looks almost exactly like the racers from Slipstream 5000.

      That said, isn't this the whole flying concept behind the Typhoon?
      Last I read the Typhoons are deliberately unstable and their computer has to make constant adjustments to the flight surfaces to keep it under control. It was done for agility... but it follows that if the computers aware of damage it could probably do something similar to what you're describing (except the VTOL part). The Harrier GR9's should be fun to try this with as well.

      But yeah, there's some things a computer can do a pilot can't. I think the trick is setting it up so the pilot can make that judgement call, rather than letting the machine override the pilot when the pilots in control.

    38. Re:Boeing versus Airbus by toddian · · Score: 1

      Usually, not always

      My favourite quote from the Wikipedia article: "Upon parking at the gate, the crew did another walk around inspection to narrow down the cause of the incident. The inspection revealed that the entire rudder had broken away from the tail of the aircraft."

      As a pilot however I can assure you that there are some uhh, minor, safety issues associated with rudderless flight...

    39. Re:Boeing versus Airbus by toddian · · Score: 1

      Yeah, flying without control authority is doable for an experienced human pilot, but it's not easy. Definitely something to practice in the sim for a few hundred hours first. Sometimes it works, sometimes it doesn't...

    40. Re:Boeing versus Airbus by konohitowa · · Score: 1

      How do the deaths with a suspected link to throttle software stack up statistically to those saved by anti-lock brakes?

      On a related note, how does the temperature of the oceans stack up statistically to the price of housing?

      How does Toyota safety - on any model you choose - stack up to the competition when measured in deaths per millions of miles? I doubt this problem is even enough to appear in those big-picture statistics.

      I doubt that more than 2.125786% of conjectures are anything but wild-ass-guesses.

    41. Re:Boeing versus Airbus by syousef · · Score: 1

      Who are you to question his English?

      Your reply lost its credibility at this point and I read no further.

      Cover your ears and yell la la la la la. It makes all the bad things go away. Idiot!

      --
      These posts express my own personal views, not those of my employer
    42. Re:Boeing versus Airbus by drinkypoo · · Score: 1

      Since it's harder to validate computers than physical systems it should make you think twice.

      I question that. It's just that the most complex tasks require software because they are beyond what can be done with mechanical systems alone. For an example of a complex mechanical and software system, look at the Space Shuttle. What brought it down, twice? Mechanical problems, not software glitches.

      Not really defending the GP, but in this case we have to deal with a mechanical system and a computer system at the same time. I do have to say that Hitachi wasn't very good at dealing with this sort of thing in 1993, but I would have hoped that throttle glitches would be a well-solved problem by now. Admittedly, we're talking about a vastly more complicated vehicle than my Subaru, but a worn spot in the throttle position sensor caused bucking as WOT was erroneously detected... or was it idle? Either way, a big fail when trying to pull into traffic.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    43. Re:Boeing versus Airbus by Sardaukar86 · · Score: 1

      Cover your ears and yell la la la la la. It makes all the bad things go away. Idiot!

      Unfortunately your advice doesn't extend to your good self it would seem.

      I'm hardly surprised by your response; nobody enjoys being shown up as a hypocrite. I couldn't have anticipated the puerility of your response though - thanks for the giggle!

      --
      ..Mullah or Pope, Preacher or Poet, who was it wrote: "Give any one species too much rope and they'll fuck it up"?
    44. Re:Boeing versus Airbus by syousef · · Score: 1

      Unfortunately your advice doesn't extend to your good self it would seem.

      I'm hardly surprised by your response; nobody enjoys being shown up as a hypocrite. I couldn't have anticipated the puerility of your response though - thanks for the giggle!

      Showed me up as a hypocrite? Pardon me, but you didn't even address my response. You simply picked out one line, took it out of context, and said that you refused to read further. To top it off, you simultaneously have the tenacity to accuse me of being childish, and wonder why my response might be aimed at someone with a child's intellect. Yet you say it gave you a "giggle". Small things, eh?

      If that's what you call a convincing counter-argument or adult behaviour, I simply pity you. You're busy accusing me of hypocrisy on the shakiest ground and can't even see the irony.

      Have a nice life.

      --
      These posts express my own personal views, not those of my employer
    45. Re:Boeing versus Airbus by X0563511 · · Score: 1

      The craft is very stable and aerodynamic. The stabilization is only really useful during hover, and prevents you from having to stir the stick (fighting inertia and the imprecision of being human - think if of it as a very fussy helicopter).

      This is especially important as the shape causes it to 'weathervane' up when you take off too fast, which points the fan in reverse. The airframe is not tolerant of reversed airflow and it THEN starts behaving like the Typhoon you mentioned. With a headwind of at least 5 knots, you don't need the stabilizer. If your practiced enough, you don't need it at all... but good luck!

      At forward speeds the system is damped to a point where it's nearly unused - it behaves like any other 'normal' plane at that point. It just helps react to and smooth out turbulence.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    46. Re:Boeing versus Airbus by 2obvious4u · · Score: 1

      Yes, but statistics don't matter when you have a story.

  21. God damn legal system by oldhack · · Score: 1, Insightful

    On a side note, our legal system forces us all to lie.

    --
    Fuck systemd. Fuck Redhat. Fuck Soylent, too. Wait, scratch the last one.
    1. Re:God damn legal system by maxume · · Score: 1

      Liar.

      --
      Nerd rage is the funniest rage.
    2. Re:God damn legal system by oldhack · · Score: 1

      Nuh-uh.

      --
      Fuck systemd. Fuck Redhat. Fuck Soylent, too. Wait, scratch the last one.
  22. Re:Exactly by peragrin · · Score: 1

    you want just plain silly the computer models they use are different from the ones in use by the weather dept. The weather Dept is only good for about 3 days ahead. If our current setups are good for just days in advance why do they think that their models are accurate over thousands of years?

    --
    i thought once I was found, but it was only a dream.
  23. Metric unit by Sepiraph · · Score: 1

    Did Toyota forget to convert imperial to metric unit like those Mars Pathfinder?

    1. Re:Metric unit by iluvcapra · · Score: 1

      That was the Mars Climate Orbiter, silly goose.

      --
      Don't blame me, I voted for Baltar.
  24. prove a negative? by sjs132 · · Score: 2, Insightful

    Isn't this like proving God doesn't exist?

    They can test and test and not get a result that said this is the bug, so they assume that it doesn't exist.

    --
    --- Relax, that mass muderer is just trying to reduce our carbon footprint, one fetus at a time...
    1. Re:prove a negative? by Anonymous Coward · · Score: 0

      You CAN prove a negative. You have fallen for a myth spread by ignorant "agnostics" and theists alike.

      By the same token, you can also prove "God" does not exist. Many such proofs have been made. It isn't hard to do, either.

      Sorry, had a long post explaining it, but I fumbled the keyboard and lost it all due to a shitty browser. So I'll just say to read the book "The Impossibility of God" as a starting point. Most of the proofs in there are in plain English.

  25. Embedded Bugs can be a BITCH to find by Anonymous Coward · · Score: 1, Interesting

    So I work on a robotics team on all of the firmware which interfaces the main computer with the actuators and sensors it needs to move. It drove me crazy because I had a bug that I couldn't replicate outside the robot.

    If you were driving the robot around under normal operating circumstances, suddenly, the motor driver board would stop working. I had a simple state machine on the motor board which would update the motors one by one, but I had a bug which I hadn't noticed because it seemed innocuous at the time:

    I updated the state machine immediately *after* I initiated an action which would eventually start interrupt code. Now, what ended up happening was that message about new speeds coming from the main board were also interrupts, and so there was this very odd cascading failure, where the motor board would initiate the action, the message from the main board would come in, we would jump into the message receive interrupt, and then immediately we would jump into the motor control routine. Since the state machine hadn't been updated yet, we would then execute the wrong part of the state machine, which would cause an error. The motor control routine would initiate a "stop" command and then go into an error state. Because this was a time-critical operation, I didn't care if we had failed to send a single packet, so I ignored the error, and jumped to the next motor. Unfortunately, the "stop" command would finish right as I tried to reset the state machine, which would put it in a different error state. And then when I tried to communicate with the next motor, I would do the same thing, over, and over, and over.

    The whole system would lock up, but by itself, all the code was completely reasonable. If you took that segment of code out of the system to verify that it worked, it would work 100% of the time. Put it into the system, and it generally took something like 10 to 20 minutes to suddenly die.

  26. I wonder if by thephydes · · Score: 1

    the acceleration was caused by some external EMI event? Why?. It is well known amongst ham radio operators that some cars do not have sufficient EMI protection so that an otherwise correctly installed transceiver will interfere with the car electronics when used. Pure speculation I know......

  27. Mechanical or Siftware bug by hufter · · Score: 1

    This is what I've seen in the news: Toyota says there is a mechanical fault in the accelerator pedal, that may cause it to get physically stuck down. This is extremely rare, but possible. To fix it, they add a little extra piece to the pedal. Sound like a duct-tape solution, but if it works, then okay.
    Did Toyota lie to us, and actually added a patch to the software instead?

  28. fault without fault warning in computer? by cenobyte40k · · Score: 1

    Is it just me or did everyone else miss the one where a guy introduced a fault into the Toyota system that caused sudden acceleration without producing an error code? I admit he had to introduce the fault artificially but if you can do that and have no fault come up on the computer how can you say that your system works 100% of the time?

  29. Sol'n: fly by half-wire by robert+bitchin' · · Score: 1

    Most throttle systems I've worked with employed two cables to control the throttle in a push-pull arrangement. If setup in a single-wire arrangement then only one wire is used to pull the throttle open and a spring is used to ensure it closes when the tension is removed. In some motorcycles where the operators have a literal grip on the throttle then, if the spring is not strong enough to close the throttle (or one of the cables jams), the operator can always physically force its return by turning the throttle back manually. Car operators using pedal-based accelerators, unless they are barefoot, cannot wrap their toes around the pedal to pull it back into position.

    My solution blends the two strategies: retain the pedal position sensor that captures the operators intention while retaining use of a 'return' cable. The ECU can remain in control of advancing the throttle to retain their interest in fuel economy measures while removing its control over retarding it. Pushing the pedal down merely provides enough physical free play for the ECU to work with while retaining any veto control if it gets out of hand.

    The final part would encourage the adoption of accelerator pedals that users slip their feet into rather than just on top of. This would provide the same ability to positively influence the pedal return rather than expect the spring to do so.

    1. Re:Sol'n: fly by half-wire by scottv67 · · Score: 1

      >The final part would encourage the adoption of accelerator pedals that users slip their feet into rather than just on top of. This would provide the same ability to positively influence the pedal return rather than expect the spring to do so.

      A gas pedal that you slip your foot into? That's insane. How would you account for all the different size footware that the hollow gas pedal (imagine a slipper made out of steel) would accommodate? Could you build something that would fit my steel toe work boots as well as the little tiny sneakers on a 16 year-old-girl? Back in the real world, if you want to have "positive throttle closure" via cable, why not place a pivot point in the middle of the gas pedal? Pressing down with the the ball of your foot would make the pedal rock forward (from the driver's POV) to accelerate and pressing down with the heel would rock the pedal backward (from the driver's POV), closing the throttle. No "steel slippers" in my car, thanks.

  30. Re:Exactly by Reality+Master+101 · · Score: 1

    you want just plain silly the computer models they use are different from the ones in use by the weather dept. The weather Dept is only good for about 3 days ahead. If our current setups are good for just days in advance why do they think that their models are accurate over thousands of years?

    Playing devil's advocate...

    Apples and oranges. Predicting local weather 3 days in advance is like throwing a coin and predicting whether it's going to land heads up or tails up by calculating the air stress on the coin, factoring in the landing zone, and all other factors. That's difficult and inaccurate. Predicting weather a thousand years from now is like throwing a million coins and predicting how many heads, how many tails, (roughly 50/50) and what shape the pile is going to be (roughly a circular mound). That's easy and predictable.

    Of course, climates are much more complex than a pile of coins, so even the thousand year model is undeterministically complex.

    --
    Sometimes it's best to just let stupid people be stupid.
  31. both feet by Anonymous Coward · · Score: 0

    My mother drives using both feet, as in one foot on the brake and the other on the gas. She has always driven this way. Does anyone know if this is common or unsafe?

    1. Re:both feet by b4dc0d3r · · Score: 1

      There are reasons why you might want to do that, usually it's high-performance drivers. Is your mother on the NASCAR or demolition derby circuit?

      If not then the usual explanation is that it's best to learn in an automatic using one foot, so that if you ever have to drive a manual you're used to switching and dedicate your other foot to the clutch. Your mother, having driven for a number of years the way she does, is probably better off not changing because it's all automatic, and re-learning tasks like that can cause lock-up in an unexpected situation when your brain decides which path to choose. If you look at recent research on the "choke" phenomenon, usually in sports, the explanation is that you practice something a million times and it's just natural, muscle memory. When your free throw determines whether your team loses or goes into overtime, you think about it consciously, overriding the smoothness of muscle memory. You probably don't want your mom to choke.

      The only reason it would be unsafe is if she were driving an unpatched Toyota, where the brake is not set as the override, and the computer can choose to honor the accelerator instead of the brake if they are both pressed, and if she ever presses both at the same time. It's your mom, so have her drive you somewhere and watch her feet.

  32. Pedal was stuck physically to the floor. by andydread · · Score: 1

    If you look at the latest 2 incidents the accelerator pedal was stuck to the floor. The one man even said he felt something funny has he pressed the pedal down to pass a car and it was stuck to the floor. It did not return. He said he even tried to pull it back to its original position. So how in the world it this an electronic problem? How does electronics cause a mechanical pedal to be stuck to the floor? Someone? Anyone?

    1. Re:Pedal was stuck physically to the floor. by green1 · · Score: 1

      If I engage the cruise control on my vehicle, the pedal physically moves to adjust the speed, it is plausible that a similar action could be at play here

    2. Re:Pedal was stuck physically to the floor. by SetupWeasel · · Score: 1

      Not in Drive-by-wire. It used to be that the pedal was hooked to the throttle, so a cruise-control system had to open and close the throttle (and the move the pedal) to adjust the speed. Toyotas now use a pedal position sensor attached to the pedal itself that gives the position of the pedal to the main computer and that computer adjusts the throttle. Since the throttle is no longer physically connected to the pedal, the pedal is not adjusted by the computer when in cruise control or ever.

      I work on the automotive industry and have held the offending pedals in my hands. They are simply spring loaded and there are no servos that would hold the pedal down while the throttle is open.

    3. Re:Pedal was stuck physically to the floor. by green1 · · Score: 1

      Thanks for the explanation, I was familiar with the old fashioned way of doing things, what I was wondering was if there was a feedback mechanism in place to pull the pedal down for acceleration during cruise control on modern vehicles so that they would "feel" right to people (there are many systems out there in automotive and other applications that aren't there because they are needed, or even because they are good to have, but simply because they make things behave the way people are used to and expect (even if it is actually less desirable)
      Thank you for clarifying how these pedals work though.

    4. Re:Pedal was stuck physically to the floor. by SetupWeasel · · Score: 1

      I only know this, because I asked my co-workers the same question. Yes, I work for an auto parts company and know little about cars. You can bet I'm learning though! ^_^

  33. Re:Exactly by Anonymous Coward · · Score: 0

    Think about this: even thousands of years ago primitive humans figured out that in certain places they had a winter and a summer every year.

  34. Re:Exactly by The+End+Of+Days · · Score: 1

    Denier! How dare you question the truth.

    And off topic, at that. You, sir, disgust me. Our lord Al Gore will consume your soul.

  35. acceleration could have been prevented.... by beofli · · Score: 1

    Everyone knows that the first thing to do, when creating acceleration software, is to test for race-conditions...

  36. We need full access to the data recorders by mspohr · · Score: 1
    It would be a big help to everyone researching this problem if Toyota would give full access to the contents of the data recorders in their cars. They are playing games and denying access to all of the information that is collected before a crash. They supposedly only have one computer in the US that is capable of reading the data recorders. They are giving accident investigators reports with many columns of data blank. This is nonsense.

    If everyone had access to all of the data on their own cars, this problem could be solved much faster (... I seem to remember something that someone once said that "with many eyes all bugs are shallow"...)

    --
    I don't read your sig. Why are you reading mine?
    1. Re:We need full access to the data recorders by b4dc0d3r · · Score: 1

      I believe they already know the problem and don't want to release information that would help certify a class action suit. I have read reputable reporting that they fixed this in later cars but did not think it was bad enough to recall earlier ones.

      In other words, it would help everyone except Toyota, which is why they are playing games.

      Right now, there are lots of people who blame driver error, and the recalls that have been detailed are physical rearrangement of the brake, floor mat, or other parts in that area. All of this could be a distraction from faulty code. I have read of an update which gives brake priority over anything else, but drivers report that doesn't fix the problem.

      Ultimately, what I conclude is that Toyota has a general idea of where the fault is, and is selling a product known to have potential safety risks, but is making fixes without knowing if that is the true root cause. If that comes out, Toyota will probably be forced to halt sales until they can fully document and prove the cause is known and the issue has been fixed for good.

      In other words, if someone else solves the problem, Toyota USA is going to take a huge hit. So you release the parts you're sure don't reveal anything until the NHTSA orders all doata be handed over.

  37. The problem is they start with a conclusion by mysidia · · Score: 1

    Based only on testing and design experience, this is not sound logic.

    Agreed software commonly has bugs not exposed to testing, but the same is true of hardware manufacture, and firmware/ROM code too.

    But also, there may also be an unanticipated interaction that would not be considered a software bug in and of itself, but a combination of two unanticipated inputs creates a serious problem.

    The software does not exist in a vacuum, and might be susceptible from effects from hardware, especially as the unit ages -- such as corrupt memory area, multi-bit errors, memory flip errors due to gamma radiation, overheating, and all the same issues that plague desktop computers.

    Could be a characteristic of the design of some portion of the software causes the system to handle an error condition ungracefully, that should be trapped, that safety hardware should be added to detect/deal with, or that software changes should occur (even if it's not strictly a software bug, sometimes you need to change the software to be more robust in the face of a hardware problem).

    For example, some chip periodically has a minor (indetectable) manufacturing chip defect, or some minor variation.

    Or it could be as simple as the code that gets burned to some chip isn't the same as it's supposed to be 100% of the time.

    For instance, if there was a revision to one component, but the old code was still getting burnt to new units... things could still be being produced with an old fixed bug, maybe.

    Or combination of components at different revision levels than what was tested.

    Moreover, an unexpected input could have been found in the field to result in physical lockup of some microcontroller.

    You can't test everything 100% it's arrogant and flat out wrong to claim you can.

  38. Feedback control? by Grieviant · · Score: 1

    Surely the fault couldn't be something as simple as the speed or acceleration sensor becoming saturated? This could throw off even a properly designed, stable feedback loop because the basic analysis doesn't consider nonlinearities. I'm assuming that it is in fact a proper digital feedback system done in hardware (in which case the only software involved is a digital filter responding to periodic interrupt requests), not some wishy-washy software routine that can't be analyzed for stability.

  39. Other lessons from Boeing by Beryllium+Sphere(tm) · · Score: 4, Interesting

    I worked on an embedded flight system there, and deeply respected people like your dad.

    Boeing works under the eye of a certification authority who has to approve the safety of a design including, at least in the system I worked on, human factors. If there's anything comparable for cars, I haven't heard of it.

    Boeing would not have made a pilot have to guess at how to turn an engine off (people with older cars, it's no longer a matter of turning a key).

    Inputs were checked for consistency and validity. The specs would have anticipated what to do if the accelerator and brake were both full on at the same time.

    There was a culture of worst-case planning and redundancy.

    Also, if Boeing built a car, it would have a flight data recorder which investigators could examine and say for example "Looks like both(*) potentiometers on the accelerator went hard over at the same time, so we go look on the branches of the fault tree where there's a common-mode failure in the potentiometers or the pedal is down due to mechanical or pilot error".

    (*) If I remember correctly from my obsessive pre-purchase research on Priuses, there are two separate sensors for accelerator position.

    1. Re:Other lessons from Boeing by sconeu · · Score: 1

      Exactly. Flight software is DO-178B. Is there ANY sort of standard for automotive software?

      The best I could find with Google is MISRA.

      --
      General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
    2. Re:Other lessons from Boeing by SIR_Taco · · Score: 2, Informative

      Also, if Boeing built a car, it would have a flight data recorder which investigators could examine and say for example "Looks like both(*) potentiometers on the accelerator went hard over at the same time, so we go look on the branches of the fault tree where there's a common-mode failure in the potentiometers or the pedal is down due to mechanical or pilot error".

      From working in the field of emergency response, quite a number of newer cars (somewhere around 2000 they started putting them in) do have a "blackbox" of some kind (some more detailed than others). Having said that, I'm not the one to examine them nor do I pull them out of cars after an accident. But, having talked with the guys that do, they get a surprising amount of data from them. It tells them whether or not the air-bags were deployed, the highest speed before "sudden" deceleration, the time it took the car to come to rest, whether the breaks had been applied, whether the seatbelts were engaged, traction of the tires (if the car has one of those "smart" traction-control features), and all time-stamped (sure there is more, but that's all I can remember from the conversation).

      Just thought I would point that out for those that are unaware.

      Cheers.

      --
      I say don't drink and drive, you might spill your drink. Before you get behind the wheel just stop and think.
    3. Re:Other lessons from Boeing by winwar · · Score: 1

      "Boeing would not have made a pilot have to guess at how to turn an engine off (people with older cars, it's no longer a matter of turning a key)."

      Toyota doesn't either. Every new car they sell comes with something called a manual. This manual contains useful information about the vehicle. Such as how to turn it the fuck off.

      In any case, considering the debacle that is the 787, I wouldn't take engineering lessons from the Boeing of today.

    4. Re:Other lessons from Boeing by NeuralAbyss · · Score: 1

      MISRA is one standard that is used, but it's not exactly an all-of-domain standard - it simply covers common fault modes in automotive/embedded software.

      The EU is pushing to have ISO26262 ready in the next 6-12 months, which will set standards for functional safety in the system domain - not simply limited to software, and with requirements set by the criticality of the given part.

      For example, devices that are deemed to be safety-critical (powertrain, lighting) are held to higher standards than those that are not (immobilisers, HVAC).

    5. Re:Other lessons from Boeing by pjsanfil · · Score: 2, Insightful

      The manual for the Prius explains how to shut it off in an emergency in small text on page 43 after the directions for configuring the entertainment system.

    6. Re:Other lessons from Boeing by Anonymous Coward · · Score: 0

      Im pretty sure i would not buy a car that i couldnt turn off with a key.

      It was bad enough when they started putting microchips in car keys ($100+ to have a key copied, yay)

    7. Re:Other lessons from Boeing by Anonymous Coward · · Score: 0

      If Boeing built a car to FAA regs it would cost $10 million, which pretty much explains why Toyota builds cars and Boeing builds planes (amongst other things)

    8. Re:Other lessons from Boeing by statusbar · · Score: 1

      While MISRA is a good informal collection of C and C++ programming guidelines for safety critical devices, it is by no means the only thing can can be or should be done.

      Toyota does do a lot of testing and re-testing and certification and takes a lot of time and money to do this.

      There is a lot more scrutiny on software systems for airplanes then there is for automobiles.

      I believe that more people per year are potentially affected by software in automobiles than they are by software in airplanes.

      --jeffk++

      --
      ipv6 is my vpn
    9. Re:Other lessons from Boeing by Elky+Elk · · Score: 1

      Under a sign which says 'beware of the leopard'.

  40. One click only by isdnip · · Score: 1

    If the engine accelerates suddenly and doesn't respond, you turn the ignition key one click to the left, to the off/unlocked position. This is how you listen to the radio when parked, for instance. The key stays in the lock and the steering wheel is unlocked.

    A Prius is a special case, with its electronics.

  41. Anonymous Coward by Anonymous Coward · · Score: 0

    If you cannot point to a bug then, maybe, you should not say there is a bug. Maybe you can talk Toyota into releasing the code to open source peer review.

  42. Modern software vs. old bit-bumming by isdnip · · Score: 1

    What does the Toyota source code look like?

    Back in the 1960s, when the space capsules were being designed, 16k words was a lot. So programmers wrote tight code, optimized down to every instruction. It wasn't perfect but it was fairly easy to examine.

    Nowadays memory is cheap. And we have programming techniques that take advantage of it. Object-oriented code, for instance. This speeds up some kinds of programming but it puts more effective distance between the source code and the executable. And the mere act of using an OS API, as noted in the original story, makes the application vulnerable to subtle bugs in the OS.

    It's laughable that Toyota could have thoroughly debugged code that was written using modern, large-memory techniques.

    Still, it's unfair to single out Toyota. There's too much drive-by-wire in a lot of cars.

  43. Re:Exactly by Anonymous Coward · · Score: 0

    But there are umpteen different models and implementations. I suppose they could all be wrong, but it would be more than a simple coding error if so.

  44. Re:Boeing versus Boeing by Anonymous Coward · · Score: 0

    The 737 Rudder Problem was hydraulic not electronic.

  45. Humble pie. by Anonymous Coward · · Score: 0

    There is one efficient and reliable machine out there: The paper weight.
    There is one bug-free software out there: int main( void ){ return 0;}

    Where's the manual override for that accelerator?

  46. OPEN SOURCE IT!!! by Anonymous Coward · · Score: 0

    can't find it, let others do, put 10k prize and you will get hundreds of leads!

  47. Speaking as an embedded programmer here... by dbc · · Score: 3, Interesting

    ... why does everyone assume it is a software bug? I agree that it very well could be an undiscovered software bug. But there are so many more sources of erroneous behavior in an embedded system that *even* *if* the software were flawless (ummm... just go with me a minute... :) an automotive environment can cause all manner of strange glitches. I work with robots, lots of DC motors causing commutation noise on the power supply, long (several inch) distances between units that must talk to each other and therefore may have a different opinion as to ground reference voltage... many things can get wacky. Even flawless code needs a watchdog timer to get you out of weird states that power glitches that put you into. Power supply spikes can cause the program counter to jump to very odd places, with odd, corrupted stuff in RAM. Ground level shifting can cause communication glitches. CAN bus is *extremely* robust, so bad data should not get through... but what does get through? Does the system as a whole get into a weird state if packets drop?

    1. Re:Speaking as an embedded programmer here... by Anonymous Coward · · Score: 0

      My money is on driver error. We now the last Prius run-away was a hoax, how many of the rest are people making mistakes or just jumping on the band wagon?

    2. Re:Speaking as an embedded programmer here... by girlintraining · · Score: 0

      Does the system as a whole get into a weird state if packets drop?

      My theory: Older drivers tend to not to mash the accelerator. Have you noticed on like PS2 or XBox that if the controller loses calibration because you went into a menu or are very gentle with moving it sometimes it'll 'stick' in the software and rotate continually until you unplug the controller (thus resetting the zero state)?

      It's like the Therac-25 incident; The software makes certain assumptions about the mechanical interlocks that, in select cases, result in an inconsistent reading. It happens all the time in embedded systems.

      --
      #fuckbeta #iamslashdot #dicemustdie
    3. Re:Speaking as an embedded programmer here... by Anonymous Coward · · Score: 1, Insightful

      Also speaking as a embedded programmer, with 18+ years work on avionics, industrial robotics, pneudralic-control systems, and the like, the SAFE assumption is to point at software. Your points about flakey/glitchy hardware conditions are well put--they are unfortunately far too common in far too many systems (which is another rant for another time, about piss poor design)--however it is the JOB OF THE SOFTWARE to sanely and 'correctly' control those systems. That means the _must_ be ARCHITECTED AND WRITTEN to handle all of those conditions, even the "impossible" corner-cases. Period. No exceptions, no excuses.

      Please note: I'm making a distinction between the software programmers who made TECHNICAL DESIGN DECISIONS, and the person(s) who made POLICY DESIGN DECISIONS. From my general perusal of the news reports and statements made by Toyota in the aftermath of all of this, there are _clearly_ multiple problems with their POLICY DESIGN. If someone hits the brakes, it should override the accelerator functions. Period--no exceptions. Audi has always done this by default, Toyota is "implementing this as an additional safety feature"... Funny how they didn't "implement" it prior to this. But there also are likely multiple implementation issues with the TECHNICAL DESIGN of the software as well. 30 Million lines of code? Yeah, there's going to be some garbage in there... I'll lay $50 on that.

      My point? That despite any hardware failures, hardware design flaws, and the like, software development is the last bastion of control. (Should it be? Maybe not--hence the decades-long argument for avoiding fly-by-wire.) To maintain that control requires good planning, good execution, and good testing through the entire software process. Toyota clearly failed at one of these, and likely in others. (I'm not even going to touch on the pending lawsuit concerning internal documentation swiped by their ex-lawyer, where it is alleged they made false statements, hid evidence, etc.) For Toyota to make absurdist statements in the press, and then act surprised, is B.S. They deserve to go through the flames on this.

    4. Re:Speaking as an embedded programmer here... by Mateorabi · · Score: 1

      It's still the software's fault then. It should take these failure modes into account and react in a safe manner when people's lives are on the line. (Granted you can always come up with some wacky way everything could go wrong simultaneously, but a safe design will make that immensely improbable.)

      --
      "You saved 1968." - Ms. Valerie Pringle to the crew of Apollo 8

    5. Re:Speaking as an embedded programmer here... by muridae · · Score: 1

      That was my first thought as well, but I went for Hanlon's razor. You deal with digital software and analogue parts, and know that even a momentary push button switch is analogue. So even something that simple gets de-bounced because it might cause a problem for the software if it changes rapidly. But, picture some software engineer staring at the circuit board specification, and seeing all of these extra capacitors jumping from a signal line to ground. "Hey, I can save the company a few cents by getting rid of these!" Admittedly, because I have been that software engineer on a home-made project, it is an easy mistake to make and the first that came to my mind.

      What I wonder about all of this, is why the Japanese haven't had this problem with Priuses . . . Priusi? kept in Japan. Flaw in North American manufacturing, something weird in the road conditions, driving habits, smaller feet not hitting both the gas and brake when they get panicked, or just numbers on the road?

  48. PR mess by cuby · · Score: 1

    Despite the obvious problems with Toyota cars, one thing is shure. There is a lot of people in the US profiting and betting in the fall of the main concurrent for US disgraced auto makers. They (Toyota) are being targeted by a negative campaign.
    I cannot believe that only Toyota has some sort of serious problem in their cars. Greediness and bugs are not a their exclusive. The main problem consists in being one of the most advanced producers.
    As software complexity surges I'm afraid this problem will multiply elsewhere.

    --
    Math is beautiful... e^(pi*i)+1=0
  49. Confirmation bias by Ed+Peepers · · Score: 1

    One possible explanation: If reporters consciously or subconsciously expect old drivers to be crappy drivers, they may be more likely to report the ages of older drivers.

    1. Re:Confirmation bias by fotoguzzi · · Score: 1

      I think previous posts have hinted at it, but not plainly stated: older drivers may be more prone to injury.

      --
      Their they're doing there hair.
  50. Star Trekking by Anonymous Coward · · Score: 1, Funny

    Always going forward.

    ... because we can't find reverse.

  51. Hacked? by b4upoo · · Score: 1

    Is there much of a chance that some evil idiot created a bug, perhaps transferred from a Toyota diagnostic device that inserts a bug causing the accelerators to act as if they are wide open?
                My personal bet is that there are three or more ways that these cars run away. One might be the carpet thing. Another might be wear on that little metal part that we saw on TV and more might be in the software. The next question is whether the software glitch was sabotage or design related.
                  That stupid start button needs to be converted to a switch so that off becomes more absolute. Having to hold a button for three seconds to turn a car off is just wrong.
                    The Miami heat have a "Toyota" scoreboard. During the last game the scorekeeper messed up and they had to run the numbers real fast before they could reset it. I could not help but think of it as a run away Toyota score board.

  52. General comment regarding RSS feeds by Radio_active_cgb · · Score: 1

    This is off topic:

    I'd rather not have comments on the article appearing in the RSS feed. I'd like to see the article summaries appear "several on one screen" rather than "one per screen".

  53. Story of an elusive bug... by descubes · · Score: 2, Informative

    Several years ago, I designed the software for a real-time automotive test system called HP ECUTEST (I think the official name was HP Design Span DS5470, but let's not waste time on HP's cold dead fish naming conventions). It simulated a car from an electric point of view. You connected an electronic control unit (ECU), and it had basically no way to tell it was not in a real car. Think of it as The Matrix for car electronics.

    One of our first customers wanted us to test it with a reliable, proven, tested, tried and true ECU, something that was on the road in cars for several years already. So we did. And I noticed something odd. The ECU worked fine when we "drove" a car normally, but at idle, it would basically slow down, one RPM at a time, until it stopped. However, if I changed the value of the input corresponding to the accelerator pedal, it would reset the idle speed to the default, something like 800rpm.

    Finally, after eliminating the possible bugs on our side, we tell the customer. Their first reaction was "no way". But after a week and a demo of the problem, they finally made a connection. They had this elusive bug of some car customers complaining that their car would sometimes stop when idle. It turns out that in a real car, chassis vibrations generally caused minute changes in the input value for the accelerator. So the ECU would correctly recompute its idle speed. However, if there was no change, like if the pedal was more rigid than usual, the bug would trigger.

    The root cause was a routine that wanted to optimize idle speed to be as low as possible, but for some reason kept cached data if the accelerator had not changed, so it thought the engine was still running smoothly.

    We found such bugs in practically all ECUs we tested for the first time. The most impressive one was in a V8 ECU that was basically a V8 until 1200rpm, then a V7, then a V6, and basically a V2 above 4000 rpm. The customer had hoped we'd find something, because they didn't get all the power they expected from the engine. Obviously. It was hard to find without our system, because the injectors that fired were differnt from cycle to cycle, so more simple instrumentation saw all cylinders running. The root cause here was that the software badly exceeded its real-time envelope... Ouch.

    --
    -- Did you try Tao3D? http://tao3d.sourceforge.net
    1. Re:Story of an elusive bug... by JamesP · · Score: 1

      This kind of post worries me A LOT

      I once was interviewed for a "software position" in a car company (being intentionaly vague there)

      At the interview for this software position I found out that:

      1 - The software was written by another company (one I've worked at/with (their subsidiaries) in other occasions, and a company I never wish to work again)
      2 - My job would be to manage requirements (ok) and code branches (o.O) (yes, I know what branching in a SCM system is, still)
      3 - It would not involve me touching software even with a 30ft pole
      4 - I would not be able to read slashdot there

      So, I declined the job

      Still, makes me think that a car company knows next to nothing of good software practices and they're the ones running this show!

      --
      how long until /. fixes commenting on Chrome?
  54. Put the throttle cable back. by Anonymous Coward · · Score: 0

    Put the throttle cable back. Why fix something that was not broken to begin with. With a throttle cable if it broke then the car stopped. How many reports of cars accelerating themselves with a throttle cable have you heard of?

    Sounds like to me a little bit of over engineering something.

  55. Less than 100% reliability may still save lives by perpenso · · Score: 1

    He was not a luddite. But he had a safety background that told him these electonic systems were hard as hell to validate and hard as hell to make truly independent from each other.

    Failure to embrace the latest tech does not mean one is a luddite, especially when we are talking life-and-death. SCUBA diving is a hobby of mine. When submersible dive computers came on the scene I noticed the early adopter were generally non-technical people: doctors, lawyers, business types, etc. The electrical engineers and computer programmers were usually sticking to mechanical analog depth and pressure gauges and plastic cards with depth/time limit tables. Over time the dive computers left the "1.0 stage" and proved themselves and tech types began to transition.

    Fly-by-wire has a somewhat comparable history. Fly-by-wire was adopted, debugged and eventually proven in military aircraft. In this case it was a greater risk tolerance that allowed the military to be an early adopter. Today it is far more reasonable to use fly-by-wire in civilian aircraft.

    Fly-by-wire software in aircraft or cars should never be considered 100% reliable. However older tech is not 100% reliable either and one also has to consider the increased safety offered by newer tech. For example the software in anti-lock brakes may save more lives in that vast majority of cases where it works properly than the number of lives that are lost in extremely rare situations where it fails. There is a point where an imperfect solutions can save lives. Should a manufacturer ship such an imperfect solution when it passes this point? That is a very complicated question.

    --
    Perpenso Calc for iPhone and iPod touch, scientific and bill/tip calculator, fractions, complex numbers, RPN

  56. Fundamental Flaw by Anonymous Coward · · Score: 0

    The fundamental flaw here, is that if the brake pedal and throttle pedal are both pressed at the same time the ECU isn't not ignoring the input from the throttle pedal. This I suspect would be expensive for Toyota to fix (otherwise they would have done so already and not tried to "fix" this flaw by carpet mats and throttle "shims".).

    Ford fly-by-wire systems ignore the throttle input when the brake is depressed and Toyota is even changing their systems to match for 2012. Seems like to me they are dancing around the issue of back-fixing this in older models, most likely due to cost (though one would think it could be done in software but perhaps not and requires changing some part of the engine management system out).

  57. This is where Toyota screwed up by calidoscope · · Score: 1

    I don't think anyone at Toyota realized just how bad their handling of the event recorder data looks. I'd be much more willing to give them the benefit of doubt if they were as open with the data as GM, but this comes off as incredible arrogance.

    --
    A Shadeless room is a brighter room.
  58. Re:Exactly by Anonymous Coward · · Score: 0

    The best computers in the world may be wrong about exactly what the weather will be like next week but even I can tell you when summer/winter will be. You can be much more accurate over a larger time frame.

  59. I tested this on my 2008 Prius by mpapet · · Score: 1

    putting the vehicle in neutral won't stop the vehicle.

    I put our Prius in *full* acceleration for 5 seconds then put the car in neutral. Transmission does, in fact, shift into neutral. Meanwhile, with my foot on the accelerator, 'floored' the engine drops to idle. Brake assist works because the motor is providing vacuum.

    So, it seems that the CV transmission is independent from throttle control.

    I did this at a ridiculously early hour with no one in sight on the nice, straight, highway.

    --
    http://www.maxineudall.com/2010/02/should-economists-be-sued-for-malpractice.html
  60. experience vs. theory by recharged95 · · Score: 1

    You can't test enough. It buys you time. Test is more important than the development, especially in hard real-time systems.

    Unfortunately, Toyota doesn't have time (time is money) as well as its priority was cash over safety, period.

    It is funny that the armchair quarterbacking comes from the organization that consistently has bugs concerning english to metric unit conversions.

  61. finally, someone is stating the obvious by cfriedt · · Score: 1

    This is what I've been saying all along; it could have easily been caused by some lazy programmer who didn't check a return value, overlooked integer overflow, or made an inappropriate type cast.

    On the other hand, I do agree that there is a large chance that it could be due to 'ground bounce' or other EM noise. However, the electrical & computer systems on automobiles should really be considered one in the same. They are the left and right hands of an entity and need to communicate effectively with each other. If there is electrical interference, then the signal processing system should take that into consideration and filter it out. If there is too much electrical interference, then the electronics should be re-designed!

  62. Software has already killed people by Mike_EE_U_of_I · · Score: 1

    The author wrote near the end of his piece "It is probably only a matter of time before a software error results in injury or death, if it has not happened already (there are some who say it has)."

        I thought this wasn't even remotely in question. The Therac 25 radiation overdose killed some people for sure (see http://en.wikipedia.org/wiki/Therac-25)

  63. PR strategy != engineering reality by presidenteloco · · Score: 1

    Whether Toyota should be straightforward with customers about the level of uncertainty
    or adopt a blustering strategy, kind of depends on how comfortable people (the customers
    or potential customers) are with uncertainty existing in science and engineering.

    Scientists and engineers are comfortable (some of us) with existing in a world where
    there is a .83 probability of this, and a .012 probability of that, and we expect as a matter
    of course that our theory might have to be revised as more observations come in.

    But I had the experience of working for a non-techie executive, and when he asked how
    things were going, or I proactively informed him about some issue in the development
    project, he invariably had the same reaction, no matter whether I was reporting a minor
    problem (one in a sequence of hundreds of obstacles the engineer has to discover and
    work around as they go - i.e. a routine temporary unknown or a routine new problem at
    the forefront of the innovation), or a potential show-stopper.

    Regardless of which of these it was, and I was always careful to put these problem
    reports/issue reports in perspective when reporting them, it was always:

    "Oh MY GOD!!! We need to shut down this project / subproject /workpackage / feature
    development RIGHT NOW! There is a PROBLEM! We can't afford PROBLEMS!! They
    are too SCARY!! I don't know what's around the corner! We must backtrack and go another
    route altogether!!!!

    So eventually I stopped reporting problems/issues to my management, and just went
    about with the other techies fixing/working around each one. And if asked how it was
    going, I would resort to impenetrable but vaguely positive generalities. Why?

    So we could get some work done. So that management by irrational fear and lack of
    insight and perspective would not GUARANTEED ruin the project.

    How dysfunctional is that.

    I imagine Toyota, and its relationship with the general public, is kind of like that.
    They may be damned for blustering, but they damn sure would be crucified
    for telling the truth about the level of engineering uncertainties in any developed
    complex system.

    To get the downlow, you have to be equipped to handle it rationally.

    --

    Where are we going and why are we in a handbasket?
  64. Sometimes difficult bugs require a different view by GWBasic · · Score: 1

    In my first internship, I worked with a QA team for a telephony hardware company. One of the tasks that we started, (and I stress started,) was a "Continuous Hours of Operation" test where we would run tests that were supposed to keep running for weeks or months in order to find bugs.

    The first thing I did, to get comfortable with the APIs and testing hardware, was to write a simple program that picked up the phone, played some music, and then hung up. After about 5 minutes, my program kept crashing. Assuming that I was doing something wrong, (because I didn't know the API,) I asked for help.

    It turns out my silly "pick up the phone and play music over and over again" test found a bug that had been eluding major engineers for a few years.

    Perhaps all Toyota needs to do is take some of their simple unit tests and keep running them over and over without rebooting the firmware. Then they might reproduce the issue within a few days.

  65. It is possible, and is done, but hard/expensive by RobinH · · Score: 2, Interesting

    I do industrial automation for a living, and machine guarding/safety is a major component of the job. There are now, in the last few years, software based safety products that are provably just as safe as a hardware only safety products. The key is that it's not just about rigorous testing, it's about correct design. If you want category 4 protection, you need to be sure that:

    1. No single component failure can leave the system in an unsafe state
    2. The component failure is detected
    3. The system cannot be restarted without correcting the failure

    Software becomes another component. Therefore you need to have redundancy in your software. Government regulators that certify these safety systems as compliant want to see you prove that a single component (i.e. unit of software) can't malfunction and leave the system in an unsafe state. What a lot of companies do is they have two independent processors each monitoring the inputs to the system in parallel, and each generating the required outputs. The processors are typically sourced from different companies, and the circuit boards are designed by different teams. The software running on each processor is written by a different team. If both processors agree on the outputs, the system drives those outputs, and if not, all power is dropped to everything and the system can't be restarted (may need to be replaced, etc.).

    Those of us in the industry were skeptical of software based safety at first, but given the above facts and a decent amount of regulatory oversight, I'm satisfied that it will live up to the design criteria. That doesn't mean an error can't happen, but it makes the probability low enough that we can live with it.

    The latest thing is safety systems running their I/O across networks like DeviceNet and even Ethernet/IP (the IP stands for Industrial Protocol, not Internet Protocol). Again, I was at first skeptical, but they use a protocol layering on top of the network using timestamps and redundant processors on both ends with reasonable failure modes that the system is provably safe, within reasonable limits.

    So you can make safe embedded systems, but without being able to inspect the design and see that it lives up to these guidelines, Toyota can't ever *prove* that the system is safe.

    --
    "I have never let my schooling interfere with my education." - Mark Twain
    1. Re:It is possible, and is done, but hard/expensive by Anonymous Coward · · Score: 0

      I sure as hell hope that I'm not on railroad tracks or trying to pass a truck in the oncoming traffic lane when your system drops all power because of some glitch that causes one of the redundant computers to output the wrong thing. Remember, the power for steering and brakes come from the engine, so without the engine running, the steering and brakes are in manual mode on a car designed to have power assist.

      And I also hope that I'm not in the path of a freighter coming in to port when your system drops power due to a computer glitch, because without power they can't stop or steer. There's nothing to prevent a 70,000 ton ship from plowing into whatever is directly ahead of it on shore.

      dom

    2. Re:It is possible, and is done, but hard/expensive by phantomfive · · Score: 1

      Wow, mind if I ask what sorts of companies do that kind of work, and how you got into it? That sounds awesome.

      --
      Qxe4
    3. Re:It is possible, and is done, but hard/expensive by RobinH · · Score: 1

      It's perfectly possible to operate a vehicle that has lost power steering or power assist braking. It's called muscle. It's generally considered "safe" for a machine to cut off power to its actuators in an unsafe situation. The unsafe thing to do is allow uncontrolled expenditure of energy.

      --
      "I have never let my schooling interfere with my education." - Mark Twain
    4. Re:It is possible, and is done, but hard/expensive by RobinH · · Score: 1

      I don't design the safety systems themselves, I just apply them in the field. Any industrial equipment vendor now has a line of safety products. Rockwell Automation, Siemens, Beckhoff and Jokab come to mind. Do a search for "en 954-1 safety standard". Also search for the "ODVA CIP Safety Standard".

      --
      "I have never let my schooling interfere with my education." - Mark Twain
  66. Re:Exactly by peragrin · · Score: 1

    not to say things like the temperature is going up by 3 degrees over the last 50 years it isn't.

    I can bet there isn't a climate model that would say that virginia would get more snow then New York. yet that is exactly what happened this year.

    --
    i thought once I was found, but it was only a dream.
  67. One Line of Code by markbark · · Score: 1

    Is it just me or could this be corrected with one line of code?

    if brake_input > 0 then accelerator_output=0

  68. Open Source the damn code -- so that I can test it by Btrot69 · · Score: 2, Insightful

    I'm a former professional "software tester from hell" (currently unemployed) -- and I drive a 2007 Camry Hybrid.
    Officially, my car does not have a problem -- other than the floor mats -- which are now in my trunk and were never a real problem anyways.
    Months before all of this publicity, I complained to my dealer about what seemed like a "sticky throttle" during routine maintenance.
    The engine continues to run fast for 3-5 seconds after letting up on the gas.
    The dealer actually charged me for the extra inspection, but did not find a problem.

    So obviously -- I have some concerns.
    I doubt that it is a software bug. It didn't start happening until the car was 2 years old.
    But who knows ?
    Some of those embedded computers have probably been running since the day the Hybrid battery pack was connected in the factory.
    Any software running that long could have become unstable.

    But without source code, I am powerless to do anything about it.
    I have to rely on the word of Toyota's software QA people -- even though I know the current state of the art of software testing is a JOKE !

    If Toyota open sourced the code -- I'd have a lot more confidence -- that with a lot more eyes on it -- the software really was OK.
    (and if they offered a reward for finding a problem -- I'd be even more confident)

    Now for a quick rant as to WHY the current state of software testing is a joke, and why I have little confidence in ANY corporate software QA.
    I write this as a former CSTE -- the QAI's "Certified Software Test (Engineer/Expert)".
    I also should say that I love software testing because it is the one part of software development where creativity and intuition still play significant role.
    And -- it is one area where techniques and standards are still being developed at a significant pace.

    Most software development today is 98% boilerplate and copies of stuff somebody else did.
    Engineers translate functional specifications into code based on established design patterns.
    There are some basic calculations to ensure good response times and scalability.

    Software testers typically create test plans from the same set of functional specs that the engineers use.
    They simply validate that everything that is supposed to happen, happens.
    Then they might run some performance tests -- but only if management budgeted for a test environment for suitable for performance testing.

    Then they stop.

    Inevitably -- bugs appear in areas that no one ever expected.
    Those are fixed later -- and regression tests are added to the test plan.

    But -- almost NO ONE EVER LOOKS FOR THOSE "UNEXPECTED" BUGS -- before software is put into production.

    Why ?
    Because engineers hate the unexpected and don't typically know how to deal with it.
    Micro-managed companies following strict Six Sigma processes (like Toyota) don't know how to create a time and resource budget for a "hunt for the unexpected".

    The QAI (Quality Assurance Institute) doesn't help either.
    They are run by a bunch of engineers obsessed with a desire to precisely measure and quantify every aspect of software testing.
    Their techniques are useful, and largely valid -- but if they don't know HOW to quantify something -- they IGNORE it.

    Just ask any CSTE -- "How do you test for race conditions" ?
    There is no established technique for this, so the QAI simply IGNORES the issue.
    There is no mention of race conditions in the CSTE's CBOK (Certified Body of Knowledge).
    I used to work for one the the world's top software QA "gurus" and I once asked him how we test for race conditions -- the answer was --
    "we don't, because we don't know how to do it".

    Despite this -- intermittent race condition bugs account for a huge portion of real-world bugs !
    As programmers make more use of multi-core CPUs and GPUS -- race condition bugs are getting to be more and more common.

    And yet -- testing for race conditions and testing for "the unexpected" IS actually possible -- it just

  69. A Most Unusual Bug Indeed by Stormy+Dragon · · Score: 2, Interesting

    The Times also helpfully provides a list of all the people who have died in "sudden acceleration" accidents involving Toyotas:

    Toyotas, deaths and sudden acceleration

    If you look through the list at the ages mentioned, one begins to notice a rather odd pattern: 18, 21, 32, 34, 44, 45, 47, 56, 57, 58, 60, 61, 63, 66, 68, 72, 72, 77, 79, 83, 85, 89

    This is a most peculiar bug indeed in that it seems occur primarily when the driver is elderly. Or perhaps, as with previous "sudden acceleration" scares, this will ultimately turn out to be the result of people slamming on the gas when they menat to slam on the brake and then trying to blame the car for their error.

    1. Re:A Most Unusual Bug Indeed by presidenteloco · · Score: 1

      Have you normalized this against the demographics of the baby boom (and # drivers by age), then subjected the normalized result to a T-test for statistical significance?

      --

      Where are we going and why are we in a handbasket?
    2. Re:A Most Unusual Bug Indeed by Stormy+Dragon · · Score: 1

      Has the news media? If you want that level of effort for a comment on a semi-obscure internet site, what of major news organizations that want to blare accusations without even considering alternative explanations? Of course, debunking this story wouldn't help their ratings.

    3. Re:A Most Unusual Bug Indeed by Stormy+Dragon · · Score: 1

      To partially answer your question, compare the above to the following graph of number of licensed drivers by age from the Federal Highway Administration:

      Licensed Drivers

    4. Re:A Most Unusual Bug Indeed by Anonymous Coward · · Score: 0

      Maybe it just means baby boomers are spoiled and unamerican assholes and only buy the "cool" cars they see on television. Meaning more buy foreign products like Toyota, then they call their kids "losers" because the boomers spent up the wealth created by their parents and all the jobs are now overseas.

      While boomers may not give a shit about other people, drive recklessly, try to blame accidents they cause on other people, and like to make frivolous lawsuits, I doubt this problem is made up. Software does have bugs you know, and there are a lot of incompetent MCSEs out there posing as real programmers.

    5. Re:A Most Unusual Bug Indeed by John+Hasler · · Score: 1

      Elderly people are less likely to be strong enough to stomp a non-power-assisted brake hard enough to fight off a runaway engine, less likely to have fast enough reflexes to maintain control of a runaway car, and more likely to die in the resulting crash.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    6. Re:A Most Unusual Bug Indeed by Stormy+Dragon · · Score: 1

      There's also the fact that even though Toyota's are sold worldwide, the reports of unintended acceleration are confined almost entirely to North America: The Search for the Gas Pedal Flaw So are American elderly uniquely weak, slow, and easily injured?

    7. Re:A Most Unusual Bug Indeed by Anonymous Coward · · Score: 0

      Aside from the fact that the US has lots more cars and probably lots more elderly drivers than most other countries, it may also have a better reporting mechanism. Furthermore, the media hyping the problem in the US makes other people who otherwise wouldn't report the problem come to light.

      The article actually mentions that unintended acceleration happens in other countries, just that it hasn't been the reported cause of anybody's death. Then it goes on to even give an example of an American that had an unintended acceleration and then didn't die, thus showing that unintended acceleration that doesn't cause death happens everywhere. In other words, Toyota has the problem everywhere, it's just that it's elderly Americans who are most likely to die from it.

      dom

    8. Re:A Most Unusual Bug Indeed by Sycraft-fu · · Score: 1

      The brakes in the cars in question are not only power assisted, but are also anti-lock. They have an extremely high amount of braking force, as do more or less all brakes these days.

  70. Eh, you don't know human beings don't you? by SmallFurryCreature · · Score: 1

    People have died enmass in a fire right beside a fire exit because nobody before them had opened it. People, you and me, ain't smart when the shit hits the fan. The parachute was not invented by a guy while falling from an aircraft. It took someone sitting very quietly behind a desk drinking a cup of tea to come up with that one. People have burned rather then take risk a broken bones jumping from away from a fire.

    In a way, it has to do with training. We are trained not to use the fire exit and not to jump down and not to put the car in neutral while driving. Why, I heard rumors that if you do that, the transmission explodes and you spin violently out of control (or was that going into reverse) (tested on myth busters) and so people lock down in a crisis. They really just stop thinking. We all do it. I can make you freeze just by asking you to say something in a microphone. 99% chance you freez or become a blittering idiot.

    Why do you think there are slip-courses? So you know what to do and have a remote chance that training takes over from thinking.

    It is very easy to say "I would do X" when you are sitting behind a desk.

    --

    MMO Quests are like orgasms:

    You may solo them, I prefer them in a group.

  71. /dev/console by KB3NZQ · · Score: 1

    /dev/console read each line of code as it is getting executed and isolate the line that causes the sudden acceleration

    1. Re:/dev/console by sowth · · Score: 1

      So you are going to hire millions of engineers to sit in everyone's car so they will be watching when it happens?

    2. Re:/dev/console by KB3NZQ · · Score: 1

      reprogram the ECU & black box to log it

  72. If the pedal is stuck by SetupWeasel · · Score: 1

    It isn't a software or electrical problem. It is a mechanical problem.

  73. It Is Not Impossible by Anonymous Coward · · Score: 0

    There is a way to do it and it has with timing and expectations. Read How to Construct 100% Bug-Free Software if you're interested in solving the reliability crisis once and for all. Of course, one must use a synchronous and reactive software model like COSA.

  74. Fault tolerant S/W is necessarily more complex. by Anonymous Coward · · Score: 0

    Trying to code to handle all possible malfunctions can be exceedingly difficult. (Yes, I do have experience with embedded design and code that deals with H/W problems.)

    First off, it can be difficult to determine which set of inputs are normal or acceptable and which ones represent a possible malfunction. Think about the myriad ways that a system can malfunction from bad sensors, noisy voltage, open or shorted connections, crosstalk on cables and so on. I had a system malfunction because a built in A/D converter malfunctioned and the interrupt it generated was lost, causing the system to suspend in time. If the brake and throttle are both pressed at the same time, is that a sensor problem? One foot on two pedals? Or maybe the driver is getting ready to pull a boat up a ramp. Disable the throttle and he'll roll back into the water. Might drown. But he probably won't have time to dial 911.

    Figuring out all of the situations in which the system can malfunction will require an exceedingly fertile imagination. And most likely 90% of those malfunctions will never ever happen in the wild. But it is likely that something will malfunction several years down the road and the engineers will scratch their heads and say "gee, didn't see that coming."

    Now add code to deal with all of those possibilities and you have a combinatorial explosion of situations the code has to handle. That makes it less and less likely that the code will gracefully handle all situations and makes more and more likely that unrelated bugs will be introduced.

  75. I found the problem by wallyh · · Score: 1

    I found the problem. Seems to be some bad code in the cruise control module: DateTime randomTime = Random(time); if (randomTime currentTime && carDriver == "ugly american") { speed = 160; while (true) { if (carDriver.presses(break)) { speed += 5; } } }

  76. Simulate many possibilities, like SETI or Folding by wexsessa · · Score: 1

    How about a project that explores millions of unlikely chains of events. It would record all the events, and if any event-sets were to result in unimagined but catastrophic failure, an analysis of the inputs would probably uncover some interesting facts. This could be run by a distributed computing project, like SETI, Folding etc. Toyota would probably not want to facilitate unauthorized analysis of the processors' code etc, but that could all be sealed in a Black Box so as not to be available except to the project client code, and the inputs & outputs would be encrypted and communicated from/to Toyota (or some appropriate authority).

  77. nice cercopid by Anonymous Coward · · Score: 0

    Since when did two-lined spittlebugs become the bug-of-choice? I thought it was all about the blatellids.

  78. Program more defensively? by LennyP · · Score: 1

    "He argues that embedded systems developers must program more defensively, and that companies should stop relying on software for safety"

    I've been doing embedded systems development since about 1981 at companies such as Intel, Etec, Tait, and contracted for many, many others. None of the companies I've worked for relied solely on software for safety; we all knew better. Whether opening a door, sending a distress signal, or having a robot move there has always been a physical "wall" behind the software to prevent mishaps that could led to bodily harm or mission critical failures. It is patently unfair to claim a generic problem with embedded system developers; especially true considering the extent embedded system are involved in our lives -- from thermostats to microwave ovens, from the bios in our PC to our TV, the list goes on and on. Besides, as to the Toyota problem, we have no idea as to the cause and the reams of data we have are not reliable.

  79. Happens in the US only? by multi+io · · Score: 1

    The last thing I heard was that these Toyota problems happen in the US only, or at least have devastating consequences in the US only. There are reports of more than 50 deaths that are supposed to have been caused by these "uncontrollable acceleration" issues in the US, while the combined death toll of these problems in all other countries is zero. Now, I'm generally not a supporter of conspiracy theories or speculative explanations that suggest things like some mild mass psychosis (culturally induced, irrational fear of evil engines going berserk, maybe?), but if the above numbers are correct, they're far beyond the realm of mere statistical fluctuations.

    1. Re:Happens in the US only? by John+Hasler · · Score: 1

      There are substantial differences among the cars sold in different countries.

      That said, there have been quite a few reports of unintended acceleration events with Toyotas in Japan. The Japanese government is investigating.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  80. Mechanical fuel-line kill switch? by lawpoop · · Score: 1

    Can't we just put a mechanical fuel-line kill switch somewhere in the car? Like a covered button in the dash panel or glove box? No fuel, no go, right?

    But anyways, reading from the statistics, there's been some 50 out-of-control Toyotas for how many millions on the road? It sounds like the expense of installing them would not be worth of. But the PR effects or re-assuring the public might make it worth it.

    --
    Computers are useless. They can only give you answers.
    -- Pablo Picasso
    1. Re:Mechanical fuel-line kill switch? by Anonymous Coward · · Score: 0

      Are you familiar with the Prius? It's a hybrid gas-electric car, with the gas engine used for charging the battery and providing power at higher speeds. If the software is telling the motor controller to send 300A to the drive motor, what good is the fuel-line kill switch going to be? Just hope that the battery dies before you do?

      dom

  81. So, what evidence is there? by russotto · · Score: 1

    What evidence is there that it is a software bug? I mean, sure, a lot of us are computer programmers so we know how unreliable the software can be... but a lot can go wrong in mechanical systems as well. And so far, I haven't seen a bit of evidence which points to a software fault over a mechanical fault. (and some, like the pedal being physically stuck, which points the other way)

    As for the addition bug found in the Pathfinder... I ran into a similar bug once. A simple addition was returning the wrong answer, in the middle of a decryption routine, which would then fail. It was, as was the Pathfinder bug, interrupt related. But, in this case, it was the CPU itself which would screw up the add (as confirmed by the manufacturer's errata sheet); hardware, not software. Sure, software's unreliable. But it's not the only thing which is.

    1. Re:So, what evidence is there? by aXis100 · · Score: 1

      I guess two issues:

      1) Until now, completely mechanical accellerators rarely had unintented accelleration problems. Yes they did get stuck occasionally, but was easy to identify after the incident. That puts the new technologies - software and drive by wire systems - under suspicion.

      2) Of the cars that have had unintended acceleration, they's only been able to find a small number (1?) of incidents where evidence of menchanical failure was found.

  82. to much hype by luther349 · · Score: 0

    as a driver of course i have all kinda of situations of something failing on my car being its a old car. the key to any bad situation is not to panic. these would be the same drivers that hit other cars if there brake failed rather then quickly applying the ebrake. the system there wanting to put in cars the smart peddle does the same thing shutting off the car yourself would do. trust me i was going down i-75 in my car and a brake line blew being my car is a single cylinder brake system i lost all braking power and had to pull the ebrake locking the rear tires did i crash no. of course my cars sensors all work and both my abs and brake light lit up right away telling me there was a major problem. i dunno abought other drivers sometimes even if you car all of a suddion whent to full power for no reasion thers always that off button stoping that chain of events dead. weather toyotas cars have a real issue or not driver skill still is the reasion people died. drivers tend to panic hen there put in a bad spot and bad things happon. im not blaming them but any good driver should knoe what to do in case of a runaway or failer of the brake system. but in the usa you dont not need to knoe these things to get a liance to drive.

  83. "It's good enough, shippit." by grikdog · · Score: 1

    It sucks, skippit. But gee, thanks, Mr. Gates, for a philosophy that proves those clowns at IBM had some of it right in the prehistoric Sixties. (I.e., racks of software printouts, and a multitiered CVS with flinty-eyed human engineers running the protocols, not some flimsy database system.) You had to SIGN your stuff in the old days.

    --
    ``Tension, apprehension & dissension have begun!'' - Duffy Wyg&, in Alfred Bester's _The Demolished Man_
  84. Toyota stands behind their products! by symbolset · · Score: 1

    And that's good, because it's not so safe to stand in front of them.

    /Not mine. Shamelessly stolen. Love my Camry. Don't sue me. Please?

    --
    Help stamp out iliturcy.
  85. I'd bet the problem is... by alewar · · Score: 1

    a race condition!

  86. Therac-25 by Anonymous Coward · · Score: 0

    http://courses.cs.vt.edu/cs3604/lib/Therac_25/Therac_1.html

  87. Design by krischik · · Score: 1

    This is why you should put more effort in design and proving http://en.wikipedia.org/wiki/SPARK_(programming_language) and not use C as programming language.

  88. usually it's C by krischik · · Score: 1

    So you know: most car manufactures use C for embedded programming. I consider that wrong - they should use Ada or better SPARK-Ada http://en.wikipedia.org/wiki/SPARK_(programming_language) instead.

  89. More information: neutral and engine spin up by Anonymous Coward · · Score: 0

    Aisin-Warner is one of the largest AT manufacturers for cars in the world (and, by the way, a daughter company of Toyota). The shifter is directly connected to AT itself by mechanical wire -- albeit not to the valve box. This is not possible as you have five/six valves operating the AT and those five/six valves do not directly correspond to the individual gear settings.

    At least the AT control system software as delivered here in Germany does NOT prevent spin up of the engine. Either there are different software versions or you mix up things: there are two control boxes, one for the AT itself and the other one being the engine control box. The engine control box does overspin control -- in my case it will cut gas supply immediately around 6500 U/min. The AT control box does not do any engine control: it just asks the engine control box to reduce torque when changing gears.

    And before you ask -- yes, I checked that with my own car just some days ago: at 130km/h hit the lever into N and up goes the engine.

    It is a question of system design. Maybe Toyota needs to learn a lesson?

  90. wrong language by krischik · · Score: 1

    Since most car manufactures use C it would be:


    if (brake_input > 0)
            {
            accelerator_output=0;
            }

    Of course I think using C is wrong to begin with...

    1. Re:wrong language by markbark · · Score: 1

      The above was not intended to be representative of any particular computer language; it's pseudocode.
      I would imagine that any code for an embedded system like a car computer would be in some flavour of machine code.

      Regardless of the language the idea is the same: if you have ANY brake input, throttle input should be ignored.

  91. NASA's production advice by OldJuke · · Score: 1

    Let's all follow NASA's design methods. The 2011 model cars will be available sometime after the year 2050, that is if the project isn't scrapped around 2040.

  92. Shades of Gray by JohnReid · · Score: 0
    When control system problems are viewed as either hardware or software in nature then the source of the problem can be very difficult to isolate. Instead, the systems a whole needs to be looked at objectively as to what could be the source of the problem.

    So far all I've heard is probes into stuck gas pedals and software review. Of course, if the problem is not a stuck gas pedal then the assumption is the hardware is fine. If the software is tested thoroughly, then it too must be fine and the problem doesn't exist. Yet, something is happening.

    Having been involved in the hardware and software investigation of very intermittent problems, it's not surprising to see these discussions. This happens when the vendor doesn't really want to find the problem, but rather put the blame elsewhere.

    There are other sources of problems, and they can be difficult to replicate and even harder to fix. The two most common areas I've experienced have been timing and interference. Timing issues can be anything from handling of interrupts out of sync with clocks or other code. Interference can affect sensors or logic levels from external RF energy, electrostatic discharge, or noise from in-circuit inverters. Interference is the toughest because the source that happens in the field doesn't always exist in the lab.

    The possibility of interference as a source of the problem is also a hard pill to swallow for some engineers because they tend to trust shielding that is either insufficient or not properly installed, thus making it more of an antenna and transformer of energy rather than protecting the equipment from that energy. Elimination of the source of the energy at the hardware is one method of solving the problem, but it doesn't hurt to have the proper software rules in place to insure that exception conditions are handled properly (for instance, you shouldn't need to press the brake and accelerator to force the vehicle to slow down. When the assumption is the accelerator is stuck and you only try to press the brake, nothing happens because the accelerator isn't actually stuck... duh).

    Instead of testing such narrow parameters for the situation to appease Congress, Federal officials, and Toyota Management, a broader scope should be done. The quickest way would be by Toyota engineers who have knowledge and access tot he internals, but if they cannot be open minded about it then a third party with full access to the designs might be in order.

    --
    Hi ho silver
  93. Songs in the key of *DUH* by wwphx · · Score: 1

    I've been contending for ages that car makers, now that they're essentially doing fly-by-wire, need to hire aviation engineers to make their systems triple-redundant. A car may not be "fall out of the sky if the computer fails", but slamming in to a bridge abutment at 90 MPH is just as deadly to the driver.

    I had a 2000ish Isuzu Rodeo. It had drive-by-wire throttle. One day the Get Serviced Now light came on and the acceleration dropped to a pitiful number. It ran fine, still had good top speed, just no acceleration. Took it to the dealer and found out that the throttle sensor went bad, and if the computer did what it was told by the sensor, it would have trashed the tranny. So the computer locked the tranny in to 3rd gear and told me to hie me hence to a dealer. This is the sort of failure path that this sort of electronic control system needs.

    --
    When you sympathize with stupidity, you start thinking like an idiot.
  94. Mechanical Systems Fail by not-my-real-name · · Score: 1

    Years ago, I had a Datsun B210. There probably wasn't even software in the car radio. I lived in the Seattle area at the time. It's fairly humid there and at certain time a little ice would form in the carburetor and cause the throttle to stick open. The first time it happened to me was a bit of a shock. I stepped on the clutch and the RPMs jumped. I then hit the brakes, and turned off the engine and costed to the side of the highway.

    The next time it happened I discovered that kicking the accelerator pedal would break the ice and let things work normally. Not too long after that, "Oxygenated Fuel" was introduced and the problem disappeared.

    --
    un-ALTERED reproduction and dissimination of this IMPORTANT information is ENCOURAGED
  95. touch-sensitive dashboard is the problem by minstrelmike · · Score: 1

    I'll bet the touch-sensitive dashboard is the problem. Click and Clack said it could cost $800-$2000 to fix one messed up by a teacher putting a refrigerator magnet on it. What other sorts of random inputs will occur from dust, sweaty hands, or spit? I'll bet they haven't tested for that at all.

  96. Toyota has their apologists at full throttle by WindShadow · · Score: 1

    I see that Toyota apologists are in full cry, trying to prove that Toyota unintended acceleration is really due to a bunch of old people who don't know how to drive, young people driving badly, and almost anything other than a real defect in the throttle software. Steve Wozniac (Apple founder and designer) says he can replicate the problem at will, and he claims that Toyota is ignoring him. Wonder why.

    Other things to consider:
    - The same old and young drivers don't report unintended acceleration for other brands.
    - The unintended acceleration in other cars was a real human design defect[1]
    - The press (other than Slashdot) has ignored Wozniac as well, for the most part

    [1] It seems that if pedals are put in a "stick shift" configuration, throttle on the right, brake in the middle, and (space for) clutch on the left, people don't hit an unintended pedal. Putting the brake and accelerator in the middle space, under the wheel, is more likely to result in error. Since the elderly and young men are somewhat more likely to have driven manual transmission, they are more likely to stomp in the middle of the floor looking for the brake under stress. Call that human error exacerbated by design factors. But those were not situations lasting for minutes.

  97. Black box blackness by WindShadow · · Score: 1

    Also, if Boeing built a car, it would have a flight data recorder which investigators could examine and say for example "Looks like both(*) potentiometers on the accelerator went hard over at the same time, so we go look on the branches of the fault tree where there's a common-mode failure in the potentiometers or the pedal is down due to mechanical or pilot error".

    (*) If I remember correctly from my obsessive pre-purchase research on Priuses, there are two separate sensors for accelerator position.

    There are black boxes, and several stories circulating about them. The first says there is only one laptop in the entire USA which can read the black box codes. And the other claims that the black boxes are now not recording brake and throttle settings, or so Toyota claims. Call me paranoid, but if that data showed something which proved the throttles didn't stick or the brakes weren't used, I bet Toyota would give the NTSB a hundred of the laptops. Of course I would promptly crash a Toyota with brake and throttle on and see what the readings were, "I am not a trusting person."

    The link I gave to the Associated Press story notes both accusations, and a number of other steps Toyota has taken to hide the black box data. As Nixon found, the damage from being caught in a coverup is worse than the crime.

  98. Valid point but overstated by WindShadow · · Score: 1

    To me it suggests that older drivers are having more difficulty coping with the situation once it arises.

    Forbes says that the guy who got himself plastered all over cable last week was 'afraid' to put the vehicle into neutral, or to turn off the engine:

    http://www.forbes.com/2010/03/12/toyota-autos-hoax-media-opinions-contributors-michael-fumento.html?boxes=financechannelforbes

    (They link the 911 recording:

    http://www.thetruthaboutcars.com/the-jim-sikes-911-call-23-minutes-of-unintended-acceleration/

    )

    So apparently being an idiot is also a likely factor in the failing to cope with the incident before it becomes lethal.

    But they key observation is that the higher number of fatalities among older drivers doesn't really point to the source of the problem being driver error (rather, the driver error is in failing to deal with the situation once it arises).

    You certainly don't have to be an idiot to fail to handle a stuck throttle, most people will never have the experience, and if it becomes a problem starting at highway speeds, many drivers may feel the need for both hands on the wheel. I would want to know in advance that I could turn the engine off without engaging the steering wheel lock. And that it kills both the electric and gas power in a Prius. Shifting to neutral is likely to to be the last resort, but most effective.

    There could well be an issue with the anti-lock brakes as well, if the braking power is being limited, they may well not have the stopping power needed to overcome the engine, the recent police assisted stop was made made after slowing with the emergency brake which probably is mechanical and will actually lock the wheels. That would explain the claims that the brakes were full on but the car didn't slow down, and the odd signs of only partial brake application noted in some cases. Apply full engine power and limit brake effectiveness, if that bug could be proved it would explain many things.

    It would also probably exonerate the man who is in prison after unintended acceleration.

    1. Re:Valid point but overstated by maxume · · Score: 1

      I'd have to go check, but I believe there is an interlock between most automatic transmission and the steering wheel lock, so that the lock will not engage when the vehicle is not in park. Really, since I drive a car with an automatic, I should know that, shoot (of course, for a manual, the clutch obviates the entire discussion). If I'm in a runaway vehicle coming up to cross traffic, reducing speed is a lot more important than maintaining steering.

      Anyway, even if I were uncertain, I'm pretty sure I would reason through it and realize that even if I did accidentally lock the steering wheel (by moving the key too far), I would be able to release it right away by turning the key back.

      And I'm pretty sure most antilock brake systems actually increase the effectiveness of the brakes (the actuation results in more friction between the vehicle and the road surface).

      I won't be surprised if a flaw is eventually uncovered. I also won't be surprised if more and more cases are revealed to be pedal error.

      --
      Nerd rage is the funniest rage.
    2. Re:Valid point but overstated by WindShadow · · Score: 1

      And I'm pretty sure most antilock brake systems actually increase the effectiveness of the brakes (the actuation results in more friction between the vehicle and the road surface).

      I won't be surprised if a flaw is eventually uncovered. I also won't be surprised if more and more cases are revealed to be pedal error.

      An antilock braking system is intended to preserve steering by "pumping" the brakes so the tires don't lock. However, this reduces the ability of the brakes to stop the wheel, and gives a longer but more controlled stop. If the antilock decided that it should pump the brakes it would reduce the driver's ability to slow the wheels. The fact that the car stopped by police only slowed when the emergency (mechanical) brake was applied suggests this. I'd love to interview the driver and see if he noticed the brakes throbbing.

    3. Re:Valid point but overstated by maxume · · Score: 1

      The system only pumps the brakes when it detects slipping. Static friction (that's what limits braking force when the tires are rolling) is actually a larger force than sliding friction (which is what limits braking force when the tires are slipping).

      So in practice, ABS can actually increase braking force.

      --
      Nerd rage is the funniest rage.
  99. Hype can cause death by traindirector · · Score: 1

    Plus, all this hype around these Toyota acceleration problems is just that, hype.

    So... 52 people hyped to death. That might be some kind of record.

    52 people allegedly hyped to death.

    Few if any of these tragic incidents have yet been demonstrably linked to either defect-related unintended acceleration or media hysteria.

    However, I would expect hype-related deaths to increase as drivers of Toyotas and other vehicles make unusual fear-based driving decisions concerning the perceived threat of runaway Toyotas (or try to cash in on the lawsuit).

  100. Toyota acceleration...bugs by Anonymous Coward · · Score: 0

    Phooey on the whole acceleration bug...the people that are having problems are inept and I think part of a smear campaign.

  101. Re:both feet Varnish error. So this is part #1 by cdn-programmer · · Score: 1

    I learned to drive using both feet! I learned to drive using the left foot for the left brake and the right foot for the right brake. I used my left hand for the clutch and used the right hand for the throttle! I could hit either or both brakes with the throttle fully engaged. Usually I had the throttle fully engaged.

    When I had to turn a corner I would spin the steering wheel usually with my left hand and if the front wheels were not biting enough I'd hit a brake. I usually drove only with the left hand on the steering wheel and usually in the 6:00 position and never at 10:00 and 2:00! I usually drove looking in the opposite direction where I was going. I knew the route pretty well so I had a pretty good gut feel when a turn was coming up and I did look forward for the turns.

    I took all the turns at full throttle and usually at full speed!

    I also judged my position in the lane by looking at the ditch. This meant that while I was looking backwards really I had one eye on where I was and one eye on the ditch. I never hit the ditch once! I never got too far from the ditch either! I was always dead center in the sweet spot of the lane.

    So that folks is how I learned to drive! I figure what they teach in Drivers Ed is for sissies!

    Also I got my drivers license when I was 16. There was a box on the application form where I had to indicate how many years of driving experience I had. I put down "4". I learned to drive when I was 12. When I was 13 I was driving 8+ hours a day sometimes. I figured I'm not going to lie on this thing. If I have 4 years experience then I say I have 4 years experience! I got my driver's license on the first try. I had not taken any driver's training.

  102. I'll make my own conclusions by fulldecent · · Score: 1

    Where can I download a dump of the original and reflashed accelerator code that is available and driving around on countless cars today?

    --

    -- I was raised on the command line, bitch

  103. Source of "infallible"? by onemorechip · · Score: 1

    I've looked far and wide for a quote from Toyota where they claimed that either their electronics or their software was "infallible", with no luck. What I did find were several passages similar to "Toyota's assertion that its electronics are infallible" with no citation of such an assertion.

    Infallibility sound like something no sane manufacturer would claim. Can anyone cite where this alleged claim was made?

    --
    But, I wanted socialized health insurance!
  104. Top 5 Myths About Prius Runaway Acceleration by mrflash818 · · Score: 1

    Apparently shifting to Neutral on the transmission is the suggested way to go:

    "...the first thing a driver should do is to put the transmission in Neutral. A driver can place the Prius in Neutral by moving the shift lever to the “N” position—to the left side of the shift gate, and hold it there for a second. This stops the torque to the wheels, and gives the driver instant speed control over the vehicle, and allows the driver time to assess what is happening. Shifting into Neutral at full throttle will not damage the engine. "

    http://www.hybridcars.com/safety/top-5-myths-about-prius-runaway-acceleration-27507.html

    --
    Uh, Linux geek since 1999.
  105. Anonymous Coward by Anonymous Coward · · Score: 0

    I agree with this article. I'm a software engineer - software without bugs is unheard of. Look at Windows - they've spent many years and millions (if not billions) of dollars making it better, but it still crashes, you still get the "blue screen of death" sometimes. It's not because they're incompetent - it's because complex software systems are really, really hard to make without bugs. Especially closed source.

    Furthermore, unlike with spacecraft software, normal developers don't bother testing for very unexpected results. I'd be extremely surprised if Toyota did. So if there is some hardware problem, some spike/short circuit somewhere that manifests once in a blue moon, that could lead to incorrect results and for example signal that the brake is not pressed even though it is.

    I don't trust software. No one should trust software. I'm buying my next car with manual transmission so that I have more control over it. Whether Toyota's problem is software related or not is irrelevant; sooner or later, there WILL be deaths caused by software bugs, I guarantee it.