---------------------------------------------------------------------------------------------------------------------
问题描述:
------------------------------------
在用虚拟机WMware安装Fedora11之后,点击启动虚拟机,报出如下错误:
your host's bios does not have valid NUMA information. please update the host's Bios or associate the virtual machine with the processors in a single NUMA node(CEC). please read VMware Knowledge Base articles 928 and 1236.
-------------------------------------------------------------------------------------------------
解决过程:
------------------------------------
提出解决的方案:当时解决办法是这样的:
修改对应的vmx文件,加上两行(因为我的机器是双核的,所以必须加上这两行):
processor0.use = "TRUE"
processor1.use = "FALSE"
------------------------------------
照办,果然是可以的。感谢。
---------------------------------------------------------------------------------------------------------------------
问题分析:
------------------------------------
根据错误描述,找到VMware Knowledge Base articles 928 and 1236,http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=928#smp
描述了出现此错误的几种可能情况:
- Running the Virtual Machine on a 64-Bit AMD Host
- Running the Virtual Machine on a Host with Different Speed Processors
- Unwanted Resynchronization of Timestamp Counters
- Running the Virtual Machine on a Windows Host That Has a Defective ACPI Timer
- Running the Virtual Machine on an IBM x440/x445 Server or a Derivative System
对照自己的PC(cpu不正是AMD,64位,还dual-core。我自己都不觉得)点进去,链接到下一篇:
Virtual Machine Clock Reports Time Unpredictably on 64-Bit AMD Systems (kb.vmware.com/kb/2041).
大体是说多处理器的计算机包括多核的,会出现这样的问题。
----------------------------------------------------------------------------
再搜一下1236的文章,倒是一篇KB Article: 2039的文章,说的比较明白:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2039
When a system has processors that have timestamp counters which are not all synchronized, the host operating system may move a virtual machine between two processors on which the timestamp counters are out of sync. This can cause the virtual machine clock to perform unpredictably. The clock may run too quickly or too slowly, or may even stop at times.
On affected 64-bit AMD systems, depending on which power management features are in use, every processor core's TSC may be out of sync with the others. (In other cases, the two cores in each dual-core processor may remain in sync.) If disabling power management does not solve this issue for you, it is safest to assign each virtual machine to only one processor core.
理解应该是:多核处理器导致时钟运行不同步,导致虚拟机的时钟自然运行不可预测。最安全的方式就是为每一个虚拟机指定单独的一个处理器核。
For Virtual Machines Running on a Workstation 5.0 or Earlier Host, or on a GSX Server 3.1 or Earlier Host
- Make sure the virtual machine is powered off.
- In a text editor, open the virtual machine's configuration file (.vmx file).
- Add the following line for each processor with which you do not want to associate the virtual machine (where <n> is the number of the processor on the host):
processor<n>.use = FALSE
因为是双核的,所以n定为0和1.
---------------------------------------------------------------------------------------------------------------------
NUMA 全名是 Non-Uniform Memory Access 或 Non-Uniform Memory Architecture
这个概念还不是太清楚。