vcenter环境启动linux操作系统遇到的一些问题

简介: 在vcenter环境中 安装完linux操作系统,启动时会遇到一些错误,如下 Memory for crash kernel (0x0 to 0x0) notwithin permissible range Cannot setup NMI watchdog on CPU 0 Cannot

在vcenter环境中 安装完linux操作系统,启动时会遇到一些错误,如下


Memory for crash kernel (0x0 to 0x0) notwithin permissible range
Cannot setup NMI watchdog on CPU 0
Cannot setup NMI watchdog on CPU 1
Cannot setup NMI watchdog on CPU 2
Cannot setup NMI watchdog on CPU 3
warning: pci_mmcfg_int marking 256MB space uncacheable
 

我安装的是RHEL5.8

一 Memory for crash kernel

Memory for crash kernel (0x0 to 0x0) notwithin permissible range


这个信息由于没有配置kdump服务的原因,并没有什么危害可以忽略。kdump是一个新的,而且非常可信赖的内核崩溃转储机制。


1 在操作系统中配置kdump

配置kdump。

选择菜单“Applications”——“system tools”——“kdump”,弹出“Kernel Dump Configuration”窗口,选中Enable kdump,设置New kdump Memory(MB): 128MB(推荐大小),location:file:///var/crash(也可以设置其他位置,用来存放当系统崩溃时的转储镜像)。

2 如果无法进入操作系统,可在启动过程中设置启动参数

启动过程中按 e 修改 kernel 行

添加启动参数 crashkernel=128M@16M

二  Cannot setup NMI watchdog on CPU

Cannot setup NMI watchdog on CPU 0
Cannot setup NMI watchdog on CPU 1
Cannot setup NMI watchdog on CPU 2
Cannot setup NMI watchdog on CPU 3


这个问题是由于,一些操作系统默认启用了nmi(Non Maskable Interrupt)功能,这个功能依赖硬件watchdog服务来监控系统是否由于硬件故障导致异常


Not all hardware support NMI. This issue is seen to occur with the latest virtual machine hardware version 8 and has been reproduced with version 7 also.

vCPUs presented to the guest operating system cannot have NMI enabled on them because they are abstracted representations of the host's physical CPU cores.

Resolution

To resolve this issue, disable NMI if it has been enabled in the guest by default.

To disable NMI:

  1. Open a vSphere console or SSH session to the Linux virtual machine.
  2. Run this command inside a terminal:

    vi /boot/grub/menu.lst

    Note : /boot/grub/menu.lst may be a symbolic link to /boot/grub/grub.conf.

  3. At the end of the kernel line, change the parameter value for nmi_watchdog from 1 to 0 (in some cases from 2 to 0).

    For example:

    t itle Red Hat Enterprise Linux Server (2.6.18-128.el5)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-128.el5 ro root=/dev/sda nmi_watchdog=0
    initrd /initrd-2.6.18-128.el5.img


  4. Save the configuration file changes using :wq. For more information, see Editing files on an ESX host using vi or nano (1020302).
  5. Reboot the virtual machine.

    The NMI watchdog has now been disabled and boot time messages should not be observed.
If NMI style guest monitoring is desired, customers can utilize the VMware Tools heartbeat in HA settings under VM monitoring

To enable VM Monitoring:
  1. Choose the cluster and click Edit Settings.
  2. Select VM Monitoring.
  3. Select VM Monitoring Only from the dropdown
  4. Under Virtual Machine Settings:
    1. Select the virtual machine to monitor.
    2. From the dropdown, select the appropriate settings for your environment. For more information, see:

    3. Click OK.

参考:

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2031297

三  warning: pci_mmcfg_int

warning: pci_mmcfg_int marking 256MB space uncacheable

这个问题还没有解决,高手在哪里?

目录
相关文章
|
14天前
|
监控 Unix Linux
Linux操作系统调优相关工具(四)查看Network运行状态 和系统整体运行状态
Linux操作系统调优相关工具(四)查看Network运行状态 和系统整体运行状态
29 0
|
16天前
|
Linux 编译器 开发者
Linux设备树解析:桥接硬件与操作系统的关键架构
在探索Linux的庞大和复杂世界时🌌,我们经常会遇到许多关键概念和工具🛠️,它们使得Linux成为了一个强大和灵活的操作系统💪。其中,"设备树"(Device Tree)是一个不可或缺的部分🌲,尤其是在嵌入式系统🖥️和多平台硬件支持方面🔌。让我们深入了解Linux设备树是什么,它的起源,以及为什么Linux需要它🌳。
Linux设备树解析:桥接硬件与操作系统的关键架构
|
25天前
|
JSON Kubernetes Linux
Linux环境签发CA证书和K8s需要的证书
Linux环境签发CA证书和K8s需要的证书
26 0
|
1月前
|
Linux 数据安全/隐私保护 虚拟化
Linux技术基础(1)——操作系统的安装
本文是龙蜥操作系统(Anolis OS) 8.4 的安装指南,用户可以从[龙蜥社区下载页面](https://openanolis.cn/download)获取ISO镜像。安装方法包括物理机的光驱和USB闪存方式,以及虚拟机中的VMware Workstation Pro设置。安装过程涉及选择语言、配置安装目标、选择软件集合和内核,设置Root密码及创建新用户。安装完成后,可通过文本模式或图形化界面验证系统版本,如Anolis OS 8.4,标志着安装成功。
|
12天前
|
存储 算法 Linux
【实战项目】网络编程:在Linux环境下基于opencv和socket的人脸识别系统--C++实现
【实战项目】网络编程:在Linux环境下基于opencv和socket的人脸识别系统--C++实现
37 6
|
14天前
|
Linux
Linux操作系统调优相关工具(三)查看IO运行状态相关工具 查看哪个磁盘或分区最繁忙?
Linux操作系统调优相关工具(三)查看IO运行状态相关工具 查看哪个磁盘或分区最繁忙?
21 0
|
1月前
|
人工智能 安全 vr&ar
移动应用开发的未来:适应多变的移动操作系统环境
【2月更文挑战第29天】 随着智能手机和平板电脑成为全球消费者日常生活不可或缺的一部分,移动应用(App)的开发已经成为软件工程的一个关键领域。本文将探讨移动应用开发的现状与挑战,特别是开发者如何在不断变化的移动操作系统(如Android、iOS等)环境中保持竞争力。我们将分析跨平台工具的兴起、人工智能在优化用户体验中的作用以及安全性问题的重要性,并展望即将到来的技术趋势。
|
26天前
|
应用服务中间件 Linux PHP
Linux下安装php环境并且配置Nginx支持php-fpm模块
Linux下安装php环境并且配置Nginx支持php-fpm模块
27 0
|
27天前
|
Java Linux
linux安装jdk环境
linux安装jdk环境
29 0
|
1月前
|
存储 Shell Linux
【Shell 命令集合 网络通讯 】⭐Linux 显示当前系统的主机名和操作系统类型 uuname命令 使用教程
【Shell 命令集合 网络通讯 】⭐Linux 显示当前系统的主机名和操作系统类型 uuname命令 使用教程
29 0