Dell NativeEdge:串行直通的虚拟机问题

Summary: 本文概述了具有串行直通的来宾虚拟机 (VM) 在启动时停止响应时应采取的步骤。

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.

Symptoms

具有串行直通功能的基于 Linux 的虚拟机可能无法完全启动。
 

Cause

具有串行直通作为来宾虚拟机的来宾虚拟机将 ttys0 用于引导控制台,因为当串行直通处于活动状态时,这会导致与来自 NativeEdge 端点的串行直通发生冲突。

Resolution

此问题已在 NativeEdge 2.2.0.0 中得到解决。
 

解决办法:

对于云映像自定义,NativeEdge 工程部门建议采取以下措施:

  1. 检查内核命令行中的 console=ttyS0
cat /proc/cmdline
  1. 编辑 grub 配置
vi /etc/default/grub.d/50-cloudimg-settings.cfg
  1. 删除 console=ttyS0 或将其替换为虚拟 tty,例如 tty2。
    • 注意:tty[n] 是虚拟控制台,ttyS[n] 是串行直通期间的物理端口。
  2. 重新生成 grub 配置文件
update-grub
  1. 关闭或重新启动虚拟机

Additional Information

以下是此问题可能出现的示例:
  • Telit_DeviceWISE_Edge_Gateway_for_NativeEdge_Endpoint_2.0.0
  • Litmus_Edge_for_NativeEdge_Endpoint_2.0.0
  • 具有串行直通和 Ubuntu 映像的自定义蓝图

Affected Products

NativeEdge Solutions, NativeEdge
Article Properties
Article Number: 000225442
Article Type: Solution
Last Modified: 21 May 2026
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.