Go Back   Computer Forums > General Computing > Hardware
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 12-22-2007, 07:00 PM   #1
Baseband Member
 
Join Date: May 2007
Posts: 38
Default Blue Screen Error

Ok, thank you guys for a LOT of help over the past few days, it's all been great. I have another problem though...
Now everytime I'm on the computer(sometimes it takes 10 minutes, sometimes even less time), I get a Blue screen error and says windows has needed to stop the process or something and right underneath says "PFN_FILE_CORRUPT"
Then it goes on to tell me to install all updates, and uninstall any new hardware that I've installed recently(It's all new, it's a new computer :P)
Then sometimes, it'll crash without any blue screen and just restart itself.
I don't get what's happening..
__________________

athleticboy17 is offline   Reply With Quote
Old 12-22-2007, 07:09 PM   #2
Omnipotent One
 
Atomic Rooster's Avatar
 
Join Date: Apr 2006
Location: USA
Posts: 11,161
Send a message via AIM to Atomic Rooster Send a message via Yahoo to Atomic Rooster
Default Re: Blue Screen Error

It may be a memory error. Try testing your memory with Memtest86+.
__________________

Atomic Rooster is offline   Reply With Quote
Old 12-22-2007, 07:11 PM   #3
Baseband Member
 
Join Date: May 2007
Posts: 38
Default Re: Blue Screen Error

Quote:
Originally Posted by Atomic Rooster View Post
It may be a memory error. Try testing your memory with Memtest86+.
None of the downloads were working for me....
athleticboy17 is offline   Reply With Quote
Old 12-22-2007, 07:15 PM   #4
Fully Optimized
 
blackjack's Avatar
 
Join Date: Mar 2007
Posts: 2,945
Send a message via MSN to blackjack
Default Re: Blue Screen Error

Are you using two sticks of ram? if so take one out and try booting up with one in.
__________________
Compaq Presario CQ5305K-m Intel® Pentium® Dual Core E5300 (2.6 GHz), Windows® 7 Home Premium 64 bit, 2048 MB , Hard drive: 320 Gb, with 18.5 Widescreen
SPURS TILL I DIE (DIAMONDS ARE FOREVER SO ARE SPURS)
TO DARE IS TO DO
blackjack is offline   Reply With Quote
Old 12-22-2007, 07:20 PM   #5
Baseband Member
 
Join Date: May 2007
Posts: 38
Default Re: Blue Screen Error

Ok, I just realized it only goes blue when I'm playin games(it'll crash, maybe with a flash of blue screen), and it has that error message blue screen when trying to install windows updates
athleticboy17 is offline   Reply With Quote
Old 12-22-2007, 07:22 PM   #6
Fully Optimized
 
blackjack's Avatar
 
Join Date: Mar 2007
Posts: 2,945
Send a message via MSN to blackjack
Default Re: Blue Screen Error

READ THIS SEE IF IT HELPS

Bugchecks Explained: PFN_LIST_CORRUPT
OSR Staff | Published: 24-Aug-04| Modified: 24-Aug-04

What Happened?

Windows tracks physical pages of memory using a table called the Page Frame Database. This database (which actually is just a big one-dimensional array) is indexed by physical page number. As a result, the page frame database is typically referred to as the Page Frame Number list or PFN.

Every page of physical memory has an associated PFN entry. Each PFN entry contains information about the state of its corresponding physical page in the system. This state includes information about whether the corresponding physical page is in use, how it’s being used, a count of active users of the page, and a count of pending I/O operations on the page.

Depending on the pages state, a PFN entry may be on one of several lists that the Memory Manager maintains. The listheads for these lists are simple global variables that are used for quick access to PFN entries of certain types. For example, one such list would be the list that contains all the modified pages that need to be written to disk.

Because all the PFN lists and entries are present in the high half of kernel virtual address space, they are subject to corruption through stray pointer accesses (such as by errant drivers or other similar kernel-mode modules). Also, the count in the PFN that tracks the number of I/O related accesses to a given physical page can be corrupted by improper MDL handling.

Whenever Windows detects that any of the PFN lists or any of the PFN entries themselves have become invalid, the system halts with a PFN_LIST_CORRUPT bugcheck.

Who Did It?

This bugcheck usually occurs for one of two reasons, the first reason being memory corruption. If there is a buggy driver in the system that is writing on memory that it does not own, it could easily corrupt one of the PFN lists or entries. In order to rule this out, you should run Driver Verifier with Special Pool enabled for suspect drivers in the system. This will hopefully allow you to catch the misbehaving driver in the act of scribbling memory, instead of receiving a crash sometime later when the O/S discovers the damage.

The second cause for this bugcheck is incorrect MDL handling. For example, one use of MDLs is to allow you to "lock" the physical memory that backs a virtual address range so that the memory stays resident while your driver is accessing it. This is achieved by using the MmProbeAndLockPages DDI. One of the things that this DDI does is take out a reference on the PFN entries of the underlying physical pages, ensuring that the Memory Manager does not page them out. The corresponding DDI to undo this operation, MmUnlockPages, is responsible for decrementing the reference counts taken out in the previous call. If a driver happens to call MmUnlockPages too many times on an MDL, the reference count on the underlying PFN entries could drop to below zero (to 0xFFFFFFFF). The system considers this to be a critical error, as one or more of the PFN entries is obviously invalid. Therefore, this bugcheck will occur.

If your driver or a driver in your stack is being blamed for a PFN_LIST_CORRUPT bugcheck, go over your code and make sure that you are properly handling your MDLs . Remember that even if you do not create or destroy any MDLs directly, you play a part in the creation and destruction of them if you handle IRPs whose buffers are described with DIRECT_IO. Driver Verifier and the checked build of Windows can help pinpoint IRP and MDL handling errors.

How Should I Fix It?

How this is fixed varies depending on the reason of the bugcheck. Using Driver Verifier and the checked build of the O/S should allow you to pinpoint the driver that is either corrupting memory or mishandling MDLs. If the offending driver is not a driver that you have any control over, the only available option is disabling the driver until a fixed version is available.

Related WinDBG Commands

· !memusage

· !pfn

Related O/S Structures

· nt!_MMPFN

· nt!_MMPFNENTRY

· nt!_MMPFNLIST

Related O/S Variables

· nt!MmBadPageListHead

· nt!MmStandbyPageListHead

· nt!MmModifiedNoWritePageListHead

· nt!MmModifiedPageListHead

· nt!MmFreePageListHead

· nt!MmZeroedPageListHead

· nt!MmRomPageListHead


User Comments
Rate this article and give us feedback. Do you find anything missing? Share your opinion with the community!
Post Your Comment

"Missing a real-life debugging sample"
I would like to suggest to include each bugcheck explanation with at least one sample debugging session showing how to approach the particular bugcheck. Although I understand that a multitude of possible causes could exist, even one example can be very helpful.
__________________
Compaq Presario CQ5305K-m Intel® Pentium® Dual Core E5300 (2.6 GHz), Windows® 7 Home Premium 64 bit, 2048 MB , Hard drive: 320 Gb, with 18.5 Widescreen
SPURS TILL I DIE (DIAMONDS ARE FOREVER SO ARE SPURS)
TO DARE IS TO DO
blackjack is offline   Reply With Quote
Old 12-22-2007, 07:31 PM   #7
Baseband Member
 
Join Date: May 2007
Posts: 38
Default Re: Blue Screen Error

The blue screen error has stopped, thank you for the help

but now my computer crashes while just playing games, or trying to install them. It just randomly restars. Everything is running cool in my PC(my CPU has yet to reach over 36 degrees), only temp I'm not sure about is the video card temp. Is the crashing maybe caused by my video card?
athleticboy17 is offline   Reply With Quote
Old 12-22-2007, 10:50 PM   #8
Baseband Member
 
Join Date: May 2007
Posts: 38
Default Re: Blue Screen Error

I hate double posting, buttI just want to move on with this computer, sorry guys for all these issues I'm havin...
__________________

athleticboy17 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 03:47 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0