windbg Extension

I have a crash dump with me and i want to know the number of processors in
the system while the crash has occured. Is their any extension available for
getting number of active processor in windbg

tim

you can use !cpuid extension to get the number of processors
but i dont know if that helps in dump debugging

i beleive i read that dump has information only on active processor

0:000> !cpuid
CP F/M/S Manufacturer MHz
0 15,6,5 GenuineIntel 2994
1 15,6,5 GenuineIntel 2994

15 = family 6 = model 5 = stepping

happy xmas

check out dbgeng sdk files i think there are a few classes or methods
that deal with GetNumberOfprocessor etc

with wdk you should quickly be able to crank an extension by
modyfying a sample and doing build -ceZ

On 12/24/07, Tim Parker wrote:
> I have a crash dump with me and i want to know the number of processors in
> the system while the crash has occured. Is their any extension available for
> getting number of active processor in windbg
>
> tim
> — You are currently subscribed to windbg as: xxxxx@gmail.com To
> unsubscribe send a blank email to
> xxxxx@lists.osr.com

One way to know number of processors in the system is to use ~<processs_no>s
command.

For example, if there are two processors, you can switch to debugging on
processor 1, using ~0s command and debugging processor 2 can be switched to
by using ~1s command. You can try this until you don’t see any error on the
processsor number.

Note to make sure you turn on processor number display on windbg command
prompt using .echocpunum 1 command.

Chandra

On 12/24/07, raj_r wrote:
>
> you can use !cpuid extension to get the number of processors
> but i dont know if that helps in dump debugging
>
> i beleive i read that dump has information only on active processor
>
> 0:000> !cpuid
> CP F/M/S Manufacturer MHz
> 0 15,6,5 GenuineIntel 2994
> 1 15,6,5 GenuineIntel 2994
>
> 15 = family 6 = model 5 = stepping
>
> happy xmas
>
> check out dbgeng sdk files i think there are a few classes or methods
> that deal with GetNumberOfprocessor etc
>
> with wdk you should quickly be able to crank an extension by
> modyfying a sample and doing build -ceZ
>
>
>
> On 12/24/07, Tim Parker wrote:
> > I have a crash dump with me and i want to know the number of processors
> in
> > the system while the crash has occured. Is their any extension available
> for
> > getting number of active processor in windbg
> >
> > tim
> > — You are currently subscribed to windbg as: xxxxx@gmail.com To
> > unsubscribe send a blank email to
> > xxxxx@lists.osr.com
>
> —
> You are currently subscribed to windbg as: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
></processs_no>