XPe memory dump file mess - please help!

Posted: 12-07-2004, 02:11 PM
Hello all!

I read everything I found on this NG about dump file, minidump and
pagefile for XPe. It helped a lot but did not solve my dump file
proplem completely.

1.) Added "Save Dump" component
2.) Added "Disk Dump Drivers" component
3.) enabled pagfile (on my HAL, standard PC component) and set size to
16 MB
4.) Set registry for Minidump and Dumpfile in "CrashControl".

Is there something more? Did I miss a crucial point?

Finally I got my dump file, but following problems remain:

The Dumpfile and also the minidump are written to
c:\windows\DUMPxxxx.tmp in spite of the fact the Registry key in
CrashControl for Dumpfile is set to "d:\MEMORY.DMP" and Minidump to
"d:\Minidump"

XPe does not care about these settings - what else shall I do? There is
no EWF active on D:\ or C:\ (I deactivated EWF after first start)

Another thing that really annoys me is the size of the pagefile, if set
lower than 16MB is set to 1.5 times the amount of available RAM.
No matter if I later on set the registry key to e.g. 4 MB.


Thank you very much for your help!
Without this NG and it's contributors I think I'd already given up.
Regards, Chris.

Reply With Quote

Responses to "XPe memory dump file mess - please help!"

KM
Guest
Posts: n/a
 
Re: XPe memory dump file mess - please help!
Posted: 12-07-2004, 05:54 PM
> I read everything I found on this NG about dump file, minidump and
> pagefile for XPe. It helped a lot but did not solve my dump file
> proplem completely.
>
> 1.) Added "Save Dump" component
> 2.) Added "Disk Dump Drivers" component
> 3.) enabled pagfile (on my HAL, standard PC component) and set size to 16 MB
> 4.) Set registry for Minidump and Dumpfile in "CrashControl".
>
> Is there something more? Did I miss a crucial point?
What was the problem if you finally got the dump file?
> Finally I got my dump file, but following problems remain:
>
> The Dumpfile and also the minidump are written to
> c:\windows\DUMPxxxx.tmp in spite of the fact the Registry key in
> CrashControl for Dumpfile is set to "d:\MEMORY.DMP" and Minidump to
> "d:\Minidump"
I don't remember that exactly but I seem to have neither been able to create dump file on a non system partition (%SystemRoot%
partition).

MS tip from KB was: "For best performance, the recovery log file should be on the system drive. This prevents the crashdump engine
from copying the file from the system drive, where it is created, to another drive.".

Also, make sure at the bugcheck you've got valid pagefile at least the same size as amount of physical RAM plus 12Mb. The pagefile
must be on the system root partition.
> XPe does not care about these settings - what else shall I do? There is
> no EWF active on D:\ or C:\ (I deactivated EWF after first start)
>
> Another thing that really annoys me is the size of the pagefile, if set
> lower than 16MB is set to 1.5 times the amount of available RAM.
> No matter if I later on set the registry key to e.g. 4 MB.
There are limits on the pagefile size. If you set it to less than 16Mb it will switch to default (1.5 times RAM).
Read through this thread:
http://groups-beta.google.com/group/...q%3Dpagefile+s
ize%26qt_g%3D1%26&_doneTitle=Back+to+Search&&d#a7e 301fc89589e4b

--
Regards,
KM, BSquare Corp.


Reply With Quote
christian.schindler@frequentis.com
Guest
Posts: n/a
 
Re: XPe memory dump file mess - please help!
Posted: 12-08-2004, 12:59 PM
Thanks for answering and for the link, I've already read it.

My dump- file problem is tightly coupled to the pagefile topic.
Since I am not a native speaker it's a little hard for me to express
what I want to achieve with XPe so I try again to make my points more
clear.

1.) I have a Sandisk chipdisk with 2 partitions. I want to create a
dump file on the second partition d:\. It is only possible to get a
dumpfile at all if pagefile is enabled - so I just must misuse the
pagefile for dump file creation. Ok, I have to go with this feature.

2.) I have or better should have EWF on partition c:\ which leads to
the problem that the pagefile should not be created on c:\ but on d:\
which is free for write acesses. It is written in this newsgroup
somewhere that it is not wise to use pagefiel on EWF protected
partitions - although it should be possible - where I am not sure if
pagefile bypasses EWF or uses Ram ovelay instead.

3.) I do not have enough space for pagefile on system partition c:\ -
I only have about 20MB left and I use 256MB of Ram so it's impossible
to make the pagefile the same size or even 1.5 times the ram size.

4.) In TD I can choose the size of pagefile from 2MB upwards - but
unless it's not at least 16MB it's igored - why is there written in TD
info that I can enter a size of at least 2 MB when all values up to
16MB are ignored?! BTW: I would only use pagefile for minidump which
has the size of 64KB so the smaller the pagefile the better.

5.) I set the registry keys for pagefile location and dumpfile location
but they are ignored! When I do it on XPp it works I can have pagefile
and Minidumps on Drive E:\ as well if I like.

This topic is quite strange I have to deal with my own lack of
knowledge, undocumented feaures of XPe and XPe bugs at the same time -
which leads to a huge amount of possible reasons for failure ;-)
So this NG is a very good help not to get insane on XPe. Thanks for
help once again!

Reply With Quote
Slobodan Brcin \(eMVP\)
Guest
Posts: n/a
 
Re: XPe memory dump file mess - please help!
Posted: 12-08-2004, 02:19 PM
Hi Christian,

<christian.schindler@frequentis.com> wrote in message news:1102510778.064318.34790@c13g2000cwb.googlegro ups.com...
> Thanks for answering and for the link, I've already read it.
>
> My dump- file problem is tightly coupled to the pagefile topic.
> Since I am not a native speaker it's a little hard for me to express
> what I want to achieve with XPe so I try again to make my points more
> clear.
>
> 1.) I have a Sandisk chipdisk with 2 partitions. I want to create a
> dump file on the second partition d:\. It is only possible to get a
> dumpfile at all if pagefile is enabled - so I just must misuse the
> pagefile for dump file creation. Ok, I have to go with this feature.
>
> 2.) I have or better should have EWF on partition c:\ which leads to
> the problem that the pagefile should not be created on c:\ but on d:\
> which is free for write acesses. It is written in this newsgroup
> somewhere that it is not wise to use pagefiel on EWF protected
> partitions - although it should be possible - where I am not sure if
> pagefile bypasses EWF or uses Ram ovelay instead.
Yes. Konstantin and I duscussed this problem. Altohugh pagefile write appears that are going trough EWF they are actually discarded,
and they are not going neither to disk or RAM. (We never concluded this trough debugger so far :-( )
> 3.) I do not have enough space for pagefile on system partition c:\ -
> I only have about 20MB left and I use 256MB of Ram so it's impossible
> to make the pagefile the same size or even 1.5 times the ram size.
What SP do you use?
> 4.) In TD I can choose the size of pagefile from 2MB upwards - but
> unless it's not at least 16MB it's igored - why is there written in TD
> info that I can enter a size of at least 2 MB when all values up to
> 16MB are ignored?! BTW: I would only use pagefile for minidump which
> has the size of 64KB so the smaller the pagefile the better.
>
> 5.) I set the registry keys for pagefile location and dumpfile location
> but they are ignored! When I do it on XPp it works I can have pagefile
> and Minidumps on Drive E:\ as well if I like.
You should be able to move them in XPe also. I have no idea why it is not working for you :-(
http://msdn.microsoft.com/embedded/c...t/default.aspx
> This topic is quite strange I have to deal with my own lack of
> knowledge, undocumented feaures of XPe and XPe bugs at the same time -
> which leads to a huge amount of possible reasons for failure ;-)
> So this NG is a very good help not to get insane on XPe. Thanks for
> help once again!
Yes it is good to know that you are not the only one with problems :-)

Regards,
Slobodan


Reply With Quote
KM
Guest
Posts: n/a
 
Re: XPe memory dump file mess - please help!
Posted: 12-09-2004, 06:06 AM
Christian,

Actually I understood you at first place but your latest problem description is good anyway.

All I remember about the pagefile is that there is a minimum limit (I thought it is 16Mb) that you will have regardless of the
settings.
I guess when the pagefile concept was created (back to NT times) they never thought of embedded applications of the OS.
The point is that you will have to leave with that limit. It is XP Pro problem, not XPe specific.

Regarding the moving the minidump file to another partition. I did not spend enough time on it but I recall having similar problems
on XPe minlogon-based image. But I could do that with XP Pro and that left me a hope that it is doable (fixable) on XPe as well.
Unfortunately, I don't have enough time now to help you with this. If you figure out the source of the problem, let us know. Any
information is always appreciated here.

Regards,
KM
> Thanks for answering and for the link, I've already read it.
>
> My dump- file problem is tightly coupled to the pagefile topic.
> Since I am not a native speaker it's a little hard for me to express
> what I want to achieve with XPe so I try again to make my points more
> clear.
>
> 1.) I have a Sandisk chipdisk with 2 partitions. I want to create a
> dump file on the second partition d:\. It is only possible to get a
> dumpfile at all if pagefile is enabled - so I just must misuse the
> pagefile for dump file creation. Ok, I have to go with this feature.
>
> 2.) I have or better should have EWF on partition c:\ which leads to
> the problem that the pagefile should not be created on c:\ but on d:\
> which is free for write acesses. It is written in this newsgroup
> somewhere that it is not wise to use pagefiel on EWF protected
> partitions - although it should be possible - where I am not sure if
> pagefile bypasses EWF or uses Ram ovelay instead.
>
> 3.) I do not have enough space for pagefile on system partition c:\ -
> I only have about 20MB left and I use 256MB of Ram so it's impossible
> to make the pagefile the same size or even 1.5 times the ram size.
>
> 4.) In TD I can choose the size of pagefile from 2MB upwards - but
> unless it's not at least 16MB it's igored - why is there written in TD
> info that I can enter a size of at least 2 MB when all values up to
> 16MB are ignored?! BTW: I would only use pagefile for minidump which
> has the size of 64KB so the smaller the pagefile the better.
>
> 5.) I set the registry keys for pagefile location and dumpfile location
> but they are ignored! When I do it on XPp it works I can have pagefile
> and Minidumps on Drive E:\ as well if I like.
>
> This topic is quite strange I have to deal with my own lack of
> knowledge, undocumented feaures of XPe and XPe bugs at the same time -
> which leads to a huge amount of possible reasons for failure ;-)
> So this NG is a very good help not to get insane on XPe. Thanks for
> help once again!
>

Reply With Quote
christian.schindler@frequentis.com
Guest
Posts: n/a
 
Re: XPe memory dump file mess - please help!
Posted: 12-09-2004, 12:31 PM
Hi Slobodan!
>What SP do you use?
SP1 for now, my XPe was shipped with SP1 and I never had to update it
yet - I almost belive in the credo "never change a running system" at
least for XPe since we use some very customized drivers and some
hardware near code I am not sure what sideeffects an update will have
and how many weeks of tracing them it will take - I have some bad
experience about that ;-)

Regards, Chris.

Reply With Quote
christian.schindler@frequentis.com
Guest
Posts: n/a
 
Re: XPe memory dump file mess - please help!
Posted: 12-09-2004, 12:44 PM
Hi!

Fortunately this mindump is not life threatening for our project it
just would have been nice to have and since I don't have the time to
dig deeper on this topic at the moment and the fact that pagefile is
crucial for mindump which makes this solution a little less attractive
for use with CF or Chipdisk I have to postpone my tests for a while.
But if I get some solution I will post it, of course.
Regards, Chris.

Reply With Quote
Slobodan Brcin \(eMVP\)
Guest
Posts: n/a
 
Re: XPe memory dump file mess - please help!
Posted: 12-09-2004, 12:50 PM
Hi Chris,

If you need this for test purposes on your facilities then you use remote debugger to get these data.
If you need it for customer machine then this is another story.

Regards,
Slobodan

<christian.schindler@frequentis.com> wrote in message news:1102596254.354456.83330@c13g2000cwb.googlegro ups.com...
> Hi!
>
> Fortunately this mindump is not life threatening for our project it
> just would have been nice to have and since I don't have the time to
> dig deeper on this topic at the moment and the fact that pagefile is
> crucial for mindump which makes this solution a little less attractive
> for use with CF or Chipdisk I have to postpone my tests for a while.
> But if I get some solution I will post it, of course.
> Regards, Chris.
>

Reply With Quote
christian.schindler@frequentis.com
Guest
Posts: n/a
 
Re: XPe memory dump file mess - please help!
Posted: 12-09-2004, 02:01 PM
Hi Slobodan!

The idea was to have it on the customer machine. If it would have
chrashed with a BSOD (although this option is almost impossible, of
course;-)), with the minidump we'd the chance to get some more details
about it. But since pagefile is needed - it's not such a good idea.
Regards, Chris.

Reply With Quote
KM
Guest
Posts: n/a
 
Re: XPe memory dump file mess - please help!
Posted: 12-17-2004, 10:31 PM
Chris,

If the issue is still active...

I forgot to mention "Primitive: Dbghelp" component that you need in your image.

--
Regards,
KM, BSquare Corp.

> Hello all!
>
> I read everything I found on this NG about dump file, minidump and
> pagefile for XPe. It helped a lot but did not solve my dump file
> proplem completely.
>
> 1.) Added "Save Dump" component
> 2.) Added "Disk Dump Drivers" component
> 3.) enabled pagfile (on my HAL, standard PC component) and set size to
> 16 MB
> 4.) Set registry for Minidump and Dumpfile in "CrashControl".
>
> Is there something more? Did I miss a crucial point?
>
> Finally I got my dump file, but following problems remain:
>
> The Dumpfile and also the minidump are written to
> c:\windows\DUMPxxxx.tmp in spite of the fact the Registry key in
> CrashControl for Dumpfile is set to "d:\MEMORY.DMP" and Minidump to
> "d:\Minidump"
>
> XPe does not care about these settings - what else shall I do? There is
> no EWF active on D:\ or C:\ (I deactivated EWF after first start)
>
> Another thing that really annoys me is the size of the pagefile, if set
> lower than 16MB is set to 1.5 times the amount of available RAM.
> No matter if I later on set the registry key to e.g. 4 MB.
>
>
> Thank you very much for your help!
> Without this NG and it's contributors I think I'd already given up.
> Regards, Chris.

Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
a TOOL to dump memory.dmp into text file ? Polaris Windows XP Device Drivers 4 03-19-2005 04:44 AM
memory dump Chuck Windows XP Help & Support 3 12-16-2003 11:26 PM
memory dump....HELP ME PLEASE!!! Greg & Josie Windows XP 1 07-19-2003 05:06 PM
Dump memory Sayed Abdul Aziem Windows XP Basics 3 07-14-2003 05:40 AM
Memory Dump file not created? Ricky Windows XP Performance & Maintenance 1 07-07-2003 06:48 AM


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90