Bug 7823 - [Anolis23.1][RC1]23.1 的uefi镜像,在ECS AMD Milan 的裸金属环境无法启动
Summary: [Anolis23.1][RC1]23.1 的uefi镜像,在ECS AMD Milan 的裸金属环境无法启动
Status: CLOSED BYDESIGN
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: Images&Installations (show other bugs) Images&Installations
Version: 23.1
Hardware: All Linux
: P2-High S2-major
Target Milestone: ---
Assignee: happy_orange
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-04 19:48 UTC by yunmeng365524
Modified: 2024-05-22 19:30 UTC (History)
5 users (show)

See Also:


Attachments
启动失败串口截图 (306.27 KB, image/png)
2024-01-04 19:48 UTC, yunmeng365524
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yunmeng365524 2024-01-04 19:48:05 UTC
Created attachment 920 [details]
启动失败串口截图

Description of problem:
23.1 的uefi镜像,在AMD Milan 的裸金属环境无法启动

Version-Release number of selected component (if applicable):
VHD镜像地址:
https://mirrors.openanolis.cn/anolis/23/Nightly/Images/vm/20240103/anolis_23_uefi_x64_20G_alibase_20240103.vhd

ECS创建的实例规格:
ecs.ebmg7a.64xlarge

How reproducible:

上传镜像后,选择对应的规格,然后启动
挂在pxe启动阶段。
启动的日志:
2024-01-04 18:23:48 [1mVirtio-blk 1.0.0+ (4f8daa5a0539af145650d9bf633a5b6541f355d9)
2024-01-04 18:23:48 [0m
2024-01-04 18:23:48 
2024-01-04 18:23:48 
2024-01-04 18:23:48 Press Ctrl-B to exit remote disk loading...                                           Using virtio-blk on 0000:23:00.0 (open)
2024-01-04 18:23:52 Could not open SAN device: Error 0x03232094 (http://ipxe.org/03232094)
2024-01-04 18:23:52 Exit option rom, rc: -52633748
2024-01-04 18:23:53 [2J[1;1H[1;1H
2024-01-04 18:23:53 >>Checking Media Presence......
2024-01-04 18:23:53 >>Media Present......
2024-01-04 18:23:53 >>Start PXE over IPv4 on MAC: 00-00-00-00-00-00.
2024-01-04 18:24:53   PXE-E18: Server response timeout.
2024-01-04 18:24:53 [0m
2024-01-04 18:24:53 
2024-01-04 18:24:53 
2024-01-04 18:24:53 [1mVirtio-blk 1.0.0+ (4f8daa5a0539af145650d9bf633a5b6541f355d9)
2024-01-04 18:24:53 [0m
2024-01-04 18:24:53 
2024-01-04 18:24:53 
2024-01-04 18:24:53 Press Ctrl-B to exit remote disk loading...                                           Using virtio-blk on 0000:23:00.0 (open)
2024-01-04 18:24:57 Could not open SAN device: Error 0x03232094 (http://ipxe.org/03232094)
2024-01-04 18:24:57 Exit option rom, rc: -52633748
2024-01-04 18:24:58 [2J[1;1H[1;1H
2024-01-04 18:24:58 >>Checking Media Presence......
2024-01-04 18:24:58 >>Media Present......
2024-01-04 18:24:58 >>Start PXE over IPv4 on MAC: 00-00-00-00-00-00.
2024-01-04 18:25:58   PXE-E18: Server response timeout.
2024-01-04 18:25:58 [0m

串口登录的截图见附件

Steps to Reproduce:
如上

Actual results:
环境无法启动


Expected results:
能正常启动

Additional info:
Comment 1 Guanjun alibaba_cloud_group 2024-01-04 20:12:57 UTC
卡在pxe,这都没进内核啊,是不是镜像有问题
Comment 2 kun(llfl) alibaba_cloud_group 2024-01-09 10:49:55 UTC
与ecs虚拟化的同学确认过,milan机器 vm 不支持uefi,但是裸金属是支持uefi的。因此镜像原因可能性较大。
Comment 3 gaochang alibaba_cloud_group 2024-01-11 15:28:30 UTC
该问题是因为该机型规格存储为 nvme 存储设备,因此镜像在上传自定义镜像后需要修改镜像属性为支持 nvme。默认不会打开该支持。
修改镜像属性后问题解决,非版本问题。
Comment 4 yunmeng365524 2024-05-22 19:30:44 UTC
最新的镜像可以正常启动
[root@localhost EFI]# uname -a
Linux localhost.localdomain 6.6.25-2_rc1.1.an23.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 18 22:00:32 CST 2024 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost EFI]#
[root@localhost EFI]# pwd
/boot/efi/EFI
[root@localhost EFI]# tree
.
├── BOOT
│   ├── BOOTX64.EFI
│   └── fbx64.efi
└── anolis
    ├── BOOTX64.CSV
    ├── grub.cfg
    ├── grub.cfg.rpmsave
    ├── grubx64.efi
    ├── mmx64.efi
    ├── shim.efi
    └── shimx64.efi

3 directories, 9 files
[root@localhost EFI]# ls /sys/firmware/efi/
config_table  efivars  esrt  fw_platform_size  fw_vendor  mok-variables  runtime  runtime-map  systab
[root@localhost EFI]#