I am attempting to configure the hive-based registry on my Au1100 based
board with CE.NET. I want to persist the registry on a compact flash card
(ATADISK). Examining the debugger output, it appears that the PCMCIA driver
loads successfully, but then the ATADISK driver fails to register with it.
I get the following debug messages:

ATADISK: Attempting to register with PCMCIA.DLL
ATADISK: CardMapWindow(pATAReg) failed 30

Does anybody know what this is related to? Any help is appreciated.

--

Frank D. Lombardo
Turning Point Technology, Inc.
Frank_AT_TurningPointOnline_DOT_com

CardMapWindow function fails?? by anonymous

anonymous
Tue Jan 13 14:43:15 CST 2004

CardMapWindow is in
\public\common\oak\drivers\pcmcia\mdd\window.c

30 is CERR_IN_USE (see \public\common\ddk\inc\cardserv.h).

I think if you look at old posts that 30 is generally due
to not setting up the registry keys for the device
manager. If the I/O or memory range isn't configured as
free, its assumed to be in use.

>-----Original Message-----
>I am attempting to configure the hive-based registry on
my Au1100 based
>board with CE.NET. I want to persist the registry on a
compact flash card
>(ATADISK). Examining the debugger output, it appears
that the PCMCIA driver
>loads successfully, but then the ATADISK driver fails to
register with it.
>I get the following debug messages:
>
>ATADISK: Attempting to register with PCMCIA.DLL
>ATADISK: CardMapWindow(pATAReg) failed 30
>
>Does anybody know what this is related to? Any help is
appreciated.
>
>--
>
>Frank D. Lombardo
>Turning Point Technology, Inc.
>Frank_AT_TurningPointOnline_DOT_com
>
>
>
>
>.
>

Re: CardMapWindow function fails?? by Frank

Frank
Tue Jan 13 15:35:56 CST 2004

You are correct. I got that working yesterday by including the device
manager registry keys in the boot hive.

; HIVE BOOT SECTION
;;
;; Device controlled resources
;;
[HKEY_LOCAL_MACHINE\Drivers\Resources\IO]
"Identifier"=dword:2
"Minimum"=dword:0
"Space"=dword:04000000
"Ranges"="0x0-0x3FFFFFF"

; END HIVE BOOT SECTION

--
Frank D. Lombardo
Turning Point Technology, Inc.
Frank_AT_TurningPointOnline_DOT_com



<anonymous@discussions.microsoft.com> wrote in message
news:03c801c3da15$de7f02e0$a301280a@phx.gbl...
> CardMapWindow is in
> \public\common\oak\drivers\pcmcia\mdd\window.c
>
> 30 is CERR_IN_USE (see \public\common\ddk\inc\cardserv.h).
>
> I think if you look at old posts that 30 is generally due
> to not setting up the registry keys for the device
> manager. If the I/O or memory range isn't configured as
> free, its assumed to be in use.
>
> >-----Original Message-----
> >I am attempting to configure the hive-based registry on
> my Au1100 based
> >board with CE.NET. I want to persist the registry on a
> compact flash card
> >(ATADISK). Examining the debugger output, it appears
> that the PCMCIA driver
> >loads successfully, but then the ATADISK driver fails to
> register with it.
> >I get the following debug messages:
> >
> >ATADISK: Attempting to register with PCMCIA.DLL
> >ATADISK: CardMapWindow(pATAReg) failed 30
> >
> >Does anybody know what this is related to? Any help is
> appreciated.
> >
> >--
> >
> >Frank D. Lombardo
> >Turning Point Technology, Inc.
> >Frank_AT_TurningPointOnline_DOT_com
> >
> >
> >
> >
> >.
> >