NDIS debugger extensions problem

I am trying to debug the NDIS functions using NDIS debugger extensions.

I did the foll things

  1. Copied the ndiskd.dll to windbg.exe directory
  2. Copied Ndis.pdb & Ndis.dbg to Symbols directory.
  3. Invoked !load ndiskd.dll
  4. Invoked !dbglevel which gave foll error
    NDISKD: error - could not access ndis!ndisDebugLevel - check symbols for
    ndis.sys

Moreover
!protocols is producing foll error unable to read from 00000000

Where am I going wrong ?

  1. Make sure you’re using ndis.sys checked build.
  2. use !sym noisy;.reload /f ndis.sys to verify the symbol

But you may still run into symbol problem since in some version of chk build
ndis.sys, some symbols are stripped that prevents ndiskd from functioning.

BTW, did you see the ndis!ndisDebugLevel variable (kd>dd ndis!ndisDebugLevel
l1)?

Calvin Guan Software Engineer
ATI Technologies Inc. www.ati.com

-----Original Message-----
From: Abhijit [mailto:xxxxx@yahoo.com]
Sent: Friday, March 05, 2004 7:12 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] NDIS debugger extensions problem

I am trying to debug the NDIS functions using NDIS debugger
extensions.

I did the foll things

  1. Copied the ndiskd.dll to windbg.exe directory
  2. Copied Ndis.pdb & Ndis.dbg to Symbols directory.
  3. Invoked !load ndiskd.dll
  4. Invoked !dbglevel which gave foll error
    NDISKD: error - could not access ndis!ndisDebugLevel - check
    symbols for
    ndis.sys

Moreover
!protocols is producing foll error unable to read from 00000000

Where am I going wrong ?


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@ati.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

You can also check if you have a symbol with the “x” command in WinDBG, so
for instance:
x ndis!*Debug* will show all symbols with “debug” in them (and it’s not case
sensitive).


Mats

-----Original Message-----
From: Calvin Guan [mailto:xxxxx@ati.com]
Sent: Friday, March 05, 2004 4:10 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] NDIS debugger extensions problem

  1. Make sure you’re using ndis.sys checked build.
  2. use !sym noisy;.reload /f ndis.sys to verify the symbol

But you may still run into symbol problem since in some version of chk build
ndis.sys, some symbols are stripped that prevents ndiskd from functioning.

BTW, did you see the ndis!ndisDebugLevel variable (kd>dd ndis!ndisDebugLevel
l1)?

Calvin Guan Software Engineer
ATI Technologies Inc. www.ati.com

-----Original Message-----
From: Abhijit [mailto:xxxxx@yahoo.com mailto:xxxxx]
> Sent: Friday, March 05, 2004 7:12 AM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] NDIS debugger extensions problem
>
>
> I am trying to debug the NDIS functions using NDIS debugger
> extensions.
>
> I did the foll things
> 1. Copied the ndiskd.dll to windbg.exe directory
> 2. Copied Ndis.pdb & Ndis.dbg to Symbols directory.
> 3. Invoked !load ndiskd.dll
> 4. Invoked !dbglevel which gave foll error
> NDISKD: error - could not access ndis!ndisDebugLevel - check
> symbols for
> ndis.sys
>
> Moreover
> !protocols is producing foll error unable to read from 00000000
>
>
> Where am I going wrong ?
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
http:
>
> You are currently subscribed to ntdev as: xxxxx@ati.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@3dlabs.com
To unsubscribe send a blank email to xxxxx@lists.osr.com</http:></mailto:xxxxx>

Abhijit,
you don’t have to copy the ndiskd.dll. This is different for
different OS’s I mean 2K and XP. I am not sure about Win2003. There is
no ndiskd.dll for NT. So if you are using latest debugger and symbol
server. You will have !ndiskd.protocols working fine on 2K and above.
You do not have to use check build ndis.sys for !ndiskd.protocols. This
extension works on free build ndis.sys too.

-Srin.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Abhijit
Sent: Friday, March 05, 2004 4:12 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] NDIS debugger extensions problem

I am trying to debug the NDIS functions using NDIS debugger
extensions.

I did the foll things

  1. Copied the ndiskd.dll to windbg.exe directory 2. Copied
    Ndis.pdb & Ndis.dbg to Symbols directory.
  2. Invoked !load ndiskd.dll
  3. Invoked !dbglevel which gave foll error
    NDISKD: error - could not access ndis!ndisDebugLevel - check
    symbols for ndis.sys

Moreover
!protocols is producing foll error unable to read from 00000000

Where am I going wrong ?


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@nai.com
To unsubscribe send a blank email to xxxxx@lists.osr.com