View Single Post
  #3 (permalink)  
Old October 11, 2008, 05:25 PM
norfolk's Avatar
norfolk norfolk is offline
MVP
F@H
 
Join Date: Mar 2007
Location: N1R-1C8
Posts: 360

My System Specs

Default

Windows uses a special subsystem for certain disk functions, which caches write operations and performs them when the system is idle. This can improve [COLOR=blue ! important][COLOR=blue ! important]system[/color][/color] performance, but it’s typically turned off by default. The term for this kind of operation is “delayed writing”. You can see how write-caching is handled for a particular volume by right-clicking on the icon for the drive in the “Disk drives” subtree of the Device Manager and selecting the Policies tabs. The options typically are “Optimize for quick removal” (everything is written to the drive immediately) and “Optimize for performance” (writes are cached).
The first option lets you quickly disconnect drives — for instance, hot-pluggable USB “pen” drives — without first disconnecting them via the Safely Remove Hardware icon in the system tray. If all the options are grayed out, this means write-caching is probably handled at the discretion of the device driver. (You can see more information about the way the defaults for write caching work in the Microsoft article, “Windows XP and Surprise Removal of Hardware”:
(microsoft whdc).
In Windows XP, the system may pop up a “Delayed Write Failed” notification balloon, which means that something has gone wrong with the delayed-write system. This does not always mean there has been a fatal problem, but you should take it seriously.
Some common reasons for a delayed-write failure are:
  • 1. Problems with a device driver, especially a SCSI or RAID device driver. Some RAID device drivers are known to issue spurious “Delayed Write Failed” errors in XP Service Pack 2. Most manufacturers have been alerted to this, so check to make sure the disk drivers are up-to-date.
  • 2. Cabling problems. A faulty or broken cable — especially for an external USB or Firewire enclosure—can generate this error. It can also happen if the cable is too long, or if it is hooked up through a hub that isn’t up to spec. Another possible culprit is if you have a UDMA drive that requires an 80-pin cable, and you are using a 40-pin cable.
  • 3. SCSI termination errors. This has become less likely with the advent of self-terminating SCSI hardware, but it shouldn’t be counted out.
  • 4. Media errors. This is the worst possible scenario — essentially, drive failure. If you can garner statistics on the drive via SMART (such as SMART & Simple (SMART and Simple for NT/2000/XP), you may be able to determine if there’s a mechanical failure in the offing. Gibson Research’s SpinRite tool (Home of Gibson Research Corporation) is also useful for assessing media errors, but be warned: It may take a long time to do a thorough test.
  • 5. BIOS settings on the computer are forcing faster UDMA modes than the drive controller can handle. This is unlikely, especially with newer hardware (which can support UDMA far more flexibly), but it can usually be fixed with a BIOS upgrade, or by resetting the BIOS entries for the hard drives to auto-detect settings. Devices set to UDMA Mode 6 that produce this error, for instance, might need to be set to Mode 5.
  • 6. Controller issues. I’ve observed that USB controllers that contend strongly with other hardware can produce this error. In systems that have both “long” and “short” PCI slots (i.e., 64-bit and 32-bit), try moving the USB controller to the long slot. Older PCI cards will not fit in such a slot.
  • 7. Memory parity issues. If the problem appears after installing new memory, the memory in question may be faulty or not of the correct type for the motherboard in question. (This may go hand-in-hand with other problems such as random lockups, too.)
  • 8. The LargeSystemCache Registry tweak and ATI video adapters. One peculiar set of circumstances that has been observed on multiple machines with ATI video adapters and more than 512MB of memory involves the LargeSystemCache Registry setting, a DWORD entry found in HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSe ssion ManagerMemory Management. This setting governs the amount of memory set aside by the system for certain kernel processes. If it’s set to 1 (which allegedly improves performance on systems with more than 512MB of memory), it can cause data corruption on some systems, and produce the “Delayed Write Failed” error. Try resetting it to 0 if it’s been set.
====================================
** UPDATE: New post with new solution for the Windows Delayed Write Failed error message. ** Click Here
Well, recently I found another solution to this problem that really worked for me!
The problem itself seems to be from a memory cache on the USB adapter which drives my disk. It seems that when accessing big files, the cache gets corrupted and the drive becomes inaccessible. To rectify that, a filter driver should be installed, which will limit the packets size sent to the USB adapter bus.
There’s a filter named “MAX128K Filter”, just go ahead and install that. The author’s website explains it very clearly and easy to understand. But one thing to be careful is that he explains it how to apply the filter to your Firewire device, but me, I applied it to my USB external drive.
Note that for USB external hard drives, you should look in
“My Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlS et\Enum\USBSTOR
instead of SBP2, to find your actual external drive.
Go ahead and read what says the author, and read carefuly the Instructions and then download and proceed.
here’s the link : Home of Max128k Filter Driver
Once everything’s done properly, just restart your system and see if you get that error again. Well, you can try copying some files to the drive, and keep using the drive for some time to see if everything’s OK or not.
__________________

Reply With Quote