Science and Engineering: Innovation, Research, Education and Economics
June 11, 2008
How Computers Boot Up

How Computers Boot Up

Things start rolling when you press the power button on the computer (no! do tell!). Once the motherboard is powered up it initializes its own firmware - the chipset and other tidbits - and tries to get the CPU running. If things fail at this point (e.g., the CPU is busted or missing) then you will likely have a system that looks completely dead except for rotating fans. A few motherboards manage to emit beeps for an absent or faulty CPU, but the zombie-with-fans state is the most common scenario based on my experience. Sometimes USB or other devices can cause this to happen: unplugging all non-essential devices is a possible cure for a system that was working and suddenly appears dead like this. You can then single out the culprit device by elimination.

If all is well the CPU starts running. In a multi-processor or multi-core system one CPU is dynamically chosen to be the bootstrap processor (BSP) that runs all of the BIOS and kernel initialization code. The remaining processors, called application processors (AP) at this point, remain halted until later on when they are explicitly activated by the kernel. Intel CPUs have been evolving over the years but they’re fully backwards compatible, so modern CPUs can behave like the original 1978 Intel 8086, which is exactly what they do after power up. In this primitive power up state the processor is in real mode with memory paging disabled. This is like ancient MS-DOS where only 1 MB of memory can be addressed and any code can write to any place in memory - there’s no notion of protection or privilege.

Related: Harvard Course on Understanding Computers and the Internet - Programming Ruby - Babbage Difference Engine In Lego

One Response to “How Computers Boot Up”

  1. Curious Cat Science and Engineering Blog » Demystifying the Memristor Says:

    “Engineers could, for example, develop a new kind of computer memory that would supplement and eventually replace today’s commonly used dynamic random access memory (D-RAM). Computers using conventional D-RAM lack the ability to retain information once they are turned off…”

Leave a Reply

Curious Cat Science and Engineering Blog © curiouscat.com 2005-2008 powered by WordPress
Curious Cat Alumni Connections

Internal Links

Author

 

John Hunter

Categories

Other

Search Blog

Web Search

Science and Engineering web search

Archives

June 2008
M T W T F S S
« May   Jul »
 1
2345678
9101112131415
16171819202122
23242526272829
30  
TopOfBlogs