Re: Rom-only file system



Hi Dean

I have to say that the system appears to be working otherwise ok. The hive
based registry is persisting to disk. I can navigate around the various
folders. The hard disk appears as the root. I can share the hard disk across
a network. I've got a net2280 offering up the hard disk as a USB mass storage
device. Our own hardware drivers load up and run ok.

Just lots of debug output. If I open 'My device' I get 100 or more lines of
debug of the following type:

199529 PID:adfc8c1a TID:cde80952 0x8dcee830:
FATFS!FAT_GetFileAttributesW(\::{000214A0-0000-0000-C000-000000000046})
returned 0xffffffff (123)
199530 PID:adfc8c1a TID:cde80952 0x8dcee830:
FATFS!FAT_GetFileAttributesW(\Windows\ceshell.dll) returned 0xffffffff (2)
199530 PID:adfc8c1a TID:cde80952 0x8dcee830:
FATFS!FAT_GetFileAttributesW(\Windows\ceshell.dll) returned 0xffffffff (2)
199530 PID:adfc8c1a TID:cde80952 0x8dcee830:
FATFS!FAT_CreateFileW(\Windows\ceshell.dll) returned 0x0 (2)
199531 PID:adfc8c1a TID:cde80952 0x8dcee830:
FATFS!FAT_GetFileAttributesW(\Windows\ceshell.dll) returned 0xffffffff (2)
199531 PID:adfc8c1a TID:cde80952 0x8dcee830:
FATFS!FAT_GetFileAttributesW(\Windows\ceshell.dll) returned 0xffffffff (2)
199532 PID:adfc8c1a TID:cde80952 0x8dcee830:
FATFS!FAT_CreateFileW(\Windows\ceshell.dll) returned 0x0 (2)
199533 PID:adfc8c1a TID:cde80952 0x8dcee830:
FATFS!FAT_GetFileAttributesW(\Windows\ceshell.dll) returned 0xffffffff (2)
199533 PID:adfc8c1a TID:cde80952 0x8dcee830:
FATFS!FAT_GetFileAttributesW(\Windows\ceshell.dll) returned 0xffffffff (2)
199533 PID:adfc8c1a TID:cde80952 0x8dcee830:
FATFS!FAT_CreateFileW(\Windows\ceshell.dll) returned 0x0 (2)
199534 PID:adfc8c1a TID:2d8e1de2 0x8da2bca4:
FATFS!FAT_GetFileAttributesW(\Windows\Urlmon.dll) returned 0xffffffff (2)
199535 PID:adfc8c1a TID:2d8e1de2 0x8da2bca4:
FATFS!FAT_GetFileAttributesW(\Windows\Urlmon.dll) returned 0xffffffff (2)

It's as if the debug ouput is produced when the system looks in the wrong
place for files/file information? Could it be that the FAT_CreateFileW is
called as a consequence of a file open, and the system is checking in the ROM
for files before locating them on the disk?

Regards

Sean


"Dean Ramsier" wrote:

> Is there a problem somewhere that you've noticed (other than debug output)?
>
> --
> Dean Ramsier - eMVP
> Vibren Technologies
> http://www.vibren.com/Products/schema_bsp.htm
>
>
> "wrx03ppp" <yourdisplayname@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:356828E4-AFA6-4467-AC55-F00BEA63EE32@xxxxxxxxxxxxxxxx
> > Hi all
> >
> > I have a VIA EPIA ME6000 system with ATA flash disk running CE5.0. I am
> > using hive based registry and have set:
> >
> > PRJ_BOOTDEVICE_ATAPI
> > PRJ_ENABLE_FSMOUNTASROOT
> > PRJ_ENABLE_FSREGHIVE
> >
> > I have a problem when I switch from RAM and ROM file system to ROM only
> file
> > system. During the boot phase I get lots of debug error output that seems
> to
> > start with:
> >
> > FS: Mounting external volume Hard Disk as file system root
> > FS: Registering file system <root>, index 8, flags 0x00000006
> > FS: Mount complete (<root>, index 8, flags 0x00000006)
> > FS: Populating root file system...
> > FATFS!FAT_CreateDirectoryW(8 chars: \Windows) returned FALSE (183)
> > FATFS!FAT_CreateDirectoryW(5 chars: \Temp) returned FALSE (183)
> >
> > The system seems to work OK otherwise, the disk appears as the root but
> > maybe I need to change a registry setting somewhere?
> >
> > Any ideas or clues appreciated.
> >
> > Sean
>
>
>
.



Relevant Pages

  • Re: Rom-only file system
    ... Is there a problem somewhere that you've noticed (other than debug output)? ... > I have a VIA EPIA ME6000 system with ATA flash disk running CE5.0. ... > I have a problem when I switch from RAM and ROM file system to ROM only ... > FS: Populating root file system... ...
    (microsoft.public.windowsce.platbuilder)
  • Rom-only file system
    ... I have a VIA EPIA ME6000 system with ATA flash disk running CE5.0. ... I have a problem when I switch from RAM and ROM file system to ROM only file ... FS: Populating root file system... ... maybe I need to change a registry setting somewhere? ...
    (microsoft.public.windowsce.platbuilder)
  • 5.x Works, 4.x Fails ..
    ... When I partition my hdd and it 'should' start formatting the disk, ... DEBUG: ... DEBUG: Notify: Making a new root fs on /dev/ad0s1a ...
    (freebsd-questions)
  • Re: 5.x Works, 4.x Fails ..
    ... > When I partition my hdd and it 'should' start formatting the disk, ... > while i get this in my debug screen: ... cannot find label disk label corrupted) ...
    (freebsd-questions)
  • Re: Bios Boot Loader error
    ... "Luca Calligaris" wrote: ... have you done something to the disk before, ... Built it in release or debug mode ... ...
    (microsoft.public.windowsce.embedded)