VMware:调试 ESXi 机器检查异常紫色诊断屏幕

Summary: 如何调试 ESXi 机器检查异常 (MCE) 紫色诊断屏幕 (PSOD) 示例。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

Description:

由于机器检查异常 (MCE) 错误,ESXi 服务器可能会停止并显示紫色诊断屏幕 (PSOD)。MCE 错误是由硬件问题引起的。

MCE 紫色诊断屏幕显示多个项目。其中, MCi_STATUS Register 在调试问题时非常有用。

注册详细信息:

  • 如果您主要使用 CIFS/NFS 来写入备份,则应使用 MCi_STATUS 寄存器包含有关机器检查错误的信息。
  • 寄存器显示在”S:“如下例所示:
MC: PCPU18 B:13 S:0xfe20004000011166 M:0x7246040086 A:0x38c989b100 5

位及其意义:
63 62 61 60 59 58 57 53-56 38-52 32-37 16-31 0-15
VALID 标记 — 如果设置,则信息有效。 溢出标志 - 如果设置,则可能表示多个 MCE 彼此靠近发生。 UNC 标记 — 如果设置,则 CPU 无法纠正错误。 EN 标志 MISCV 标记 - 如果设置,则 MISC 寄存器包含更多信息。 ADDRV - 如果设置,则 ADDR 寄存器包含发生错误的位置。 PCC 标记 — 如果设置,则表示处理器可能已损坏。 如果设置了位 11,则为体系结构,否则为“其他信息”。 如果设置了位 10,则为体系结构,否则为“其他信息”。 其他信息 CPU 的型号特定错误代码 机器检查错误代码


要调试错误,请将 MCi_STATUS 注册很重要。这些位表示简单或复合错误。

选项 1:使用自动工具

提醒:现在,您可以使用以下工具调试错误,以自动执行以下步骤:
VMware 紫色诊断屏幕 (PSOD) 错误读取器 本超链接将引导您访问非 Dell Technologies 运营的网站。

选项 2:使用手动步骤
  1. 简单的错误可以快速调试
0000 0000 0000 0000 -- No Error reported to this bank of error-reporting registers.
0000 0000 0000 0001 -- Unclassified - Error has not been classified.
0000 0000 0000 0010 -- Parity error in internal microcode ROM.
0000 0000 0000 0011 -- External error-BINIT# from another processor caused this processor MCE. Happens only if BINIT# observation enabled during power on.
0000 0000 0000 0100 -- Functional redundancy check master/slave error.
0000 0000 0000 0101 -- Internal parity error.
0000 0000 0000 0110 -- SMM handler tried to execute outside the ranges specified by SMRR.
0000 0100 0000 0000 -- Internal timer error.
0000 1110 0000 1011 -- I/O error.
0000 01xx xxxx xxxx -- Internal unclassified error. Atleast one X must be equal to 1.
  1. 复合误差
000F 0000 0000 11LL - Generic Cache Hierarchy error.
000F 0000 0001 TTLL - {TT}TLB{LL}_ERR. TLB errors.
000F 0000 1MMM CCCC - {MMM}_Channel{CCCC}_ERR - Memory controller errors.
000F 0001 RRRR TTLL - {TT}CACHE{LL}_{RRRR}_ERR - Cache Hierarchy errors.
000F 1PPT RRRR IILL - BUS{LL}_{PP}_{RRRR}_{II}_T_ERR - Bus and Interconnect errors.
  • F - 表单标记
0 – Normal Filtering
1 – Corrected Filtering

过滤意味着不会发布此结构中对此条目的部分或全部后续更正。

  • TT — 适用于上述 2 和 4。 

表示交易类型:

00 - Instruction
01 - Data
10 - Generic
  • LL — 适用于上述 1、2、4 和 5。 

这表示发生错误的内存层次结构中的级别。

00 - Level 0 - L0
01 - Level 1 - L1
10 - Level 2 - L2
11 - Generic – LG (It is shown only when processor cannot determine the hierarchy level)
  • RRRR - 指示与错误关联的作类型。作包括:
0000 - Generic Error - ERR
0001 - Generic Read - RD
0010 - Generic Write - WR
0011 - Data Read - DRD
0100 - Data Write - DWR
0101 - Instruction Fetch - IRD
0110 - Prefetch - PREFETCH
0111 - Eviction - EVICT
1000 - Snoop - SNOOP
  • PP(参与)— 描述本地处理器在错误中的角色。
00 - SRC - Local processor originated request
01 - RES - Local processor responded to request
10 - OBS - Local processor observed error as third party
11 - Generic
  • T(超时)- 1 = 请求超时。
  • II(内存或 I/O)
00 - M - Memory Access
10 - IO - I/O
01 - Reserved
11 - Other transaction
  • 内存控制器错误 — 由上面的 MMM 和 CCCC 子字段定义
  • MMM - 内存错误
000 - GEN - Generic undefined request
001 - RD - Memory read error
010 - WR - Memory write error
011 - AC - Address/Command error
100 - MS - Memory Scrubbing error
101-111 - Reserved
  • CCCC - 带有错误的通道
0000-1110 - CHN - Channel number
1111 - Channel not specified

下面是如何分析 MCE 紫色诊断屏幕截图的示例:
MCE 紫色诊断屏幕截图
 
  1. 记下 MCi_STATUS 寄存器值。在这里:
0xfe20004000011166.
  1. 将其转换为二进制:
1111 1110 0010 0000 0000 0000 0100 0000 0000 0000 0000 0001 0001 0001 0110 0110
  1. MCi_STATUS 注册:
0001 0001 0110 0110

将其与复合误差进行比较。在这种情况下,这似乎是缓存层次结构错误(类型 4)。

  1. 应用值:
F = 1
RRRR = 0110 – Prefetch
TT = 01 – Transaction type - Data
LL = 10 – Level 2 cache


结论:

  • 在对处理器的 L2 高速缓存中的某些数据执行预取作时,似乎出现了紫色诊断屏幕。
  • 因此,这可能是处理器上的 L2 高速缓存的问题。
  • 因此,应先更换CPU,然后再检查问题是否得到解决。如果问题再次出现,可以更换主板。

Affected Products

VMware ESXi 6.7.X, VMware ESXi 7.x, VMware ESXi 8.x

Products

PowerFlex rack, ScaleIO, PowerEdge XR2, Poweredge C4140, PowerEdge C6420, PowerEdge C6520, PowerEdge C6525, PowerEdge C6615, PowerEdge C6620, PowerEdge FC640, PowerEdge M640, PowerEdge M640 (for PE VRTX), PowerEdge MX5016s, PowerEdge MX740C , PowerEdge MX750c, PowerEdge MX760c, PowerEdge MX840C, PowerEdge R240, PowerEdge R250, PowerEdge R260, PowerEdge R340, PowerEdge R350, PowerEdge R360, PowerEdge R440, PowerEdge R450, PowerEdge R540, PowerEdge R550, PowerEdge R640, PowerEdge R6415, PowerEdge R650, PowerEdge R650xs, PowerEdge R6515, PowerEdge R6525, PowerEdge R660, PowerEdge R660xs, PowerEdge R6615, PowerEdge R6625, PowerEdge R740, PowerEdge R740XD, PowerEdge R740XD2, PowerEdge R7415, PowerEdge R7425, PowerEdge R750, PowerEdge R750XA, PowerEdge R750xs, PowerEdge R7515, PowerEdge R7525, PowerEdge R760, PowerEdge R760XA, PowerEdge R760xd2, PowerEdge R760xs, PowerEdge R7615, PowerEdge R7625, PowerEdge R840, PowerEdge R860, PowerEdge R940, PowerEdge R940xa, PowerEdge R960, PowerEdge T140, PowerEdge T150, PowerEdge T160, PowerEdge T340, PowerEdge T350, PowerEdge T360, PowerEdge T440, PowerEdge T550, PowerEdge T560, PowerEdge T640, PowerEdge XR11, PowerEdge XR12, PowerEdge XR4510c, PowerEdge XR4520c, PowerEdge XR8610t, PowerEdge XR8620t ...
Article Properties
Article Number: 000215212
Article Type: How To
Last Modified: 10 Dec 2025
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.