Sysinternals Homepage
Forum Home Forum Home > Sysinternals Utilities > Miscellaneous Utilities
  New Posts New Posts RSS Feed: LiveKd problems
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

LiveKd problems

 Post Reply Post Reply Page  <1234>
Author
Message
yalniz View Drop Down
Newbie
Newbie
Avatar

Joined: 01 February 2008
Online Status: Offline
Posts: 16
Post Options Post Options   Quote yalniz Quote  Post ReplyReply Direct Link To This Post Topic: LiveKd problems
    Posted: 04 February 2008 at 8:04pm
molotov:
c:\dir.txt  
 ’®¬ ў гбва®©б⢥ C ­Ґ Ё¬ҐҐв ¬ҐвЄЁ.
 ‘ҐаЁ©­л© ­®¬Ґа ⮬ : 90D0-7FCC
It is in russian,in English it means that C volume doesn't have label. Serial volume number:90D0-7FCC

DBGHELP_LOG was absent, I have created new variable. c:\dbghelp.log wasn't created.
Could you explain broadly speaking where problem is: in my OS, Livekd or symbol server.



Edited by yalniz - 04 February 2008 at 8:52pm
Back to Top
molotov View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 04 October 2006
Online Status: Offline
Posts: 17492
Post Options Post Options   Quote molotov Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2008 at 3:39am
I'm thinking LiveKD is having problems getting the symbols it needs, to do what it needs to do.  I am able to successfully run livekd -w on a system with the same version of NTKRNLPA.EXE as the version of NTOSKRNL.exe you reported, 5.1.2600.3093.  I don't believe the problem is with livekd or your OS, specifically.  It seems you are unable to resolve symbols for some reason.
 
DBGHELP_LOG was absent, I have created new variable. c:\dbghelp.log wasn't created
This was an attempt to get more information about the symbol resolution process.   What version of the Debugging Tools for Windows / dbghelp.dll do you have?
 
Executing the following from a CMD prompt on my system:
SET DBGHELP_LOG=c:\temp\test.log
livekd -w
Caused c:\temp\test.log to be created.
 
Do you have write permissions to the path where you told the log file to go?  It seems so, as you reported the contents of c:\dir.txt.
 
enter the command dir c:\symbols2 /a /s > c:\dir.txt from the CMD prompt, and post the contents of c:\dir.txt. 
c:\dir.txt  
It is in russian,in English it means that C volume doesn't have label. Serial volume number:90D0-7FCC
Thanks for the translation.  The intent of this exercise was to determine if the symbols were downloaded, or a download attempt was made.  It does not appear so.  This seems to further solidify that the problem lies in symbol resolution.


Edited by molotov - 05 February 2008 at 3:40am
Daily affirmation:
net helpmsg 4006
Back to Top
yalniz View Drop Down
Newbie
Newbie
Avatar

Joined: 01 February 2008
Online Status: Offline
Posts: 16
Post Options Post Options   Quote yalniz Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2008 at 6:24am
molotov:
Thanks for explanations.
I have succeeded it getting test.log following your post. Here it is:
DBGHELP: new session: Tue Feb 05 20:05:08 2008
DBGHELP: _NT_SYMBOL_PATH: c:\symbols2?;
DBGHELP: Symbol Search Path: .;c:\symbols2?;
DBGHELP: .\ntkrnlpa.pdb - file not found
DBGHELP: .\exe\ntkrnlpa.pdb - file not found
DBGHELP: .\symbols\exe\ntkrnlpa.pdb - file not found
DBGHELP: c:\symbols2?\ntkrnlpa.pdb - file not found
DBGHELP: c:\symbols2?\exe\ntkrnlpa.pdb - file not found
DBGHELP: c:\symbols2?\symbols\exe\ntkrnlpa.pdb - file not found
DBGHELP: ntkrnlpa.pdb - file not found
DBGHELP: ntkrnlpa - export symbols
DBGHELP:

dbghelp.dll version is 6.8.0004.0 (debuggers(dbg).070515-1751).
Can I simply install downloaded symbol files manually and set variable to their path? What does "to resolve symbols" exactly mean?
Back to Top
molotov View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 04 October 2006
Online Status: Offline
Posts: 17492
Post Options Post Options   Quote molotov Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2008 at 6:33am
dbghelp.dll version is 6.8.0004.0 (debuggers(dbg).070515-1751
That's the right version to have... Smile
 
Can I simply install downloaded symbol files manually and set variable to their path?
The symbol packages are good if you haven't applied any updates other than the ones the symbols are for - in my experience, it seems that systems have so many updates applied to them that the symbol packages quickly become outdated.
 
What does "to resolve symbols" exactly mean?
See "Symbol Files: Overview" in Debugger.chm from the DTW.
 
DBGHELP: _NT_SYMBOL_PATH: c:\symbols2?;
The symbol path does not include the symbol server.  When I asked "Can you change your _NT_SYMBOL_PATH to reference c:\symbols2?", I was asking you to change your _NT_SYMBOL_PATH environment variable from what you stated it was, srv*c:\Symbols*http://msdl.microsoft.com/download/symbols, to srv*c:\Symbols2*http://msdl.microsoft.com/download/symbols.
 
Can you make this change, and try again?
Daily affirmation:
net helpmsg 4006
Back to Top
yalniz View Drop Down
Newbie
Newbie
Avatar

Joined: 01 February 2008
Online Status: Offline
Posts: 16
Post Options Post Options   Quote yalniz Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2008 at 7:04am
The dbghelp.log with correct symbol path:
DBGHELP: new session: Tue Feb 05 21:02:00 2008
DBGHELP: _NT_SYMBOL_PATH: srv*c:\Symbols2*http://msdl.microsoft.com/download/symbols;
DBGHELP: Symbol Search Path: .;srv*c:\Symbols2*http://msdl.microsoft.com/download/symbols;
DBGHELP: .\ntkrnlpa.pdb - file not found
DBGHELP: .\exe\ntkrnlpa.pdb - file not found
DBGHELP: .\symbols\exe\ntkrnlpa.pdb - file not found
DBGHELP: c:\util\sym\ntkrnlpa.pdb\F612363DB38C423CB08559DDBCA9F2F71\ntkrnlpa.pdb - E_PDB_CORRUPT
DBGHELP: ntkrnlpa.pdb - file not found
DBGHELP: ntkrnlpa - export symbols

Back to Top
molotov View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 04 October 2006
Online Status: Offline
Posts: 17492
Post Options Post Options   Quote molotov Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2008 at 7:12am
c:\util\sym\ntkrnlpa.pdb\F612363DB38C423CB08559DDBCA9F2F71\ntkrnlpa.pdb - E_PDB_CORRUPT
Looks like the PDB is corrupt.
 
Can you delete C:\util\sym\ntkrnlpa.pdb\F612363DB38C423CB08559DDBCA9F2F71\ntkrnlpa.pdb and try again?
Daily affirmation:
net helpmsg 4006
Back to Top
yalniz View Drop Down
Newbie
Newbie
Avatar

Joined: 01 February 2008
Online Status: Offline
Posts: 16
Post Options Post Options   Quote yalniz Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2008 at 7:28am
I have deleted this file and one .pdb,also said to be wrong in next dbghlp.log.
After than livekd -w launched !!!!!Big%20smile
DBGHELP: new session: Tue Feb 05 21:18:01 2008
DBGHELP: _NT_SYMBOL_PATH: srv*c:\Symbols2*http://msdl.microsoft.com/download/symbols;
DBGHELP: Symbol Search Path: .;srv*c:\Symbols2*http://msdl.microsoft.com/download/symbols;
DBGHELP: .\ntkrnlpa.pdb - file not found
DBGHELP: .\exe\ntkrnlpa.pdb - file not found
DBGHELP: .\symbols\exe\ntkrnlpa.pdb - file not found
SYMSRV:  ntkrnlpa.pdb from http://msdl.microsoft.com/download/symbols: 394365 bytes -    0 percent                                       copied        
DBGHELP: ntkrnlpa - public symbols 
         c:\Symbols2\ntkrnlpa.pdb\F612363DB38C423CB08559DDBCA9F2F71\ntkrnlpa.pdb

But is show next message:
                                                               ***
***    Your debugger is not using the correct symbols                 ***
***                                                                   ***
***    In order for this command to work properly, your symbol path   ***
***    must point to .pdb files that have full type information.      ***
***                                                                   ***
***    Certain .pdb files (such as the public OS symbols) do not      ***
***    contain the required information.  Contact the group that      ***
***    provided you with these symbols if you need this command to    ***
***    work.                                                          ***
***                                                                   ***
***    Type referenced: mssmbios!_SMBIOS_DATA_OBJECT                  ***
***                                                


Edited by yalniz - 05 February 2008 at 7:31am
Back to Top
molotov View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 04 October 2006
Online Status: Offline
Posts: 17492
Post Options Post Options   Quote molotov Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2008 at 8:06am
What does the DBGHELP log file say for the load of mssmbios?
Daily affirmation:
net helpmsg 4006
Back to Top
yalniz View Drop Down
Newbie
Newbie
Avatar

Joined: 01 February 2008
Online Status: Offline
Posts: 16
Post Options Post Options   Quote yalniz Quote  Post ReplyReply Direct Link To This Post Posted: 09 February 2008 at 8:42am
Hi, molotov.
mssmbios isn't mentioned in dbghelp log. But Livekd seems to work properly,thanks for help.

Back to Top
molotov View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 04 October 2006
Online Status: Offline
Posts: 17492
Post Options Post Options   Quote molotov Quote  Post ReplyReply Direct Link To This Post Posted: 09 February 2008 at 8:49am
Yes, I've seen missing symbols warnings for mssmbios before; unless you plan on dealing with that module, probably you don't need to worry about it.
 
FWIW, here's a discussion on it:
 
Good to hear that LiveKd is working for you now! Smile
Daily affirmation:
net helpmsg 4006
Back to Top
 Post Reply Post Reply Page  <1234>

Forum Jump Forum Permissions View Drop Down