先决条件
- 操作系统:SUSE Linux Enterprise Server 15 SP6
- 虚拟化平台:VMware ESXi 7.x
问题现象
升级SUSE Linux Enterprise Server (SLE) 15 VM至SP6并改BIOS为UEFI(禁SecureBoot)后,VM无法启动。GRUB配置变更致GRUB_TERMINAL为”serial console”,系统崩溃并报错。
vcpu-0 - [msg.efi.exception] The firmware encountered an unexpected exception. The virtual machine cannot boot.
localhost login: [ 115.792006][ T1] reboot: Power down !!!! X64 Exception Type - 0E(#PF - Page-Fault) CPU Apic ID - 00000000 !!!! ExceptionData - 0000000000000000 I:0 R:0 U:0 W:0 P:0 PK:0 S:0 RIP - 000000000E0675BD, CS - 0000000000000018, RFLAGS - 0000000000210202 RAX - 0000000000000004, RCX - 0000000000000000, RDX - 0000000000000004 RBX - 000000A054415253, RSP - 000000000FFBC3F0, RBP - 000000000FFBC3F0 RSI - 000000007FDF6D7C, RDI - 000000A054415253 R8 - 0000000000000053, R9 - 000000000FFBC501, R10 - 0000000000000001 R11 - 0000000000000000, R12 - 0000000000000007, R13 - 000000007FDF6D7C R14 - 000000000FF660C0, R15 - 000000000FF66000 DS - 0000000000000008, ES - 0000000000000008, FS - 0000000000000008 GS - 0000000000000008, SS - 0000000000000008 CR0 - 0000000080010033, CR2 - 000000A054415253, CR3 - 000000000FF76000 CR4 - 0000000000000668, CR8 - 0000000000000000 DR0 - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000 DR3 - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400 GDTR - 00000000FFFFFC10 000000000000002F, LDTR - 0000000000000000 IDTR - 000000000FEC44E0 0000000000000FFF, TR - 0000000000000000 FXSAVE_STATE - 000000000FFBC050 !!!! Can't find image information. !!!!
诊断步骤
GRUB 2.12在未明确指定串行端口时,serial
命令由“com0”转为依赖ACPI SPCR表的“serial auto”。此自动发现机制在某些情形下可能引发页面错误,致使系统启动失败。
解决方案
原创文章,作者:保哥,如若转载,请注明出处:https://www.shizhanxia.com/2214.html