none
WinCE 6R3 - are exfat.dll, diskcache.dll, and mspart.dll all part of private source code? RRS feed

  • Question

  • I don't have a complete crash, but occasional strange behavior, where either the registry or the main NAND storage fail to get set up properly.  I see messages from exfat.dll or mspart.dll like below.  The system does not boot to the WinCE desktop.

    FATFS!MountVolume: Unable to initialize file system
    FATFS!MountVolume: Error in mounting volume.  Result = 0xb

    I cannot locate strings like those in any of the source tree that came with my BSP.  If I understand the Sysgen process properly, these DLLs are not compiled from source but are created during Sysgen.  Is that correct?

    If so, how can I proceed with investigating further?  If I am wrong, can someone suggest which location(s) I could set breakpoints in VS debugger to troubleshoot further?

    This is WinCE 6 R3, with QFEs applied through Aug or Sept 2011, but none since then.  I am reviewing more recent QFEs now to see if any apply to nand drivers, exfat, fmd, etc.  Suggestions are appreciated.

    Below is the entire debug output incl. the above message.  It looks to my untrained eye as if the boot-time registry loaded okay, but then either the registry or the "nand_flash" disk storage for WinCE did not load & initialize as it should.

    4294767296 PID:0 TID:2 Setting up softlog at 0x8afb1000 for 0x800 entries
    4294767296 PID:0 TID:2 Booting Windows CE version 6.00 for (ARM)
    4294767296 PID:0 TID:2 &pTOC = 8705fc1c, pTOC = 85cd6c24, pTOC->ulRamFree = 87064000, MemForPT = 00001000
    4294767296 PID:0 TID:2 
    Old or invalid version stamp in kernel structures - starting clean!
    PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\CM_T35_CE6\RELDIR\CM_T35_BSP_ARMV4I_DEBUG\DEVICE.DLL'
    4294767296 PID:0 TID:2 Configuring: Primary pages: 16195, Secondary pages: 0, Filesystem pages = 64
    4294767296 PID:0 TID:2 
    Booting kernel with clean memory configuration:
    4294767296 PID:0 TID:2 Memory Sections:
    4294767296 PID:0 TID:2 [0] : start: 87066000, extension: 00008000, length: 03f43000
    PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\CM_T35_CE6\RELDIR\CM_T35_BSP_ARMV4I_DEBUG\DEVMGR.DLL'
    4294767296 PID:0 TID:2 NKStartup done, starting up kernel.
       3920 PID:0 TID:2 Windows CE KernelInit
       3930 PID:400002 TID:2 Reserve VM for kernel XIP DLls, first = c0010000, last = c0e70000
    PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\CM_T35_CE6\RELDIR\CM_T35_BSP_ARMV4I_DEBUG\K.CEDDK.DLL'
       3936 PID:400002 TID:2 g_pprcNK == 0x8705daa0
       4019 PID:400002 TID:410002 Updated eptr->e32_vsize to = 0003d000
       4028 PID:400002 TID:410002 Initializing Memory Mapped File Support
       4028 PID:400002 TID:410002 Scheduling the first thread.
    PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\CM_T35_CE6\RELDIR\CM_T35_BSP_ARMV4I_DEBUG\PM.DLL'
       4030 PID:400002 TID:410002 Detecting VFP...
       4030 PID:400002 TID:410002  VFP Found!
       4030 PID:400002 TID:410002 LoaderInit: Initialing loader
    PB Debugger Loaded 'PMEXT.DLL', no matching symbolic information found.
    PB Debugger Loaded 'ti_constraintadapters.dll', no matching symbolic information found.
    PB Debugger Loaded 'ti_policies.dll', no matching symbolic information found.
    PB Debugger Loaded 'ti_cpuloadpolicy.dll', no matching symbolic information found.
    PB Debugger Unloaded symbols for 'ti_cpuloadpolicy.dll'
    PB Debugger Loaded symbols for 'BUS.DLL'
    PB Debugger Loaded symbols for 'NAND.DLL'
       4031 PID:400002 TID:410002 Updated eptr->e32_vsize to = 0003d000
       4031 PID:400002 TID:410002 Updated eptr->e32_vsize to = 000a4000
       4033 PID:400002 TID:410002 Updated eptr->e32_vsize to = 00025000
       4071 PID:400002 TID:410002 PGPOOL: Reserved 768 pages for Loader pool
       4072 PID:400002 TID:410002 PGPOOL: Reserved 256 pages for File pool
       4080 PID:400002 TID:410002 OSAXST0: Platform Name = CM-T35
       4092 PID:400002 TID:410002 OSAXST1: >>> Loading Module 'kd.dll' (0x8AF8DB74) at address 0xC0010000-0xC0045000 in Process 'NK.EXE' (0x8705DAA0)
       4131 PID:400002 TID:410002 KD: Starting kernel debugger software probe (KdStub) - KD API version 22
       4131 PID:400002 TID:410002 OSAXST1: >>> Loading Module 'NK.EXE' (0x8705DAA0) at address 0x84001000-0x8403E000 in Process 'NK.EXE' (0x8705DAA0)
       5725 PID:400002 TID:410002 HD: Immediate debugger module load notifications ACTIVE (slower boot - non real-time).
       5731 PID:400002 TID:410002 Message Queue support initialized, g_hMsgQHeap = d00a0000
       5743 PID:400002 TID:640002 OSAXST1: >>> Loading Module 'filesys.dll' (0x8AF65F0C) at address 0xC01E0000-0xC0267000 in Process 'NK.EXE' (0x8705DAA0)
       5846 PID:400002 TID:640002 OSAXST1: >>> Loading Module 'k.fpcrt.dll' (0x8AF61420) at address 0xC01C0000-0xC01D8000 in Process 'NK.EXE' (0x8705DAA0)
       5910 PID:400002 TID:640002 OSAXST1: >>> Loading Module 'fsdmgr.dll' (0x8AF61558) at address 0xC0630000-0xC0676000 in Process 'NK.EXE' (0x8705DAA0)
       5977 PID:400002 TID:640002 FSDMGR!DllMain: DLL_PROCESS_ATTACH
       5978 PID:400002 TID:6b0002 CertMod.dll not found, using old OEM Trust Model
       5984 PID:400002 TID:6b0002 FileSystem Starting - starting with clean file system
       5989 PID:400002 TID:6b0002 FSDMGR!STOREMGR_Initialize
       5990 PID:400002 TID:6b0002 FSDMGR!InitializeStoreAPI
       5990 PID:400002 TID:6b0002 FSDMGR!MountTable_t::RegisterVolumeName: Registered "StoreMgr" at index 2
       5990 PID:400002 TID:6b0002 FSDMGR!MountTable_t::RegisterVolume: Registered volume at index 2 (Name="StoreMgr", MountFlags=0x1)
       5991 PID:400002 TID:6b0002 FSDMGR!InitializeROMFileSystem: File System=ROM
       5994 PID:400002 TID:6b0002 OSAXST1: >>> Loading Module 'romfsd.dll' (0x8AF50C6C) at address 0xC0270000-0xC0277000 in Process 'NK.EXE' (0x8705DAA0)
       6083 PID:400002 TID:6b0002 FSDMGR!MountTable_t::RegisterVolumeName: Registered "ROM" at index 3
       6083 PID:400002 TID:6b0002 FSDMGR!MountTable_t::RegisterVolume: Registered volume at index 3 (Name="ROM", MountFlags=0x71)
       6087 PID:400002 TID:6b0002 FSVOL: Opening existing volume
       6089 PID:400002 TID:6b0002 FSVOL: Volume heap already initialized
       6090 PID:400002 TID:6b0002 FSREG: Mounted ROM portion of boot registry
       6090 PID:400002 TID:6b0002 FSVOL: Creating clean virtual volume
       6092 PID:400002 TID:6b0002 FSVOL: Initializing volume heap
       6116 PID:400002 TID:6b0002 FSREG: Mounted RAM portion of boot registry
       6130 PID:400002 TID:6b0002 OAL: Deregister DSP engine driver (hardware is not detected).
       6131 PID:400002 TID:6b0002 FS: Creating signal event SYSTEM/DevMgrApiSetReady
       6132 PID:400002 TID:6b0002 FS: Creating signal event SYSTEM/PowerManagerReady
       6132 PID:400002 TID:6b0002 FS: Creating signal event SYSTEM/GweApiSetReady
       6132 PID:400002 TID:6b0002 FS: Creating signal event ReleaseFSD
       6132 PID:400002 TID:6b0002 FS: Creating signal event SYSTEM/DCOMApiSetReady
       6133 PID:400002 TID:6b0002 FS: Creating signal event SYSTEM/BatteryAPIsReady
       6133 PID:400002 TID:6b0002 FS: Creating signal event SYSTEM/NLedAPIsReady
       6133 PID:400002 TID:6b0002 FSREG: Unable to read value "Start DevMgr" under HKEY_LOCAL_MACHINE\init\BootVars
       6133 PID:400002 TID:6b0002 FILESYS: Starting boot phase 0.
    PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\CM_T35_CE6\RELDIR\CM_T35_BSP_ARMV4I_DEBUG\MSPART.DLL'
       6133 PID:400002 TID:6b0002 FSDMGR!STOREMGR_StartBootPhase BootPhase=0 (PrevBootPhase=-1)
       6137 PID:400002 TID:6b0002 FSDMGR: File security disabled.
       6139 PID:400002 TID:6b0002 FSDMGR!AutoLoadFileSystems: CurrentBootPhase=0, LoadFlags=1
       6139 PID:400002 TID:6b0002 FILESYS: Starting boot phase 1.
       6139 PID:400002 TID:6b0002 FSDMGR!STOREMGR_StartBootPhase BootPhase=1 (PrevBootPhase=0)
    PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\CM_T35_CE6\RELDIR\CM_T35_BSP_ARMV4I_DEBUG\EXFAT.DLL'
       6139 PID:400002 TID:6b0002 FSDMGR!AutoLoadFileSystems: CurrentBootPhase=1, LoadFlags=1
       6140 PID:400002 TID:6b0002 FSDMGR!AutoLoadFileSystem: CurrentBootPhase=1, RootKey=System\StorageManager\AutoLoad, FileSystem_t=Relfsd
       6146 PID:400002 TID:6b0002 OSAXST1: >>> Loading Module 'relfsd.dll' (0x8AF23C84) at address 0xC05D0000-0xC05DF000 in Process 'NK.EXE' (0x8705DAA0)
       6209 PID:400002 TID:a50002 FSDMGR!PNPThread: Using PNPUnloadDelay of 4096
       6210 PID:400002 TID:a50002 FSDMGR!PNPThread: PNPThread starting!
    PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\CM_T35_CE6\RELDIR\CM_T35_BSP_ARMV4I_DEBUG\DISKCACHE.DLL'
       6210 PID:400002 TID:6b0002 FSDMGR!MountTable_t::RegisterVolumeName: Registered "Release" at index 4
    PB Debugger Unloaded symbols for 'C:\WINCE600\OSDESIGNS\CM_T35_CE6\RELDIR\CM_T35_BSP_ARMV4I_DEBUG\DISKCACHE.DLL'
    PB Debugger Unloaded symbols for 'C:\WINCE600\OSDESIGNS\CM_T35_CE6\RELDIR\CM_T35_BSP_ARMV4I_DEBUG\EXFAT.DLL'
       6211 PID:400002 TID:6b0002 FSDMGR!MountTable_t::RegisterVolume: Registered volume at index 4 (Name="Release", MountFlags=0x0)
       6211 PID:400002 TID:6b0002 Mounted ReleaseFSD volume '\Release'
       6334 PID:400002 TID:6b0002 size of 'dbglist.txt' = 00000000
       6561 PID:400002 TID:6b0002 FILESYS: Starting device and waiting for boot file system.
       6565 PID:400002 TID:6b0002 OSAXST1: >>> Loading Module 'device.dll' (0x8AF1C688) at address 0xC0490000-0xC0495000 in Process 'NK.EXE' (0x8705DAA0)
       7045 PID:400002 TID:6b0002 OSAXST1: >>> Loading Module 'devmgr.dll' (0x8AF1C7C0) at address 0xC04A0000-0xC04C7000 in Process 'NK.EXE' (0x8705DAA0)
       7544 PID:400002 TID:6b0002 OSAXST1: >>> Loading Module 'k.ceddk.dll' (0x8AF1C908) at address 0xC06A0000-0xC06B3000 in Process 'NK.EXE' (0x8705DAA0)
       7961 PID:400002 TID:6b0002 OSAXST1: >>> Loading Module 'pm.dll' (0x8AF1CAD4) at address 0xC04F0000-0xC0518000 in Process 'NK.EXE' (0x8705DAA0)
       8715 PID:400002 TID:6b0002 *** Power Manager: DLL_PROCESS_ATTACH - Current Process: 0x42, ID: 0x400002 ***
       9632 PID:400002 TID:6b0002 *** DLL_PROCESS_ATTACH - Current Process: 0x42, ID: 0x400002 ***
       9633 PID:400002 TID:6b0002 Filesys: Loaded device.dll
       9633 PID:400002 TID:6b0002 FILESYS: Waiting for device manager to signal BootPhase1 completion.
       9633 PID:400002 TID:bf0002 +InitDeviceFileSystems
       9634 PID:400002 TID:bf0002 FSDMGR!MountTable_t::RegisterVolumeName: Registered "$device" at index 5
       9634 PID:400002 TID:bf0002 FSDMGR!MountTable_t::RegisterVolume: Registered volume at index 5 (Name="$device", MountFlags=0x1)
       9634 PID:400002 TID:bf0002 FSDMGR!MountTable_t::RegisterVolumeName: Registered "$bus" at index 6
       9634 PID:400002 TID:bf0002 FSDMGR!MountTable_t::RegisterVolume: Registered volume at index 6 (Name="$bus", MountFlags=0x1)
       9634 PID:400002 TID:bf0002 -InitDeviceFileSystems: status is 1
       9634 PID:400002 TID:bf0002 Ceddk!CalibrateStallCounter: Enter
       9635 PID:400002 TID:bf0002 Ceddk!CalibrateStallCounter: Could not find stall counter
       9636 PID:400002 TID:bf0002 Ceddk!BeginCalibration: min(328) max(365)
       9791 PID:400002 TID:bf0002 Ceddk!BeginCalibration: Elapsed is 359
       9792 PID:400002 TID:bf0002 Ceddk!BeginCalibration: Delay is 48
       9792 PID:400002 TID:bf0002 +PmInit
       9792 PID:400002 TID:bf0002 +PlatformValidatePMRegistry
       9792 PID:400002 TID:bf0002 -PlatformValidatePMRegistry: returning 0
       9793 PID:400002 TID:bf0002 DeviceListsInit: default GUID found in registry as expected
       9793 PID:400002 TID:bf0002 DeviceListCreate: creating list entry for class 8dd679ce-8ab4-43c8-a14a-ea4963faa715
       9793 PID:400002 TID:bf0002 PlatformDeviceListInit: using stream interface to access class 8dd679ce-8ab4-43c8-a14a-ea4963faa715
       9794 PID:400002 TID:bf0002 DeviceListCreate: creating list entry for class 98c5250d-c29a-4985-ae5f-afe5367e5006
       9794 PID:400002 TID:bf0002 PlatformDeviceListInit: using stream interface to access class 98c5250d-c29a-4985-ae5f-afe5367e5006
       9794 PID:400002 TID:bf0002 DeviceListCreate: creating list entry for class eb91c7c9-8bf6-4a2d-9ab8-69724eed97d1
       9794 PID:400002 TID:bf0002 PlatformDeviceListInit: using display interface to access class eb91c7c9-8bf6-4a2d-9ab8-69724eed97d1
       9795 PID:400002 TID:bf0002 InitDisplayDeviceInterface: returning 1
       9795 PID:400002 TID:bf0002 DeviceListCreate: creating list entry for class a32942b7-920c-486b-b0e6-92a702a99b35
       9795 PID:400002 TID:bf0002 PlatformDeviceListInit: using stream interface to access class a32942b7-920c-486b-b0e6-92a702a99b35
       9797 PID:400002 TID:e00002 +PnpThreadProc: thread 0x00e00002
       9798 PID:400002 TID:e20002 +ResumeThreadProc: thread 0x00e20002
       9798 PID:400002 TID:e40002 +ActivityTimersThreadProc: thread 0x00e40002
       9798 PID:400002 TID:e40002 ActivityTimerCreate: ActivityTimerCreate('UserActivity') returning 0x00000007
       9799 PID:400002 TID:e40002 ActivityTimerCreate: ActivityTimerCreate('SystemActivity') returning 0x00000007
       9838 PID:400002 TID:bf0002 OSAXST1: >>> Loading Module 'pmext.dll' (0x8AF0CC9C) at address 0xD02B0000-0xD02C0000 in Process 'NK.EXE' (0x8705DAA0)
       9919 PID:400002 TID:bf0002 OSAXST1: >>> Loading Module 'ti_constraintadapters.dll' (0x8AEFC558) at address 0xD02D0000-0xD02DC000 in Process 'NK.EXE' (0x8705DAA0)
      11990 PID:400002 TID:bf0002 OSAXST1: >>> Loading Module 'ti_policies.dll' (0x8AEFCA14) at address 0xD02E0000-0xD02E7000 in Process 'NK.EXE' (0x8705DAA0)
      12639 PID:400002 TID:bf0002 OSAXST1: >>> Loading Module 'ti_cpuloadpolicy.dll' (0x8AEFCE8C) at address 0xD02F0000-0xD02F6000 in Process 'NK.EXE' (0x8705DAA0)
      13196 PID:400002 TID:bf0002 OSAXST1: <<< Unloading Module 'ti_cpuloadpolicy.dll' (0x8AEFCE8C) at address 0xD02F0000-0xD02F6000 in Process 'NK.EXE' (0x8705DAA0)
      13252 PID:400002 TID:bf0002 PmInit: "PMExt_Init" success
      13253 PID:400002 TID:1030002 +SystemThreadProc: thread 0x01030002
      13253 PID:400002 TID:1030002 +PlatformManageSystemPower
      13254 PID:400002 TID:1030002 PowerStateManager::PlatformLoadTimeouts: ACSuspendTimeout -1, ACTimeoutToSystemIdle 300000, ACUserIdleTimeout 60000 
      13255 PID:400002 TID:1030002 PowerStateManager::PlatformLoadTimeouts: BattSuspendTimeout 300000,BattTimeoutToSystemIdle 180000, BattUserIdleTimeout60000 
      13260 PID:400002 TID:1030002 PowerStateManager::GetFirstPowerState: initialization complete
      13261 PID:400002 TID:bf0002 -PmInit: returning 1
      13262 PID:400002 TID:bf0002 DEVICE!DevloadInit
      13263 PID:400002 TID:bf0002 DEVICE!InitDevices: Root Key is Drivers\BuiltIn.
      13263 PID:400002 TID:bf0002 DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\BusPrefix) returned 2
      13309 PID:400002 TID:bf0002 OSAXST1: >>> Loading Module 'bus.dll' (0x8AF10180) at address 0xD0350000-0xD0362000 in Process 'NK.EXE' (0x8705DAA0)
      14554 PID:400002 TID:bf0002 InitializePMExtension: Can't find 'PmExtPath' key.
      14559 PID:400002 TID:bf0002 DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\MSFlash\BusPrefix) returned 2
      14632 PID:400002 TID:bf0002 OSAXST1: >>> Loading Module 'nand.dll' (0x8AEE4E28) at address 0xD0370000-0xD0392000 in Process 'NK.EXE' (0x8705DAA0)
      14710 PID:400002 TID:bf0002 +FMD_Init 
      14718 PID:400002 TID:bf0002 Detected NAND (manufacturer_id = 0x2c, device_id = 0xa1)
      14722 PID:400002 TID:bf0002 media contains 1 flash regions:
      14723 PID:400002 TID:bf0002     Type=2, StartP=0x0, NumP=0x1000, NumL=0x0, Sec/Blk=0x40, B/Blk=0x20000, Compact=4.
      14723 PID:400002 TID:bf0002 media contains 0 reserved regions:
      14803 PID:400002 TID:c60002 DEVICE!RegReadActivationValues RegOpenKeyEx(Notify) returned 2.
      14804 PID:400002 TID:c60002 DEVICE!I_ActivateDeviceEx: can't find all required activation values in 'Notify'
      15107 PID:400002 TID:bf0002 FLASHDRV.DLL:BuildupMappingInfo() - Enter. 
      19149 PID:400002 TID:bf0002 DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\MUsbOtg\DllName) returned 2
      19150 PID:400002 TID:bf0002 DEVICE!I_ActivateDeviceEx: can't find all required activation values in 'Drivers\BuiltIn\MUsbOtg'
      19150 PID:400002 TID:c60002 DEVICE!RegReadActivationValues RegOpenKeyEx(Notify) returned 2.
      19151 PID:400002 TID:c60002 DEVICE!I_ActivateDeviceEx: can't find all required activation values in 'Notify'
      19151 PID:400002 TID:a50002 FSDMGR!StoreDisk_t::OpenDisk(0xD04CCA60) DeviceInfo Class(0x00000001) Flags(0x00000005) Type(0x00000002) Profile(MSFlash)
      19152 PID:400002 TID:a50002 FSDMGR!MountStore: Attaching new storage device "DSK0:"
      19152 PID:400002 TID:a50002 FSDMGR!DumpRegKey: Dumping registry for key System\StorageManager\Profiles 
      19152 PID:400002 TID:a50002 		AutoMount = 00000001
      19152 PID:400002 TID:a50002 		AutoPart = 00000000
      19152 PID:400002 TID:a50002 		AutoFormat = 00000000
      19152 PID:400002 TID:a50002 		MountFlags = 00000000
      19152 PID:400002 TID:a50002 		DefaultFileSystem = 
      19153 PID:400002 TID:a50002 		PartitionDriverName = MSPART
      19153 PID:400002 TID:a50002 		Folder = Mounted Volume
      19153 PID:400002 TID:a50002 		ActivityEvent = PowerManager/ActivityTimer/SystemActivity
      19153 PID:400002 TID:a50002 FSDMGR!DumpRegKey: Dumping registry for key MSFlash 
      19153 PID:400002 TID:a50002 		DriverPath = Drivers\BuiltIn\MSFlash
      19153 PID:400002 TID:a50002 		Folder = NAND_Flash
      19153 PID:400002 TID:a50002 		AutoMount = 00000001
      19198 PID:400002 TID:a50002 		AutoPart = 00000001
      19198 PID:400002 TID:a50002 		AutoFormat = 00000001
      19198 PID:400002 TID:a50002 		FileSystem = fatfsd.dll
      19198 PID:400002 TID:a50002 		PartitionDriver = mspart.dll
      19199 PID:400002 TID:a50002 		MountHidden = 00000000
      19199 PID:400002 TID:a50002 		MountAsRoot = 00000000
      19199 PID:400002 TID:a50002 		MountSystem = 00000000
      19199 PID:400002 TID:a50002 		LoadFlags = 00000001
      19199 PID:400002 TID:a50002 		BootPhase = 00000000
      19199 PID:400002 TID:a50002 		Order = 00000000
      19199 PID:400002 TID:a50002 FSDMGR!StoreDisk_t::GetPartitionDriver: Using the generated partition driver name (mspart)!!!
      19205 PID:400002 TID:a50002 OSAXST1: >>> Loading Module 'mspart.dll' (0x8AEAD960) at address 0xC0680000-0xC068F000 in Process 'NK.EXE' (0x8705DAA0)
      19153 PID:400002 TID:6b0002 FILESYS: Waiting for bootable file system to be mounted.
      19924 PID:400002 TID:a50002 FSDMGR!LoadPartitionDriver: Loading partition driver mspart.dll hModule=8AEAD960
      19925 PID:400002 TID:a50002 FSDMGR!StoreDisk_t::MountStore: Opened the store "DSK0:" hStore=0xD04CD600
      19926 PID:400002 TID:a50002 FSDMGR!StoreDisk_t::MountStore: Geometry: NumSec=255744 BytesPerSec=2048 FreeSec=0 BiggestCreatable=0
      19926 PID:400002 TID:a50002 Partition Part00  NumSectors=16244
      19926 PID:400002 TID:a50002 MSPART!PD_OpenPartition: dwStoreId=D04CD600, PartName=Part00
      19926 PID:400002 TID:a50002 FSDMGR!StoreDisk_t::LoadPartition: mounting partition "Part00" on store "DSK0:"
      19927 PID:400002 TID:a50002 FSDMGR!ParitionDisk::LoadPartition: Partition Type 0x20 --> "BOOT"
      19927 PID:400002 TID:a50002 FSDMGR!ParitionDisk::LoadPartition: DetectFileSystem failed; error=2
      19928 PID:400002 TID:a50002 Partition Part01  NumSectors=239499
      19928 PID:400002 TID:a50002 MSPART!PD_OpenPartition: dwStoreId=D04CD600, PartName=Part01
      19928 PID:400002 TID:a50002 FSDMGR!StoreDisk_t::LoadPartition: mounting partition "Part01" on store "DSK0:"
      19928 PID:400002 TID:a50002 FSDMGR!ParitionDisk::LoadPartition: Partition Type 0x0b --> "FATFS"
      19928 PID:400002 TID:a50002 FSDMGR!ParitionDisk::MountPartition: "FATFS" --> exfat.dll
      19940 PID:400002 TID:a50002 OSAXST1: >>> Loading Module 'exfat.dll' (0x8AEADE58) at address 0xC0530000-0xC056C000 in Process 'NK.EXE' (0x8705DAA0)
      20578 PID:400002 TID:a50002 FSD_MountDisk: Mounting volume for hDsk=D04CDF60
      20580 PID:400002 TID:a50002 FATFS!ReadRegistryValues: Registry flags = 0x94
      20580 PID:400002 TID:a50002 FATFS!ReadRegistryValues: Force write through disabled
      20580 PID:400002 TID:a50002 FATFS!ReadRegistryValues: Automatic formatting enabled
      20580 PID:400002 TID:a50002 FATFS!ReadRegistryValues: Transact data disabled
      20580 PID:400002 TID:a50002 FATFS!ReadRegistryValues: Security Support enabled
      20592 PID:400002 TID:a50002 OSAXST1: >>> Loading Module 'diskcache.dll' (0x8AE90AB0) at address 0xC0570000-0xC057A000 in Process 'NK.EXE' (0x8705DAA0)
      21998 PID:400002 TID:a50002 CreateCache: Successful.  Cache Size: 936 KB, Start: 500, End: 967, CreateFlags: 2.
      22018 PID:400002 TID:a50002 FATFS!MountVolume: Unable to initialize file system (11)
      22019 PID:400002 TID:a50002 FATFS!MountVolume: Error in mounting volume. Result = 0xb
      22037 PID:400002 TID:a50002 OSAXST1: <<< Unloading Module 'diskcache.dll' (0x8AE90AB0) at address 0xC0570000-0xC057A000 in Process 'NK.EXE' (0x8705DAA0)
      22094 PID:400002 TID:a50002 FSDMGR!MountedVolume_t::~MountedVolume_t: deleting volume (D04D0300)
      22094 PID:400002 TID:a50002 FSDMGR!FileSystemDriver_t::~FileSystemDriver_t: deleting FSD (D04CE3E0)
      22094 PID:400002 TID:a50002 OSAXST1: <<< Unloading Module 'exfat.dll' (0x8AEADE58) at address 0xC0530000-0xC056C000 in Process 'NK.EXE' (0x8705DAA0)
      29793 PID:400002 TID:6b0002 FILESYS: Waiting for bootable file system to be mounted.
      39795 PID:400002 TID:6b0002 FILESYS: Waiting for bootable file system to be mounted.
      49796 PID:400002 TID:6b0002 FILESYS: Waiting for bootable file system to be mounted.



    Tuesday, April 17, 2012 6:56 PM

All replies

  • more info, here is part of my reginit.ini file, showing parts related to storage manager:

    ; @CESYSGEN IF FILESYS_FSREGHIVE
    ; HIVE BOOT SECTION
    ; Valid Bits for Flags registry value
    ; If no flags are set, the hive will be stored in the object store.
    ;
    ; 0x00000001    Start storage manager in boot phase 1 for hive-based registry
    ; 0x00000002    Start device manager in boot phase 1 for hive-based registry
    ; 0x00000004    Start storage manager in boot phase 1 for registry in
    ;               external ROM (such as BINFS)
    ; 0x00000008    Start device manager in boot phase 1 for registry in
    ;               external ROM (such as BINFS)
    [HKEY_LOCAL_MACHINE\init\BootVars]
       "SystemHive"="Documents and Settings\\system.hv"
       "ProfileDir"="Documents and Settings"
       "Flags"=dword:1
    ; END HIVE BOOT SECTION
    ; @CESYSGEN ENDIF FILESYS_FSREGHIVE
    ; @CESYSGEN IF FILESYS_FSDBASE
    ; HIVE BOOT SECTION
    ; When a bootable persistent storage device is mounted, redirect ObjectStore
    ; database operations to a volume file on the device. This will be the same
    ; storage device where the registry hives are stored on FSREGHIVE builds.
    [HKEY_LOCAL_MACHINE\System\ObjectStore]
        "DefaultDBVol"="Documents and Settings\\default.vol"
    ; END HIVE BOOT SECTION
    ; @CESYSGEN ENDIF
    ; HIVE BOOT SECTION
    ; This key allows untrusted processes (when using 2 tier trust model) to access system files for read.
    [HKEY_LOCAL_MACHINE\System\ObjectStore]
        "AllowSystemAccess"=dword:1
    ; END HIVE BOOT SECTION
    ; Replication Filter Registry Map
    ;
    ; ReplStoreHostVolume  : Host volume of replication database volume; "" for root, "\\<mount point>" for non-root, e.g., "\\Hard Disk"
    ; ReplStorePath        : Path of replication database volume on host volume
    ; ReplStoreName        : Name of replication database in replication database volume
    ; ReplStoreDoImmaculate: [Optional] Whether to synchronize the replication database to the replicated volume on initialization
    ; ReplStoreCacheSize   : [Optional] Number of replication records (paths) to cache
    ; NumDirsToExclude     : [Optional; Required if DirsToExclude present] Number of entries in DirsToExclude
    ; DirsToExclude        : [Optional; Required if NumDirsToExclude present] Set of fully qualified paths to exclude from replication
    ;                        e.g., "\\foo\\","\\bar\\" Note that, it is important to include the trailing slash
    ;
    ; ReplStoreHostVolume, ReplStorePath, and ReplStoreName must all be defined in order to override the
    ; default of ("", "\\ReplStorVol", "ReplStor").
    ;
    ; HIVE BOOT SECTION
    ; @CESYSGEN IF CE_MODULES_FSREPLXFILT
    ; @CESYSGEN ENDIF CE_MODULES_FSREPLXFILT
    ; END HIVE BOOT SECTION
    ; Valid Bits for Flags registry value under [HKEY_LOCAL_MACHINE\init\BootVars]
    ; 0x00000001    Start storage manager in boot phase 1 for hive-based registry
    ; 0x00000002    Start device manager in boot phase 1 for hive-based registry
    ; @CESYSGEN IF CE_MODULES_FSDMGR
    ; HIVE BOOT SECTION
    [HKEY_LOCAL_MACHINE\System\ObjectStore\RegFlush]
    ; To monitor the flushing from an external process add "ActivityName" registry value.
    ; The activity name is a global named event that filesystem will signal on Registry Activity.
    ;   "ActivityName"=""
    ; Create an thread in filesys to perform flushing
        "SpawnThread"=dword:1
    ; Make the thread IDLE priority
        "FlushPriority256"=dword:FF
    ; ActivityThreshold specifies the # of reg activity before we force a flush
        "ActivityThreshold"=dword:100
    ; Timeout period in ms for a flush (flush occurs if there have been some changes during this period).
        "FlushPeriod"=dword:1D4C0
    ; Registry value that can be queried to determine the type of registry subsystem that is in use
    ; 0 - RAM/ObjectStore based registry
    ; 1 - Hive based registry
    ; @CESYSGEN IF FILESYS_FSREGHIVE
    [HKEY_LOCAL_MACHINE\System\ObjectStore]
        "RegistryType"=dword:1
    ; @CESYSGEN ELSE
    ; @CESYSGEN ENDIF
    ; Sample persistent registry dll
    ; @CESYSGEN IF CE_MODULES_OEMFS
    ; @CESYSGEN ENDIF
    ; This tells Filesys to load FSDMGR
    [HKEY_LOCAL_MACHINE\System\StorageManager]
        "Dll"="fsdmgr.dll"
        "PNPUnloadDelay"=dword:1000
    ; END HIVE BOOT SECTION
    ; @CESYSGEN IF CE_MODULES_RELFSD
    ; HIVE BOOT SECTION
    [HKEY_LOCAL_MACHINE\System\Events]
        "ReleaseFSD"="ReleaseFSD"
    ; @CESYSGEN IF CE_MODULES_SHELL
    [HKEY_LOCAL_MACHINE\Loader]
        "SystemPath"=multi_sz:"\\Release\\"
    ; @CESYSGEN ENDIF CE_MODULES_SHELL
    ; AutoLoad Filesystems
    ; LoadFlags - DWORD - Controls how the filesystem is loaded
    ; BootPhase - DWORD - Controls what phase of the boot this filesystem is loaded can be 0, 1, 2
    ; Currently LoadFLags can be one of the following
    ; LOAD_FLAG_SYNC     00000001    LOAD_FLAG_SYNC  - Load the filesystem synchronously
    ; LOAD_FLAG_ASYNC    00000002    LOAD_FLAG_ASYNC - Load the filesystem async on another thread (Default)
    ; mount  - string -  dir where relfsd mounts the _FLATRELEASEDIR. When
    ;                    shell is included in the image, kernel loader
    ;                    automatically loads modules from '\release' if they
    ;                    are not found on the device. Because of this,
    ;                    production images in which relfsd is included in the
    ;                    image (and shell is not), relfsd should be set to
    ;                    mount to some other dir than '\release'.
    ; secure - DWORD -   1 - relfsd will allow only opening and reading
    ;                        of existing files on the desktop. Disallows
    ;                        writing to files and registry access functions.
    ;                        "Opening file ... from desktop" is a RETAILMSG.
    ;                    0 - unrestricted relfsd access
    ;                        "Opening file ... from desktop" is a NKDbgPrintfW message.
    [HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\Relfsd]
        "Dll"="relfsd.dll"
        "Paging"=dword:0
        "LoadFlags"=dword:1
        "PowerNotify"=dword:0
    ; @CESYSGEN IF CE_MODULES_SHELL
        "mount"="Release"
        "secure"=dword:0
    ; @CESYSGEN ELSE
    ; @CESYSGEN ENDIF CE_MODULES_SHELL
    ; END HIVE BOOT SECTION
    ; @CESYSGEN ENDIF CE_MODULES_RELFSD
    ; @CESYSGEN IF FILESYS_FSYSRAM
    ; @CESYSGEN ENDIF FILESYS_FSYSRAM
    ; @CESYSGEN IF CE_MODULES_EXFAT
    ; HIVE BOOT SECTION
    ;
    ; Default values for FATFS.  These can be overridden per profile
    ;
    ; Dll            String    Dll name of file system, e.g fatfsd.dll
    ; Util           String    Dll name of utility to do format and scan, e.g fatutil.dll
    ; BufferSize     DWORD     Number of sector-sized buffers to use for streams (default = 64)
    ; CodePage       DWORD     Overrides using CP_OEMCP in all character conversion.
    ; MountLabel     DWORD     1 to use disk name as mount point
    ;
    ; TFAT specific settings
    ;
    ; SectorsPerSyncAtInit     DWORD     Number of sectors to sync at a time during init (default = 32).
    ; ReservedClusters         DWORD     Number of clusters to reserve for cloning (default = 4).
    ;
    ; Disk cache settings
    ;
    ; CacheDll                 String    DLL name of disk cache library
    ; EnableCache              DWORD     0 to disable disk caching, 1 to enable
    ; EnableWriteBack          DWORD     1 to enable a write-back cache. 0 to use a write-through cache.
    ; EnableFatCacheWarm       DWORD     1 to enable pre-warming the FAT cache.
    ; EnableDataCacheWarm      DWORD     1 to enable pre-warming the data cache.
    ; EnableBitmapCacheWarm    DWORD     1 to enable pre-warming the bitmap cache.
    ; FatCacheSize             DWORD     Size of the FAT cache, in number of sectors.
    ;                                    If 0, FATFS uses size of the FAT up to 512 sectors.
    ; DataCacheSize            DWORD     Size of the data cache, in number of sectors.
    ;                                    If 0, FATFS uses twice the FAT cache.
    ; BitmapCacheSize          DWORD     Size of the bitmap cache, in number of sectors.
    ;                                    If 0, FATFS uses size of the bitmap up to 512 sectors.
    ; LazyWriterThreadPrio256  DWORD     The priority of the lazy write-back thread.
    ;
    ; Formatting settings
    ;
    ; FormatTfat           DWORD     1 to format volume as TFAT on auto-format or through IOCTL_DISK_FORMAT_VOLUME
    ; FormatExfat          DWORD     1 to format volume as EXFAT on auto-format or through IOCTL_DISK_FORMAT_VOLUME
    ; FormatClusterSize    DWORD     Cluster size in bytes.  Limit of 32 KB for regular FAT.  No limit for exFAT.
    ; FormatFatVersion     DWORD     Regular FAT only.  Values of 12, 16, or 32.
    ; FormatNumberOfFats   DWORD     Regular FAT only.  Values of 1 or 2.
    ; FullFormat           DWORD     Full format on auto-format.
    ; SecureWipe           DWORD     Secure wipe on auto-format.
    ;
    ; FATFS flags (formerly under Flags registry value)
    ;
    ; UpdateAccess         DWORD     Update access times if set (formerly Flags = 0x1)
    ; DisableAutoScan      DWORD     Disable automatic ScanVolume() (formerly Flags = 0x4)
    ; ForceWritethrough    DWORD     Force file writes to be always writethrough (formerly Flags = 0x20)
    ; DisableAutoFormat    DWORD     Disable automatic formatting of unformatted volumes (formerly Flags = 0x40)
    ; DisableFormat        DWORD     Disable format IOCTL (formerly Flags = 0x20000)
    ; TransactData         DWORD     Transact data on a write (i.e. clone cluster on every write)
    ;                                (formerly Flags = 0x40000)
    ; NonatomicSector      DWORD     Use cluster 1 entry in FAT table for TFAT transaction,
    ;                                since sector writes are non-atomic. (formerly Flags = 0x80000)
    ; TfatMarkAlways       DWORD     Always mark transaction status, even only one sector in FAT is changed.
    ;                                (formerly Flags = 0x200000)
    ; LFNExtendedAlways    DWORD     Generate LFN entries for extended characters always
    ; SecuritySupport      DWORD     exFAT only.  Indicates to add a security descriptor directory entry
    ;                                for every file/directory created.
    ; ForceNoFileBuffering DWORD     Force reads and writes to file data to be unbuffered
    ;
    ;
    [HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
        "FriendlyName"="FAT FileSystem"
        "Dll"="exfat.dll"
        "DisableAutoFormat"=dword:1
        "DisableAutoScan"=dword:1
        "Paging"=dword:1
        "EnableCache"=dword:1
        "CacheSize"=dword:0
        "Util"="fatutil.dll"
        "CacheDll"="diskcache.dll"
    ; @CESYSGEN IF CE_MODULES_CACHEFILT
    [HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\Filters\CacheFilt]
        "Dll"="cachefilt.dll"
        "LockIOBuffers"=dword:1
    ; @CESYSGEN ENDIF CE_MODULES_CACHEFILT
    [HKEY_LOCAL_MACHINE\System\StorageManager\EXFAT]
        "FriendlyName"="exFAT FileSystem"
        "Dll"="exfat.dll"
        "DisableAutoFormat"=dword:1
        "DisableAutoScan"=dword:1
        "Paging"=dword:1
        "EnableCache"=dword:1
        "CacheSize"=dword:0
        "Util"="fatutil.dll"
        "CacheDll"="diskcache.dll"
        "FormatExfat"=dword:1
    ; @CESYSGEN IF CE_MODULES_CACHEFILT
    [HKEY_LOCAL_MACHINE\System\StorageManager\EXFAT\Filters\CacheFilt]
        "Dll"="cachefilt.dll"
        "LockIOBuffers"=dword:1
    ; @CESYSGEN ENDIF CE_MODULES_CACHEFILT
    ; END HIVE BOOT SECTION
    ; @CESYSGEN ENDIF CE_MODULES_EXFAT
    ; @CESYSGEN IF CE_MODULES_ENCFILT
    ; @CESYSGEN ENDIF
    ; @CESYSGEN IF CE_MODULES_CEFILT
    ; @CESYSGEN ENDIF CE_MODULES_CEFILT
    ; @CESYSGEN IF CE_MODULES_UDFS
    ; @CESYSGEN ENDIF CE_MODULES_UDFS
    ; @CESYSGEN IF CE_MODULES_CDFS
    ; @CESYSGEN ENDIF CE_MODULES_UDFS
    ; @CESYSGEN IF CE_MODULES_BINFS
    ; HIVE BOOT SECTION
    ; Default values for binfs.  These can be overridden per profile
    [HKEY_LOCAL_MACHINE\System\StorageManager\BinFS]
        "FriendlyName"="BIN Filesystem"
        "Dll"="binfs.dll"
        "Paging"=dword:1
    ; END HIVE BOOT SECTION
    ; @CESYSGEN ENDIF CE_MODULES_BINFS
    ; @CESYSGEN IF CE_MODULES_IMGFS
    ; @CESYSGEN IF IMGFS_IMGFS_NOWRITE
    ; @CESYSGEN ENDIF
    ; @CESYSGEN ENDIF
    ; @CESYSGEN IF CE_MODULES_RAWFS
    ; @CESYSGEN ENDIF
    ; @CESYSGEN IF CE_MODULES_UPDATEAPP || CE_MODULES_IMGUPD
    ; @CESYSGEN ENDIF
    ; @CESYSGEN IF CE_MODULES_UPDATEAPP
    ; @CESYSGEN ENDIF
    ; @CESYSGEN IF CE_MODULES_MSPART
    ; HIVE BOOT SECTION
    ; Partition driver key.
    [HKEY_LOCAL_MACHINE\System\StorageManager\MSPART]
        "Dll"="mspart.dll"
    ; END HIVE BOOT SECTION
    ; @CESYSGEN ENDIF
    ; Default values for all profiles
    ; These can overridden in the particular named profile
    ; Various Flags
    ;   AutoFormat - Formats the store automatically
    ;   AutoPart   - Automatically partitions the store with largest creatable partition
    ;   AutoMount  - Automatically Mounts each detected partition (if FSD driver is available)
    ;   MountFlags (deprecated)- Flags on how the partition is mounted
    ;       1  - Hidden file system
    ;       2  - May contain system registry
    ;       4  - Mount as root of file system, "\"
    ;      10  - Mount filesystem as an external ROM filesystem
    ;      20  - Treat all files and subdirectories as system files
    ;   The following registry values override the MountFlags:
    ;      MountHidden - Hidden file system (same as MountFlags=1)
    ;      MountAsBootable - May contain system registry (same as MountFlags=2)
    ;      MountAsRoot - Mount as root of file system, "\" (same as MountFlags=4)
    ;      MountAsROM - Mount as an external ROM filesystem (same as MountFlags=10)
    ;      MountSystem - Treat all files and subdirectories as system files (same as MountFlags=20)
    ;      MountPermanent - This volume can never be dismounted (same as MountFlags=40)
    ;      MountAsNetwork - This volume will receive all UNC paths (same as MountFlags=80)
    ; HIVE BOOT SECTION
    [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles]
        "AutoMount"=dword:1
        "AutoPart"=dword:0
        "AutoFormat"=dword:0
        "MountFlags"=dword:0
        "DefaultFileSystem"=""
        "PartitionDriverName"="MSPART"
        "Folder"="Mounted Volume"
    ; @CESYSGEN IF PM_PM_DEFAULT_PDD
        "ActivityEvent"="PowerManager/ActivityTimer/SystemActivity"
    ; @CESYSGEN ENDIF ; PM_PM_DEFAULT_PDD
    ; The partition table contain entries where the volume name is the partition type (in %02X format)
    ; The value is the name of the filesystem.  This is used to look up the module to load etc.
    ; Explicitly call out 07 partition type as MSIFS, which means an Microsoft Installable File SYstem,
    ; such as NTFS or EXFAT.  The actual filesystem name is determined by running the detectors.
    [HKEY_LOCAL_MACHINE\System\StorageManager\PartitionTable]
        "01"="FATFS"
        "04"="FATFS"
        "06"="FATFS"
        "07"="MSIFS"
        "0B"="FATFS"
        "0C"="FATFS"
        "0E"="FATFS"
        "0F"="FATFS"
        "20"="BOOT"
        "21"="BINFS"
        "22"="RAWFS"
        "23"="RAWFS"
        "25"="IMGFS"
        "26"="BINARY"
    [HKEY_LOCAL_MACHINE\System\StorageManager\MSIFS\Detectors\EXFAT]
        "Guid"="{A4AB2ABF-726A-4aa8-B882-6EB6EB5780E9}"
        "Dll"="exfat.dll"
        "Export"="FSD_DetectVolume"
    [HKEY_LOCAL_MACHINE\System\StorageManager\MSIFS]
        "DefaultFileSystem"="EXFAT"
    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\MSFlash]
        "Dll"="nand.dll"
        "Prefix"="DSK"
        "Index"=dword:0
        "Order"=dword:4
        "MemBase"=multi_sz:"6E000000","08000000"
        "MemLen"=multi_sz:"00001000","00001000"
        "DmaCh"=dword:3
    	; CE_DRIVER_BLOCK_GUID
        "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
        "Profile"="MSFlash"
        
        ;-- Storage Manager Configuration ----------------------------------------------
    [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
        "DriverPath"="Drivers\\BuiltIn\\MSFlash"
        "Folder"="NAND_Flash"
        "AutoMount"=dword:1
        "AutoPart"=dword:1
        "AutoFormat"=dword:1
        "FileSystem"="fatfsd.dll"
        "PartitionDriver"="mspart.dll"    
        "MountHidden"=dword:0
        "MountAsRoot"=dword:0
        "MountSystem"=dword:0
        "LoadFlags"=dword:1
        "BootPhase"=dword:0
        "Order"=dword:0
    ; @CESYSGEN IF FILESYS_FSREGHIVE
    ; @CESYSGEN ENDIF FILESYS_FSREGHIVE 
    [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]    
        "Flags"=dword:00000094
        "FormatTFAT"=dword:1
        "EnableWriteBack"=dword:1   
        "MountAsBootable"=dword:1
        "MountAsRoot"=dword:1

    Tuesday, April 17, 2012 7:24 PM
  • Those DLL's are part of the shared source code that you can install from the Platform Builder DVD simply accepting the EULA:

    %_WINCEROOT%\PRIVATE\WINCEOS\COREOS\FSD\EXFAT

    %_WINCEROOT%\PRIVATE\WINCEOS\COREOS\STORAGE\DOSPART

    %_WINCEROOT%\PRIVATE\WINCEOS\COREOS\STORAGE\DISKCACHE

    Error 0xb is ERROR_BAD_FORMAT

    HTH


    Luca Calligaris lucaDOTcalligarisATeurotechDOTcom www.eurotech.com Check my blog: http://lcalligaris.wordpress.com

    • Proposed as answer by LadanyiP Tuesday, February 2, 2016 8:44 PM
    • Unproposed as answer by LadanyiP Tuesday, February 2, 2016 8:44 PM
    Wednesday, April 18, 2012 7:18 AM
  • Thanks, Luca.  If I did not accept the EULA the first time around, is it possible to go back and have access to this code without completely reinstalling everything?
    Wednesday, April 18, 2012 2:35 PM
  • If I remember correctly if you run the setup program again you should have an option like 'modify' which allows you to install the shared source code (or, for example, the support for a processor architecture that you originally did not install)


    Luca Calligaris lucaDOTcalligarisATeurotechDOTcom www.eurotech.com Check my blog: http://lcalligaris.wordpress.com

    Wednesday, April 18, 2012 2:59 PM
  • Luca, i went to Control Panel in Win 7, chose "Change" for "Platform Builder Service Pack 1" which was the only entry for PB in the list.  (Fwiw, I had Win CE 6, and Win CE 6R2, and WinCE 6R3 all in the list of installed programs).   Anyway, I got to the same screen I'd seen before where I was prompted to install or skip shared source as well as several different processor architectures.

    I chose "shared source" again and proceeded without errors.  But, in the end, I've got exactly the same set of source I had before.  And unfortunately, it does not include EXFAT.  Under %winceroot%\private\winceos\coreos\FSD, I have:

    binfs

    cachefilt

    cdfs

    relfsd

    udf

    so, does anyone have other suggestions?  I tried to search all of \wince600, and the only hits I got for "MountVolume" were from exfat.lib under wince600\public\common\oak\lib. 

    I also searched all dirs and sources files and *.bat for "exfat", with zero hits.  I'm getting a exfat.dll built and placed in %releasedir%, but I'm not sure how that happens.  I see that exfat is added to CE_MODULES in winceos.bat, but the stuff after that is a mystery at the moment.

    What else should I check at this point?

    Wednesday, May 2, 2012 8:49 PM
  • I think Luca must have the premium package, as I have the shared source installed and have the same directories that you listed, with no extfat directory.
    Thursday, May 3, 2012 4:41 AM
  • Hi, Luca, at this point, do I have any options for possibly getting EXFAT source from either my BSP vendor or MSFT? 
    Wednesday, May 16, 2012 3:33 PM
  • Did you ever get a fix for this?  Did Microsoft release a fix in a QFE?  Can it be worked around by changing some NAND Flash registry settings?
    I noticed that Registry Flags is deprecated in WinCE 6.0, but the debug trace shows it?

    I have two devices (out of many and hours of testing) that have this exact same error, locking up during boot in flashpart.dll.
    Using TFAT, exFAT, WinCE 6.0 R3 with QFEs through 12/31/2012.

    4294793161 PID:400002 TID:a30002 FATFS!ReadRegistryValues: Registry flags = 0x24
    4294793161 PID:400002 TID:a30002 FATFS!ReadRegistryValues: Force write through enabled
    4294793161 PID:400002 TID:a30002 FATFS!ReadRegistryValues: Automatic formatting enabled
    4294793161 PID:400002 TID:a30002 FATFS!ReadRegistryValues: Transact data disabled
    4294793161 PID:400002 TID:a30002 FATFS!ReadRegistryValues: Security Support disabled
    4294793262 PID:400002 TID:a30002 CreateCache: Successful.  Cache Size: 732 KB, Start: 398, End: 763, CreateFlags: 2.
    4294793262 PID:400002 TID:a30002 FATFS!MountVolume: Unable to initialize file system (11)
    4294793262 PID:400002 TID:a30002 FATFS!MountVolume: Error in mounting volume. Result = 0xb
    4294793262 PID:400002 TID:a30002 FSDMGR!MountedVolume_t::~MountedVolume_t: deleting volume (D002E900)
    4294793262 PID:400002 TID:a30002 FSDMGR!FileSystemDriver_t::~FileSystemDriver_t: deleting FSD (D002E820)
    4294803163 PID:400002 TID:6a0002 FILESYS: Waiting for bootable file system to be mounted.

    I have a 3rd device that has the same symptom of locking up on boot in flashpart.dll, but this one has a different error when I load debug code.

    4294801175 PID:400002 TID:ed0002 FileSysFal::ReadLogicalSectors() - Checksum failed on physical sector 0x12400, when reading logical sector 0x2db01.
    4294801175 PID:400002 TID:ed0002 Unknown: DEBUGCHK failed in file d:\yzkiqfe\private\winceos\DRIVERS\msflash\flashmddcore\.\Fal.cpp at line 816

    Wednesday, August 22, 2012 11:25 AM
  • Sort of.  It turns out there was a BSP driver that did not properly recognize the physical configuration of NAND Flash some of the time, and this was one of the bad outcomes from that event.

    We modified the BSP driver and were able to eliminate this problem.

    Wednesday, August 22, 2012 1:43 PM
  • Could you elaborate a bit more.  I assume FMD driver?  Was this by any chance a Freescale BSP?
    Wednesday, August 22, 2012 10:54 PM
  • not a Freescale BSP, it is an OMAP 4430 based SOM from someone else. 

    This problem was simple and had a simple fix, once we understood it fully.  The system vendor sells their SOM with varying amounts of nand flash installed, but their BSP driver *always* returns the same value for how many blocks are there on the nand chip.  We fixed that up and have had no problems since in that regard.

    good luck to you

    Thursday, August 23, 2012 3:11 PM
  • OK thanks.

    Our problem is a bit different. The flash layout and blocks are correct and timings are correct so that is not how the flash gets corrupted.

    This is an intermittent issue possibly due to battery removal or brownout resets leading to a corrupted NAND flash.  The image is still bootable, but the TexFAT file system is apparently corrupted in a manner that is not recoverable.  I thought that was the whole point of TFAT that it could not get corrupted?

    Anyway, I see there are a couple QFEs related to file system problems.  I will try those, but they do not sound like exactly the same problem.

    http://support.microsoft.com/kb/2687725

    http://support.microsoft.com/kb/2690868

    http://support.microsoft.com/kb/2676298

    Thursday, August 23, 2012 5:59 PM