RHEL:在 Red Hat Enterprise Linux 中使用 NMI 的損毀傾印組態

Summary: 為了協助故障診斷伺服器停止回應或意外重新開機的情況,識別導致問題的軟體、驅動程式或硬體元件至關重要。 作業系統當機傾印可提供重要線索。

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

在 Red Hat Enterprise Linux 上設定故障傾印。 

以下列出在 iDRAC 中設定 Red Hat Enterprise Linux 和 NMI 功能故障傾印的步驟:

# sysctl kernel.unknown_nmi_panic 
  • 如果系統未設定為在收到未知 NMI 時呼叫錯誤例程,則此命令會產生以下輸出:
kernel.unknown_nmi_panic = 0 
  • 使用預設內核設置時,Linux 內核會在 /var/log/messages 中記錄未知 NMI 的出現,但系統不會調用錯誤例程。
  • 若要讓核心在收到未知的 NMI 時呼叫錯誤例行程式,請編輯 /etc/sysctl.conf 檔案,並確保檔案中有下列行內容:
kernel.unknown_nmi_panic = 1 
  • 輸入下列命令以重新載入設定。您應該會在重新載入輸出中看到新值的報告: 
# sysctl -p

net.ipv4.icmp_echo_ignore_broadcasts = 1

net.ipv4.conf.all.rp_filter = 1

kernel.unknown_nmi_panic = 1 
  • 伺服器停止回應後,請登入 iDRAC - 電源管理 - NMI - 套用。系統開始傾印記憶體,等候 30 至 45 分鐘以完成傾印。完成後,伺服器會重新開機。

紅帽支援可以執行徹底的轉儲分析。

Affected Products

Red Hat Enterprise Linux Version 7, Red Hat Enterprise Linux Version 9, Red Hat Enterprise Linux Version 8

Products

C Series, Rack Servers, Tower Servers
Article Properties
Article Number: 000138613
Article Type: How To
Last Modified: 29 Oct 2025
Version:  7
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.