yogibear 发表于 2007-10-1 11:16

解决“Insufficient System Resources Exist to Complete the API“问题

我的机器是 3G(2G + 1G),OS 是 XP Pro Enu SP2.

最近遇到一个麻烦事。

机器休眠之后,重新开机,任务条上会弹出一个Insufficient System Resources Exist to Complete the API的错误提示。如图 hibernate 所示。

直觉应该是Windows的问题。去MS 的KB,果然找到一篇文章:
http://support.microsoft.com/kb/909095
看起来差不多, 除了那个“When you try to put the computer in hibernation, the computer occasionally does not hibernate.“”。因为事实是我的机器的确休眠了,我是按电源按钮开机之后,机器显示resuming 的进度条,然后回到休眠前的现场的。

下载好文章提到的补丁:WindowsXP-KB909095-x86-ENU.exe:之后,安装补丁,结果又弹出这个错误,导致安装过程不能继续下去而中途退出。
请看图Apply KB909095.

安装过很多次Windows 的patch, hotfix, service pack,这个错误我还是第一次见到.

再看了一遍KB, 发现问题所在。KB里面提到:
File informationThe English version of this hotfix has the file attributes (or laterfile attributes) that are listed in the following table. The dates andtimes for these files are listed in Coordinated Universal Time (UTC).When you view the file information, it is converted to local time. Tofind the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.File nameFile versionFile sizeDateTimePlatformSP requirementService branchNtkrnlmp.exe5.1.2600.27742,136,06412-Oct-200500:18x86SP2SP2QFENtkrnlpa.exe5.1.2600.27742,057,34411-Oct-200523:54x86SP2SP2QFENtkrpamp.exe5.1.2600.27742,015,23211-Oct-200523:54x86SP2SP2QFENtoskrnl.exe5.1.2600.27742,180,09612-Oct-200500:20x86SP2SP2QFE
但是由于我机器上这些文件的版本比这些文件高,这个补丁不能继续安装下去。

看来我需要uninstall "Apply KB909095" 图中的补丁 KB931784,
或许可以把这些文件的版本降下来,从而才能安装成功这个KB909095。

[ Edited byyogibear on 2007-10-1 13:53 ]

yogibear 发表于 2007-10-1 11:53

从控制面板里面的add or removeprogram 找到KB931784, Uninstall, 为了保险,重新启动机器。
再次进入控制面板里面的add or removeprogram ,确认KB931784没有在列表里。
安装KB909095, 依然出现如上图所示。

这下完了。没办法打上补丁了.这下那个休眠后出现的错误提示,感觉就像牙缝里嵌入的小碎屑,虽不至于让人坐立不安,但是也扰民。。。

[ Edited byyogibear on 2007-10-1 13:15 ]

Drifter 发表于 2007-10-1 13:01

到底解决了没? 我的机器也时不时这样子. 重启了事.

莲花山 发表于 2007-10-1 13:09

看来是富贵病!

Drifter 发表于 2007-10-1 13:10

我的那几个文件都是2007的, 但看了没有909095(也许是我把uninstall的连接去掉了?). 不管怎么样, 还是准备安装那个补丁.

Drifter 发表于 2007-10-1 13:11

Posted by 莲花山 on 2007-10-1 13:09 http://www.ibmnb.com/images/common/back.gif
看来是富贵病!

可见xp设计的时候, 内存是以1g为最大的目标的.

yogibear 发表于 2007-10-1 13:12

Posted by Drifter on 2007-10-1 13:01 http://www.ibmnb.com/images/common/back.gif
到底解决了没? 我的机器也时不时这样子. 重启了事.

原来你和我一样被塞牙缝了。

请看2楼的说明,没有完全解决,感觉有点恶心。

我想也许可以在安全模式下或者想个什么其他招数来强行更换1楼那些kernal 文件的版本。

算了,我懒得整了。反正暂时也看不出什么side effect.

莲花山 发表于 2007-10-1 13:12

恩。内存2g貌似没这个问题?

Drifter 发表于 2007-10-1 13:18

Posted by yogibear on 2007-10-1 13:12 http://www.ibmnb.com/images/common/back.gif


原来你和我一样被塞牙缝了。

请看2楼的说明,没有完全解决,感觉有点恶心。

我想也许可以在安全模式下或者想个什么其他招数来强行更换1楼那些kernal 文件的版本。

算了,我懒得整了。反正暂时也看 ...

刚才装了这个补丁重启后, 小红点不会动了. 晕死.

Drifter 发表于 2007-10-1 13:18

Posted by 莲花山 on 2007-10-1 13:12 http://www.ibmnb.com/images/common/back.gif
恩。内存2g貌似没这个问题?

不一定每次出现的, 偶尔会来一次.

yogibear 发表于 2007-10-1 13:24

Posted by 莲花山 on 2007-10-1 13:12 http://www.ibmnb.com/images/common/back.gif
恩。内存2g貌似没这个问题?

按照MS的说法,这应该是一个设计上的缺陷。
To prepare the computer to hibernate, the Windows kernel power managerrequires a block of contiguous memory. The size of this contiguous memory is proportional to the number of physical memory regions thatthe computer is using. A computer that uses lots of RAM is likely touse more physical memory regions when the computer prepares tohibernate. Therefore, a larger amount of contiguous memory is requiredto prepare the computer to hibernate.

这是偶尔出现的,
Additionally, the numberof physical memory regions varies according to the programs, services,and device drivers that the computer uses. Therefore, the hibernatefeature occasionally fails.

但是非常奇怪的是,我的hibernate 选项并不是disable的。超级晕。
When the Windows kernel powermanager detects that the hibernate feature has failed, the hibernatefeature remains disabled until you restart the computer.

[ Edited byyogibear on 2007-10-1 13:27 ]

yogibear 发表于 2007-10-1 13:26

Posted by Drifter on 2007-10-1 13:18 http://www.ibmnb.com/images/common/back.gif


不一定每次出现的, 偶尔会来一次.

11楼里,MS的说明也是这样的。内存碎片出现的情况是随机的。所以就会偶然出现。

但是,就是这种偶然出现的问题,非常扰民。

Drifter 发表于 2007-10-1 13:31

Posted by yogibear on 2007-10-1 13:24 http://www.ibmnb.com/images/common/back.gif


按照MS的说法,这应该是一个设计上的缺陷。
To prepare the computer to hibernate, the Windows kernel power managerrequires a block of contiguous memory. The size of this contiguous memory is pr ...

看样子你的情况是以前补丁过但是没有补全, 结果有些文件是新的有些是旧(大概这个意思), 所以休眠是行了, 但是留下一下错误提示. 我的是真的有问题, 休眠不了, 几次都是最不希望它出现的时候出现了, 按了下Fn+12然后走开了, 本来以为关上了结果回来一看就是没关然后有错误提示. 晕不晕?

yogibear 发表于 2007-10-1 13:45

纠正一点,是该补丁(KB909095)检测到的4个文件都高于该补丁对应的版本。
其他看来就是这样。属于半拉子补丁。休眠是可以了。比你要幸运一点。

Posted by Drifter on 2007-10-1 13:31 http://www.ibmnb.com/images/common/back.gif


看样子你的情况是以前补丁过但是没有补全, 结果有些文件是新的有些是旧(大概这个意思),所以休眠是行了, 但是留下一下错误提示. 我的是真的有问题, 休眠不了, 几次都是最不希望它出现的时候出现了, 按了下Fn+12然后走开了,本来以为关上了结果回来一看就是没关然后有错误提示. 晕不晕?   

yogibear 发表于 2007-11-18 13:09

系统重装了。怪了。到现在为止,再也没有出现这个问题了。。

麦克罗夫 发表于 2007-11-19 07:02

系统重装时会"自适应"的.

所以很多人说加内存是小改动,没必要重装系统,我一直没理会。 ^v^

yogibear 发表于 2007-11-19 07:53

回复 #16 麦克罗夫 的帖子

嗯,看起来安装内存完毕之后装OS 和安装OS 之后增加内存还是有很大差别的。

yogibear 发表于 2007-11-19 14:02

漂移兄弟
要不尝试一下, 内存条都插满后,再重装OS看看?
我重装之后,特意在休眠前打开N个网页,开很多Word, PDF 文件,企图造成“ a larger amount of contiguous memory is required“从而导致偶然情况下hibernate feature fails.但是均未果。

Drifter 发表于 2007-11-19 14:02

Posted by yogibear on 2007-11-19 07:53 http://www.ibmnb.com/images/common/back.gif
嗯,看起来安装内存完毕之后装OS 和安装OS 之后增加内存还是有很大差别的。

说明xp的内存管理是"优化"过的.

Drifter 发表于 2007-11-19 14:03

Posted by yogibear on 2007-11-19 14:02 http://www.ibmnb.com/images/common/back.gif
漂移兄弟
要不尝试一下, 内存条都插满后,再重装OS看看?
我重装之后,特意在休眠前打开N个网页,开很多Word, PDF 文件,企图造成“ a larger amount of contiguous memory is required“从而导致偶然情况下 ...

小车不倒只管推.

要我重装系统, 不到万不得已, 我是不会干的.

chaici 发表于 2007-11-19 14:19

哈哈……,牙疼不算病

yogibear 发表于 2007-11-19 18:34

Posted by Drifter on 2007-11-19 14:03 http://www.ibmnb.com/images/common/back.gif


小车不倒只管推.

要我重装系统, 不到万不得已, 我是不会干的.

赫赫。和我差不多。 其实也很快的。
把所有常用软件列在list 里面,
OS装一个 XP Pro with SP2, SAV 10.1, 然后上去稀里哗啦更新所有critical的patches.

然后在装其他相关的application 。 装完后,感觉满意了,R & R 做个backup. 基本上就满意了.赫赫
页: [1]
查看完整版本: 解决“Insufficient System Resources Exist to Complete the API“问题