Bug 27397 - [Anolis23.4][RC1][aarch64]ISO虚拟化安装时,设置part_scheme:plain界面卡住进不去虚拟机
Summary: [Anolis23.4][RC1][aarch64]ISO虚拟化安装时,设置part_scheme:plain界面卡住进不去虚拟机
Status: CLOSED FIXED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: Images&Installations (show other bugs) Images&Installations
Version: 23.4
Hardware: aarch64 Linux
: P2-High S2-major
Target Milestone: ---
Assignee: gaochang
QA Contact:
URL:
Whiteboard:
Keywords: Function
Depends on:
Blocks:
 
Reported: 2025-11-27 14:40 UTC by ldw02388494
Modified: 2025-12-17 13:38 UTC (History)
1 user (show)

See Also:


Attachments
plain-xfs配置安装成功1 (1.50 MB, image/png)
2025-12-10 14:48 UTC, wangzhe
Details
plain-xfs配置安装成功2 (910.01 KB, image/png)
2025-12-10 14:48 UTC, wangzhe
Details
thinp-xfs配置安装成功1 (1.43 MB, image/png)
2025-12-10 14:49 UTC, wangzhe
Details
thinp-xfs配置安装成功2 (1.08 MB, image/png)
2025-12-10 14:49 UTC, wangzhe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ldw02388494 alibaba_cloud_group 2025-11-27 14:40:32 UTC
Description of problem:
ISO虚拟化安装时,界面卡住进不去虚拟机
设置
mode:graphical
cn:zh_CN.UTF-8
part_scheme:plain
fstype:ext4
packages:minimal-enviroment
timezone:Asia/Shanghai

Version-Release number of selected component (if applicable):

How reproducible:
必现(两台机器试了3次,等了3个多小时,结果是一样)
卡住的位置:
[  OK  ] Started dbus-daemon.service - D-Bus System Message Bus.
         Starting dracut-shutdown.service - Restore /run/initramfs on shutdown...
         Starting plymouth-quit-wait.service - Hold until boot process finishes up...
         Starting plymouth-quit.service - Terminate Plymouth Boot Screen...
         Starting rsyslog.service - System Logging Service...
         Starting sshd-keygen@ecdsa.service - OpenSSH ecdsa Server Key Generation...
         Starting sshd-keygen@ed25519.service - OpenSSH ed25519 Server Key Generation...
         Starting sshd-keygen@rsa.service - OpenSSH rsa Server Key Generation...
         Starting systemd-logind.service - User Login Management...
[  OK  ] Finished dracut-shutdown.service - Restore /run/initramfs on shutdown.
[  OK  ] Finished anaconda-nm-config.service - Anaconda NetworkManager configuration.
[  OK  ] Finished anaconda-pre.service - pre-anaconda logging service.

机器2卡住的位置:
[  OK  ] Started dbus-daemon.service - D-Bus System Message Bus.
         Starting dracut-shutdown.service - Restore /run/initramfs on shutdown...
         Starting plymouth-quit-wait.service - Hold until boot process finishes up...
         Starting plymouth-quit.service - Terminate Plymouth Boot Screen...
         Starting rsyslog.service - System Logging Service...
         Starting sshd-keygen@ecdsa.service - OpenSSH ecdsa Server Key Generation...
         Starting sshd-keygen@ed25519.service - OpenSSH ed25519 Server Key Generation...
         Starting sshd-keygen@rsa.service - OpenSSH rsa Server Key Generation...
         Starting systemd-logind.service - User Login Management...

Steps to Reproduce:
1.yum install libvirt qemu-img qemu-kvm virt-install -y
  systemctl start libvirtd
2.cd /mnt
  qemu-img create -f qcow2 my.qcow2 20G
3.设置ks.cfg文件
  mode:graphical
  cn:zh_CN.UTF-8
  part_scheme:plain
  fstype:ext4
  packages:minimal-enviroment
  timezone:Asia/Shanghai
4. 启动
virt-install  --name anolis23.4 --location=/mnt/AnolisOS-23.4-BETA-aarch64-dvd.iso \
--disk path=/mnt/my.qcow2,device=disk,bus=virtio --network network=default \
--osinfo detect=on,name=generic --graphics vnc,port=5900,listen=0.0.0.0 --vcpus 2 \
--memory 4096  --initrd-inject=/mnt/anolis-ks.cfg \
--extra-args="inst.ks=file:/anolis-ks.cfg console=tty0 console=ttyS0,115200n8"

Actual results:
机器卡住

Expected results:
机器启动成功

验证记录:
机器A;kunpeng920    机器B:浪潮英政CS5260F

设置part_scheme:lvm   ,虚拟机可以启动成功
Comment 1 ldw02388494 alibaba_cloud_group 2025-12-09 16:48:43 UTC
以下这些配置验证下来,都是失败的。
fstype-ext4-lang-cn-mode-graphical-packages-minimal-part_scheme-thinp-timezone-shanghai-:InstallTest.test   FAIL
fstype-ext4-lang-cn-mode-graphical-packages-server-part_scheme-thinp-timezone-shanghai-:InstallTest.test    FAIL
fstype-ext4-lang-en-mode-graphical-packages-minimal-part_scheme-lvm-timezone-shanghai-:InstallTest.test FAIL
fstype-xfs-lang-en-mode-graphical-packages-minimal-part_scheme-lvm-timezone-shanghai-:InstallTest.test  FAIL
fstype-xfs-lang-en-mode-graphical-packages-server-part_scheme-plain-timezone-shanghai-:InstallTest.test FAIL
fstype-ext4-lang-en-mode-graphical-packages-server-part_scheme-thinp-timezone-shanghai-:InstallTest.test    FAIL
fstype-xfs-lang-en-mode-graphical-packages-minimal-part_scheme-thinp-timezone-shanghai-:InstallTest.test    FAIL
fstype-xfs-lang-en-mode-graphical-packages-server-part_scheme-thinp-timezone-shanghai-:InstallTest.test FAIL
fstype-ext4-lang-cn-mode-text-packages-minimal-part_scheme-lvm-timezone-shanghai-:InstallTest.test  FAIL
fstype-xfs-lang-cn-mode-text-packages-server-part_scheme-lvm-timezone-shanghai-:InstallTest.test    FAIL
fstype-ext4-lang-cn-mode-text-packages-minimal-part_scheme-thinp-timezone-shanghai-:InstallTest.test    FAIL
fstype-ext4-lang-cn-mode-text-packages-server-part_scheme-thinp-timezone-shanghai-:InstallTest.test FAIL
fstype-xfs-lang-en-mode-text-packages-minimal-part_scheme-lvm-timezone-shanghai-:InstallTest.test   FAIL
fstype-xfs-lang-en-mode-text-packages-server-part_scheme-lvm-timezone-shanghai-:InstallTest.test    FAIL
fstype-ext4-lang-en-mode-text-packages-minimal-part_scheme-thinp-timezone-shanghai-:InstallTest.test    FAIL
fstype-xfs-lang-en-mode-text-packages-minimal-part_scheme-thinp-timezone-shanghai-:InstallTest.test FAIL
fstype-xfs-lang-en-mode-text-packages-server-part_scheme-thinp-timezone-shanghai-:InstallTest.test  FAIL
Comment 2 wangzhe 2025-12-10 14:48:36 UTC
Created attachment 1431 [details]
plain-xfs配置安装成功1
Comment 3 wangzhe 2025-12-10 14:48:54 UTC
Created attachment 1432 [details]
plain-xfs配置安装成功2
Comment 4 wangzhe 2025-12-10 14:49:32 UTC
Created attachment 1433 [details]
thinp-xfs配置安装成功1
Comment 5 wangzhe 2025-12-10 14:49:49 UTC
Created attachment 1434 [details]
thinp-xfs配置安装成功2
Comment 6 wangzhe 2025-12-10 14:51:21 UTC
(In reply to ldw02388494 from comment #0)
> Description of problem:
> ISO虚拟化安装时,界面卡住进不去虚拟机
> 设置
> mode:graphical
> cn:zh_CN.UTF-8
> part_scheme:plain
> fstype:ext4
> packages:minimal-enviroment
> timezone:Asia/Shanghai
> 
> Version-Release number of selected component (if applicable):
> 
> How reproducible:
> 必现(两台机器试了3次,等了3个多小时,结果是一样)
> 卡住的位置:
> [  OK  ] Started dbus-daemon.service - D-Bus System Message Bus.
>          Starting dracut-shutdown.service - Restore /run/initramfs on
> shutdown...
>          Starting plymouth-quit-wait.service - Hold until boot process
> finishes up...
>          Starting plymouth-quit.service - Terminate Plymouth Boot Screen...
>          Starting rsyslog.service - System Logging Service...
>          Starting sshd-keygen@ecdsa.service - OpenSSH ecdsa Server Key
> Generation...
>          Starting sshd-keygen@ed25519.service - OpenSSH ed25519 Server Key
> Generation...
>          Starting sshd-keygen@rsa.service - OpenSSH rsa Server Key
> Generation...
>          Starting systemd-logind.service - User Login Management...
> [  OK  ] Finished dracut-shutdown.service - Restore /run/initramfs on
> shutdown.
> [  OK  ] Finished anaconda-nm-config.service - Anaconda NetworkManager
> configuration.
> [  OK  ] Finished anaconda-pre.service - pre-anaconda logging service.
> 
> 机器2卡住的位置:
> [  OK  ] Started dbus-daemon.service - D-Bus System Message Bus.
>          Starting dracut-shutdown.service - Restore /run/initramfs on
> shutdown...
>          Starting plymouth-quit-wait.service - Hold until boot process
> finishes up...
>          Starting plymouth-quit.service - Terminate Plymouth Boot Screen...
>          Starting rsyslog.service - System Logging Service...
>          Starting sshd-keygen@ecdsa.service - OpenSSH ecdsa Server Key
> Generation...
>          Starting sshd-keygen@ed25519.service - OpenSSH ed25519 Server Key
> Generation...
>          Starting sshd-keygen@rsa.service - OpenSSH rsa Server Key
> Generation...
>          Starting systemd-logind.service - User Login Management...
> 
> Steps to Reproduce:
> 1.yum install libvirt qemu-img qemu-kvm virt-install -y
>   systemctl start libvirtd
> 2.cd /mnt
>   qemu-img create -f qcow2 my.qcow2 20G
> 3.设置ks.cfg文件
>   mode:graphical
>   cn:zh_CN.UTF-8
>   part_scheme:plain
>   fstype:ext4
>   packages:minimal-enviroment
>   timezone:Asia/Shanghai
> 4. 启动
> virt-install  --name anolis23.4
> --location=/mnt/AnolisOS-23.4-BETA-aarch64-dvd.iso \
> --disk path=/mnt/my.qcow2,device=disk,bus=virtio --network network=default \
> --osinfo detect=on,name=generic --graphics vnc,port=5900,listen=0.0.0.0
> --vcpus 2 \
> --memory 4096  --initrd-inject=/mnt/anolis-ks.cfg \
> --extra-args="inst.ks=file:/anolis-ks.cfg console=tty0
> console=ttyS0,115200n8"
> 
> Actual results:
> 机器卡住
> 
> Expected results:
> 机器启动成功
> 
> 验证记录:
> 机器A;kunpeng920    机器B:浪潮英政CS5260F
> 
> 设置part_scheme:lvm   ,虚拟机可以启动成功



在同一台 kunpeng920 机器上,加载 kvm 驱动后测试,
[root@anolis mnt]# lsmod  |grep kvm
kvm                   679936  48
irqbypass              12288  265 kvm

part_scheme:plain + xfs 
part_scheme:plain + ext4
part_scheme:thinp + xfs 
的组合均可以安装成功
Comment 7 ldw02388494 alibaba_cloud_group 2025-12-17 13:38:59 UTC
tone: https://tone.aliyun-inc.com/ws/6yddz4ne/test_result/681108