Upgrade Your Pentium's Microcode 114
BugBBQ wrote to us regarding a a recent Byte column which talks about BIOS Update, a feature that Intel has built into their chips since the Pentium Pro. One of the interesting parts is that there's no checking to see if a code update is legit, according to the article.
2,048 Bytes (Score:1)
Re:Uh-huh. (Score:2)
You're absolutely right, but I think the point is that Intel could upgrade the microcode in the event of new performance research, security fixes, or another show-stopper division bug. An perfectly reasonable idea, IMHO.
On the other hand, I've written some very simple microcode for a scaled-down x86 instruction set, and the ability to run it on a live machine, rather than under emulation, would make a great academic tool for graduate-level students.
Re:Potential hazards? (Score:2)
Argh. The uppity nature of Athlon advocates is getting more than a bit annoying. It's not like the Athlon is some brilliant new processor with no ties to Intel, you know?
Re:Intel's description (Score:1)
"The Pentium III processor may contain design defects or errors known as errata that may cause the product to deviate from published specifications. Usually the effects of the errata can be avoided by implementing hardware or software work-arounds"
I don't find that very reassuring. I mean basically they're saying "Hey guys, our flagship processor is crap, but we MAY be able to fix it.
Reading things like this serves to reassure me that I made the right decision to buy an Athlon.
Sorry Linus... (Score:1)
You'll be sleeping on the streets by wednesday. Ahahhahaaa!
- SIGNED BILL GATES
what it? (Score:1)
--------------------------------------
Hrm (Score:2)
I am going to change the code on all the development boxes so a logical AND will be a local OR, that should mess with the programers head.
Re:Linux microcode update util (Score:2)
My celerons were bought a year ago, and presumably have older microcode.
So someone else mentioned that "steppings" were just microcode changes. Is that true? If I get the linux microcode update utility and hack my system to use it, what do I get?
Slightly high system stability?
Slightly higher system speed?
Anyone have any information on this? Is it worth doing for any reason other than the cool factor?
How this works.. (Score:5)
If you look at the PPro Processor Specification Update [intel.com] (the accompanying PDF), you will see that some of the erratum are marked as: "Workaround: It is possible for BIOS code to contain a workaround for this erratum." This indicates an erratum that can be fixed by microcode updates.
The advantage to having this is significant, in my opinion. You don't have to buy a new processor stepping to get erratum fixed. Granted, there will be plenty of erratum that can't be fixed with a microcode change, but this is at least a step in the right direction.
As was pointed out by another poster, Linux 2.4 has
Anyway, I think this shit is really cool, but not something I plan on using unless there is a serious errata found in my processor that can be fixed this way. It sounds like quite a bit of hastle for marginal benefit in most cases. However, its great that Linux provides us this option.
Anyone have any ideas about hacking microcode? I donno if Intel releases specs on it. Could be very interesting.
Re:erm (Score:1)
---
No - not true .... (Score:3)
Re:Intel's description (Score:1)
AMD does not warrant that your AMD processor will be free from design defects or errors known as "errata". A description of the current characterized errata are available upon request.
So, it looks like, using your own logic, AMD is saying, the Athlon is crap, but we don't have to fix it.
Personally, I think what both vendors are saying is "hey... we've made an awfully complex product... and we might have borked it up here and there. sorry... but you can't sue us for it." Right or wrong? I don't really care, but let's not go off half-cocked, shall we?
Re:Top story on slashdot? (Score:2)
Re:PPro!=IA32 (Score:2)
And no, Ppro does not have 36 bytes for each register. It doesn't even have 36 bits for each register, either. All the general purpose registers are still 32 bits in length.
The 36 bits you are referring to is the address bus. The P6 core includes a widening of the address bus to allow for more physical memory as well as internal processor enhancements called Physical Address Extensions (PAE) that allow the operating system to use more than 4gb physical memory. The internal structure of segment descriptors has also been changed to allow for larger base addresses. Note that even with a 36 bit address bus, processes are still limited to 32 bits worth of virtual memory space (due to the size of the registers, 32 bits). I'm pretty sure the Linux kernel supports this through the use of the BIGMEM macro.
If I recall correctly, the address extensions of the P6 generation were actually removed before the introduction of the Pentium Pro, and finally introduced with the Pentium II. Anyway, I've never seen a Ppro based system with more than 4gb physical memory.
So yes Ppro=IA-32, and now you know why.
Reloading microcode into Crusoe while power is on? (Score:2)
The code-morphing software is loaded at boot time by the BIOS and then the "door is closed" so that no other changes can occur until the system is reset.
The old 286 CPU had a similar limitation: the CPU couldn't be switched from protected mode (to access extended memory) back to real mode (to call DOS) without a reset. So the 286 mobo designers put a special reset function into the keyboard controller that reset the CPU in such a way that it left protected mode without causing too much damage. Perhaps a similar technique could open the doors for Crusoe to load in instruction sets dynamically.
Re:PPro!=IA32 (Score:1)
Nope. Nothing was removed, just never used. There are 36 address bits ON the original PPro package itself. Selector math is done in 36 bits too.
Check out the specsheet (refer to the alphabetical listing of pin names in the appendix, addresses go from A0-A35):
http://developer.intel.co m/d esign/pro/datashts/24357001.pdf [intel.com]
---
Unto the land of the dead shalt thou be sent at last.
Surely thou shalt repent of thy cunning.
Hacking your microcode ... why? (Score:1)
Contrary to the many other posts here, there are indeed reasons for hacking microcode. 2nd and 3rd generation N64 product developers likely know this already.
Inserting one or two new, specialized instructions in your inner loop can make all the difference in the world. Being able to leave registers in an undefined state when you truly don't care about a result, terminating an instruction already partially executed, executing instructions in two pieces - all of these are Good Things when you know nothing else is going to be relying on the processor state.
This could be very useful for performance-critical code in device drivers and specialized applications alike.
Re:Uh-huh. (Score:1)
I must admit I've got dreams of coding faster strcmp's, though.
It doesn't matter much (Score:2)
In addition, it's possible to turn off some CPU features during boot-up, and make superscalar CPUs less superscalar. That's in there in case a serious concurrency bug is found, so the concurrency can be scaled back. It's comparable to turning off certain optimizations because the compiler is broken.
But none of this stuff will help performance.
Re:update gets lost on boot - NOT permanent (Score:1)
Intel's description (Score:1)
Disabling the Serial Number (Score:1)
Using BIOS Update, is it possible to remove or alter the processor serial number on Pentium 3 chips?
Inquiring minds want to know...
Pulling Back The Curtain (Score:3)
This is an excerpt from Tom's Hardware
What is 'micro code update'? Well, all of Intel's 6th-generation processors have a little area that can store some software ('micro code') to deal with processor bugs right inside the CPU. Usually the motherboard BIOS loads this software into the processor right after boot-up. Each time Intel finds a new bug they try to create a new little software patch that is called 'micro code update'. These 'micro code updates' make the processor more reliable, but they always cost a bit of performance, because they basically turn off some internal features.
Let's go find a conspiracy somewhere else.
yes! (Score:1)
I mean, this would certainly explain why you can't intermix FPU and MMX instructions.......
-----
Starting a Linux monopoly (Score:1)
printf "Please install Linux.\n";
crash();
}
---------------
Or it could be used by Microsoft as well, who knows?
---
IBMs are safer (Score:1)
Re:Uh-huh. (Score:3)
Quick show of hands here: who has the skills, time, and patience to analyze the performance of your TCP/IP stack and write, debug, and test code to improve it?
Now, how many have the time to download and install performance enhancing updates if a small number of skilled people make them?
Oh, I see, we don't all need to do all the work all the time.
Re:Potential hazards? (Score:1)
update gets lost on boot - NOT permanent (Score:1)
The worst a virus using this technique could do is crash your PC and theres lots of easier ways to do that.
I've tried the
Similar feature on Athlons? (Score:2)
Vertical or Horizontal Microcode? (Score:1)
If you don't know the difference vertical ucode is similiar to very limited assembly where as horizontal is a arbitrary logic implemented via a memory lookup. (I think I got that right, maybe they are reversed, it's been a few years).
The reason I ask is Vertical code might be easier to change, whereas for horizontal code you'd need to understand alot more about the internal design of the chip.
Re:Uh-huh. (Score:2)
Historical note: I used a Perkins-Elmer minicomputer in the late 70s that had user-programmable microcode. You could design and implement your own instruction set. wheee! Talk about highly technical programming. There also used to be a company (can't remember the name) that sold a family of chips that allowed you to build a processor. It was a bit-slice configuration -- each family set was 4 bits wide, and you could stack them horizontally to be as wide as you wanted. 32 or 64 bits wide was no problem. It also had user-defined microcode, as I recall. I wonder if that's still around?
...phil
Multiplier Unlock? (Score:1)
Re:Uh-huh. (Score:4)
At least, that was what was stated in the EE Times article I read, about 3 years ago. They (the article authors) were highly critical of the idea for secruity reasons, but Intel was swearing up and down that it would be strongly encrypted and all that rot. They were also acusing Intel of using the microcode as an excuse to be lazy. Heh.
Anyway, this news is so old it is virtually obscured by cobwebs and dust.
Re:erm (Score:1)
Bits per instruction (Score:2)
And processors are usually categorized by bits per instruction.
RISC [everything2.com] processors, perhaps. But CISC [everything2.com] architectures such as x86, on the other hand, tend to have variable-length instructions. Some x86 instructions can be up to 17 bytes; does that make x86 a 136-bit architecture?
It's data bus [everything2.com] width.
Re:Umm, okay... (Score:1)
To actually install virus code in the processor microcode is indeed improbable - but, what about
changing the way certain instructions operate? Say for example, that you could make a trap instruction take it's new context from user space?
It's not necessary for an entire virus to be implemented in the microcode, just something that facilitates that virus' behaviour.
Or how about something really simple - using some uncommon instruction (FDIV? F00F?) would unlock the PIII serial number?
Liquor
Re:Well okay, but... (Score:1)
Re:Umm, okay... (Score:2)
Re:get that serial out! (Score:1)
Well okay, but... (Score:2)
----
Re:Umm, okay... (Score:2)
> (i.e. barely documented at all outside of Intel) feature...
I agree with you, it's no where near 'hidden' or 'barely documented'. I'm a software developer, and during a couple hours research that I did a month ago before buying a replacement for my burnt out CPU, I easily came across this fact, and I figured, hey, that's innovative!
Re:Uh-huh. (Score:1)
get that serial out! (Score:1)
Though this is very scary from the point of view that it will allow for a whole new generation of Viruses to be spawned. boot sector now bios sector....
Re:Article... (Score:1)
Re:definately not likely (Score:1)
Idea for a slashdot contest (Score:1)
PPro!=IA32 (Score:2)
Re:get that serial out! (Score:1)
Re:Root meaning of stepping (Score:1)
Re:Disabling the Serial Number (Score:1)
Transmeta too (Score:2)
IIRC this is similar to the way the Transmeta Crusoe chips work. The code-morphing software is loaded at boot time by the BIOS and then the "door is closed" so that no other changes can occur until the system is reset. I believe that details of this was talked about by Transmeta way back when the Crusoe range was launched.
I guess you all are too busy... (Score:1)
---- Hey Grrl Geeks! Your very own geek news site has arrived!
Re:PPro!=IA32 (Score:1)
I guess my Netscape is FuX0red... (Score:1)
Set Emily Litella mode ON:
Never mind!
Set Emily Litella mode OFF.
---- Hey Grrl Geeks! Your very own geek news site has arrived!
Article... (Score:1)
approaching, we're going to let you
in on a deep and dark secret.</i>
<br><br>
<b>Intel Sucks</b>
Steppings (Score:2)
This is what allows Intel to provide for those mysterious things called "steppings" when you look in your dmesg's or if you (heaven forbid) use NT, by looking in the system properties.
Cool! (Score:5)
Isn't that not terribly permanent? (Score:1)
Re:PPro!=IA32 (Score:1)
Re:Disabling the Serial Number (Score:1)
No Performance Boost (Score:1)
Malicious use (Score:2)
Re:Uh-huh. (Score:1)
Re:MIcrocode (Score:1)
As to concerns about security; well, I wouldn't be so naïve to say it'll /never/ be exploited, but it's fairly safe - the microcode is reset on boot.
Re:erm (Score:1)
EEPROM=Electronically Erasable Programmable Read-Only Memory
EPROMs must be UVd to be erased, but EEPROMs can be erased electonically (usually, by applying a higher voltage)
Re:Uh-huh. (Score:1)
Talk about a killer virus...
Most of us would end up buying a new processor.
Anyone with this compiled into their Linux kernel? Can we do it with an app on Windows?
Re:PPro!=IA32 (Score:2)
PPro is IA-32 in the same way that the PII is IA-32, because the PII is the PPro core with some tweaks (and stripping 4 bits from your data path is not a "tweak" by any means).
Re:Malicious use (Score:1)
You misunderstand... (Score:1)
If this BIOS "patch" area updates the chip's microcode (fixing a bug in an instruction, for instance), the it seems to me it could be patched to disable or alter the instructions that retrieve the CPU serial number.
Or is this what system BIOS' are doing already, when they have an option to "disable CPU serial number?"
Re:PPro!=IA32 (Score:1)
Re:Uh-huh. (Score:5)
As you step up abstraction levels, you begin to get into all sorts of possibilities for less than optimal performance, mainly because your code relise much more heavily on single-line commands that fire off larger blocks of less abstract code. The possibility for optimization comes in when coders can look at these layers of abstraction and find more efficient possibilities, either by selecting different procedure calls or by stepping down to the next lowest layer of abstraction (i.e. putting assembler code into a C program to dump graphics more quickly to the screen buffer.) Basically, the higher up the abstraction level you get, the more different coding paths you can take to get the same end result. Finding a more efficient one requires a bit of work, yes, but there are enough other possible routes that the programmer didn't follow that you can probably find one way around it, even if all it is is re-writing the higher level code in a lower level chunk to skip over a few cycles.
With microcode, though, there are no additional layers of abstraction between the code and the processor. Microcode is as close as you can get to the chip before you break out your oscilloscope and multiplexer. The only way you can improve microcode is by actually finding a faster/better way of sending the command through the chip; though this is mathematically less challenging than trying to optimize at higher levels of abstraction, it also means that the engineers that wrote the microcode in the first place had a lot fewer possibilities to consider than they would have had they been writing C code. You can't "drop down" to the next layer of abstraction with microcode, either, so that entire family of optimization tricks can't even be applied to microcode.
Finally, upgrading one's microcode works only within a very limited scope. You may find that Upgrade A does good things for your machine, because you run a particular mathematical operation over and over, but for your friend's machine, it actually degrades performance, because of a pipeline trick in Upgrade A that was designed specifically to speed your particular mathematical operation. A TCP/IP upgrade, on the other hand, relies on the lower abstraction layers to handle the finer points of chip tuning, making it's performance improvements much more likely to be universally applicable. (Note, too, that by stepping down to lower abstraction layers to improve performance, one runs the risk of creating greater usage-specific issues, much like in the example above.)
To successfully upgrade something like the TCP/IP stack, you need some pretty heavy understanding of the protocol, language, and current implementation to succeed in upgrading it. To improve the microcode, you need nothing short of a truly pedantic understanding of the Pentium architecture itself. There's a big leap in skill and opportunity between these two. If there are even a handful of non-Intel developers out there who feel comfortable enough tackling this problem, I'd still be surprised if they managed to yield a universally-applicable microcode patch for the Pentium. It would certainly be no small feat.
But again, I do ask that if somebody manages to do it, pretty please, let me know...
Just compiled last night... (Score:2)
Re:Uh-huh. (Score:1)
It amuses me that almost every introductory book on hardware design with Verilog or VHDL uses designing a CPU as an example/exercise. I've one book (Digital Design with Verilog HDL, by Sternheim, Singh, Trivedi) which actually starts with a CPU as its first project, and then advances to a UART serial controller and a floppy disc controller.
The moral is that CPUs running microcode are actually one of the easiest things to design. Most of the circuitry of a modern CPU is taken up with cache, look-up tables and multipliers; the actual control logic to decode microcode instructions is dead simple.
Re:I'm not suprised! (Score:1)
Given the horribly buggy and unstable state of 2.3 or 2.4,
Do ye know from what ye speak? I've been running 2.4 on a non-overclocked SMP system for close to a month now without any instability whatsoever. This is with X, VMWare, CD burning (thus using the SCSI layer and ide-scsi abstraction/emulation module), encoding MP3 and various other processor(s) intensive tasks. Oh yeah, AND running linear "RAID" and ReiserFS. Yeah, nice and unstable... I have to reboot all the time.
Transmeta's patent may not be invalidated (Score:2)
Let's see... Intel has "updatable microcode," but Transmeta has "updatable microcode and a commit/rollback register structure."
But then again, the old Z80 [everything2.com] processor also had a potentially commit/rollback register structure. However, <IANAL>patent law states that to invalidate a patent claim based on prior art, all parts of a claim must be referenced in one item of prior art, or that combining them must be obvious to anybody skilled in the art.</IANAL>
In this case, it wouldn't have fixed the FDIV bug (Score:1)
Workaround: It is possible for BIOS code to contain a workaround for this erratum.
The FDIV (floating-point divide) bug in the first run of Pentium processors was due to five errors in a lookup table for division. Unless this technology allows for updates to the ALU's lookup tables, "Houston, we have a problem."
Re:Potential hazards? (Score:1)
Re:Uh-huh. (Score:2)
AMD. The Am2910 being the microsequencer, Am2901 4 bit ALU and Am2904 word logic module. Haven't seen one as a real object, but simulated this is the machine all CS students at TU Munich have to do some microprogramming on.
Re:A bit more about P6 microcode patching (Score:1)
Clarification: the P6's decoders don't work the same way, that much is true. But the first decoder of the decode group can decode instructions of up to 4 micro-ops in parallel with the two 1-uop decoders (if the instruction would generate more than 4 uops, the decoding stops being an one-cycle thing). So, if I'm any good at reading an AC's mind, I'd say that the two "minor" decoders are hard-wired to output uops for just these instructions because the one-uop instructions can be translated trivially.
Since the decoder group can put 4+1+1 == 6 uops into the reorder buffer per cycle (provided that the instructions are a properly aligned 4-1-1 uop group), you'd hardly get "a third of your possible micro-op issue rate" from just the one decoder.
Disclaimer: I'm writing this at 4:30 AM local time (18h personal uptime), so I can't be said to know anything about anything. Yes, I know a bit too much about the P6 core, yog-sothoth help me.
Re:PPro!=IA32 (Score:2)
Re:Umm, okay... (Score:1)
Re:In this case, it wouldn't have fixed the FDIV b (Score:1)
Yeah. Exactly. *First* Pentium processors. This microcode update is only available on the PPro and up (P6 cores), not the P5s.
---
erm (Score:2)
Re:get that serial out! (Score:1)
Potential hazards? (Score:2)
I've got an Athlon.
Re:Multiplier Unlock? (Score:1)
Kinda like reprogramming a blender... (Score:1)
At first I was a bit interested in what the article said, because from the slash page, it appeared that Intel was being nice and tossing us something to have fun with.
But upon reading the Byte article, this is mainly aimed at scaring people into a massive Jihad against Intel...
]Crazed Mob: Intel is inside my computer...
}Non-crazed mob: You can't sue... they've labeled the computers so that you know... YOU KNEW...
]Crazed Mob: It doesn't matter, we're crazed and out for blood... burn our Pentium Pro's!!!
}Non-crazed mob: This should be interesting... HEY STAND REALLY CLOSE TO THE FLAMES AND INHALE...
Does Byte think that anyone who knows nothing of computers understands that article? They'll read it once... think... "Oh, Intel is gonna fix it free? That's nice..." and then if they read to the bottom, get worried and call their local computer "guru" and demand he stop uber-evil "Hackers" from penetrating their pentium chips...
**thinks** You know, that sounds kinda kinky...
Old news ... (Score:3)
The
--
MIcrocode (Score:2)
Re:erm (Score:2)
You make it sound like they're food or something. Oh wait, they are chips...
---
Linux microcode update util (Score:2)
There's some updated microcodes up there too. Unfortunately there is basically no information at all as to what the updates fix/update/change... any such information would be appreciated.
The real problem with Intel is... (Score:3)
This is very frustrating for those of us who need to write deterministic-performance (i.e. real-time) code, since it makes it hard to formally derive any reasonable guaranteed upper bounds on the execution time of anything.
The microcode update thing discussed in the Byte article is a particularly glaring instance of this lack of documentation. Not too long ago, I was working on a special-purpose real-time OS, and had to look through the whole PII family documentation to make sure the OS was "doing the right thing" wrt all the registers on the PII. There is ONE mention of the "microcode update signature register" in the entire 3-volume processor manual, and the mention gives no clue as to what the register's function is, when it can be set (not in user mode, one hopes!), or how it interacts with anything else.
I emailed Intel's tech support about this, and the guy responding to the email had no idea what I was talking about. When I pointed him to the page number in the docs, he went and checked with the developers, and returned with a vague answer that gave me essentially the same information printed in the Byte article. In the end we figured out that as long as the OS left it alone, we didn't need to worry; but that was a lot of time wasted because of Intel's opacity.
In fairness to Intel, other processor docs aren't much better in the determinism/precision department. However, Intel's architecture is peculiarly byzantine, since it consists of layers and layers of backward compatibility kludges grafted clumsily on top of one another, so Intel ought to feel a special responsibility to document their rat's nest of a processor properly. On the other hand, maybe they're too embarrassed to do so.
Nick Weininger
A bit more about P6 microcode patching (Score:5)
2. There is no benefit to being able to patch microcode for performance, despite what this article states. There is only one decoder (out of three) on the P6 which will load the micro-ops from the patch area. So you get a third of your possible micro-op issue rate. About the only thing microops can do that you cant from macroops is 3 operand instructions (and a few more scratch registers, but those aren't handled by the shadow register table, so you'd have to be very careful).
3. update space is TINY, especially for the size of the microops themselves. There probably isn't enough space to implement a complicated algorithm even if someone wanted to. Most updates contain less than 10 microops per problem.
4. To do an update for a particular stepping would require the complete microcode listing for that stepping, because there is no jump table, just absolute offsets into the internal ROM. These are different by stepping, and of course family.
5. Reverse engineering microcode, aside from being a waste of time, isn't going to be particularly easy. Determining the decryption where the plaintext is just as incomprehensible is a complex task, and there is no observability except whether or not the patch got loaded.
6. This is not "secret", although hard to obtain now I suppose. The "P6 BIOS WRITERS GUIDE", which used to be available from an FTP site at Intel, had the complete mechanism for loading updates. Windows versions have some form of a microcode loader, to account for defunct bios vendors..
Re:MIcrocode (Score:2)
For dubious values of exploit. The impression I gathered is that the processor has to be re-patched by the BIOS every time the system starts up. Besides, there're already viruses out that trash your BIOS [f-secure.com].
The only thing of significance that I can think of is that if the microcode path is actually stored in the CMOS (hard to tell from the Byte article -- they keep referring to it as "BIOS Data"), then on a system that protects the BIOS from being casually reflashed (via a jumper or what-not) malicious code could hypothetically write data into the CMOS that would prevent the CPU from being able to run after it gets patched.
But, if someone can write to the CMOS, they can do plenty of other nasty things, anyway. And the worst case scenario would involves physically resetting the CMOS, which could just as easily be necessary if a virus were to throw a boot password in there. So the short, medium, and long of the situation is that, from a security standpoint, I believe it's a non-issue.
The update utility itself is here (Score:4)
Well thanks to this update facility, you can add the relevant microcode updates to your BIOS yourself, and there's a little DOS utility from Intel that'll help you do it. Go to this web page [stack.net] and download at least the files pupdt513.zip and pep15.pdb (the other files may be of interest too). I'm linking directly to the download section as the rest of the site is in Cyrillic.
First a warning: never run checkup5 without the -u command line option or it will update your flash ROM without asking for confirmation! Typically one would start the program like this:
checkup5 -u -p pep15.pdb
Case in point: My very very old Abit BX6 rev 1, though recently provided with a fresh 21/02/00 BIOS, does not officially support Coppermine CPUs. It does have the proper voltage settings but Abit says: "BX6 Rev 1.00, 1.01, 1.02, etc. (BUT NOT BX6 Rev 2.0) do not support Coppermine CPUs due to the native design of power for the CPU core voltage probably not being sufficient. So to avoid instability, we advise that the afore mentioned boards do not support Coppermine CPUs".
I was aching for speed and Abit's advice wasn't very satisfying, so I put a PIII-700E in regardlessly and it worked fine even without the microcode support, but I wanted it anyway and so I ran an earlier version of the utility. This was the initial output:
-----------------------------------------------
Processor Update Utility for Intel(R) P6 Family Microprocessors
Version 5.01, 04/06/99
Copyright 1999-5, Intel Corporation.
Unannounced Intel processor detected (CPUID=x683)
Your system BIOS does not contain a microcode update for
this processor. Therefore, no microcode update was loaded.
This utility can load a microcode update (revision 10)
for your main processor.
The microcode update was successfully loaded.
You do not need to run this utility again, unless a new
processor is installed or a new version of the utility is used.
-----------------------------------------------
Now I get this:
-----------------------------------------------
Unannounced Intel processor detected (CPUID=x683)
Your processor contains a microcode update, revision 10.
The microcode update already loaded in your main processor is the
latest revision as of 04/06/99. No changes are needed.
Please make sure you have the latest database file.
No changes were made to the system.
-----------------------------------------------
Note how it says 04/06/99 because that's the release date of the program version I used (only supported up to Katmai), however the external pep15.pdb that I used has far more recent updates in it as this list shows:
-----------------------------------------------
Processor steppings (revisions) and microcode update revisions included in current base
Processor/Package/PKG Stepping/Microcode Update Rev
Pentium Pro Processor, PGA, 0x612/00, 0xC6
Pentium Pro Processor, PGA, 0x616/00, 0xC6
Pentium Pro Processor, PGA, 0x617/00, 0xC6
Pentium Pro Processor, PGA, 0x619/00, 0xD2
??????????????????????????????, PGA (?), 0x630/00, 0x13
??????????????????????????????, PGA (?), 0x632/00, 0x20
Pentium II Processor, SECC, 0x633/01, 0x34
Pentium II Processor, SECC, 0x634/01, 0x35
Pentium II Processor, SECC, 0x650/01, 0x40
Intel Celeron Processor, SEPP, 0x650/01, 0x40
Pentium II Processor (?), Mini-Cart (?), 0x650/02, 0x41
Pentium II Processor (?), MMC1/MMC2 (?), 0x650/08, 0x45
Pentium II Processor, SECC/SECC2, 0x651/01, 0x40
Intel Celeron Processor, SEPP, 0x651/01, 0x40
Pentium II Processor, SECC/SECC2, 0x652/01, 0x2A
Pentium II Processor (?), Mini-Cart (?), 0x652/02, 0x2C
Pentium II Xeon Processor, SECC, 0x652/04, 0x2B
Pentium II Processor (?), MMC1/MMC2 (?), 0x652/08, 0x2D
Pentium II Processor, SECC/SECC2, 0x653/01, 0x10
Pentium II Xeon Processor, SECC, 0x653/04, 0x0B
Intel Celeron Processor, SEPP, 0x660/01, 0x0A
Intel Celeron Processor, PPGA, 0x665/10, 0x03
Mobile Pentium II Processor, Mini-Cart, 0x66A/02, 0x0C
Mobile Pentium II Processor, MMC1/MMC2, 0x66A/08, 0x0D
Mobile Intel Celeron Processor, MMC1/MMC2, 0x66A/08, 0x0D
Mobile Pentium II Processor, Micro-PGA1, 0x66A/20, 0x0B
Mobile Intel Celeron Processor, Micro-PGA1 0x66A/20, 0x0B
Mobile Pentium II Processor, Micro-PGA1, 0x66D/20, 0x07
??????????????????????????????, SECC/SECC2 (?), 0x670/01, 0x06
??????????????????????????????, SECC/SECC2 (?), 0x671/01, 0x03
Pentium III Processor, SECC/SECC2, 0x672/01, 0x10
Pentium III Xeon Processor, SECC, 0x672/04, 0x38
Pentium III Processor, SECC/SECC2, 0x673/01, 0x0E
Pentium III Xeon Processor, SECC, 0x673/04,0x2E
??????????????????????????????, SECC/SECC2 (?), 0x680/01, 0x14
Pentium III Processor, SECC/SECC2, 0x681/01, 0x0D
Pentium III Xeon Processor, SECC, 0x681/04, 0x10
Mobile Pentium III Processor, MMC2, 0x681/08, 0x0F
Pentium III Processor, FC-PGA, 0x681/10, 0x11
Mobile Pentium III Processor, Micro-PGA2, 0x681/20, 0x0E
Pentium III Processor, SECC2, 0x683/01, 0x0C
Pentium III Xeon Processor, SECC, 0x683/04, 0x0F
Mobile Pentium III Processor, MMC2, 0x683/08, 0x08
Pentium III Processor, FC-PGA, 0x683/10, 0x10
Mobile Pentium III Processor, Micro-PGA2, 0x683/20, 0x07
Pentium III Processor, SECC2, 0x686/01, 0x07
Pentium III Processor, FC-PGA, 0x686/10, 0x08
Pentium II OverDrive Processor, PGA, 0x1632/00, 0x02
-----------------------------------------------
Lastly, from the Intel documentation:
-----------------------------------------------
System BIOS code on motherboards based on P6 family microprocessors contains microcode updates that are specific to each silicon stepping (revision) of the processor. Integrators must ensure the microcode update matches the processor stepping used. When the BIOS does not contain a microcode update that matches the processor stepping, integrators must install the latest microcode update in the BIOS before shipping the system. Historically, systems based on P6 family microprocessors have been updated by upgrading the entire system BIOS with a new revision of the system BIOS that contains the correct microcode update for the processor. However, such a process may be time consuming when assembling and configuring many systems.
Intel has worked closely with BIOS developers to implement a processor update Applications Programming Interface (API), which allows just the microcode update within the system BIOS to be
installed as needed. Motherboards that contain a system BIOS with the Intel-defined processor update API can be quickly and easily updated, if required, without need for a complete system BIOS upgrade.
-----------------------------------------------
Have fun, try not to break anything.
of course! (Score:2)
Moderators (actually, I'm one at the moment but I'm participating here at the moment so I can't moderate) please take note: DGolden in a couple of lines said something far more interesting than that long-winded boring karma whore posted by American AC in Paris that he was replying to. Why was that moderated so high, and this one not at all?
Re:Umm, okay... (Score:2)
Uh-huh. (Score:5)
Quick show of hands here: who here has the skills, time and patience to analyze the performance of your computer and actually find a way to improve the microcode performance on their computer? Hell, that's one step removed from digging out your soldering iron and microsocpe to 'clean up' some of those slow pathways on your chip.*
Even with the complexity of Pentium chips, the odds of being able to successfully perform an "upgrade" of your Pentium's microcode is slim to none. Microcode is designed to be hella-fast, by people who do happen to know what they're doing and have access to every technical spec they could want on the chip.
Despite your potentially vast knowledge of microcode, the complexity of the Pentium chip is sure to present some major headaches, even if you have worked out the theory of what you need to do to improve the code.
Unless you have a very specific set of tasks you run on your computer (and then know exactly what changes you need to make to further improve on the existing microcode,) the odds of your writing a microcode upgrade that actually improves overall system performance is pretty low.
Having said that, do send me a copy if you manage to do it...
* BTW, this doesn't work. Learned that one the hard way... *grin*
Umm, okay... (Score:3)
The article says: In technical terms, "BIOS Update" is a hidden (i.e. barely documented at all outside of Intel) feature.... I work for a company that sells Intel products (a small reseller, $2M a year), and we've known about the feature since the Pentium II's introduction. At trainings for "system integrators", Intel has waged a very aggressive campaign of making sure that, along with proper BIOS updates, we install processor "step updates".
Based on the low-level nature of microcode, I do not believe that anyone w/o intimate knowledge of the design of the processor hardware itself would be able to write workable microcode updates. Even if someone did, I also believe that it would be EXTREMELY difficult to get a "trojan horse" that could do anything useful. The microcode is _so_ low level, and accomplishing any kind of useful trickery would need to be done at a very high level.
No doubt, there'll be a lot of posts about how "sinister" this feature is-- especially given that Intel doesn't document the feature-- even though it's been publicly documented for years. Hit the Intel Developer Site [intel.com] and search for "Microcode update". I get 21 hits on that search, most of which are relevant. Intel doesn't give the stepping update utility out to the public, but if you update the BIOS on an Intel motherboard, you generally get some stepping updates loaded as well. Not sure about non-Intel boards.