Slashdot Mirror


Faulty Microsoft Driver Saps Intel Core Duo power

Critical_ writes "Tom's Hardware recently discovered a bug in Microsoft's ACPI driver implementation under Windows XP SP2 that causes a loss of more than one hour of battery time when connecting any USB 2.0 device to an Intel Core Duo based system. Apparently Microsoft, Intel and ODMs have known of this problem under a confidentiality agreement since July 12, 2005 via (a still private) Knowledge Base article KB899179. The bug lies in the asynchronous scheduler component inadvertently being left running causing Windows' internal task scheduler (ITS) to treat it as a running process involving the attached device. This in turn prevents the ITS from powering down the processor into one of the ACPI sleep states causing the system to use more battery power. At this time there seems to be no fix. Strangely, single-core systems and AMD systems are not affected. This leads one to wonder if it is truely a software problem or if there a much larger hardware problem that may affect Core Duo equipped Apple systems."

33 of 268 comments (clear)

  1. And thanks to the confidiality agreement by Anonymous Coward · · Score: 4, Insightful
    You'll never know if you're being asked to buy broken hardware or broken software.


    Seems best to stay away from both companies.
    Why can't they just be honest and say "this is the problem and this is what we're doing about it"

    1. Re:And thanks to the confidiality agreement by MadTinfoilHatter · · Score: 5, Insightful

      Why can't they just be honest and say "this is the problem and this is what we're doing about it"

      Because they don't want people to know there is a problem, and that they're not doing anything about it, maybe?

    2. Re:And thanks to the confidiality agreement by willfe · · Score: 3, Informative

      Because as the article suggests, it may be a functionality problem in the Intel hardware that the Microsoft driver exposes. Sure, Apple's not using Microsoft's drivers, but suppose their own work accidentally stumbles into this and starts grinding through those shiny new Mac batteries. What happens then? More accusations of FUD as batteries start going flat sooner than they're supposed to?

      --
      Read my stuff.
    3. Re:And thanks to the confidiality agreement by squiggleslash · · Score: 4, Interesting
      Did anyone else read this, slap their foreheads, and yell "THAT's why Apple is claiming the demonstration MacBook Pros were prototypes and why they're not releasing battery life figures?"

      It actually all makes sense now. The hardware may be finalised and actually be rolling off production lines, but I'm guessing the "prototype" designation actually reflects the software side, with Apple also triggering the same bug and wanting to work with Intel on a workaround.

      --
      You are not alone. This is not normal. None of this is normal.
  2. Why? by Stefman · · Score: 5, Insightful

    Why does the last phrase target specifically Apple computers since the beginning mentions Win XP. Obviously, this affects XP laptops with a core duo.

    1. Re:Why? by peragrin · · Score: 4, Insightful

      The problem is where does the failure lie?

      My bet the problem is in BIOS, and not EFI. Since this affects only XP computers and those require bios to function. BIOS with ACPI has always been a poor hack. Windows Computers have always had a hard time returning from sleep with 100% accuracy. Maybe it wasn't windows fault but the bios underneath.

      Wait did I just say it wasn't windows fault? damn I have got to get some sleep.

      --
      i thought once I was found, but it was only a dream.
    2. Re:Why? by ceoyoyo · · Score: 4, Funny

      Because nobody cares about another bug in Windows. But what if it's not in Windows, and it can affect the Mac?? Panic!

    3. Re:Why? by gEvil+(beta) · · Score: 4, Funny

      (if it was, they would have fixed it by now).

      Ummm, because Microsoft is well known for getting software fixes out quickly?

      --
      This guy's the limit!
    4. Re:Why? by undeadly · · Score: 4, Informative
      My bet the problem is in BIOS, and not EFI. Since this affects only XP computers and those require bios to function. BIOS with ACPI has always been a poor hack.

      Yeah, listen to what OpenBSD developers implementing ACPI support thinks about ACPI

      Also the ACPI spec blows other specs out of the water when it comes to unreadability. It's a classical spec in the sense that someone was bribed to go to Honolulu to "talk the spec over" and "reach a compromise". They don't even use spec language like shall and optional! It's deliberately vague so that everyone involved could agree. So Marco's engineering assessment is ACPI is a pile of camel pooh.
  3. confidentiality agreement by nurb432 · · Score: 5, Interesting

    This sort of thing should not be permitted. We arent talking about R&D agreements here, this is a *currently selling product*. They are hiding the fact its known defective from the consumer.

    Isnt this a basis for a class action fraud suit? If not, it should be investigated by the SEC at least.

    --
    ---- Booth was a patriot ----
    1. Re:confidentiality agreement by dysk · · Score: 5, Insightful
      Isnt this a basis for a class action fraud suit? If not, it should be investigated by the SEC at least.
      The SEC investigates fraud which victimizes shareholders. This is fraud against consumers, a much less important group.
    2. Re:confidentiality agreement by shaka999 · · Score: 4, Insightful

      Would you sue ATI or NVIDIA for updating their drivers and getting more out of the hardware? Obviously there was a problem where the hardware wasn't being used to its full potential?

      How does the shorter battery life make this defective? If the company had sold this as having a much longer battery life then failed to live up to it then that would be a problem. Just because the software (or hardware bug) isn't shutting down a processor doesn't make this a legal issue.

      --
      One should not theorize before one has data. -Sherlock Holmes-
  4. Kinda First Post by BasharTeg · · Score: 5, Funny

    First post from a laptop running XP SP2 with a USB 2.0 device connected with the asynchronous scheduler component running preventing my CPU from entering one of the ACPI sleep states and thus draining my battery life.

    1. Re:Kinda First Post by vagabond_gr · · Score: 4, Funny

      Last post from a laptop running XP SP2 with a USB 2.0 device connected with the asynchronous scheduler component running preventing my CPU from entering one of the ACPI sleep states and thus draining my battery life.

      See you again when I find my charger.

    2. Re:Kinda First Post by BroncoInCalifornia · · Score: 3, Interesting

      Could you repeat the expiriment running Knoppix and report back to us.

      More seriously though, Tom's Hardware should repeat the experiment with a Linux distro that is notebook friendly and has a SMP kernal.

      --

      Religion is the main cause of atheism.

  5. Submitter didn't RFTA by rosalindavenue · · Score: 5, Insightful

    Quote: "Since Microsoft's drivers are now believed to be directly involved, then all of Apple's upcoming MacBook Pro systems - which use the Core Duo processor and 945 chipset - should be unaffected by this issue. We have yet to attain access to a MacBook Pro to verify this." Why bring Apple into a conversation about a defective XP driver?

  6. You hit the nail on its head! by Anonymous Coward · · Score: 5, Funny

    "Hmm... Microsoft, a bug, Intel, Apple and dual core in the same article. I wonder if this couldn't generate some tasty clicks? Quick, put it on the frontpage!"

  7. Comon.. by evilNomad · · Score: 5, Insightful

    "Strangely, single-core systems and AMD systems are not affected."

    So once again we have a chance to bash Intel, perfect!

    Did you ever stop to consider that maybe that specific state, which cannot be reached, is only utilized by the Core Duo? Maybe if AMD had a laptop dual core chip we'd see the same behavior.. But hey, if we can make Intel look bad because of a Microsoft bug, then we are two for two!

  8. It looks like a software problem. by stikves · · Score: 4, Informative

    I do not know the exact details, so accept this as a pure speculation.

    It seems like a software problem. Think it like the "Weak Reference" issue in garbage collection. Since a system task is always demanding CPU the ACPI subsystem will of course not decrease the power.

    Such things also happen in Linux world. For example the update daemon causes disk activity every 10 minutes, which prevented the hard disk from spinning down. Since this was a big issue with laptops, it's now fixed in later versions (my system no longer has /sbin/update).

  9. Re:Disgusting Insensitivity by csirac · · Score: 3, Informative

    Maybe CowboyNeal has been in the living in the basement for too long, but everybody else knows that saying "chink" is very offensive to Chinese, Japanese, and other Asian people.

    "Chink in the armour" is an outrageously common phrase in the English language.

    My thoughts when I read it? "What does armour have to do with battery runtimes...".

    The first thoughts of racist association did not enter my head until I read your comment. I'm from Australia, though, and if people are going to be racist there are much worse words that can be used.

  10. Re:Disgusting Insensitivity by Anonymovs+Coward · · Score: 4, Informative
    Maybe CowboyNeal has been in the living in the basement for too long, but everybody else knows that saying "chink" is very offensive to Chinese, Japanese, and other Asian people.

    I know it's an old phrase, but niggardly is a word that most people do not use anymore either because of the racist connotations.

    Don't be ridiculous. A "chink" in English (including American) is a small crack or a weak spot. And a "niggard" is an English word meaning a miser. It dates back to Middle English, and before that to Scandinavian languages. Neither word has anything to do with racism.

  11. Re:AMD's Dual Core x2 4400+ problem as well by Anonymous Coward · · Score: 5, Informative

    I have almost exactly the same hardware (except for the graphics card, I use a Quadro FX4000), and there is absolutely no problem.

    I dual boot between Windows XP Pro SP2 for gaming and Windows XP Pro x64 for work, and both work absolutely perfectly. The only issue so far has been that of stable 64-bit driver, but that only pertains to the graphics card.

    You might want to check your system for memory errors (if you are using cheapo RAM) or for a motherboard problem. Windows itself (assuming you arent using any broken drivers) works brilliantly with this hardware.

    I have been running this system since November with only one or two reboots.

  12. Yawn, non free sucks. by twitter · · Score: 3, Interesting
    Strangely, single-core systems and AMD systems are not affected. This leads one to wonder if it is truely a software problem or if there a much larger hardware problem that may affect Core Duo equipped Apple systems.

    Critical_ sees a typical Wintel bug and thinks Apple has a problem. It's an interesting thought, but not one to publish without checking.

    APM and ACPI, designed in part by Microsoft, have always been secretive and buggy. Tricky hardware that constantly varies like Winmodems is the rule and I'm amazed the Linux works so well with any of it.

    The only thing worse than the hardware has been Microsoft's software on top of it. While I'm able to keep laptops up for more then 40 days by using APM and hibernation or ACPI and suspend, my Microsoft using friends have to reboot. They tell me that their Word documents get corrupted on resume if the machine resumes at all. Cluster on cluster, all of their complex nasties designed to thwart competitors only bite them in the rear despite the fact they wrote the specs themselves and have hardware details no one else does. This is what to expect from non-free.

    IBM cell based hardware running GNU/Linux is going to blow all of this trash into a distantly remembered nightmare.

    --

    Friends don't help friends install M$ junk.

    1. Re:Yawn, non free sucks. by Critical_ · · Score: 4, Insightful

      Critical_ sees a typical Wintel bug and thinks Apple has a problem. It's an interesting thought, but not one to publish without checking.

      I never concluded Apple had a problem. Rather I suggest it could be a problem because Microsoft's ACPI driver communicates with the ICH7-M Southbridge. If I am not mistaken, Apple uses the same southbridge on it's hardware. As the article repeatedly states, this issue can be anywhere on the chain from the southbridge, the Microsoft driver or even the attach peripheral. If it's purely a driver problem then why has it taken Microsoft and Intel 6 months of a non-working fix? Why are single core systems not affected by the same driver? Could this issue affect Linux or Mac OSX users on those platforms? Sure it could be a state-based issue but no one can really know until further testing takes place and Intel/Microsoft release more details.

  13. Re:Disgusting Insensitivity by Anonymous Coward · · Score: 5, Funny

    I'm sorry, there must be a spic on my screen. Isn't Arnold Schwartzanigger a fan of Canadian honkey?
    I enjoy watching it too sometimes, unless it's a nice windy day out, then I'd rather be out flying a kike.

  14. Re:Disgusting Insensitivity by Turn-X+Alphonse · · Score: 3, Informative

    I guess it depends how you read it.

    Chink in the armour - An asian in the armour, so clearly your defences are now screwed
    Chink in the armour - A slight defect/damage to the armour.

    Define in Google says

    * offensive terms for a person of Chinese descent
    * tinkle: make or emit a high sound; "tinkling bells"
    * a narrow opening as e.g. between planks in a wall
    (more here but unneeded).

    I guess when people can't do a simple check on a word they must run around screaming racist/sexist/whatever, just to make sure we don't miss their ignorance.

    --
    I like muppets.
  15. YEAAAAHHHHHH... by CODiNE · · Score: 5, Insightful

    This article really pinpoints to me one of the best things of all about Apple switching to Intel, REAL OS COMPETITION. Now at last if Windows seems dog slow, you can't claim it's the Intel chip... or when the Finder seems the suckage, you KNOW it's the Finder and not the PPC chip running at a lower MHz. Once we start seeing these systems getting into people's hands and they notice a real difference between the two OS' on the same hardware you can bet they'll be whining about it and performance will definitely be a focus for both OS venders. In the past they could have been lax about it... thinking "But what can they compare it to?" but now if they can show that Quartz drawing is 3x slower than DirectX or vice versa, you can bet there will be performance updates in the near future. This is better for all of us.

    P.S. Linux doesn't really count in this manner because it gets ignored as a "geek OS" and not really something anybody can run.

    --
    Cwm, fjord-bank glyphs vext quiz
  16. full disclosure of bugs by l2718 · · Score: 4, Insightful

    I'm not sure you can label the product as "defective". Software is too complicated to be labelled "defective" just becuase it has bugs. Moreover, I'm not sure you could legally require Microsoft to reveal every bug they know about, especially since the software you bought carried a prominent notice in the EULA saying, roughly "This software is not guaranteed to work; if it fails to function in some way it's not our problem -- you shouldn't have relied on it in the first place". They never promised the ACPI driver will actually work. Note that the GPL carries a similar clause.

    That said, I'd rather rely on free software to function as advertized. When the big pieces fail (kernel, web broswer, ...) fixes are usually quick since many experts are working transparently. When small pieces fail (my favorite editor) I can fix them myself and submit a patch.

    The other solution, of course, is to pay for warranty. The problem is that no-one is willing to guarantee Windows will work, and that includes the hardware OEM -- I'm sure the people who make the laptop will say that they can't warranty someone else's OS.

    1. Re:full disclosure of bugs by kfg · · Score: 3, Insightful

      Software is too complicated to be labelled "defective" just becuase it has bugs.

      Just about everything is "too complicated" to be labeled "defective" if you're going to take that approach.

      But "defective" is simply as defective does.

      If your car engine tears itself apart after 10k miles because a piston was made out of tolerance that is a defect because the part is a piston, not due any actual property of the object itself. It's role is to play a part in a system, and it is the system that defines the defect.

      Perhaps you are laboring under the misapprehension that that warranty guaruntees function. This is obvious nonsense as just about everything can only be guarunteed to not function under certain circumstances. Perfection does not exist if only because perfection is defined by the environment.

      A warranty simply states that the producing takes responsibility for certain failures.

      KFG

  17. Microsoft Bugs CAN affect Linux and Apple by essinger · · Score: 3, Informative

    What if the current ACPI driver isn't faulty but the previous one was? What if Intel relied on the previous driver to design the sleep functions for the Core Duo? Then Microsoft fixes the ACPI driver. Uh-oh. This kind of thing happens in software all the time. There does seem to be some evidence for this scenerio in the article.

    The problem is only reported on the latest Service Pack.

    The problem has been known for seven months but not "fixed."

    The problem only occurs on the Core Duo.

    Microsoft seems ready to take responsibility for the problem even though the evidence points to a hardware problem.

    The following quote from the Intel rep -- "It is something we have asked our engineers to put a high priority on. At this time, we may be able to solve the problem through drivers, firmware and software. If there is no solution from a software persepctive, we will look into hardware fixes for future platforms to prevent this issue."

    And this other quote pointing a finger at the reference implementation -- "All the vendors have to design their products according to the power management specifications. If one component is not working properly, the whole system may be impacted."

    So even if the bug was a Microsoft bug it could still affect all other system using the hardware designed to run on Windows.

    You'd think the authors might install Linux on the notebook to check.

  18. God I wish I had mod points right now. by Andy+Dodd · · Score: 4, Informative

    "IBM cell based hardware running GNU/Linux is going to blow all of this trash into a distantly remembered nightmare."

    No, it isn't. It's not even going to come close. It's not even going to exist, ever. 90% of the Cell's computing horsepower is in the SPUs, which are optimized for signal processing and geometry processing applications (namely, grinding away on lots of number crunching). No instruction reordering, floating-point only, and very limited branching functionality. The coprocessors are more comparable to devices such as Analog Devices' TigerSHARC or TI's TMS320 series than any general purpose CPU. Despite the insane floating point performance, you don't see TigerSHARC or TMS320 based computers, do you? That's because they are not suitable for general purpose computing in any way.

    The Cell's general purpose "controller" CPU is an incredibly stripped down PPC core that has incredibly low performance compared to any standard general purpose CPU.

    While it will have incredible performance for gaming and signal processing, the Cell is an utterly crap CPU for general purpose computing. Using a Cell in a normal desktop machine is like trying to cut a tree trunk with a cordless electric drill rather than a reciprocating saw. No matter how nice of a drill it is, it's going to do a shitty job compared to even the cheapest recipro saw, if it manages to do the job at all.

    --
    retrorocket.o not found, launch anyway?
  19. There may be no fix, but there is a workaround by Anonymous Coward · · Score: 4, Informative

    I assume this has been posted previously, this is what you've got to do:

    1. Click Start, click Run, type regedit, and then click OK.
    2. Locate, and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\USB
    Note If the USB subkey does not exist, create it. To do this, follow these steps:a. Select the Services key. On the Edit menu, point to New, and then click Key.
    b. Type USB in the New Key #1 box to name the new key "USB."

    3. Right-click USB, point to New, and then click DWORD Value.
    4. In the New Value #1 box that appears, type EnIdleEndpointSupport, and then press ENTER.
    5. Right-click EnIdleEndpointSupport, and then click Modify.
    6. In the Value data box, type 1, leave the Hexadecimal option selected, and then click OK.
    7. Quit Registry Editor.

  20. Re:Disgusting Insensitivity by Bemopolis · · Score: 3, Funny

    You must be crackers; any one can see that this is a slippery slope. And being sued for your racist talk doesn't spook you -- well, you must have a lot of guineas saved up.

    You would do well to keep your language spic and span.

    Bemopolis, a lousy mick

    --
    "I guess the moral of the story is, don't paint your airship with rocket fuel." -- Addison Bain