FIX: The FATFS driver may enter an infinite loop if an external hard disk drive is physically detached during a write operation in Windows CE 5.0 (904258)



The information in this article applies to:

  • Microsoft Windows CE 5.0

SYMPTOMS

Consider the following scenario. In Windows CE 5.0, an external hard disk drive is physically detached when the File Allocation Table (FAT) file system (FATFS) driver is performing a write operation. In this scenario, the FATFS driver may enter an infinite loop and be unable to process additional file operations.

RESOLUTION

Software update information

A supported software update is now available from Microsoft as Windows CE 5.0 Core OS QFE 904258. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:

837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

Prerequisites

This software update is supported only if all previously issued software updates for this product have also been applied.

Restart requirement

After you apply this software update, you must perform a clean build of the whole platform. To clean the platform, click Clean on the Build menu. To build the platform, click Build Platform on the Build menu. You do not have to restart the computer after you apply this software update.

Software update replacement information

This software update does not replace any other software updates.

File information

The English version of this software update package has the file attributes or the later file attributes that are listed in the following table.
   Date         Time   Size       File name
   ----------------------------------------------------------------------
   05-Oct-2005  23:24  1,102,848  Wincepb50-051005-kb904258-armv4i.msi
   05-Oct-2005  23:24  1,149,952  Wincepb50-051005-kb904258-mipsii.msi
   05-Oct-2005  23:24  1,149,952  Wincepb50-051005-kb904258-mipsii_fp.msi
   05-Oct-2005  23:24  1,165,824  Wincepb50-051005-kb904258-mipsiv.msi
   05-Oct-2005  23:24  1,165,824  Wincepb50-051005-kb904258-mipsiv_fp.msi
   05-Oct-2005  23:24  1,080,832  Wincepb50-051005-kb904258-sh4.msi
   05-Oct-2005  23:24  1,010,176  Wincepb50-051005-kb904258-x86.msi
The English version of this update has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Size     File name
   --------------------------------------------
   Path: Public\Common\Oak\Lib\Armv4i\Debug
   30-Sep-2005  19:12  573,728  Fatfsd.lib
   30-Sep-2005  19:12  666,514  Tfat.lib

   Path: Public\Common\Oak\Lib\Armv4i\Retail
   30-Sep-2005  19:12  300,820  Fatfsd.lib
   30-Sep-2005  19:12  337,434  Tfat.lib

   Path: Public\Common\Oak\Lib\Mipsii\Debug
   30-Sep-2005  19:14  578,600  Fatfsd.lib
   30-Sep-2005  19:14  668,620  Tfat.lib

   Path: Public\Common\Oak\Lib\Mipsii\Retail
   30-Sep-2005  19:13  307,694  Fatfsd.lib
   30-Sep-2005  19:13  344,334  Tfat.lib

   Path: Public\Common\Oak\Lib\Mipsii_fp\Debug
   30-Sep-2005  19:14  578,722  Fatfsd.lib
   30-Sep-2005  19:14  668,750  Tfat.lib

   Path: Public\Common\Oak\Lib\Mipsii_fp\Retail
   30-Sep-2005  19:14  307,818  Fatfsd.lib
   30-Sep-2005  19:14  344,412  Tfat.lib

   Path: Public\Common\Oak\Lib\Mipsiv\Debug
   30-Sep-2005  19:14  587,618  Fatfsd.lib
   30-Sep-2005  19:14  679,838  Tfat.lib

   Path: Public\Common\Oak\Lib\Mipsiv\Retail
   30-Sep-2005  19:14  310,908  Fatfsd.lib
   30-Sep-2005  19:14  348,040  Tfat.lib

   Path: Public\Common\Oak\Lib\Mipsiv_fp\Debug
   30-Sep-2005  19:15  587,740  Fatfsd.lib
   30-Sep-2005  19:15  679,968  Tfat.lib

   Path: Public\Common\Oak\Lib\Mipsiv_fp\Retail
   30-Sep-2005  19:15  311,024  Fatfsd.lib
   30-Sep-2005  19:15  348,114  Tfat.lib

   Path: Public\Common\Oak\Lib\Sh4\Debug
   30-Sep-2005  19:12  490,788  Fatfsd.lib
   30-Sep-2005  19:12  567,356  Tfat.lib

   Path: Public\Common\Oak\Lib\Sh4\Retail
   30-Sep-2005  19:12  280,090  Fatfsd.lib
   30-Sep-2005  19:12  312,200  Tfat.lib

   Path: Public\Common\Oak\Lib\X86\Debug
   30-Sep-2005  19:12  481,528  Fatfsd.lib
   30-Sep-2005  19:12  556,676  Tfat.lib

   Path: Public\Common\Oak\Lib\X86\Retail
   30-Sep-2005  19:11  267,554  Fatfsd.lib
   30-Sep-2005  19:11  299,128  Tfat.lib

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Modification Type:MinorLast Reviewed:7/25/2006
Keywords:kbBug kbfix kbQFE kbpubtypekc KB904258 kbAudOEM