EWF Ram Reg with CF via Cardbus interface problem



Ben Harris
07-09-2005, 10:26 PM
I've run into a problem when using EWF in Ram Reg mode, on a CompactFlash
that is connected via a Cardbus interface rather than a 'true IDE'
interface. If I boot the same image up using a CF/IDE adapter, EWF works
fine. The problem is only occurring when I use a Cardbus interface for the
CompactFlash.

When using the Cardbus interface I've found that EWF seems to work in the
sense that if I build the image with
HKLM\SYSTEM\CurrentControlSet\Services\ewf\Parameters\Protected\Volume0\Enabled
set as DWORD:1, once XPe has finished FBA, EWF is enabled. Similarly, if I
build it with the DWORD:0, EWF is disabled.

The problem seems to occur when I try to toggle EWF enabled to disabled, or
vice versa. Windows will completely lock up, and I'm unable to do anything
at all except reset it - even CTRL-ALT-DEL won't respond. This doesn't
happen though if I use the CompactFlash in the CF/IDE adapter - if I do
that, it all works fine and I can enable/disable EWF from within Windows
without any problem.

I've read through the newsgroup archive on Google Groups, and am aware of
the "{71A27CDD-812A-11D0-BEC7-08002BE2092F}." mistake with the "." in the
documentation, so that's not the cause. I'm also having to add in the
"Enabled" registry entry manually too, as has been suggested in some of the
posts. When booting up the image, the CF is the only drive attached to the
system (either via a CF/IDE adapter, or via the cardbus interface), so I
don't think it's an ArcPath problem - I don't have to change anything in
boot.ini to make it boot, anyway!

I'm seeing this problem on two different embedded boards I've got here, both
being completely different hardware (one is a GX533 based board, and the
other is a Intel Centrino based board), and both running different images.
In each case, EWF Ram Reg will work if I connect the CompactFlash via a
CF/IDE adapter, but not if I use the Cardbus interface.

Any advice would be appreciated, if anyone has managed to implement EWF Ram
Reg via a cardbus interface successfully

Ben Harris
Design Engineer

Arcom,
Clifton Road,
Cambridge CB1 7EA
United Kingdom

Tel: +44 (0)1223 403456
Tel: +44 (0)1223 411200 Switchboard
Fax: +44 (0)1223 403457

E-Mail: bharris@thesamedomainname.com
Web: http://www.arcom.com

Slobodan Brcin \(eMVP\)
07-09-2005, 10:26 PM
Hi Ben,

Please add this component instead of MS component:
http://www.slobodanbrcin.com/xpe/ewf/regramewf.html

EWF will either work or you will have BSOD, there should be no other posiblity.

Regards,
Slobodan

"Ben Harris" <bharris@arcom.nospam.com> wrote in message news:42aea13d$0$299$ed9e5944@reading.news.pipex.net...
> I've run into a problem when using EWF in Ram Reg mode, on a CompactFlash
> that is connected via a Cardbus interface rather than a 'true IDE'
> interface. If I boot the same image up using a CF/IDE adapter, EWF works
> fine. The problem is only occurring when I use a Cardbus interface for the
> CompactFlash.
>
> When using the Cardbus interface I've found that EWF seems to work in the
> sense that if I build the image with
> HKLM\SYSTEM\CurrentControlSet\Services\ewf\Parameters\Protected\Volume0\Enabled
> set as DWORD:1, once XPe has finished FBA, EWF is enabled. Similarly, if I
> build it with the DWORD:0, EWF is disabled.
>
> The problem seems to occur when I try to toggle EWF enabled to disabled, or
> vice versa. Windows will completely lock up, and I'm unable to do anything
> at all except reset it - even CTRL-ALT-DEL won't respond. This doesn't
> happen though if I use the CompactFlash in the CF/IDE adapter - if I do
> that, it all works fine and I can enable/disable EWF from within Windows
> without any problem.
>
> I've read through the newsgroup archive on Google Groups, and am aware of
> the "{71A27CDD-812A-11D0-BEC7-08002BE2092F}." mistake with the "." in the
> documentation, so that's not the cause. I'm also having to add in the
> "Enabled" registry entry manually too, as has been suggested in some of the
> posts. When booting up the image, the CF is the only drive attached to the
> system (either via a CF/IDE adapter, or via the cardbus interface), so I
> don't think it's an ArcPath problem - I don't have to change anything in
> boot.ini to make it boot, anyway!
>
> I'm seeing this problem on two different embedded boards I've got here, both
> being completely different hardware (one is a GX533 based board, and the
> other is a Intel Centrino based board), and both running different images.
> In each case, EWF Ram Reg will work if I connect the CompactFlash via a
> CF/IDE adapter, but not if I use the Cardbus interface.
>
> Any advice would be appreciated, if anyone has managed to implement EWF Ram
> Reg via a cardbus interface successfully
>
> Ben Harris
> Design Engineer
>
> Arcom,
> Clifton Road,
> Cambridge CB1 7EA
> United Kingdom
>
> Tel: +44 (0)1223 403456
> Tel: +44 (0)1223 411200 Switchboard
> Fax: +44 (0)1223 403457
>
> E-Mail: bharris@thesamedomainname.com
> Web: http://www.arcom.com
>
>


EWF Ram Reg with CF via Cardbus interface problem