|
|
Somrthing altered my BIOS settings
microsoft.public.windowsxp.hardware
|
|

02-05-2008, 12:02 PM
|
|
|
|
Somrthing altered my BIOS settings
Can applications alter BIOS settings?
After reinstalling Windows XP Home I ran into a phenomenon that I have never
encountered before. I reinstalled a frequently-used application. After a
subsequent reboot I found myself looking at a gray screen with a blinking
cursor in the upper left of the screen. Windows failed to boot. I
restarted, got into the BIOS setup, restored the default settings and
rebooted. This time everything was normal. I deleted the application. A
few days later I reinstalled a game and ran into the same phenomenon.
Restoring the BIOS defaults again cured the problem.
Neither program has ever given me a problem in the past.
I would seem that the applications somehow managed to alter the BIOS
settings. If so, this is something I had considered impossible. This is
read-only memory. I know that the BIOS can be flashed by special software.
I did not attempt any such action.
I am mystified, hence my question.
If my working hypothesis is incorrect, what else could be going on?
|
|

02-05-2008, 12:44 PM
|
|
|
|
Re: Somrthing altered my BIOS settings
The cmos battery on the mother board might be getting low, try replacing it.
"Sleepless in New Jersey" <SleeplessinNewJersey@discussions.microsoft.com>
wrote in message news:1B1DF921-59F6-4215-BF8F-2E21EDBF18A9@microsoft.com...
> Can applications alter BIOS settings?
>
> After reinstalling Windows XP Home I ran into a phenomenon that I have
> never
> encountered before. I reinstalled a frequently-used application. After
> a
> subsequent reboot I found myself looking at a gray screen with a blinking
> cursor in the upper left of the screen. Windows failed to boot. I
> restarted, got into the BIOS setup, restored the default settings and
> rebooted. This time everything was normal. I deleted the application. A
> few days later I reinstalled a game and ran into the same phenomenon.
> Restoring the BIOS defaults again cured the problem.
>
> Neither program has ever given me a problem in the past.
>
> I would seem that the applications somehow managed to alter the BIOS
> settings. If so, this is something I had considered impossible. This is
> read-only memory. I know that the BIOS can be flashed by special
> software.
> I did not attempt any such action.
>
> I am mystified, hence my question.
>
> If my working hypothesis is incorrect, what else could be going on?
>
>
>
>
>
>
>
|
|

02-05-2008, 06:45 PM
|
|
|
|
Re: Somrthing altered my BIOS settings
Sleepless in New Jersey wrote:
> Can applications alter BIOS settings?
>
> After reinstalling Windows XP Home I ran into a phenomenon that I have never
> encountered before. I reinstalled a frequently-used application. After a
> subsequent reboot I found myself looking at a gray screen with a blinking
> cursor in the upper left of the screen. Windows failed to boot. I
> restarted, got into the BIOS setup, restored the default settings and
> rebooted. This time everything was normal. I deleted the application. A
> few days later I reinstalled a game and ran into the same phenomenon.
> Restoring the BIOS defaults again cured the problem.
>
> Neither program has ever given me a problem in the past.
>
> I would seem that the applications somehow managed to alter the BIOS
> settings. If so, this is something I had considered impossible. This is
> read-only memory. I know that the BIOS can be flashed by special software.
> I did not attempt any such action.
>
> I am mystified, hence my question.
>
> If my working hypothesis is incorrect, what else could be going on?
>
There is more than one web page, with documentation on defacto standards for
CMOS RAM contents. The first one is pretty interesting, while the second one
is easier to read at one glance.
http://www.textfiles.com/programming/cmos.lst
http://www.bioscentral.com/misc/cmosmap.htm
The CMOS data is protected by simple checksums. More than one checksum is
used (sections of bytes are protected). A Windows program altering the
contents of CMOS RAM, would also need to correct the checksum field to
match. Otherwise, on the next BIOS POST, the error would be detected,
and the CMOS values reset to defaults.
When I checked the datasheet for the ICH5 Southbridge on my motherboard,
it has a register to write protect the bytes that hold the password (0x38-0x3F),
so it is possible to prevent those from being written by an OS. (I.e. The
BIOS can "close the door" to OS write access to 0x38 through 0x3F.) In a quick
search, I didn't find any other configuration registers for the CMOS. My
Southbridge chip has room for 256 bytes, and since the first document above
describes indirect addressing via port 70 and data to port 71, you can see by
that interface definition, why they stopped at 256 bytes. Port 70 is
one byte, enough to address only a small number of locations. My southbridge
treats the 256 bytes as two "banks" of 128 bytes, and the following page
suggests why this was necessary - because only 7 bits of port 70 are used
for addressing.
http://www.codepedia.com/1/CMOS_C
Because bytes outside 0x38-0x3F aren't protected, then it would appear something
could write them. Maybe there are some other software mechanisms to protect
it, but that would take a lot more searching to find.
So it is not a read-only memory - it is battery backed static RAM. Unplugging
the computer and removing the coin cell battery, is one way to delete the
contents of the CMOS RAM.
Paul
|
|

02-05-2008, 10:04 PM
|
|
|
|
Re: Somrthing altered my BIOS settings
Thanks for your effort. However, I'm confused by the replies. I am aware of
the battery-backed CMOS area. I have considered it to be separate from the
BIOS in flash ROM. Am I wrong about this? What I have had to do is restore
the ***BIOS*** defaults and save and exit the setup program.
As things now stand, I have had to forego use of my favorite CD/DVD burning
app. I'd like to keep it and the game. I'm looking for an explanation for
my BIOS-alteration problem.
"Paul" wrote:
> Sleepless in New Jersey wrote:
> > Can applications alter BIOS settings?
> >
> > After reinstalling Windows XP Home I ran into a phenomenon that I have never
> > encountered before. I reinstalled a frequently-used application. After a
> > subsequent reboot I found myself looking at a gray screen with a blinking
> > cursor in the upper left of the screen. Windows failed to boot. I
> > restarted, got into the BIOS setup, restored the default settings and
> > rebooted. This time everything was normal. I deleted the application. A
> > few days later I reinstalled a game and ran into the same phenomenon.
> > Restoring the BIOS defaults again cured the problem.
> >
> > Neither program has ever given me a problem in the past.
> >
> > I would seem that the applications somehow managed to alter the BIOS
> > settings. If so, this is something I had considered impossible. This is
> > read-only memory. I know that the BIOS can be flashed by special software.
> > I did not attempt any such action.
> >
> > I am mystified, hence my question.
> >
> > If my working hypothesis is incorrect, what else could be going on?
> >
>
> There is more than one web page, with documentation on defacto standards for
> CMOS RAM contents. The first one is pretty interesting, while the second one
> is easier to read at one glance.
>
> http://www.textfiles.com/programming/cmos.lst
> http://www.bioscentral.com/misc/cmosmap.htm
>
> The CMOS data is protected by simple checksums. More than one checksum is
> used (sections of bytes are protected). A Windows program altering the
> contents of CMOS RAM, would also need to correct the checksum field to
> match. Otherwise, on the next BIOS POST, the error would be detected,
> and the CMOS values reset to defaults.
>
> When I checked the datasheet for the ICH5 Southbridge on my motherboard,
> it has a register to write protect the bytes that hold the password (0x38-0x3F),
> so it is possible to prevent those from being written by an OS. (I.e. The
> BIOS can "close the door" to OS write access to 0x38 through 0x3F.) In a quick
> search, I didn't find any other configuration registers for the CMOS. My
> Southbridge chip has room for 256 bytes, and since the first document above
> describes indirect addressing via port 70 and data to port 71, you can see by
> that interface definition, why they stopped at 256 bytes. Port 70 is
> one byte, enough to address only a small number of locations. My southbridge
> treats the 256 bytes as two "banks" of 128 bytes, and the following page
> suggests why this was necessary - because only 7 bits of port 70 are used
> for addressing.
>
> http://www.codepedia.com/1/CMOS_C
>
> Because bytes outside 0x38-0x3F aren't protected, then it would appear something
> could write them. Maybe there are some other software mechanisms to protect
> it, but that would take a lot more searching to find.
>
> So it is not a read-only memory - it is battery backed static RAM. Unplugging
> the computer and removing the coin cell battery, is one way to delete the
> contents of the CMOS RAM.
>
> Paul
>
|
|

02-05-2008, 11:24 PM
|
|
|
|
Re: Somrthing altered my BIOS settings
Sleepless in New Jersey wrote:
> Thanks for your effort. However, I'm confused by the replies. I am aware of
> the battery-backed CMOS area. I have considered it to be separate from the
> BIOS in flash ROM. Am I wrong about this? What I have had to do is restore
> the ***BIOS*** defaults and save and exit the setup program.
>
> As things now stand, I have had to forego use of my favorite CD/DVD burning
> app. I'd like to keep it and the game. I'm looking for an explanation for
> my BIOS-alteration problem.
>
The BIOS is a different chip than CMOS RAM.
Take my motherboard. It has a square chip, a PLCC package, in a socket. The
chip holds 512KB of data. The main BIOS code is in there. When I turn my
computer on, the processor reads instructions from that chip, as the
first thing it does. The code run is the "POST" or power on self test.
If I press the <delete> key, that triggers the BIOS setup code to run,
and convenient text (640x480) is displayed on the screen, to tell me what
settings are being used. The BIOS setup screens, are an interface to
setting up preferred settings (which are stored in CMOS RAM).
The setting choices I make in the BIOS setup screen, are recorded in the CMOS RAM.
That is the 128 or 256 bytes of random access memory inside the Southbridge chip.
It is right next to the RTC or real time clock. Both the CMOS RAM and RTC
are battery backed, and if the computer is unplugged, the CMOS RAM contents
are preserved by the battery.
The BIOS code in your computer, can be flash updated. The motherboard maker
may have a utility that runs in DOS (off a floppy). There may be the same
program, but actually stored inside the BIOS chip. Thirdly, there could be
a Windows based flashing utility, for updating the BIOS. If the BIOS code was
changed, pulling the battery would make no difference. BIOS code is non-volatile
with respect to system power - you can unplug the computer, remove the CMOS
battery, and the BIOS 512KB EEPROM can save the BIOS code for up to 10 years
without significant risk of corruption.
The CMOS RAM, as mentioned in my previous post, also appears to be writable
by an OS. At least areas other than the CMOS password. Removing the battery
would be an example of a way to clear the CMOS RAM of data (unplug the computer
before doing that). Replace the battery, and then turn on the computer. The
BIOS code (from the 512KB EEPROM) runs as it always does. The BIOS reads
the CMOS RAM, checks the checksum and goes "oh oh". It sees the bad checksum,
and then reloads the CMOS RAM with default values. The user can enter the
BIOS setup (pressing delete key), and reprogram any custom settings that
were lost.
I hope that description isn't too haphazard, to help you understand how it
works.
If the BIOS was truly overwritten with crap, your computer would no longer
be able to start (that is called "bricking a motherboard", something home
builders do all the time). By comparison, corrupted CMOS RAM is a trivial
problem, as removing the battery will cause usable defaults to be reloaded
into the RAM.
Paul
|
|

02-06-2008, 04:02 AM
|
|
|
|
Re: Somrthing altered my BIOS settings
Bios settings are held in the cmos, a form of RAM. The cmos battery
maintains life of the RAM while the PC is physically off. Its on the
motherboard.
The bios is held in a chip on the motherboard. The cmos is NOT located
there.
2 different animals.
Like the PC's RAM, cmos can marginally fail. The cmos battery can be on the
virge of failing as well. The voltage regulator on the motherboard feeding
the cmos can be iffy as well.
Yes, 3rd party software could alter some cmos settings. Unlikely. More
unlikely as you had it installed before...
Strictly flashing the bios chip does not alter the cmos.
--
Dave
"Sleepless in New Jersey" <SleeplessinNewJersey@discussions.microsoft.com>
wrote in message news:1B1DF921-59F6-4215-BF8F-2E21EDBF18A9@microsoft.com...
> Can applications alter BIOS settings?
>
> After reinstalling Windows XP Home I ran into a phenomenon that I have
> never
> encountered before. I reinstalled a frequently-used application. After
> a
> subsequent reboot I found myself looking at a gray screen with a blinking
> cursor in the upper left of the screen. Windows failed to boot. I
> restarted, got into the BIOS setup, restored the default settings and
> rebooted. This time everything was normal. I deleted the application. A
> few days later I reinstalled a game and ran into the same phenomenon.
> Restoring the BIOS defaults again cured the problem.
>
> Neither program has ever given me a problem in the past.
>
> I would seem that the applications somehow managed to alter the BIOS
> settings. If so, this is something I had considered impossible. This is
> read-only memory. I know that the BIOS can be flashed by special
> software.
> I did not attempt any such action.
>
> I am mystified, hence my question.
>
> If my working hypothesis is incorrect, what else could be going on?
>
>
>
>
>
>
>
|
|

02-06-2008, 04:48 AM
|
|
|
|
Re: Somrthing altered my BIOS settings
Thanks for the effort you have made. I'll remove the CMOS battery and
replace it. I hope that will do the job.
"Paul" wrote:
> Sleepless in New Jersey wrote:
> > Thanks for your effort. However, I'm confused by the replies. I am aware of
> > the battery-backed CMOS area. I have considered it to be separate from the
> > BIOS in flash ROM. Am I wrong about this? What I have had to do is restore
> > the ***BIOS*** defaults and save and exit the setup program.
> >
> > As things now stand, I have had to forego use of my favorite CD/DVD burning
> > app. I'd like to keep it and the game. I'm looking for an explanation for
> > my BIOS-alteration problem.
> >
>
> The BIOS is a different chip than CMOS RAM.
>
> Take my motherboard. It has a square chip, a PLCC package, in a socket. The
> chip holds 512KB of data. The main BIOS code is in there. When I turn my
> computer on, the processor reads instructions from that chip, as the
> first thing it does. The code run is the "POST" or power on self test.
> If I press the <delete> key, that triggers the BIOS setup code to run,
> and convenient text (640x480) is displayed on the screen, to tell me what
> settings are being used. The BIOS setup screens, are an interface to
> setting up preferred settings (which are stored in CMOS RAM).
>
> The setting choices I make in the BIOS setup screen, are recorded in the CMOS RAM.
> That is the 128 or 256 bytes of random access memory inside the Southbridge chip.
> It is right next to the RTC or real time clock. Both the CMOS RAM and RTC
> are battery backed, and if the computer is unplugged, the CMOS RAM contents
> are preserved by the battery.
>
> The BIOS code in your computer, can be flash updated. The motherboard maker
> may have a utility that runs in DOS (off a floppy). There may be the same
> program, but actually stored inside the BIOS chip. Thirdly, there could be
> a Windows based flashing utility, for updating the BIOS. If the BIOS code was
> changed, pulling the battery would make no difference. BIOS code is non-volatile
> with respect to system power - you can unplug the computer, remove the CMOS
> battery, and the BIOS 512KB EEPROM can save the BIOS code for up to 10 years
> without significant risk of corruption.
>
> The CMOS RAM, as mentioned in my previous post, also appears to be writable
> by an OS. At least areas other than the CMOS password. Removing the battery
> would be an example of a way to clear the CMOS RAM of data (unplug the computer
> before doing that). Replace the battery, and then turn on the computer. The
> BIOS code (from the 512KB EEPROM) runs as it always does. The BIOS reads
> the CMOS RAM, checks the checksum and goes "oh oh". It sees the bad checksum,
> and then reloads the CMOS RAM with default values. The user can enter the
> BIOS setup (pressing delete key), and reprogram any custom settings that
> were lost.
>
> I hope that description isn't too haphazard, to help you understand how it
> works.
>
> If the BIOS was truly overwritten with crap, your computer would no longer
> be able to start (that is called "bricking a motherboard", something home
> builders do all the time). By comparison, corrupted CMOS RAM is a trivial
> problem, as removing the battery will cause usable defaults to be reloaded
> into the RAM.
>
> Paul
>
|
|

02-06-2008, 04:50 AM
|
|
|
|
Re: Somrthing altered my BIOS settings
Thanks for the information. I'll go to work on the CMOS battery and hope for
the best.
"Lil' Dave" wrote:
> Bios settings are held in the cmos, a form of RAM. The cmos battery
> maintains life of the RAM while the PC is physically off. Its on the
> motherboard.
>
> The bios is held in a chip on the motherboard. The cmos is NOT located
> there.
>
> 2 different animals.
>
> Like the PC's RAM, cmos can marginally fail. The cmos battery can be on the
> virge of failing as well. The voltage regulator on the motherboard feeding
> the cmos can be iffy as well.
>
> Yes, 3rd party software could alter some cmos settings. Unlikely. More
> unlikely as you had it installed before...
>
> Strictly flashing the bios chip does not alter the cmos.
> --
> Dave
>
> "Sleepless in New Jersey" <SleeplessinNewJersey@discussions.microsoft.com>
> wrote in message news:1B1DF921-59F6-4215-BF8F-2E21EDBF18A9@microsoft.com...
> > Can applications alter BIOS settings?
> >
> > After reinstalling Windows XP Home I ran into a phenomenon that I have
> > never
> > encountered before. I reinstalled a frequently-used application. After
> > a
> > subsequent reboot I found myself looking at a gray screen with a blinking
> > cursor in the upper left of the screen. Windows failed to boot. I
> > restarted, got into the BIOS setup, restored the default settings and
> > rebooted. This time everything was normal. I deleted the application. A
> > few days later I reinstalled a game and ran into the same phenomenon.
> > Restoring the BIOS defaults again cured the problem.
> >
> > Neither program has ever given me a problem in the past.
> >
> > I would seem that the applications somehow managed to alter the BIOS
> > settings. If so, this is something I had considered impossible. This is
> > read-only memory. I know that the BIOS can be flashed by special
> > software.
> > I did not attempt any such action.
> >
> > I am mystified, hence my question.
> >
> > If my working hypothesis is incorrect, what else could be going on?
> >
> >
> >
> >
> >
> >
> >
>
>
>
|
|

02-06-2008, 01:40 PM
|
|
|
|
Re: Somrthing altered my BIOS settings
> Bios settings are held in the cmos, a form of RAM. The cmos battery
> maintains life of the RAM while the PC is physically off. Its on the
> motherboard.
No, the battery keeps the real-time clock running, and that's it. The data
held in BIOS is non-volatile flash RAM, and remains intact forever whether
the battery is present or not. That's why the BIOS reset jumper exists,
otherwise we could just remove the battery and clear the BIOS settings, but
that doesn't work.
I'm surprised at some of the responses in this thread. :-)
|
|

02-06-2008, 02:21 PM
|
|
|
|
Re: Somrthing altered my BIOS settings
Some PCs may use flash memory, not all of them. Removing the battery
sometimes does not work immediately because the PSU connected to the
motherboard can hold enough of a charge to keep the stored settings intact
for several hours after the battery is removed. Depends on the circuit
configuration of course. Removing the battery for just a few seconds cleared
the CMOS for me on one PC a few weeks ago (an Athlon board, c.2002-3).
"JohnO" <johno@!NOOSPAM!heathkit.com> wrote in message
news:uerk5XMaIHA.5348@TK2MSFTNGP03.phx.gbl...
>> Bios settings are held in the cmos, a form of RAM. The cmos battery
>> maintains life of the RAM while the PC is physically off. Its on the
>> motherboard.
>
> No, the battery keeps the real-time clock running, and that's it. The data
> held in BIOS is non-volatile flash RAM, and remains intact forever whether
> the battery is present or not. That's why the BIOS reset jumper exists,
> otherwise we could just remove the battery and clear the BIOS settings,
> but that doesn't work.
>
> I'm surprised at some of the responses in this thread. :-)
>
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 03:11 AM.
|
|