2
Yesterday while hibernating my Windows 7 computer, I got BSOD which complained about Creative sound card driver (ctoss2k.sys). I have been using this system for two years already and I haven't had any issues before. After a full hard drive scan with Windows built-in utility. I saw many corrupted files.
The multi-sector header signature for VCN 0x5 of index $I30 in file 0x36c28 is incorrect.
Correcting error in index $I30 for file 224296.
The index bitmap $I30 in file 0x36c28 is incorrect.
The down pointer of current index entry with length 0x18 is invalid.
Recovering orphaned file .... (many of those)
The USN Journal entry at offset 0x44fa40000 and length 0x80000004 crosses
the page boundary.
The USN Journal entry length 0x1 at offset 0x44fa51000 in file
0xe0fc is not aligned (many of those).
The remaining of an USN page at offset 0x44fa5d000 in file 0xe0fc
should be filled with zeros.
Why did the audio driver BSOD corrupt the files which were not in use at the moment of the BSOD?
I'm sure Windows was not rewriting system files (I have turned automatic updates off, I'm updating manually), and also I see many orphaned files from some other software which was not running at the moment of the BSOD. The lines "Recovering orphaned file [filename here)" contained file names of programs which were not open at the moment of BSOD (some Visual Studio files, some Corel Video Studio files ...).
How can NTFS allow for such major corruption to happen for files which are completely unrelated to the BSOD? I have read that NTFS has a backup copy of metadata. Why NTFS does not detect that the main metadata table is corrupted and it should recover from the backup metadata (which should store the state right before the BSOD)? Isn't NTFS transactional at all?
NTFS does not hold a backup of all metadata, but a limited duplicate of the master file table, 4 KB in size. – Marcks Thomas – 2013-04-06T19:53:09.420
Martin, as a clarification, was the driver just added or new to the system? meaning did some new driver, or first time trying to hibernate with it, cause a BSOD. Or is it possible that general disk corruption came first, and a driver was also corrupted ? – Psycogeek – 2013-04-06T20:17:26.657
The system has been in use for two years without any hardware changes, powered through UPS. I was using the Hibernate feature countless times, and only yesterday it failed with that ctoss2k.sys BSOD. Hard drive is physically healthy (tested with HDTune). Even now after the crash it hibernates without issues. But it's clear that I need to reinstall because many programs are failing to launch, and even sfc /scannow reported that it's unable to fix some corrupted system files. – JustAMartin – 2013-04-06T21:31:03.540
Ahh, that clears things up. Trust your backup :-) not that drive until you know for sure. in the S.M.A.R.T. test, what is the "Data" ammount shown in the reallocated sector count? – Psycogeek – 2013-04-06T22:54:29.467
After a BSOD, some files are not really written to disk. Microsoft is aware of the problem but it seems no fix is available yet... https://connect.microsoft.com/VisualStudio/feedback/details/765759/serious-file-serialisation-bug
– None – 2014-05-15T21:44:17.043