newbie_xian
驱动牛犊
驱动牛犊
  • 注册日期2004-04-13
  • 最后登录2004-09-20
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1035回复:2

为了解决win2K sp4与softice冲突问题,可无法加载ntoskrnl.exe

楼主#
更多 发布于:2004-04-19 14:46
为了解决softice与win2K sp4冲突的问题,我几乎找便了网上的资料,
这是我在compuware公司网站上找到的faq:

I cannot see source code in Windows 2000 checked build. What can I do?  
A: 1. Determine the correct version of ntoskrnl.exe. To do this, go into your \\winnt\\system32 directory, right click on ntoskrnl.exe and take a look at the \"Original Filename\". This original filename is the one that needs to be translated.

2. Translate the file into a symbol file:
If the original name is ntoskrnl.exe, move the debug file (ntoskrnl.dbg and/or ntoskrnl.pdb) into the same directory as the exe file. Now translate (using symbol loader) the exe into an NMS file. The resulting file should be ntoskrnl.nms.

If the original file is ntkrnlmp.exe (note: the same will work for any file name it may have been). Copy the file ntkrnlmp.pdb (or dbg) into the \\winnt\\system32 directory. Then rename it to ntoskrnl.pdb (or dbg). Now translate (using symbol loader) the exe into an NMS file. The resulting file should be ntoskrnl.nms.

3. Use a text editor, add the line \"NTSYMBOLS=ON;\" to your winice.dat.

4. Use symbol loader, From the Edit | SoftICE Initialization Settings | Symbols tab, add ntoskrnl.nms to the list.

5. Reboot

问题是,用\\winnt\\system32下的ntoskrnl.exe好像是不带调试信息,也就是说用symbol loader加载后无法translate,
Translating file: C:\\WINNT\\system32\\NTKRNLPA.EXE...
Error: No debug information found.
自然也就无法往下进行,怎么办那?
 

newbie_xian
驱动牛犊
驱动牛犊
  • 注册日期2004-04-13
  • 最后登录2004-09-20
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2004-04-19 14:48
sorry,第一次发帖子,不大懂规矩,大家觉得这个分不合适我再加。
newbie_xian
驱动牛犊
驱动牛犊
  • 注册日期2004-04-13
  • 最后登录2004-09-20
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2004-04-19 14:50
网上没有很详细的这个问题的解决办法,如果能在这里解决掉我会写详细的文档出来,也算为驱网作点贡献。
游客

返回顶部