Hi,
I am porting WinCE 5.0 to x86 platform.
The NK.BIN I built is put in CF storage card, and it boots from CF card.
Problem is that it cannot boot from 2 G bytes CF card, but 256 M bytes CF
card is OK. I use the same NK.BIN to verify this issue.
Debug message as below,

********************************
Debug msg (Boot OK on 256MB CF card)
********************************
Debug Serial Init
SysInit: GDTBase=819540e8 IDTBase=81975860 KData=8197d800
Windows CE Kernel for i486 Built on Feb 8 2007 at 23:34:04
g_pPageDir = 81980000
RTC - Status Reg B - 0x02
X86Init done, OEMAddressTable = 80205758.
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
OEMIoControl: Unsupported Code 0x10100c4 - device 0x0101 func 49
OEMIoControl: Unsupported Code 0x10100c4 - device 0x0101 func 49
OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
OEMIoControl: Unsupported Code 0x10100f8 - device 0x0101 func 62
Explorer(V2.0) taskbar thread started.


********************************
Debug msg (Boot Failed on 2G CF card)
********************************
Debug Serial Init
SysInit: GDTBase=819540e8 IDTBase=81975860 KData=8197d800
Windows CE Kernel for i486 Built on Feb 8 2007 at 23:34:04
g_pPageDir = 81980000
RTC - Status Reg B - 0x02
X86Init done, OEMAddressTable = 80205758.
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
(HANG Here
--------------------------------------------------------------------------------

It always stuck at IOCTL code 35 when I use 2G CF card to load NK.BIN.
256 Mbytes CF card doesn't have this issue.

Please help me to check what's the root cause of this issue.

thanks
Rick

Re: Cannot Load NK.BIN by 2G bytes CF storage card by Bruce

Bruce
Tue Apr 29 06:42:29 PDT 2008

A debug build might give you more information about what is going on.

Based little or no information available, I am guessing that it might be a
format problem, and that you are mounting as root or are using hive registry
on the CF card.

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com

EuroTech Inc.
www.EuroTech.com

"Rick" <Rick@discussions.microsoft.com> wrote in message
news:0D6C26A3-37A0-4C1C-839F-7276170D85E7@microsoft.com...
> Hi,
> I am porting WinCE 5.0 to x86 platform.
> The NK.BIN I built is put in CF storage card, and it boots from CF card.
> Problem is that it cannot boot from 2 G bytes CF card, but 256 M bytes CF
> card is OK. I use the same NK.BIN to verify this issue.
> Debug message as below,
>
> ********************************
> Debug msg (Boot OK on 256MB CF card)
> ********************************
> Debug Serial Init
> SysInit: GDTBase=819540e8 IDTBase=81975860 KData=8197d800
> Windows CE Kernel for i486 Built on Feb 8 2007 at 23:34:04
> g_pPageDir = 81980000
> RTC - Status Reg B - 0x02
> X86Init done, OEMAddressTable = 80205758.
> OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
> OEMIoControl: Unsupported Code 0x10100c4 - device 0x0101 func 49
> OEMIoControl: Unsupported Code 0x10100c4 - device 0x0101 func 49
> OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
> OEMIoControl: Unsupported Code 0x10100f8 - device 0x0101 func 62
> Explorer(V2.0) taskbar thread started.
>
>
> ********************************
> Debug msg (Boot Failed on 2G CF card)
> ********************************
> Debug Serial Init
> SysInit: GDTBase=819540e8 IDTBase=81975860 KData=8197d800
> Windows CE Kernel for i486 Built on Feb 8 2007 at 23:34:04
> g_pPageDir = 81980000
> RTC - Status Reg B - 0x02
> X86Init done, OEMAddressTable = 80205758.
> OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
> (HANG Here)
> --------------------------------------------------------------------------------
>
> It always stuck at IOCTL code 35 when I use 2G CF card to load NK.BIN.
> 256 Mbytes CF card doesn't have this issue.
>
> Please help me to check what's the root cause of this issue.
>
> thanks
> Rick



Re: Cannot Load NK.BIN by 2G bytes CF storage card by Peter

Peter
Tue Apr 29 07:42:49 PDT 2008

Hi Rick,

I had the same problem with 1GB CF Cards. With 128MB cards, everything
was OK.

Now I reduced the IDE transfer speed in BIOS settings of my x86-Board
to UDMA33 (33MHz) instead of default setting UDMA66 (66MHz).
Now all of my CF card types with different sizes and speed are working
well.

Best regards

Peter Kaluscha


On 29 Apr., 10:47, Rick <R...@discussions.microsoft.com> wrote:
> Hi,
> I am porting WinCE 5.0 to x86 platform.
> The NK.BIN I built is put in CF storage card, and it boots from CF card.
> Problem is that it cannot boot from 2 G bytes CF card, but 256 M bytes CF
> card is OK. I use the same NK.BIN to verify this issue.
> Debug message as below,
>
> ********************************
> =A0Debug msg (Boot OK on 256MB CF card)
> ********************************
> Debug Serial Init
> SysInit: GDTBase=3D819540e8 IDTBase=3D81975860 KData=3D8197d800
> Windows CE Kernel for i486 Built on Feb =A08 2007 at 23:34:04
> g_pPageDir =3D 81980000
> RTC - Status Reg B - 0x02
> X86Init done, OEMAddressTable =3D 80205758.
> OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
> OEMIoControl: Unsupported Code 0x10100c4 - device 0x0101 func 49
> OEMIoControl: Unsupported Code 0x10100c4 - device 0x0101 func 49
> OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
> OEMIoControl: Unsupported Code 0x10100f8 - device 0x0101 func 62
> Explorer(V2.0) taskbar thread started.
>
> ********************************
> =A0Debug msg (Boot Failed on 2G CF card)
> ********************************
> Debug Serial Init
> SysInit: GDTBase=3D819540e8 IDTBase=3D81975860 KData=3D8197d800
> Windows CE Kernel for i486 Built on Feb =A08 2007 at 23:34:04
> g_pPageDir =3D 81980000
> RTC - Status Reg B - 0x02
> X86Init done, OEMAddressTable =3D 80205758.
> OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
> (HANG Here)
> --------------------------------------------------------------------------=
-=AD-----
>
> It always stuck at IOCTL code 35 when I use 2G CF card to load NK.BIN.
> 256 Mbytes CF card doesn't have this issue.
>
> Please help me to check what's the root cause of this issue.
>
> thanks
> Rick


Re: Cannot Load NK.BIN by 2G bytes CF storage card by Rick

Rick
Tue Apr 29 22:34:02 PDT 2008

Hi Bruce,
The image which remove HIVE setting can boot properly with 2GB CF cards.
The problem is the CF folder "Hard Disk" disappear in WinCE once using 2GB
CF cards.
I am debugging CF disappeared folder issue.
Any suggestion ?

thanks
Rick

"Bruce Eitman [eMVP]" wrote:

> A debug build might give you more information about what is going on.
>
> Based little or no information available, I am guessing that it might be a
> format problem, and that you are mounting as root or are using hive registry
> on the CF card.
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> Bruce.Eitman AT EuroTech DOT com
>
> EuroTech Inc.
> www.EuroTech.com
>
> "Rick" <Rick@discussions.microsoft.com> wrote in message
> news:0D6C26A3-37A0-4C1C-839F-7276170D85E7@microsoft.com...
> > Hi,
> > I am porting WinCE 5.0 to x86 platform.
> > The NK.BIN I built is put in CF storage card, and it boots from CF card.
> > Problem is that it cannot boot from 2 G bytes CF card, but 256 M bytes CF
> > card is OK. I use the same NK.BIN to verify this issue.
> > Debug message as below,
> >
> > ********************************
> > Debug msg (Boot OK on 256MB CF card)
> > ********************************
> > Debug Serial Init
> > SysInit: GDTBase=819540e8 IDTBase=81975860 KData=8197d800
> > Windows CE Kernel for i486 Built on Feb 8 2007 at 23:34:04
> > g_pPageDir = 81980000
> > RTC - Status Reg B - 0x02
> > X86Init done, OEMAddressTable = 80205758.
> > OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
> > OEMIoControl: Unsupported Code 0x10100c4 - device 0x0101 func 49
> > OEMIoControl: Unsupported Code 0x10100c4 - device 0x0101 func 49
> > OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
> > OEMIoControl: Unsupported Code 0x10100f8 - device 0x0101 func 62
> > Explorer(V2.0) taskbar thread started.
> >
> >
> > ********************************
> > Debug msg (Boot Failed on 2G CF card)
> > ********************************
> > Debug Serial Init
> > SysInit: GDTBase=819540e8 IDTBase=81975860 KData=8197d800
> > Windows CE Kernel for i486 Built on Feb 8 2007 at 23:34:04
> > g_pPageDir = 81980000
> > RTC - Status Reg B - 0x02
> > X86Init done, OEMAddressTable = 80205758.
> > OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
> > (HANG Here)
> > --------------------------------------------------------------------------------
> >
> > It always stuck at IOCTL code 35 when I use 2G CF card to load NK.BIN.
> > 256 Mbytes CF card doesn't have this issue.
> >
> > Please help me to check what's the root cause of this issue.
> >
> > thanks
> > Rick
>
>
>

Re: Cannot Load NK.BIN by 2G bytes CF storage card by Bruce

Bruce
Wed Apr 30 06:34:24 PDT 2008

Rick:

I made a suggestion yesterday, see if a debug build gives you any more
information.

Based on what you posted today, the disk isn't being mounted correctly for
your settings.

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com

EuroTech Inc.
www.EuroTech.com

"Rick" <Rick@discussions.microsoft.com> wrote in message
news:F32EBDBC-4F98-4B81-961F-0B4EA91DD13E@microsoft.com...
> Hi Bruce,
> The image which remove HIVE setting can boot properly with 2GB CF cards.
> The problem is the CF folder "Hard Disk" disappear in WinCE once using 2GB
> CF cards.
> I am debugging CF disappeared folder issue.
> Any suggestion ?
>
> thanks
> Rick
>
> "Bruce Eitman [eMVP]" wrote:
>
>> A debug build might give you more information about what is going on.
>>
>> Based little or no information available, I am guessing that it might be
>> a
>> format problem, and that you are mounting as root or are using hive
>> registry
>> on the CF card.
>>
>> --
>> Bruce Eitman (eMVP)
>> Senior Engineer
>> Bruce.Eitman AT EuroTech DOT com
>>
>> EuroTech Inc.
>> www.EuroTech.com
>>
>> "Rick" <Rick@discussions.microsoft.com> wrote in message
>> news:0D6C26A3-37A0-4C1C-839F-7276170D85E7@microsoft.com...
>> > Hi,
>> > I am porting WinCE 5.0 to x86 platform.
>> > The NK.BIN I built is put in CF storage card, and it boots from CF
>> > card.
>> > Problem is that it cannot boot from 2 G bytes CF card, but 256 M bytes
>> > CF
>> > card is OK. I use the same NK.BIN to verify this issue.
>> > Debug message as below,
>> >
>> > ********************************
>> > Debug msg (Boot OK on 256MB CF card)
>> > ********************************
>> > Debug Serial Init
>> > SysInit: GDTBase=819540e8 IDTBase=81975860 KData=8197d800
>> > Windows CE Kernel for i486 Built on Feb 8 2007 at 23:34:04
>> > g_pPageDir = 81980000
>> > RTC - Status Reg B - 0x02
>> > X86Init done, OEMAddressTable = 80205758.
>> > OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
>> > OEMIoControl: Unsupported Code 0x10100c4 - device 0x0101 func 49
>> > OEMIoControl: Unsupported Code 0x10100c4 - device 0x0101 func 49
>> > OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
>> > OEMIoControl: Unsupported Code 0x10100f8 - device 0x0101 func 62
>> > Explorer(V2.0) taskbar thread started.
>> >
>> >
>> > ********************************
>> > Debug msg (Boot Failed on 2G CF card)
>> > ********************************
>> > Debug Serial Init
>> > SysInit: GDTBase=819540e8 IDTBase=81975860 KData=8197d800
>> > Windows CE Kernel for i486 Built on Feb 8 2007 at 23:34:04
>> > g_pPageDir = 81980000
>> > RTC - Status Reg B - 0x02
>> > X86Init done, OEMAddressTable = 80205758.
>> > OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
>> > (HANG Here)
>> > --------------------------------------------------------------------------------
>> >
>> > It always stuck at IOCTL code 35 when I use 2G CF card to load NK.BIN.
>> > 256 Mbytes CF card doesn't have this issue.
>> >
>> > Please help me to check what's the root cause of this issue.
>> >
>> > thanks
>> > Rick
>>
>>
>>