360°网站管家_运维学院_提供最新最全的服务器运维视频教程与网站维护视频教程

 找回密码
 快速注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
1 2 3 4
查看: 2908|回复: 0
打印 上一主题 下一主题

错误 kernel:System RAM resource cannot be added(xen_balloon errors in dmesg)

[复制链接]

823

主题

909

帖子

4623

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
4623
跳转到指定楼层
楼主
发表于 2015-9-26 14:48:01 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

亲!这问题您也搜索很久了吧?不如咨询下我们吧


613049616  613049616  613049616   613049616   613049616


Xen服务器centos6.x 64bit, Xen4.x 错误 kernel:System RAM resource cannot be added(xen_balloon errors in dmesg)
Dec  9 18:53:45 vgs790 kernel: System RAM resource 68000000 - 6fffffff cannot be added
Dec  9 18:53:45 vgs790 kernel: xen_balloon: reserve_additional_memory: add_memory() failed: -17
Dec  9 18:54:17 vgs790 kernel: System RAM resource 68000000 - 6fffffff cannot be added
Dec  9 18:54:17 vgs790 kernel: xen_balloon: reserve_additional_memory: add_memory() failed: -17
Dec  9 18:54:49 vgs790 kernel: System RAM resource 68000000 - 6fffffff cannot be added
Dec  9 18:54:49 vgs790 kernel: xen_balloon: reserve_additional_memory: add_memory() failed: -17
Dec  9 18:55:21 vgs790 kernel: System RAM resource 68000000 - 6fffffff cannot be added
Dec  9 18:55:21 vgs790 kernel: xen_balloon: reserve_additional_memory: add_memory() failed: -17
Dec  9 18:55:53 vgs790 kernel: System RAM resource 68000000 - 6fffffff cannot be added
Dec  9 18:55:53 vgs790 kernel: xen_balloon: reserve_additional_memory: add_memory() failed: -17
原因: current_kb and target_kb the values don’t match
[root@ www.ctohome.com]# more /sys/devices/system/xen_memory/xen_memory0/target_kb
1572864
[root@ www.ctohome.com]# more /sys/devices/system/xen_memory/xen_memory0/info/current_kb
1572736
解决办法:
These messages appear to be harmless. These errors are associated with Xen 4.2.0 and Xen 4.2.1.
The root cause appears to be that due to the fact that Xen sucks. There is a dirty hack that seems to fix this; however, I don't understand how or why it works. I don't normally advocate mysterious hacks to silence error messages (does this actually fix anything or just gag the system's screams for help?). Run the following (this is not persistent across reboots):
[root@ www.ctohome.com]# cat /sys/devices/system/xen_memory/xen_memory0/info/current_kb > /sys/devices/system/xen_memory/xen_memory0/target_kb
至于为什么这样做可以解决办法,ctohome.com也不很清楚,有知道的可以告知下。
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 快速注册

本版积分规则


Archiver|手机版|小黑屋|360wzgj Inc. 百度统计

GMT+8, 2024-11-23 03:59 , Processed in 0.072351 second(s), 31 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表