为什么我用windbg调试内核内核时会出现找不到符号呢?

钱顺顺 2008-03-21 11:04:26
我今天在机器上新装了一个windbg 6.8,然后下载了sp2 的 symbol准备调试内核。可是无论如何都提示如下:
Microsoft (R) Windows Debugger Version 6.8.0004.0 X86
Copyright (c) Microsoft Corporation. All rights reserved.

Connected to Windows XP 2600 x86 compatible target, ptr64 FALSE
Symbol search path is: srv*c:\windows\symbols*http://msdl.microsoft.com/download/symbols
Executable search path is:
*** ERROR: Symbol file could not be found. Defaulted to export symbols for ntkrpamp.exe -
*******************************************************************************
WARNING: Local kernel debugging requires booting with kernel
debugging support (/debug or bcdedit -debug on) to work optimally.
*******************************************************************************
Windows XP Kernel Version 2600 (Service Pack 2) MP (2 procs) Free x86 compatible
Product: WinNt, suite: TerminalServer SingleUserTS
Built by: 2600.xpsp_sp2_rtm.040803-2158
Kernel base = 0x804d8000 PsLoadedModuleList = 0x8055d700
Debug session time: Fri Mar 21 22:59:11.000 2008 (GMT+8)
System Uptime: 0 days 4:07:30.558


我也试过下载别的symbol,也不行,我的ntoskrnl.exe是ntkrnlmp.exe版本是是5.1.2600.3093 (xpsp_sp2_gdr.070227-2254),我的ntkrnlpa.exe是ntkrpamp.exe,版本是5.1.2600.3093 (xpsp_sp2_gdr.070227-2254),不知是什么问题,还望高手指教!
...全文
951 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
钱顺顺 2008-03-26
  • 打赏
  • 举报
回复
找到原因了,今天用Filemon看了一下,发现windbg直接找它自己的目录,所以就拷贝了一份到windbg的目录里就行了哈哈。
钱顺顺 2008-03-25
  • 打赏
  • 举报
回复
不是装了防火墙,是我根本就在防火墙后面。看来上网更新是行不通了。可是就是不明白为什么网上下载的symbol包不能用呢,这个包安装以后,在windwos\symbols下面是一些dll、exe,ocx之类的文件夹,跟自动更新的都不一样,自动更新的我记得是以文件名为文件夹名的吧。请指教!
大熊猫侯佩 2008-03-23
  • 打赏
  • 举报
回复
0 符号下载服务器位置要设置

1 是否装了防火墙
钱顺顺 2008-03-23
  • 打赏
  • 举报
回复
可是自动联网找不到啊,每次总是失败。我用嗅探器抓下来的是如下信息:
-------------------------------------------------------------------------------------------------
Microsoft Internet Symbol Server
The data you requested cannot be retrieved.

You have reached this page because either you or an application that you are running has tried to retrieve debugging data from Microsoft. The requested data is either not available or needs to be retrieved by using the latest Microsoft Symbol Server technology.

This internet debugging data storage site is provided by Microsoft to enhance debugging by automatically retrieving debugging files for various Microsoft products during a debugging session. The data at this site is not browseable. Instead, it is accessed by the Microsoft Symbol Server technology that ships with Microsoft Debugging Tools for Windows.

For more information about how to use the Microsoft Internet Symbol Server click here.

Last Updated: Monday, June 12, 2006
© 2006 Microsoft Corporation. All rights reserved. Terms of Use Privacy Statement.
--------------------------------------------------------------------------------------------------
不知道是何缘故还请指教!
大熊猫侯佩 2008-03-22
  • 打赏
  • 举报
回复
你可以让windbg自己联网找符号文件。

9,506

社区成员

发帖
与我相关
我的任务
社区描述
Windows专区 安全技术/病毒
社区管理员
  • 安全技术/病毒社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧